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

Commit

Permalink
Merge pull request #252 from ethereumjs/downgrade-bnjs-to-v4-and-v701…
Browse files Browse the repository at this point in the history
…-release

v7.0.1 release / Downgrade bn.js re-export from v5 to v4
  • Loading branch information
holgerd77 authored May 15, 2020
2 parents 03bb3ff + 575d9a2 commit 806b2b2
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 4 deletions.
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down Expand Up @@ -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",
Expand Down

0 comments on commit 806b2b2

Please sign in to comment.