Skip to content

v1.0.0

Compare
Choose a tag to compare
@bowheart bowheart released this 24 Apr 19:51
· 126 commits to master since this release
5298acf

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: make instance.invalidate() a normal method (#29)
  • Breaking Change react: move auto-batching from api() to injectCallback() (#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 export createInjector - replace with injectSelf (#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)