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

Commit 7e3be1d

Browse files
authored
Merge pull request #129 from ethereumjs/new-release-v520
New release v5.2.0
2 parents 8abcba5 + 9781fed commit 7e3be1d

File tree

2 files changed

+21
-1
lines changed

2 files changed

+21
-1
lines changed

CHANGELOG.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,26 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
66
[Semantic Versioning](http://semver.org/spec/v2.0.0.html).
77

88

9+
## [5.2.0] - 2018-04-27
10+
- Rename all ``sha3`` hash related constants and functions to ``keccak``, see
11+
[this](https://github.com/ethereum/EIPs/issues/59) EIP discussion for context
12+
(tl;dr: Ethereum uses a slightly different hash algorithm then in the official
13+
``SHA-3`` standard)
14+
- Renamed constants:
15+
- ``SHA3_NULL_S`` -> ``KECCAK256_NULL_S``
16+
- ``SHA3_NULL`` -> ``KECCAK256_NULL``
17+
- ``SHA3_RLP_ARRAY_S`` -> ``KECCAK256_RLP_ARRAY_S``
18+
- ``SHA3_RLP_ARRAY`` -> ``KECCAK256_RLP_ARRAY``
19+
- ``SHA3_RLP_S`` -> ``KECCAK256_RLP_S``
20+
- ``SHA3_RLP`` -> ``KECCAK256_RLP``
21+
- Renamed functions:
22+
- ``sha3()`` -> ``keccak()`` (number of bits determined in arguments)
23+
- New ``keccak256()`` alias function for ``keccak(a, 256)``
24+
- The usage of the ``sha``-named versions is now ``DEPRECATED`` and the related
25+
constants and functions will be removed on the next major release ``v6.0.0``
26+
27+
[5.2.0]: https://github.com/ethereumjs/ethereumjs-util/compare/v5.1.5...v5.2.0
28+
929
## [5.1.5] - 2018-02-28
1030
- Fix ``browserify`` issue leading to 3rd-party build problems, PR [#119](https://github.com/ethereumjs/ethereumjs-util/pull/119)
1131

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ethereumjs-util",
3-
"version": "5.1.5",
3+
"version": "5.2.0",
44
"description": "a collection of utility functions for Ethereum",
55
"main": "dist/index.js",
66
"files": [

0 commit comments

Comments
 (0)