Skip to content

Releases: pmndrs/koota

v0.1.7 - Satellite Anthem Icarus

29 Nov 02:32
Compare
Choose a tag to compare

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

14 Nov 19:50
Compare
Choose a tag to compare

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

06 Nov 15:19
Compare
Choose a tag to compare

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 like useQuery except it only returns the first entity.
  • Revade example updated with new animations and game play features.

v0.1.4

03 Nov 17:18
Compare
Choose a tag to compare

Fixed legacy type issues. It should be working fine with older TS setups now!

v0.1.2

03 Nov 16:35
Compare
Choose a tag to compare

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

Full Changelog: v0.1.1...v0.1.2

v0.1.1

24 Oct 19:53
Compare
Choose a tag to compare

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.

New Contributors

Full Changelog: https://github.com/pmndrs/koota/commits/v0.1.1