Skip to content

Releases: PrettyCoffee/yaasl

0.10.2

13 Oct 16:40
Compare
Choose a tag to compare

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

13 Oct 16:37
Compare
Choose a tag to compare

Bug Fixes

  • preact: Use correct initial value with useAtomValue

Full Changelog: 0.10.0...0.10.1

0.10.0

13 Oct 16:36
Compare
Choose a tag to compare

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

13 Oct 16:36
Compare
Choose a tag to compare

Misc

  • Improve jsdocs

Full Changelog: 0.9.1...0.9.2

0.9.1

13 Oct 16:36
Compare
Choose a tag to compare

Bug Fixes

  • createAtom: Use correct types for reducers

Full Changelog: 0.9.0...0.9.1

0.9.0

13 Oct 16:35
Compare
Choose a tag to compare

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

13 Oct 16:35
Compare
Choose a tag to compare

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

13 Oct 16:35
Compare
Choose a tag to compare

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

29 Jan 22:44
Compare
Choose a tag to compare

Bug Fixes

  • devtools: Only warn once when extension was not found

Full Changelog: 0.6.0...0.6.1

0.6.0

29 Jan 22:43
Compare
Choose a tag to compare

Features

  • middleware: Add didInit actions
  • migration: Create migration middleware

Full Changelog: 0.5.0...0.6.0