Skip to content

v1.1.0

Compare
Choose a tag to compare
@davestewart davestewart released this 09 Jun 21:38
· 97 commits to master since this release

Added

  • Ability to create new sub-properties on the fly
  • call() helper to map actions using the same syntax as get() and sync()
  • registerModule() helper to register wildcard members for dynamic modules

Changed

  • Wildcards can now appear anywhere in the last segment of a path
  • Wildcards targeting module properties must now be explicit, i.e. foo/* rather than foo*
  • deep option format is now 0: disabled, 1: read-write, 2: read-write-create
  • deep option can now be changed at any time
  • Payload#update() now returns the updated state, rather than updating the passed state

Fixed

  • Invalid computed property paths now return empty functions
  • Bug in sync where invalid paths would cause error message to error