Skip to content
This repository has been archived by the owner on Feb 3, 2022. It is now read-only.

Commit

Permalink
Release 2.0 (#8)
Browse files Browse the repository at this point in the history
* chore(yarn): updating lockfile

* 2.0.0
  • Loading branch information
daprahamian committed Nov 20, 2017
1 parent 3985033 commit f5ae494
Show file tree
Hide file tree
Showing 4 changed files with 1,299 additions and 2 deletions.
69 changes: 69 additions & 0 deletions CHANGELOG.md
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)



2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mongodb-extjson",
"version": "1.0.5",
"version": "2.0.0",
"description": "MongoDB Extended JSON library",
"main": "index.js",
"scripts": {
Expand Down
Loading

0 comments on commit f5ae494

Please sign in to comment.