Releases: jeremybanka/wayforge
Releases · jeremybanka/wayforge
atom.io@0.25.4
Patch Changes
- 434e6d4: 🐛 Fixed bug in AtomIO's core that would occur in situations where a package manager like
pnpm
installed multiple AtomIO instances for purposes of version safety/intercompatibility. This could lead to differentIMPLICIT.STORE
s being used on adjacent lines, and as a result, bizarre errors would be thrown. Resolved this by making theIMPLICIT.STORE
discoverable onglobalThis
.
atom.io@0.25.3
Patch Changes
- a6283c4: 🐛 Fix bug where, when using
useO
inephemeral
stores, a state would not be created as needed in React components.
atom.io@0.25.2
Patch Changes
- a9da731: 🐛 Fix bug where,
GetterToolkit
's andSetterToolkit
'sget
method would error when retrieving state from a family that wasn't anAtomFamily
.
atom.io@0.25.1
atom.io@0.25.0
Minor Changes
-
a308896: 💥 BREAKING CHANGE: The method
join
fromMoleculeToolkit
has been absorbed into thebond
method; it now returns tokens for the relations of the entity bonded to the join in question. -
3c495a7: 🎨 All attributes and types called
Transactors
have been renamedToolkit
to reflect the broader role of this pattern in selector evaluations and molecule constructors. -
091c5de: ✨
getState
andsetState
can now be used for family members without requiringfindState
. Simply pass the family member and key.const countAtoms = atomFamily<number, string>({ key: `count`, default: 0, }); getState(countAtoms, `find-me`); // -> 0 setState(countAtoms, `find-me`, 1); getState(countAtoms, `find-me`); // -> 1
⚠️ Note that, if the family member is not found, this will throw aNotFoundError
inimmortal
stores.
Patch Changes
atom.io@0.24.8
Patch Changes
- cf66736: 🚀 Greatly improve performance for selectors with deep dependency trees. Redundant work is now avoided when discovering a selector's root atoms.
atom.io@0.24.7
Patch Changes
- e4d32db: 🐛 Fixed bug where, when getting a molecule in a selector, the get operation would throw.
atom.io@0.24.6
Patch Changes
- 44a1d5a: 🐛 Fixed a bug where, when setting a selector in a transaction, that selector would leak to the outer store.
- 44a1d5a: 🐛 Fixed a bug where, when creating a molecule in a transaction, the molecule creation event wouldn't be nested into the transaction update.
- 44a1d5a: 🐛 Fixed a bug where, when creating a molecule which
bond
s atoms, the atom creations would be redundantly captured on transactions/timelines, leading to noisy warnings in the console.
atom.io@0.24.5
Patch Changes
- 84a0737: 🐛 Fixed an issue where, when applying a transaction in which a mutable atom was created, atom.io would attempt to re-create that atom twice, which led to a pesky error log.
atom.io@0.24.4
Patch Changes
- 6ab042e: ✨ The
join
function fromMoleculeTransactors
now returns the original join for convenience.