3.0.2 (2018-07-13)
- revert: Reverting v3.0.1 (efb0720)
3.0.0 (2018-06-13)
- ObjectID: use FNV-1a hash for objectId (4f545b1)
- rollup: initial commit of rollup-generated bundle (474b8f7)
- rollup: switch from webpack to rollup for bundling (98068fa)
2.0.8 (2018-06-06)
- readme: clarify documentation about deserialize methods (e311056)
- serialization: normalize function stringification (21eb0b0)
2.0.7 (2018-05-31)
- binary: add type checking for buffer (cbfb25d)
2.0.6 (2018-04-27)
2.0.5 (2018-04-06)
2.0.4 (2018-03-12)
2.0.3 (2018-03-12)
- serialization: support arbitrary sizes for the internal serialization buffer (a6bd45c)
2.0.2 (2018-03-02)
- make sure all functions are named consistently (6df9022)
2.0.1 (2018-02-28)
- serializer: ensure RegExp options are alphabetically sorted (d60659d)
- db-ref: support passing a namespace into a DBRef ctor (604831b)
- browser: fixing browser property in package.json (095fba9)
- dbref: only upgrade objects with allowed $keys to DBRefs (98eb9e2)
- decimal128: add basic guard against REDOS attacks (511ecc4)
- Decimal128: update toString and fromString methods to correctly handle the case of too many significant digits (25ed43e)
- objectid: if pid is 1, use random value (e188ae6)
- serializeWithBufferAndIndex: write documents to start of intermediate buffer (b4e4ac5)
- #204 remove Buffer.from as it's partially broken in early 4.x.x. series of node releases.
- Fixed toString for ObjectId so it will work with inspect.
- Minor optimizations for ObjectID to use Buffer.from where available.
- Reverse behavior for undefined to be serialized as NULL. MongoDB 3.4 does not allow for undefined comparisons.
- Introduced new BSON API and documentation.
- NODE-848 BSON Regex flags must be alphabetically ordered.
- NODE-833, Detects cyclic dependencies in documents and throws error if one is found.
- Fix(deserializer): corrected the check for (size + index) comparison… (Issue #195, https://github.com/JoelParke).
- Added DBPointer up conversion to DBRef
- Added promoteValues flag (default to true) allowing user to specify if deserialization should be into wrapper classes only.
- Throw error if ObjectId is not a string or a buffer.
- All values encoded big-endian style for ObjectId.
- Fixed encoding/decoding issue in ObjectId timestamp generation.
- Removed BinaryParser dependency from the serializer/deserializer.
- Added Decimal128 type and extended test suite to include entire bson corpus.
- Allow for proper detection of ObjectId or objects that look like ObjectId, improving compatibility across third party libraries.
- Remove one package from dependency due to having been pulled from NPM.
- Fix "TypeError: data.copy is not a function" in Electron (Issue #170, https://github.com/kangas).
- Fixed issue with undefined type on deserializing.
- Minor optimizations to avoid non needed object creation.
- Added bower file to repository.
- Fixed browser pid sometimes set greater than 0xFFFF on browsers (Issue #155, https://github.com/rahatarmanahmed)
- Remove all support for bson-ext.
- ObjectID equality check should return boolean instead of throwing exception for invalid oid string #139
- add option for deserializing binary into Buffer object #116
- Validate regexp string for null bytes and throw if there is one.
- Fixed issue with return statement in Map.js.
- Exposed Map correctly via index.js file.
- Exposed Map correctly via bson.js file.
- Added ES6 Map type serialization as well as a polyfill for ES5.
- Made ignore undefined an optional parameter.
- Minor fix for invalid key checking.
- NODE-38 Added new BSONRegExp type to allow direct serialization to MongoDB type.
- Some performance improvements by in lining code.
- Undefined fields are omitted from serialization in objects.
- Fixed size validation to ensure we can deserialize from dumped files.
- Added ability to instruct deserializer to return raw BSON buffers for named array fields.
- Minor deserialization optimization by moving inlined function out.
- Fixed serializeWithBufferAndIndex bug.
- Removed any references to the shared buffer to avoid non GC collectible bson instances.
- Fixed rethrowing of error when not RangeError.
- Start buffer at 64K and double as needed, meaning we keep a low memory profile until needed.
- More fixes for corrupt Bson
- More fixes for corrupt Bson
- New JS serializer serializing into a single buffer then copying out the new buffer. Performance is similar to current C++ parser.
- Removed bson-ext extension dependency for now.
- Removed node-gyp from install script in package.json.
- Return pure js version on native() call if failed to initialize.
- Pulled out all C++ code into bson-ext and made it an optional dependency.
- Updated Nan to 1.7.0 to support io.js and node 0.12.0
- Updated Nan to 1.6.2 to support io.js and node 0.12.0
- Updated Nan to 1.5.1 to support io.js
- Made pid cycle on 0xffff to avoid weird overflows on creation of ObjectID's
- Fixes for fortify review of c++ extension
- toBSON correctly allows returns of non objects
- Drying of ObjectId code for generation of id (Issue #54, https://github.com/moredip)
- Fixed issue where corrupt CString's could cause endless loop
- Support for Node 0.11.X > (Issue #49, https://github.com/kkoopa)
- Added precompiled c++ native extensions for win32 ia32 and x64