Releases: iacobson/ecspanse
Releases · iacobson/ecspanse
v0.4.0
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
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
andEcspanse.Command
in all systems, so all the queries and commands are available without needing the respective module prefix. - imports
Ecspanse
in the setup module thatuse Ecspanse
so the system scheduling functions are available without needing the module prefix.
v0.3.0
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
v0.2.0
Breaking
use Ecspanse.Component.Timer
anduse Ecspanse.Event.Timer
are now deprecated.
Useuse Ecspanse.Template.Component.Timer
anduse Ecspanse.Template.Event.Timer
instead.
Features
- introducing
Ecspanse.Template.Component
andEcspanse.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.