Skip to content
This repository has been archived by the owner on Jul 16, 2024. It is now read-only.

Releases: evaera/matter

Matter v0.2.0

04 Jun 22:21
Compare
Choose a tag to compare

[0.2.0] - 2022-06-04

Added

  • Added a second parameter to Matter.component, which allows specifying default component data.
  • Add QueryResult:snapshot to convert a QueryResult into an immutable list

Changed

  • queryChanged behavior has changed slightly: If an entity's storage was changed multiple times since your system last observed it, the old field in the ChangeRecord will be the last value your system observed the entity as having for that component, rather than what it was most recently changed from.
  • World and Loop types are now exported (#9)
  • Matter now uses both __iter and __call for iteration over QueryResult.
  • Improved many error messages from World methods, including passing nil values or passing a Component instead of a Component instance.
  • Removed dependency on Llama

Fixed

  • System error stack traces are now displayed properly (#12)
  • World:clear() now correctly resets internal changed storage used by queryChanged (#13)

Removed

  • Additional query parameters to queryChanged have been removed. queryChanged now only takes one argument. If your code used these additional parameters, you can use World:get(entityId, ComponentName) to get a component, and use continue to skip iteration if it is not present.

Pull requests since the last release

New Contributors

Full Changelog: v0.1.2...v0.2.0

Matter v0.1.2

06 Jan 23:25
Compare
Choose a tag to compare

[0.1.2]- 2022-01-06

Fixed

  • Fix Loop sort by priority to sort properly

Matter v0.1.1

05 Jan 23:27
Compare
Choose a tag to compare

[0.1.1] - 2022-01-05

Fixed

  • Fix accidental system yield error message in Loop

Changed

  • Accidentally yielding or erroring in a system does not prevent other systems from running.

Matter v0.1.0

03 Jan 04:59
Compare
Choose a tag to compare

[0.1.0] - 2022-01-02

  • Initial release