This project adheres to Semantic Versioning.
- Fixed infinite loop on some diamond dependencies (by Roman Gorev).
- Fixed diamond dependency problem (by Roman Gorev).
- Fixed calling
get()
inonMount()
andonStart()
. - Fixed atom type (by Brian Takita).
- Removed deprecated 0.4 API.
- Dropped Node.js 12 support.
- Fixed types for atom initial value (by @itsMapleLeaf).
- Fixed
computed
regression (by Brian Takita).
- Fixed wrong listeners order after
store.off()
(by Brian Takita).
- Fixed multiple
onMount
listeners support.
- Fixed
onMount
support incomputed
stores.
- Fixed
AnySyncTemplate
type (by Eduard Aksamitov).
- Fixed
Atom#notify()
types (by Aleksandr Slepchenkov). - Fixed docs (by Gor Davtyan and Daniil Pronin).
- Fixed deprecate types.
- Fixed deprecate types.
- Fixed docs.
- Fixed
action()
types.
- Fixed types (by @davidmz).
- Fixed docs (by Eduard Aksamitov).
- Reduced package size.
- Renamed
createStore()
toatom()
(by Usman Yunusov). - Renamed
createMap()
tomap()
(by Usman Yunusov). - Renamed
defineMap()
tomapTemplate()
(by Usman Yunusov). - Renamed
createdDerived()
tocomputed()
(by Usman Yunusov). - Renamed
effect
totask
. - Renamed
keepAlive()
tokeepMount()
. - Replaced
getValue(store)
withstore.get()
. - Removed store cleaning in disabled mode.
- Moved React/Preact/Vue integrations to separated packages.
- Added store events like
onMount
oronSet
(by @eddort). - Added
action()
wrapper to change tracking (by @eddort). - Added
listenKeys()
to listen for specific keys in map store. - Map store now change object link on changes (by Eduard Aksamitov).
- Fixed diamond problem (by @eddort).
- Fixed Vue re-render (by Eduard Aksamitov).
- Fixed optional keys in map store.
- Fixed functions as store value support.
- Fixed package size.
- Fixed map store default type (by Alexey Berezin).
- Fixed key type in map store methods (by Alexey Berezin).
- Fixed
changedKey
type in map store (by Aleksandr Slepchenkov).
- Fixed cleaning effects in tests.
- Reduced all features size.
- Fixed ending effect on error.
- Fixed docs (by @droganov).
- Fixed React
batch
types.
- Moved router and persistent store to separated projects.
- Added project logo (by Eduard Aksamitov).
- Added React Native support.
- Added
effect()
andallEffects()
functions for tests. - Added
update()
andupdateKey()
helpers. - Fixed stores on listeners changes during store change event.
- Fixed
cleanStores()
onundefined
in store.
- Fixed React batching.
- Fixed docs (by Aleksandr Slepchenkov).
- Fixed map store initializer regression.
- Fixed
MapStore#setKey()
regression.
- Renamed project to
nanostores
- Split
Store
type toReadableStore
andWritableStore
. - Added
redirectPage()
(by Aleksei Gurianov).
- Do not clean store’s value on no listeners.
- Added Preact support (by @Merciful12).
- Added docs.
- Added
keepActive()
shortcut. - Added
BuilderStore<typeof Builder>
type. - Fixed examples (by @2bj).
- Initial release.