Skip to content

Commit edc0592

Browse files
committed
2.0.0
1 parent 511ecc4 commit edc0592

File tree

2 files changed

+18
-1
lines changed

2 files changed

+18
-1
lines changed

HISTORY.md

+15
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
1+
<a name="2.0.0"></a>
2+
# 2.0.0 (2018-02-26)
3+
4+
5+
### Bug Fixes
6+
7+
* **browser:** fixing browser property in package.json ([095fba9](https://github.com/mongodb/js-bson/commit/095fba9))
8+
* **dbref:** only upgrade objects with allowed $keys to DBRefs ([98eb9e2](https://github.com/mongodb/js-bson/commit/98eb9e2))
9+
* **decimal128:** add basic guard against REDOS attacks ([511ecc4](https://github.com/mongodb/js-bson/commit/511ecc4))
10+
* **Decimal128:** update toString and fromString methods to correctly handle the case of too many significant digits ([25ed43e](https://github.com/mongodb/js-bson/commit/25ed43e))
11+
* **objectid:** if pid is 1, use random value ([e188ae6](https://github.com/mongodb/js-bson/commit/e188ae6))
12+
* **serializeWithBufferAndIndex:** write documents to start of intermediate buffer ([b4e4ac5](https://github.com/mongodb/js-bson/commit/b4e4ac5))
13+
14+
15+
116
1.0.4 2016-01-11
217
----------------
318
- #204 remove Buffer.from as it's partially broken in early 4.x.x. series of node releases.

package.json

+3-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"browser_build",
1313
"bower.json"
1414
],
15-
"version": "1.0.4",
15+
"version": "2.0.0",
1616
"author": "Christian Amor Kvalheim <[email protected]>",
1717
"license": "Apache-2.0",
1818
"contributors": [],
@@ -30,6 +30,7 @@
3030
"babel-preset-stage-0": "^6.24.1",
3131
"babel-register": "^6.26.0",
3232
"chai": "^4.1.2",
33+
"conventional-changelog-cli": "^1.3.5",
3334
"eslint": "^4.7.2",
3435
"eslint-plugin-prettier": "^2.3.1",
3536
"istanbul": "^0.4.5",
@@ -53,6 +54,7 @@
5354
"build": "webpack --config ./webpack.dist.config.js",
5455
"lint": "eslint lib test",
5556
"format": "prettier --print-width 100 --tab-width 2 --single-quote --write 'test/**/*.js' 'lib/**/*.js'",
57+
"changelog": "conventional-changelog -p angular -i HISTORY.md -s",
5658
"coverage": "istanbul cover _mocha -- --recursive --ui tdd test/node",
5759
"prepublishOnly": "npm run build"
5860
},

0 commit comments

Comments
 (0)