1.0.9 (2018-06-07)
- serializer: remove use of
const
(5feb12f)
1.0.7 (2018-06-06)
- binary: add type checking for buffer (26b05b5)
- bson: fix custom inspect property (080323b)
- readme: clarify documentation about deserialize methods (20f764c)
- serialization: normalize function stringification (1320c10)
1.0.6 (2018-03-12)
- serialization: support arbitrary sizes for the internal serialization buffer (abe97bc)
- decimal128: add basic guard against REDOS attacks (bd61c45)
- objectid: if pid is 1, use random value (e188ae6)
- #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