From 24f09ea452a2afc195371b9d25c63cfa8e937abe Mon Sep 17 00:00:00 2001 From: holgerd77 Date: Mon, 25 May 2020 12:37:29 +0200 Subject: [PATCH 1/2] Upgraded BN.js from v4 to v5.1.2 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 89b21bef..a849e2e4 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": "^4.11.8", + "bn.js": "^5.1.2", "create-hash": "^1.1.2", "ethjs-util": "0.1.6", "keccak": "^3.0.0", From 37c3727cddfe02554620788849b4b7f1ec7bdefc Mon Sep 17 00:00:00 2001 From: holgerd77 Date: Mon, 25 May 2020 12:44:20 +0200 Subject: [PATCH 2/2] Bumped version to v7.0.2, updated README, added CHANGELOG entry --- CHANGELOG.md | 22 ++++++++++++++++++++++ README.md | 2 +- package.json | 2 +- 3 files changed, 24 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d406bf86..f1ceba2c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,8 +6,28 @@ 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.2] - 2020-05-25 + +This patch release re-establishes the state of `v7.0.0` release and upgrades +the `BN.js` re-export version back to `v5` since quick patches for both +the `v5` ([v5.1.2](https://github.com/indutny/bn.js/releases/tag/v5.1.2)) and +the `v4` branch ([v4.11.9](https://github.com/indutny/bn.js/releases/tag/v4.11.9)) +have been released to fix interoperability issues between the `BN.js` versions. + +This now makes it possible to move to the latest `BN.js` `v5` version and profit +from future upgrades and patches. + +An upgrade is highly recommended, the `v7.0.1` release will be marked as +deprecated along this release. + +See: Issue [#250](https://github.com/ethereumjs/ethereumjs-util/issues/250) + +[7.0.2]: https://github.com/ethereumjs/ethereumjs-util/compare/v7.0.1...v7.0.2 + ## [7.0.1] - 2020-05-15 +[DEPRECATED in favour of v7.0.2] + 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 @@ -22,6 +42,8 @@ See: Issue [#250](https://github.com/ethereumjs/ethereumjs-util/issues/250) ## [7.0.0] - 2020-04-30 +[DEPRECATED in favour of v7.0.1] + This release comes with significant changes to the API, updated versions of the core crypto libraries and substantial developer improvements in the form of a refactored test suite and API documentation. diff --git a/README.md b/README.md index 21b9e8ba..ea9b0372 100644 --- a/README.md +++ b/README.md @@ -70,7 +70,7 @@ 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.js](https://github.com/indutny/bn.js) (version `4.x`) +- [BN.js](https://github.com/indutny/bn.js) (version `5.x`) - [rlp](https://github.com/ethereumjs/rlp) (version `2.x`) # EthereumJS diff --git a/package.json b/package.json index a849e2e4..fde7f31e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ethereumjs-util", - "version": "7.0.1", + "version": "7.0.2", "description": "a collection of utility functions for Ethereum", "main": "dist/index.js", "types": "./dist/index.d.ts",