Releases: Omnistac/zedux
Releases · Omnistac/zedux
v1.0.0
Zedux's API is officially stable. We have several additions planned, but no breaking changes for any user-facing or documented APIs in the pipeline for the near future. It's go time!
New Features:
- Breaking Change
atoms
:defaultTtl
->atomDefaults.ttl
(#38) - Breaking Change
atoms
: implement AtomApiGenerics type map and all its helpers (#40) - Breaking Change
react
: AtomInstanceProvider -> AtomProvider (#32) - Breaking Change
react
: makeinstance.invalidate()
a normal method (#29) - Breaking Change
react
: move auto-batching fromapi()
toinjectCallback()
(#31) - Breaking Change
react
: reuse names that can be shared between instances & selectors (#30) - Breaking Change
react
: useAtomConsumer -> useAtomContext (#33) - Breaking Change
atoms
,immer
: don't exportcreateInjector
- replace withinjectSelf
(#35) - Breaking Change
atoms
,core
,machines
: break out state machines into their own@zedux/machines
package (#36) - Breaking Change
atoms
,core
,immer
,machines
,react
: internalTypes -> zeduxTypes (#37) atoms
,react
: break the atomic model into its own @zedux/atoms package (#34)
v1.0.0-rc.0
New Features:
- Breaking Change
atoms
:defaultTtl
->atomDefaults.ttl
(#38) - Breaking Change
atoms
: implement AtomApiGenerics type map and all its helpers (#40) - Breaking Change
react
: AtomInstanceProvider -> AtomProvider (#32) - Breaking Change
react
: makeinstance.invalidate()
a normal method (#29) - Breaking Change
react
: move auto-batching fromapi()
toinjectCallback()
(#31) - Breaking Change
react
: reuse names that can be shared between instances & selectors (#30) - Breaking Change
react
: useAtomConsumer -> useAtomContext (#33) - Breaking Change
atoms
,immer
: don't exportcreateInjector
- replace withinjectSelf
(#35) - Breaking Change
atoms
,core
,machines
: break out state machines into their own@zedux/machines
package (#36) - Breaking Change
atoms
,core
,immer
,machines
,react
: internalTypes -> zeduxTypes (#37) atoms
,react
: break the atomic model into its own @zedux/atoms package (#34)
v0.5.11
New Features:
react
: export SelectorCache class (#14)react
: make selectors trigger statusChanged mod events on init and destroy (#15)react
: make timestamp generation easily overridable; fix statusChanged event order (#17)react
: make useAtomConsumer log instead of throw an error when instance is Destroyedreact
: simplify inline selector detection (#22)react
: wrap scheduler run in try...finally; add handling for destroyed instances (#21)
Fixes:
react
: make DEV mode React component id generation work in SpiderMonkey (#20)react
: preventcontroller.abort()
from isolating theabort
fn (#27)react
: remove dehydrated state generic from ssr atom config options for now (#16)react
: restore Active status when an atom instance is revived (#13)core
,react
: improvestate.on
andObservable
types (#12)
v0.5.10
v0.5.9
v0.5.8
v0.5.7
New Features:
core
: exposedetailedTypeof
andisPlainObject
from core packagecore
: removeaddMeta
andhasMeta
Fixes:
react
: fixapi()
Exports type defaultreact
: fixapi()
Promise type inference when returning result immediatelyreact
: make EvaluationStack restore store scheduler context in all cases