Skip to content

Releases: iacobson/ecspanse

v0.4.0

17 Sep 10:12
f9922a9
Compare
Choose a tag to compare

Breaking

  • removed the automatically generated events: Ecspanse.Event.{ComponentCreated, ComponentUpdated, ComponentDeleted, ResourceCreated, ResourceUpdated, ResourceDeleted}. Use custom emitted events or short-lived components instead.

Improvements

  • improved performance for tagged components. The system loop now runs faster when dealing with tagged components.

v0.3.1

30 Aug 18:07
66001dd
Compare
Choose a tag to compare

Fixes

  • fixes a bug where events could be scheduled after they were batched for the current frame, and before the current events are cleared, causing some events to be lost. Thanks to @andzdroid for identifying and documenting the issue.
  • fixes a bug where temporary timers would crash. Thanks to @holykol for finding and fixing the issue.

Features

  • imports Ecspanse.Query and Ecspanse.Command in all systems, so all the queries and commands are available without needing the respective module prefix.
  • imports Ecspanse in the setup module that use Ecspanse so the system scheduling functions are available without needing the module prefix.

v0.3.0

21 Aug 21:11
7a95e0b
Compare
Choose a tag to compare

Features

  • add a new query Ecspanse.Query.list_tags/1 to list a component's tags.
  • add a new query Ecspanse.Query.list_components/1 to list all components of an entity.
  • add a new command Ecspanse.Command.clone_entity/1 to clone an entity without its relationships.
  • add a new command Ecspanse.Command.deep_clone_entity/1 to clone an entity with its descendants.

v0.2.1

20 Aug 13:21
3605898
Compare
Choose a tag to compare

Fixes

  • batch all events only by batch_key to avoid race conditions for different events processed by the same system.

v0.2.0

18 Aug 18:24
58b31df
Compare
Choose a tag to compare

Breaking

  • use Ecspanse.Component.Timer and use Ecspanse.Event.Timer are now deprecated.
    Use use Ecspanse.Template.Component.Timer and use Ecspanse.Template.Event.Timer instead.

Features

  • introducing Ecspanse.Template.Component and Ecspanse.Template.Event to simplify the creation of related components and events.
  • add a new function Ecspanse.Query.fetch_component/2 to fetch a system's component by a list of tags.

v0.1.2

14 Aug 20:33
03434e0
Compare
Choose a tag to compare

Fixes

  • remove unneeded dependency plug_crypto
  • upgrade dependencies: credo, ex_doc, jason
  • fix documentation

v0.1.1

12 Aug 20:20
5881eb5
Compare
Choose a tag to compare
  • adds missing :package to the mix file

v0.1.0

12 Aug 20:14
422e4e0
Compare
Choose a tag to compare

The initial release