This repository has been archived by the owner on Jul 16, 2024. It is now read-only.
Releases: evaera/matter
Releases Β· evaera/matter
Matter v0.2.0
[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 aQueryResult
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, theold
field in theChangeRecord
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 overQueryResult
. - 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 byqueryChanged
(#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 useWorld:get(entityId, ComponentName)
to get a component, and usecontinue
to skip iteration if it is not present.
Pull requests since the last release
- Fix rojo build command by @OverHash in #1
- Fix latest release link by @DataEncoded in #2
- Fix mismatching components.lua name in GettingStarted by @alexinite in #3
- Clear changedStorage, too by @noahwillcrow in #13
- Export world & loop types by @flamenco687 in #9
- Correct system error stacktraces by @Qualadore in #12
- Store Entire Change Between queryChanged Calls by @hatmatty in #15
- Fix comments on structure of
_archetypes
and_entityArchetypes
by @noahwillcrow in #16
New Contributors
- @OverHash made their first contribution in #1
- @DataEncoded made their first contribution in #2
- @alexinite made their first contribution in #3
- @noahwillcrow made their first contribution in #13
- @flamenco687 made their first contribution in #9
- @Qualadore made their first contribution in #12
- @hatmatty made their first contribution in #15
Full Changelog: v0.1.2...v0.2.0
Matter v0.1.2
[0.1.2]- 2022-01-06
Fixed
- Fix Loop sort by priority to sort properly
Matter v0.1.1
[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
[0.1.0] - 2022-01-02
- Initial release