3.0.3 (2018-07-13)
- breaking: reverts breaking changes in v3.0.1 and v3.0.2 (3fab274)
2.1.4 (2018-05-31)
- binary: generate valid base64 for non-Buffer types (44afbb8)
- parsing: support encoding and decoding RegExps (06691f6)
2.1.3 (2018-05-01)
2.1.2 (2018-04-06)
- bson: bump dependency on js-bson to track 2.x (f00bc9f)
2.1.1 (2018-04-01)
- browser: Added browser parameter in package.json pointing to transpiled dist (97b0feb)
- double: supported relaxed mode for double parsing (0ee5016)
- int32: support relaxed parsing of int32 types (c8513cb)
- long: support relaxed parsing of long types (ac52ae5)
- parsing: support relaxed parsing of extended json (92e06d3)
- make compliant with extended JSON 2.0.0 spec and add corpus tests (7818d61)
- binary: removing browser buffer support (dc556c8)
-
Methods now exist on a global instance of ExtJSON. Whereas previously the library was consumed as such:
const extJSON = require('mongodb-extjson'); const EJSON = new extJSON(); EJSON.parse(...);
it is now consumed thusly:
const EJSON = require('mongodb-extjson'); EJSON.parse(...);
-
binary: Removes out-of-box support for Binary serialization on web platforms. Users will have to polyfill node Buffer type
-
Library is now compliant with Extended JSON v2.0.0, and as such may not be compatible with v1.0.0 Extended JSON objects.