changelogs.md


ethereumjs/ethereumjs-util

Repository  -  API  -  Source

5.2.0

April 27, 2018
  • Rename all sha3 hash related constants and functions to keccak, see this 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

May 2, 2000

5.1.5

February 28, 2018
  • Fix browserify issue leading to 3rd-party build problems, PR #119

5.1.5

May 1, 2005

5.1.4

February 3, 2018
  • Moved to ES5 Node distribution version for easier toolchain integration, PR #114
  • Updated isPrecompile() with Byzantium precompile address range, PR #115

5.1.4

May 1, 2004

5.1.3

January 3, 2018
  • ES6 syntax updates
  • Dropped Node 5 support
  • Moved babel to dev dependencies, switched to env preset
  • Usage of safe-buffer instead of Node Buffer
  • Do not allow capital 0X as valid address in isValidAddress()
  • New methods zeroAddress() and isZeroAddress()
  • Updated dependencies

5.1.3

May 1, 2003

5.1.2

May 31, 2017
  • Add browserify for ES2015 compatibility
  • Fix hex validation

5.1.2

May 1, 2002

5.1.1

February 10, 2017
  • Use hex utils from ethjs-util
  • Move secp vars into functions
  • Dependency updates

5.1.1

May 1, 2001

5.1.0

February 4, 2017
  • Fix toRpcSig() function
  • Updated Buffer creation (Buffer.from)
  • Dependency updates
  • Fix npm error
  • Use keccak package instead of keccakjs
  • Helpers for eth_sign RPC call

5.1.0

May 1, 2000

5.0.1

November 8, 2016
  • Fix bufferToHex()

5.0.0

November 8, 2016
  • Added isValidSignature() (ECDSA signature validation)
  • Change v param in ecrecover() from Buffer to int (breaking change!)
  • Fix property alias for setting with initial parameters
  • Reject invalid signature lengths for fromRpcSig()
  • Fix sha3() width param (byte -> bit)
  • Fix overflow bug in bufferToInt()

5.0.0

April 5, 2000

4.5.0

  • Introduced toMessageSig() and fromMessageSig()

4.5.0

April 5, 2000

Older releases:

4.4.1

May 20, 2016

4.4.0

April 26, 2016

4.3.1

April 25, 2016

4.3.0

March 23, 2016

4.2.0

March 18, 2016

4.1.0

March 8, 2016

4.0.0

February 2, 2016

3.0.0

January 20, 2016