Releases: pmndrs/koota
v0.1.7 - Satellite Anthem Icarus
A small maintenance release that fixes bugs with useTrait
and action memoization.
What's Changed
- 🐛 react: fix useTrait re-render issue with effects by @Ctrlmonster in #21
- 🐛 core: multiple actions per world work again
Full Changelog: v0.1.6...v0.1.7
v0.1.6 - Lovers Melt
This update includes breaking changes to the React API.
We did some reshuffling to make working with React easier. Less code for more impact, and smarter separate of concerns. The docs and examples have been updated to reflect the changes! Also I am trying to submit all my changes as PRs now so hopefully logs will be more automatic in the future.
What's Changed
- useObserve renamed to useTrait
- useTraitEffect has been added to the React package
- useEntityRef has been removed
- createActions moved to core
- useActions now takes actions returned by createActions, the same pattern as Zustand
- ✨ react: useWorld uses a default world if there is no provider by @krispya in #18
- 📝 update React docs by @krispya in #19
Full Changelog: v0.1.5...v0.1.6
v0.1.5
This is another small release to fix some critical React bugs.
useObserve
now tracks add and remove along with change.useObserve
no longer calls a hook conditionally, breaking React rules.useQueryFirst
was added which works likeuseQuery
except it only returns the first entity.- Revade example updated with new animations and game play features.
v0.1.4
v0.1.2
This release mostly is testing if some changes fixes some standing type issues with the build. It also includes a new game example.
What's Changed
- fix: typo by @aykutkardas in #14
- Add Revade example
- Destroying an entity now throws an error if the entity does not exist to catch bugs
- Attempting to fix some type issues with the build
New Contributors
- @aykutkardas made their first contribution in #14
Full Changelog: v0.1.1...v0.1.2
v0.1.1
What's Changed
This is the initial release of Koota with the initial round of features. Some APIs may still change, but not by much.
- Koota next by @krispya in #1
- Fix typos in README by @nordowl in #8
- Added starter-project link to readme by @Ctrlmonster in #9
- 🐛 react: useQuery propertly updates, returns a QueryResult by @krispya in #10
- 🐛 react: useObserve now observes world traits by @krispya in #11
- ✨ core: create AoS trait stores by @krispya in #2
New Contributors
- @krispya made their first contribution in #1
- @nordowl made their first contribution in #8
- @Ctrlmonster made their first contribution in #9
Full Changelog: https://github.com/pmndrs/koota/commits/v0.1.1