Skip to content

v1.1.3

Latest

Choose a tag to compare

@elusivecodes elusivecodes released this 05 Sep 13:17

Patch release focused on correct StateStore merging and reactive property operations, with clearer documentation and simpler tests.

Fixed

  • Corrected deep merges when existing nested stores share references or contain cycles, preserving independent source branches and existing values.
  • Kept existing accessors and effect subscriptions connected after deleting state keys, including restoring keys through previously returned accessors.
  • Made supported Object.defineProperty() writes reactive and rejected unsupported descriptors without changing state.
  • Rejected Object.freeze(), Object.seal(), and Object.preventExtensions() without leaving stores unusable.
  • Removed runtime string code generation from callable store construction.

Changed

  • Updated the README to describe current state, effect, merge, deletion, and property descriptor behavior and corrected the batching example.
  • Simplified repeated tests with named table-driven cases and moved the code-generation restriction check into a standalone fixture.
  • Refreshed the published dist/ bundle artifacts and source maps.