Skip to content

v0.6.3 - Dearest Alfred

Choose a tag to compare

@krispya krispya released this 07 Jan 20:31
· 70 commits to main since this release
8276a69

This is a bug fix release. Highlight is that the react hooks have more consistent behavior.

  • Triggering a changed event on AoS traits (objects) will properly re-render with useTrait now.
  • All hooks now properly give the new value back immediately when their target entity changes.
  • updateEach plays nice with trait modifiers like Added again.

What's Changed

Fixed

  • core: Fix lazy world trait init by @ospira in #209
  • core: Modifier trait types correctly work in updateEach by @krispya in #212
  • core: Changed modifier always works when entity generations overflow by @krispya in #213
  • react: React hooks reflect correct value when target changes by @krispya in #211
  • react: useTrait always re-renders with entity.change() by @krispya in #210

Chore

  • core: benches -> examples in pnpm-workspace.yaml by @mdirolf in #208

Full Changelog: v0.6.2...v0.6.3