Skip to content
Homeostate

Valtio

Changelog

Release notes for @homeostate/store-valtio: what changed in each version, newest first.

@homeostate/store-valtio@0.2.2npmSource

0.2.2

Patch Changes

  • Updated dependencies [39809d7]
  • Updated dependencies [a80be3b]
  • Updated dependencies [60331b4]
  • Updated dependencies [567932b]
  • Updated dependencies [55812ce]
  • Updated dependencies [d2a66d8]
  • Updated dependencies [8ed9541]
  • Updated dependencies [ceca144]
  • Updated dependencies [3bdd635]
  • Updated dependencies [9a6e0c6]
  • Updated dependencies [aa7cbc1]
  • Updated dependencies [3b9d6dc]
  • Updated dependencies [9ce5ff0]
  • Updated dependencies [cde0b51]
  • Updated dependencies [074eadc]
  • Updated dependencies [7e7171a]
    • @homeostate/core@0.4.0

0.2.1

Patch Changes

  • 314e268: Sync keys named after Object.prototype members, and stop peers from replacing object prototypes through a __proto__ key. getChanges and the sync engine compared keys with in, so keys such as constructor or toString counted as always present and their deletions never replicated; the Valtio adapter had the same fault. A __proto__ key is now never diffed and is left out of remote state at any depth. The Yjs and Loro backends' read() turned a peer's __proto__ entry into an object's prototype, so its properties, such as isAdmin, appeared on other users' state; it now returns plain objects.
  • 732c2c8: Apply a remote removal, insertion or move as an array splice. The adapter compared arrays by index, so removing the first of 1000 todos rewrote every later proxy with its successor's data and gave every row a new snapshot; the rows around a change now keep their snapshots.
  • Updated dependencies [732c2c8]
  • Updated dependencies [f901667]
  • Updated dependencies [d858951]
  • Updated dependencies [f77d8a6]
  • Updated dependencies [29f8f0d]
  • Updated dependencies [456fbad]
  • Updated dependencies [30e31df]
  • Updated dependencies [314e268]
  • Updated dependencies [4564712]
  • Updated dependencies [d8e9906]
  • Updated dependencies [008091c]
    • @homeostate/core@0.3.0

0.2.0

Minor Changes

  • 81d1d18: Stop exporting the adapter classes (JotaiAdapter, MobxAdapter, MobxStateTreeAdapter, ReduxAdapter, TanStackStoreAdapter, ValtioAdapter, ZustandAdapter); create adapters with the create*Adapter factories, which now carry the adapter docs and examples.

Patch Changes

  • 33c7b14: Mark the package side-effect free, so bundlers can drop modules that are not imported.
  • Updated dependencies [a643bbe]
  • Updated dependencies [0bbf653]
  • Updated dependencies [fb76f77]
    • @homeostate/core@0.2.0

0.1.2

Patch Changes

  • 30abf27: Remove draft release warnings, update docs links
  • Updated dependencies [30abf27]
    • @homeostate/core@0.1.2

0.1.1

Patch Changes

  • 8bd452e: Init release
  • Updated dependencies [8bd452e]
    • @homeostate/core@0.1.1