From f172f953827855d51e6771195d5dc3a8eaf3b61f Mon Sep 17 00:00:00 2001 From: holgerd77 Date: Fri, 15 May 2020 09:43:25 +0200 Subject: [PATCH 1/2] Downgraded BN.js re-export version to v4.11.8 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 5729af17..93aceb16 100644 --- a/package.json +++ b/package.json @@ -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", From 575d9a2a5c638eee92bfd93ba13ccfbe815cb196 Mon Sep 17 00:00:00 2001 From: holgerd77 Date: Fri, 15 May 2020 10:00:26 +0200 Subject: [PATCH 2/2] Bumped version to v7.0.1, added CHANGELOG entry and updated README --- CHANGELOG.md | 14 ++++++++++++++ README.md | 4 ++-- package.json | 2 +- 3 files changed, 17 insertions(+), 3 deletions(-) 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 93aceb16..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",