Skip to content

Latest commit

 

History

History
60 lines (43 loc) · 1.76 KB

CHANGELOG.md

File metadata and controls

60 lines (43 loc) · 1.76 KB

Changelog

v2.1.0

  • Re-renamed field back to fieldName (undid the variable rename from ce90b0e).
  • Updated deserialize/serialize/toString to use the fieldName key, but fall back to the field key.
  • Added a field option to serialize if the shorter key is desired.
  • Added extra tests for both of the variations.

v2.0.1

  • Fixed named exports in module.

v2.0.0

  • Renamed toJS/fromJS to serialize/deserialize to remove unexpected side effects when Quri instances are stored inside Immutable.js data structures.
  • Added toJSON/fromJSON for easier JSON string handling.
  • Added parse to handle either strings with fromJSON or objects with deserialize
  • Aliased serialize/deserialize as serialise/deserialise
  • Aliased toJSON as stringify

v1.1.0

  • Fixed inconsistent behaviour of toJS/fromJS.
  • Updated fromJS to handle null/undefined with a new Quri instance.
  • Calling fromJS on an existing Quri instance will return a clone of the original.

v1.0.3

  • Expanded fromJS to handle object format on input data.
  • Added verbose (object format) option to toJS.
  • Added constants.

v1.0.2

  • Renamed class from Criteria to Quri.
  • toJS/fromJS added for object serialization.
  • Chaining support.

v1.0.0

  • quri-js initial commit.