diff --git a/CHANGELOG.md b/CHANGELOG.md index 70d5f8e6..d406bf86 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,20 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) (modification: no type change headlines) and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). +## [7.0.1] - 2020-05-15 + +This patch release downgrades the re-exported `BN.js` version from `v5` to +`v4` (so a continuation of what has being used within the `v6.x` versions). +This is due to some unexpected interoperability problems in libraries using +the older `v4` `BN.js` branch in their some of their respective dependencies. + +An upgrade is highly recommended, the `v7.0.0` release will be marked as +deprecated along this release. + +See: Issue [#250](https://github.com/ethereumjs/ethereumjs-util/issues/250) + +[7.0.1]: https://github.com/ethereumjs/ethereumjs-util/compare/v7.0.0...v7.0.1 + ## [7.0.0] - 2020-04-30 This release comes with significant changes to the API, updated versions of diff --git a/README.md b/README.md index 6c80f95d..21b9e8ba 100644 --- a/README.md +++ b/README.md @@ -70,8 +70,8 @@ The following methods are available provided by [ethjs-util](https://github.com/ Additionally `ethereumjs-util` re-exports a few commonly-used libraries. These include: -- `BN` ([bn.js](https://github.com/indutny/bn.js)) -- `rlp` ([rlp](https://github.com/ethereumjs/rlp)) +- [BN.js](https://github.com/indutny/bn.js) (version `4.x`) +- [rlp](https://github.com/ethereumjs/rlp) (version `2.x`) # EthereumJS diff --git a/package.json b/package.json index 5729af17..89b21bef 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ethereumjs-util", - "version": "7.0.0", + "version": "7.0.1", "description": "a collection of utility functions for Ethereum", "main": "dist/index.js", "types": "./dist/index.d.ts", @@ -90,7 +90,7 @@ "homepage": "https://github.com/ethereumjs/ethereumjs-util", "dependencies": { "@types/bn.js": "^4.11.3", - "bn.js": "^5.1.1", + "bn.js": "^4.11.8", "create-hash": "^1.1.2", "ethjs-util": "0.1.6", "keccak": "^3.0.0",