This repository has been archived by the owner on Feb 3, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
4 changed files
with
1,299 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
<a name="2.0.0"></a> | ||
# 2.0.0 (2017-11-20) | ||
|
||
|
||
### Features | ||
|
||
* make compliant with extended JSON 2.0.0 spec and add corpus tests ([7818d61](https://github.com/mongodb-js/mongodb-extjson/commit/7818d61)) | ||
* **binary:** removing browser buffer support ([dc556c8](https://github.com/mongodb-js/mongodb-extjson/commit/dc556c8)) | ||
|
||
|
||
### BREAKING CHANGES | ||
|
||
|
||
* Methods now exist on a global instance of ExtJSON. Whereas previously the library was consumed as such: | ||
|
||
```js | ||
const extJSON = require('mongodb-extjson'); | ||
const EJSON = new extJSON(); | ||
EJSON.parse(...); | ||
``` | ||
|
||
it is now consumed thusly: | ||
```js | ||
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](https://github.com/mongodb/specifications/blob/a3023304d2883f550b6550a096e0d1ae54c9c102/source/extended-json.rst), and as such may not be compatible with v1.0.0 Extended JSON objects. | ||
|
||
|
||
|
||
|
||
<a name="1.0.5"></a> | ||
## 1.0.5 (2017-05-24) | ||
|
||
|
||
### Bug Fixes | ||
|
||
* **parse:** properly support null values in parsed strings ([b3f88f9](https://github.com/mongodb-js/mongodb-extjson/commit/b3f88f9)), closes [#2](https://github.com/mongodb-js/mongodb-extjson/issues/2) | ||
* **serialize:** properly serialize BSON types when used as values ([66fe3d9](https://github.com/mongodb-js/mongodb-extjson/commit/66fe3d9)), closes [#1](https://github.com/mongodb-js/mongodb-extjson/issues/1) | ||
|
||
|
||
|
||
<a name="1.0.4"></a> | ||
## 1.0.4 (2017-03-15) | ||
|
||
|
||
|
||
<a name="1.0.3"></a> | ||
## 1.0.3 (2017-03-02) | ||
|
||
|
||
|
||
<a name="1.0.2"></a> | ||
## 1.0.2 (2017-03-01) | ||
|
||
|
||
|
||
<a name="1.0.1"></a> | ||
## 1.0.1 (2017-03-01) | ||
|
||
|
||
|
||
<a name="1.0.0"></a> | ||
# 1.0.0 (2017-03-01) | ||
|
||
|
||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.