Skip to content

Latest commit

 

History

History
52 lines (33 loc) · 2.07 KB

changelog.md

File metadata and controls

52 lines (33 loc) · 2.07 KB

Changelog

Current

1.5.2 (June 16, 2020)

  • Send events to processors (#37)
  • Add support for initial state when creating entities (#38)

1.5.1 (May 16, 2020)

  • Add addProcessors and addAssemblages methods to add lists of elements (#32).
  • Add an addComponents method to add a list of components at once (#31).
  • Fix event emitting when removing an entity.
  • Upgrade some dependencies.

1.5.0 (June 21, 2019)

  • Revert getComponentsData to return an object (entity => component) (#29). [BREAKING]

1.4.0 (August 1, 2018)

  • Made getComponentsData return an actual array (as documented) instead of an object. [BREAKING]

1.3.0 (May 22, 2017)

  • Fixed a race condition when signaling that a component has been added to an entity.
  • Rewrote some loops to use forEach, and switched var to let or const.
  • Fixed a scope issue when adding multiple components at once.
  • Made component properties enumerable (when the EntityManager is instantiated with a listener).
  • Emit more events: 'entityCreated', 'entityComponentAdded' and 'entityComponentRemoved'.
  • createEntity now accepts an ID, to make synchronization of distant systems possible.
  • Upgraded libraries rollup and amdefine to their latest versions.
  • Use rollup to compile code (#7).

1.2.0 (Jun 26, 2016)

  • Emit an event: 'entityComponentUpdated'.
  • Allow a listener to be passed to the constructor of EntityManager.

1.1.1 (Apr 10, 2016)

  • Fixed version number (hence the version bump).

1.1.0 (Apr 10, 2016)

  • Do not add getters and setters when there's no emit method (#16).
  • Added a benchmark script (#20).

1.0.0 (Jul 3, 2015)

  • Initial public release.