Skip to content

Releases: ecsact-dev/ecsact_sdk

0.8.0

10 Aug 00:47
Compare
Choose a tag to compare

This update is mainly maintenance required for getting our Unreal integration up and running. We had a codegen API breaking change specifically for the unreal codgen plugin that's currently in development.

ecsact_rt_entt 0.3.5 -> 0.3.7

0.3.7

Miscellaneous Chores


0.3.6

Bug Fixes

  • Let tag components call get_component, add missing export (#145) - (f30e725)

Miscellaneous Chores

  • (deps) update dependency ecsact_cli to v0.3.15 (#144) - (c88cc16)

  • (version) 0.3.6 - (8be7fc2)

ecsact_rt_reference 0.1.1

NEW REPO

  • our 'reference' recipe bundles are now available in the SDK

ecsact_codegen 0.3.1 -> 0.4.1

0.4.1

Bug Fixes

  • add missing includes for codegen.hh (#54) - (026e5ca)

Miscellaneous Chores


0.4.0

Features

Miscellaneous Chores

  • (deps) update dependency ecsact_runtime to v0.6.7 (#50) - (4178d6e)

  • (version) 0.4.0 - (714b6fe)

  • update readme logo - (cae9c5d)

ecsact_lang_cpp 0.4.5 -> 0.4.6

0.4.6

Miscellaneous Chores

  • (deps) update dependency ecsact_cli to v0.3.15 (#212) - (7d900a5)

  • (deps) update dependency ecsact_cli to v0.3.14 (#211) - (c04234c)

  • (deps) update dependency rules_ecsact to v0.5.5 (#209) - (1733a5f)

  • (deps) update ecsact repositories (#208) - (81a00f4)

  • (version) 0.4.6 - (3fd8070)

  • refactor to use new codegen api (#213) - (6a6ac7e)

ecsact_cli 0.3.15 -> 0.3.16

0.3.16

Features

  • support new codegen api for multi output (#120) - (f14dff8)
    * when new codegen api is detected it is used and allows multiple output
    files and custom file paths for code generated files
  • this is needed due to unreal not liking output paths with .
    characters

Miscellaneous Chores

ecsact_lang_json 0.1.4 -> 0.1.5

0.1.5

Miscellaneous Chores

  • (deps) update dependency ecsact_cli to v0.3.15 (#130) - (62ddbce)

  • (deps) update dependency ecsact_cli to v0.3.14 (#129) - (4e2d231)

  • (deps) update ecsact repositories (#127) - (d1cde20)

  • (version) 0.1.5 - (d58a637)

  • refactor to use new codegen api (#131) - (b873e63)

ecsact_lang_csharp 0.1.4 -> 0.1.5

0.1.5

Miscellaneous Chores

  • (deps) update dependency ecsact_cli to v0.3.15 (#144) - (588279f)

  • (deps) update dependency ecsact_cli to v0.3.14 (#143) - (138a8a7)

  • (deps) update ecsact repositories (#141) - (1b397a2)

  • (version) 0.1.5 - (0831895)

  • refactor to use new codegen api (#145) - (92d202d)

0.7.2

07 Aug 19:23
Compare
Choose a tag to compare

ecsact_rt_entt 0.3.4 -> 0.3.5

0.3.5

Bug Fixes

  • remove duplicate recipe source files - (6307675)

Miscellaneous Chores

  • (deps) update dependency ecsact_cli to v0.3.14 - (6056028)

  • (version) 0.3.5 - (7a957ec)

  • update readme logo - (1625505)

ecsact_cli 0.3.14 -> 0.3.15

0.3.15

Features

  • report bad extractions as an error - (d319ae2)
    * use absolute paths for vs extract batch
  • in unreal the temp directory passed to the CLI on windows uses '/'
    which caused the batch file to not be found

Miscellaneous Chores

0.7.1

05 Aug 19:58
376efca
Compare
Choose a tag to compare

Introduces Ecsact CLI ecsact config recipe_bundles command to access the SDK's recipes.

What's Changed

Full Changelog: 0.7.0...0.7.1

0.7.0

01 Aug 19:35
Compare
Choose a tag to compare

Ecsact SDK 0.7.0 Release

The New Stuff

0.7.0 is our biggest release yet. We've been hard at work improving the Ecsact language as well as improving tooling and performance.

Parameters

The Ecsact language added a new core concept - Parameters. All statements now can accept parameters. You'll see them mentioned in the features below.

statement Name(param_name: param_value)

More in-depth documentation to come

Parallel Systems

It's been long documented that Ecsact systms were meant to be ran in parallel. The Ecsact RT EnTT implementation has now implemented parallel systems #127 and systems will execute in parallel by default if they can.

A new API was introduced to control this feature. You can now mark a system to explicitly not run in parallel with ECSACT_PAR_EXEC_DENY. See more options in ecsact/common.h. Of course you can also set this option in the Ecsact language.

system MySystem(parallel: deny) { /* ... */ }

Reactive Systems

Added the notify keyword to specify conditions for a system to execute. These can be individually configured for every component in the system. The options currently available are:

  • oninit, onupdate, and onremove
  • onchange when the component is updated and one or more of its internal values has been changed
system NotifySystemA {
    readwrite ComponentA;
    readonly ComponentB;

    notify {
        // System will execute when ComponentA is added to qualifying entity
        oninit ComponentA;
        // System will execute if ComponentB is removed from qualifying entity  
        onremove ComponentB;
    }
}

system NotifySystemB {
    readwrite ComponentA;
    readonly ComponentB;

    // Alternatively, you can do a notify without a body and it will apply to all components in the system
    notify oninit;
}

More in-depth documentation to come

Lazy Systems

Having all qualifying entities for a system running on the same tick can be expensive. Now you can limit the amount of entities that get iterated in a system per tick by making it lazy.

Lazy systems are sorted so accurate determinism is still at play, this is especially important for multiplayer games.

There is a new dynamic function to mark a system as lazy ecsact_set_system_lazy_iteration_rate and an accompanying meta function to read if a system is lazy ecsact_meta_get_lazy_iteration_rate, but the way you most likely will be using lazy systems is via parameter in the Ecsact language.

system MyLazySystem(lazy: 25) { /* ... */ }

More in-depth documentation to come.

Ecsact CLI Build System

We've completely deprecated ecsact_rtb and now instead have an ecsact build command. There is a "recipe" system which allows you to pick and choose what runtime implementation you want. There's only one (Ecsact RT EnTT) right now, but it opens the gate for you to write your own and for more implementations to come.

ecsact build also improves some quality of life things compared to ecsact_rtb such as coloured output and reporting C++ build errors more nicely.

More in-depth documentation to come

Codegen Error Reporting

Ecsact Codegen plugins now can report errors and other information while generating code. This is a breaking change since the ecsact_codegen_plugin now utilises a 3rd parameter. All official plugins have been updated in this release.

New Assoc API

The old association API has been completely re-done and we've introduced a new concept called "indxed fields". This feature isn't fully ready for prime time, but you can checkout the changes we've made here:

Bazel Support

We've added more bazel support to include building an Ecsact runtime directly via the ecsact CLI. We use bazel a lot so expect more imrpovements to rules_ecsact.

Misc. Small Improvements

Internal Improvements

Ecsact codegen plugin for optimization #56

Metaprogramming compile times were taking longer and longer the bigger .ecsact files got. This is a refactor to use codegen instead.

System providers #126

It was getting more and more difficult to add features to systems. This is a refactor to add providers to systems, allowing the separation of new features like lazy systems while being more readable.

Bug Fixes

Other

  • Association is currently disabled on Ecsact RT EnTT. It's a work-in-progress as we've overhauled the assocation api completely. For now, it will return an error when you try to use it. ecsact-dev/ecsact_rt_entt#139
  • Ecsact CLI benchmark is temporarily disabled
  • Ecsact SI Wasm recipe is not shipped with this release. To build with wasm you must utilise the recipe found at https://github.com/ecsact-dev/ecsact_si_wasm. This will be fixed next release.

0.6.2

11 Aug 22:41
89ce81d
Compare
Choose a tag to compare

Full Changelog: 0.6.1...0.6.2

0.6.1

11 Aug 22:08
4552612
Compare
Choose a tag to compare

What's Changed

  • fix: ecsact_rtb runfiles were incorrect by @zaucy in #284
  • updated ecsact_rtb to 0.2.0

Full Changelog: 0.6.0...0.6.1

0.6.0

24 Jun 20:19
6bd2af6
Compare
Choose a tag to compare

What's Changed

0.5.0

23 Apr 23:16
ae977fc
Compare
Choose a tag to compare

What's Changed

Features

  • (cli) benchmark subcommand (#254) - (6ce97e3) - Ezekiel Warren
  • added --version flag to CLI (#249) - (6353b04) - Ezekiel Warren
  • updated examples to reflect latest syntax changes (#248) - Ezekiel Warren

Miscellaneous Chores

  • now utilising semantic release utilitiy cocogitto for more accurate release notes between repositories. Next release will contain more information from other repositories.
  • (deps) update ecsact repositories to use tagged releases (#260) - (1b55f93) - Ezekiel Warren
  • use bzlmod (#261) - (ae977fc) - Ezekiel Warren

0.4.7

09 Mar 17:19
2e23f03
Compare
Choose a tag to compare

0.4.6

21 Feb 20:29
ca05de4
Compare
Choose a tag to compare

What's Changed

  • FIX: Ecsact RTB was getting incorrect source files and codegen causing errors in unity integration