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 #129 from ethereumjs/new-release-v520
Browse files Browse the repository at this point in the history
New release v5.2.0
  • Loading branch information
holgerd77 authored Apr 27, 2018
2 parents 8abcba5 + 9781fed commit 7e3be1d
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
20 changes: 20 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,26 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
[Semantic Versioning](http://semver.org/spec/v2.0.0.html).


## [5.2.0] - 2018-04-27
- Rename all ``sha3`` hash related constants and functions to ``keccak``, see
[this](https://github.com/ethereum/EIPs/issues/59) EIP discussion for context
(tl;dr: Ethereum uses a slightly different hash algorithm then in the official
``SHA-3`` standard)
- Renamed constants:
- ``SHA3_NULL_S`` -> ``KECCAK256_NULL_S``
- ``SHA3_NULL`` -> ``KECCAK256_NULL``
- ``SHA3_RLP_ARRAY_S`` -> ``KECCAK256_RLP_ARRAY_S``
- ``SHA3_RLP_ARRAY`` -> ``KECCAK256_RLP_ARRAY``
- ``SHA3_RLP_S`` -> ``KECCAK256_RLP_S``
- ``SHA3_RLP`` -> ``KECCAK256_RLP``
- Renamed functions:
- ``sha3()`` -> ``keccak()`` (number of bits determined in arguments)
- New ``keccak256()`` alias function for ``keccak(a, 256)``
- The usage of the ``sha``-named versions is now ``DEPRECATED`` and the related
constants and functions will be removed on the next major release ``v6.0.0``

[5.2.0]: https://github.com/ethereumjs/ethereumjs-util/compare/v5.1.5...v5.2.0

## [5.1.5] - 2018-02-28
- Fix ``browserify`` issue leading to 3rd-party build problems, PR [#119](https://github.com/ethereumjs/ethereumjs-util/pull/119)

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ethereumjs-util",
"version": "5.1.5",
"version": "5.2.0",
"description": "a collection of utility functions for Ethereum",
"main": "dist/index.js",
"files": [
Expand Down

0 comments on commit 7e3be1d

Please sign in to comment.