Releases: PrettyCoffee/yaasl
Releases · PrettyCoffee/yaasl
0.10.2
Bug Fixes
- createAtom: Only call set if value changed
- createDerived: Only call set if value changed
Full Changelog: 0.10.1...0.10.2
0.10.1
0.10.0
Breaking Changes
- createAtom: Remove reducers property
Features
- CONFIG: Add globalEffects for all atoms
- createSlice: Allows creating atoms with actions and selectors
- devtools: Add logger effect to monitor atom activities
- effects: Rewrite effect dispatcher for more consistent data flow
Bug Fixes
- core: Add missing exports
Full Changelog: 0.9.2...0.10.0
0.9.2
0.9.1
0.9.0
Breaking Changes
- createAtom: Rename atom to createAtom
- createDerived: Rename derive to createDerived
- createEffect: Rename middleware to createEffect
- createSelector: Rename select to createSelector
Features
- atom: Add reducers option to create actions
- createActions: Add createActions helper
- createSelector: Add combiner selectors
Full Changelog: 0.8.0...0.9.0
0.8.0
Breaking Changes
- atom: Remove promise unwrapping
- preact: Remove useDerive hooks
- react: Remove useDerive hooks
Features
- core: Add didInit to all atom types
- core: Pass previous value when subscribing to atom or derive
- select: Create atom selector helper
- derive: Add derive setter functions
- middleware: Allow providing atom value types
- preact: Add hooks to use settable derive atoms
- preact: Allow any atom type in useAtom
- react: Add hooks to use settable derive atoms
- react: Allow any atom type in useAtom
Full Changelog: 0.7.0...0.8.0
0.7.0
Breaking Changes
- Restructure project as monorepo
Features
- middleware: Allow waiting for promises returned by init and didInit
- middleware: Execute all setups before calling init action
- preact: Add preact bindings
- react: Add didInit state to useAtom hook
Full Changelog: 0.6.1...0.7.0
0.6.1
0.6.0
Features
- middleware: Add didInit actions
- migration: Create migration middleware
Full Changelog: 0.5.0...0.6.0