Skip to content

Releases: XbyOrange/mercury-memory

Queries default value

16 Oct 06:22
a24de51
Compare
Choose a tag to compare

Added

  • Add "queriesDefaultValue" option. If defined, queried instances will have default value corresponding to the value of query "key" in the default value object. If not, the behavior of "default value" will be the same than in previous versions, and will return the full object even for queried instances)
  • Add "uuid" and "tags" options.
  • Accept options object as second argument. (And still accepts "id" as second argument, and options as third argument in order to maintain retro-compatibility)

Changed

  • Emit "clean" event over root instance when an "update" is executed on any queried instance. (Full object is modified too).
  • Upgrade mercury version and define it as peer dependency.
  • Upgrade devDependencies.

Upgrade dependencies

28 Jun 10:38
a257c8d
Compare
Choose a tag to compare

Changed

  • Upgrade mercury version

First public release

03 Jun 11:52
25f1efc
Compare
Choose a tag to compare
  • Forked from xByOrange reactive-data-source v1.7.0 private library. (Only Memory origin is exposed in this one)
  • Extends from Mercury Origin instead of reactive-data-source origin. (Refer to mercury CHANLEGOG for further details)
  • Now constructor accepts id as optional second argument.