Skip to content
This repository was archived by the owner on Jun 17, 2021. It is now read-only.

Commit 806b2b2

Browse files
authored
Merge pull request #252 from ethereumjs/downgrade-bnjs-to-v4-and-v701-release
v7.0.1 release / Downgrade bn.js re-export from v5 to v4
2 parents 03bb3ff + 575d9a2 commit 806b2b2

File tree

3 files changed

+18
-4
lines changed

3 files changed

+18
-4
lines changed

CHANGELOG.md

+14
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,20 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
66
(modification: no type change headlines) and this project adheres to
77
[Semantic Versioning](http://semver.org/spec/v2.0.0.html).
88

9+
## [7.0.1] - 2020-05-15
10+
11+
This patch release downgrades the re-exported `BN.js` version from `v5` to
12+
`v4` (so a continuation of what has being used within the `v6.x` versions).
13+
This is due to some unexpected interoperability problems in libraries using
14+
the older `v4` `BN.js` branch in their some of their respective dependencies.
15+
16+
An upgrade is highly recommended, the `v7.0.0` release will be marked as
17+
deprecated along this release.
18+
19+
See: Issue [#250](https://github.com/ethereumjs/ethereumjs-util/issues/250)
20+
21+
[7.0.1]: https://github.com/ethereumjs/ethereumjs-util/compare/v7.0.0...v7.0.1
22+
923
## [7.0.0] - 2020-04-30
1024

1125
This release comes with significant changes to the API, updated versions of

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,8 @@ The following methods are available provided by [ethjs-util](https://github.com/
7070

7171
Additionally `ethereumjs-util` re-exports a few commonly-used libraries. These include:
7272

73-
- `BN` ([bn.js](https://github.com/indutny/bn.js))
74-
- `rlp` ([rlp](https://github.com/ethereumjs/rlp))
73+
- [BN.js](https://github.com/indutny/bn.js) (version `4.x`)
74+
- [rlp](https://github.com/ethereumjs/rlp) (version `2.x`)
7575

7676
# EthereumJS
7777

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ethereumjs-util",
3-
"version": "7.0.0",
3+
"version": "7.0.1",
44
"description": "a collection of utility functions for Ethereum",
55
"main": "dist/index.js",
66
"types": "./dist/index.d.ts",
@@ -90,7 +90,7 @@
9090
"homepage": "https://github.com/ethereumjs/ethereumjs-util",
9191
"dependencies": {
9292
"@types/bn.js": "^4.11.3",
93-
"bn.js": "^5.1.1",
93+
"bn.js": "^4.11.8",
9494
"create-hash": "^1.1.2",
9595
"ethjs-util": "0.1.6",
9696
"keccak": "^3.0.0",

0 commit comments

Comments
 (0)