1
1
# Changelog
2
+
2
3
All notable changes to this project will be documented in this file.
3
4
4
- The format is based on [ Keep a Changelog] ( http://keepachangelog.com/en/1.0.0/ )
5
- (modification: no type change headlines) and this project adheres to
5
+ The format is based on [ Keep a Changelog] ( http://keepachangelog.com/en/1.0.0/ )
6
+ (modification: no type change headlines) and this project adheres to
6
7
[ Semantic Versioning] ( http://semver.org/spec/v2.0.0.html ) .
7
8
8
-
9
9
## [ 6.0.0] - 2018-10-08
10
- - Support for `` EIP-155 `` replay protection by adding an optional `` chainId `` parameter
11
- to `` ecsign() `` , `` ecrecover() `` , `` toRpcSig() `` and `` isValidSignature() `` , if present the
12
- new signature format relying on the `` chainId `` is used, see PR [ #143 ] ( https://github.com/ethereumjs/ethereumjs-util/pull/143 )
13
- - New `` generateAddress2() `` for `` CREATE2 `` opcode (`` EIP-1014 `` ) address creation
10
+
11
+ - Support for ` EIP-155 ` replay protection by adding an optional ` chainId ` parameter
12
+ to ` ecsign() ` , ` ecrecover() ` , ` toRpcSig() ` and ` isValidSignature() ` , if present the
13
+ new signature format relying on the ` chainId ` is used, see PR [ #143 ] ( https://github.com/ethereumjs/ethereumjs-util/pull/143 )
14
+ - New ` generateAddress2() ` for ` CREATE2 ` opcode (` EIP-1014 ` ) address creation
14
15
(Constantinople HF), see PR [ #146 ] ( https://github.com/ethereumjs/ethereumjs-util/pull/146 )
15
- - [ BREAKING] Fixed signature to comply with Geth and Parity in `` toRpcSig() `` changing
16
- `` v ` ` from 0/1 to 27/28, this changes the resulting signature buffer, see PR [ #139 ] ( https://github.com/ethereumjs/ethereumjs-util/pull/139 )
17
- - [ BREAKING] Remove deprecated `` sha3 `` -named constants and methods (see `` v5.2.0 ` ` release),
16
+ - [ BREAKING] Fixed signature to comply with Geth and Parity in ` toRpcSig() ` changing
17
+ ` v ` from 0/1 to 27/28, this changes the resulting signature buffer, see PR [ #139 ] ( https://github.com/ethereumjs/ethereumjs-util/pull/139 )
18
+ - [ BREAKING] Remove deprecated ` sha3 ` -named constants and methods (see ` v5.2.0 ` release),
18
19
see PR [ #154 ] ( https://github.com/ethereumjs/ethereumjs-util/pull/154 )
19
20
20
21
[ 6.0.0 ] : https://github.com/ethereumjs/ethereumjs-util/compare/v5.2.0...v6.0.0
21
22
22
23
## [ 5.2.0] - 2018-04-27
23
- - Rename all `` sha3 `` hash related constants and functions to `` keccak `` , see
24
+
25
+ - Rename all ` sha3 ` hash related constants and functions to ` keccak ` , see
24
26
[ this] ( https://github.com/ethereum/EIPs/issues/59 ) EIP discussion for context
25
27
(tl;dr: Ethereum uses a slightly different hash algorithm then in the official
26
- `` SHA-3 ` ` standard)
28
+ ` SHA-3 ` standard)
27
29
- Renamed constants:
28
- - `` SHA3_NULL_S `` -> `` KECCAK256_NULL_S ` `
29
- - `` SHA3_NULL `` -> `` KECCAK256_NULL ` `
30
- - `` SHA3_RLP_ARRAY_S `` -> `` KECCAK256_RLP_ARRAY_S ` `
31
- - `` SHA3_RLP_ARRAY `` -> `` KECCAK256_RLP_ARRAY ` `
32
- - `` SHA3_RLP_S `` -> `` KECCAK256_RLP_S ` `
33
- - `` SHA3_RLP `` -> `` KECCAK256_RLP ` `
30
+ - ` SHA3_NULL_S ` -> ` KECCAK256_NULL_S `
31
+ - ` SHA3_NULL ` -> ` KECCAK256_NULL `
32
+ - ` SHA3_RLP_ARRAY_S ` -> ` KECCAK256_RLP_ARRAY_S `
33
+ - ` SHA3_RLP_ARRAY ` -> ` KECCAK256_RLP_ARRAY `
34
+ - ` SHA3_RLP_S ` -> ` KECCAK256_RLP_S `
35
+ - ` SHA3_RLP ` -> ` KECCAK256_RLP `
34
36
- Renamed functions:
35
- - `` sha3() `` -> `` keccak() ` ` (number of bits determined in arguments)
36
- - New `` keccak256() `` alias function for `` keccak(a, 256) ` `
37
- - The usage of the `` sha `` -named versions is now `` DEPRECATED `` and the related
38
- constants and functions will be removed on the next major release `` v6.0.0 ` `
37
+ - ` sha3() ` -> ` keccak() ` (number of bits determined in arguments)
38
+ - New ` keccak256() ` alias function for ` keccak(a, 256) `
39
+ - The usage of the ` sha ` -named versions is now ` DEPRECATED ` and the related
40
+ constants and functions will be removed on the next major release ` v6.0.0 `
39
41
40
42
[ 5.2.0 ] : https://github.com/ethereumjs/ethereumjs-util/compare/v5.1.5...v5.2.0
41
43
42
44
## [ 5.1.5] - 2018-02-28
43
- - Fix `` browserify `` issue leading to 3rd-party build problems, PR [ #119 ] ( https://github.com/ethereumjs/ethereumjs-util/pull/119 )
45
+
46
+ - Fix ` browserify ` issue leading to 3rd-party build problems, PR [ #119 ] ( https://github.com/ethereumjs/ethereumjs-util/pull/119 )
44
47
45
48
[ 5.1.5 ] : https://github.com/ethereumjs/ethereumjs-util/compare/v5.1.4...v5.1.5
46
49
47
50
## [ 5.1.4] - 2018-02-03
48
- - Moved to `` ES5 `` Node distribution version for easier toolchain integration, PR [ #114 ] ( https://github.com/ethereumjs/ethereumjs-util/pull/114 )
49
- - Updated `` isPrecompile() `` with Byzantium precompile address range, PR [ #115 ] ( https://github.com/ethereumjs/ethereumjs-util/pull/115 )
51
+
52
+ - Moved to ` ES5 ` Node distribution version for easier toolchain integration, PR [ #114 ] ( https://github.com/ethereumjs/ethereumjs-util/pull/114 )
53
+ - Updated ` isPrecompile() ` with Byzantium precompile address range, PR [ #115 ] ( https://github.com/ethereumjs/ethereumjs-util/pull/115 )
50
54
51
55
[ 5.1.4 ] : https://github.com/ethereumjs/ethereumjs-util/compare/v5.1.3...v5.1.4
52
56
53
57
## [ 5.1.3] - 2018-01-03
54
- - `` ES6 `` syntax updates
55
- - Dropped Node `` 5 `` support
56
- - Moved babel to dev dependencies, switched to `` env `` preset
57
- - Usage of `` safe-buffer `` instead of Node `` Buffer ``
58
- - Do not allow capital `` 0X `` as valid address in `` isValidAddress() ``
59
- - New methods `` zeroAddress() `` and `` isZeroAddress() ``
58
+
59
+ - ` ES6 ` syntax updates
60
+ - Dropped Node ` 5 ` support
61
+ - Moved babel to dev dependencies, switched to ` env ` preset
62
+ - Usage of ` safe-buffer ` instead of Node ` Buffer `
63
+ - Do not allow capital ` 0X ` as valid address in ` isValidAddress() `
64
+ - New methods ` zeroAddress() ` and ` isZeroAddress() `
60
65
- Updated dependencies
61
66
62
67
[ 5.1.3 ] : https://github.com/ethereumjs/ethereumjs-util/compare/v5.1.2...v5.1.3
63
68
64
69
## [ 5.1.2] - 2017-05-31
65
- - Add browserify for `` ES2015 `` compatibility
70
+
71
+ - Add browserify for ` ES2015 ` compatibility
66
72
- Fix hex validation
67
73
68
74
[ 5.1.2 ] : https://github.com/ethereumjs/ethereumjs-util/compare/v5.1.1...v5.1.2
69
75
70
76
## [ 5.1.1] - 2017-02-10
71
- - Use hex utils from `` ethjs-util ``
77
+
78
+ - Use hex utils from ` ethjs-util `
72
79
- Move secp vars into functions
73
80
- Dependency updates
74
81
75
82
[ 5.1.1 ] : https://github.com/ethereumjs/ethereumjs-util/compare/v5.1.0...v5.1.1
76
83
77
84
## [ 5.1.0] - 2017-02-04
78
- - Fix `` toRpcSig() `` function
79
- - Updated Buffer creation (`` Buffer.from `` )
85
+
86
+ - Fix ` toRpcSig() ` function
87
+ - Updated Buffer creation (` Buffer.from ` )
80
88
- Dependency updates
81
89
- Fix npm error
82
- - Use `` keccak `` package instead of `` keccakjs ` `
83
- - Helpers for `` eth_sign ` ` RPC call
90
+ - Use ` keccak ` package instead of ` keccakjs `
91
+ - Helpers for ` eth_sign ` RPC call
84
92
85
93
[ 5.1.0 ] : https://github.com/ethereumjs/ethereumjs-util/compare/v5.0.1...v5.1.0
86
94
87
95
## [ 5.0.1] - 2016-11-08
88
- - Fix `` bufferToHex() ``
96
+
97
+ - Fix ` bufferToHex() `
89
98
90
99
[ 5.0.1 ] : https://github.com/ethereumjs/ethereumjs-util/compare/v5.0.0...v5.0.1
91
100
92
101
## [ 5.0.0] - 2016-11-08
93
- - Added `` isValidSignature() `` (ECDSA signature validation)
94
- - Change `` v `` param in `` ecrecover() `` from `` Buffer `` to `` int `` (breaking change!)
102
+
103
+ - Added ` isValidSignature() ` (ECDSA signature validation)
104
+ - Change ` v ` param in ` ecrecover() ` from ` Buffer ` to ` int ` (breaking change!)
95
105
- Fix property alias for setting with initial parameters
96
- - Reject invalid signature lengths for `` fromRpcSig() ` `
97
- - Fix `` sha3() `` `` width ` ` param (byte -> bit)
98
- - Fix overflow bug in `` bufferToInt() ` `
106
+ - Reject invalid signature lengths for ` fromRpcSig() `
107
+ - Fix ` sha3() ` ` width ` param (byte -> bit)
108
+ - Fix overflow bug in ` bufferToInt() `
99
109
100
110
[ 5.0.0 ] : https://github.com/ethereumjs/ethereumjs-util/compare/v4.5.0...v5.0.0
101
111
102
112
## [ 4.5.0] - 2016-17-12
103
- - Introduced `` toMessageSig() `` and `` fromMessageSig() ``
113
+
114
+ - Introduced ` toMessageSig() ` and ` fromMessageSig() `
104
115
105
116
[ 4.5.0 ] : https://github.com/ethereumjs/ethereumjs-util/compare/v4.4.1...v4.5.0
106
117
@@ -113,4 +124,4 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
113
124
- [ 4.2.0] ( https://github.com/ethereumjs/ethereumjs-util/compare/v4.1.0...v4.2.0 ) - 2016-03-18
114
125
- [ 4.1.0] ( https://github.com/ethereumjs/ethereumjs-util/compare/v4.0.0...v4.1.0 ) - 2016-03-08
115
126
- [ 4.0.0] ( https://github.com/ethereumjs/ethereumjs-util/compare/v3.0.0...v4.0.0 ) - 2016-02-02
116
- - [ 3.0.0] ( https://github.com/ethereumjs/ethereumjs-util/compare/v2.0.0...v3.0.0 ) - 2016-01-20
127
+ - [ 3.0.0] ( https://github.com/ethereumjs/ethereumjs-util/compare/v2.0.0...v3.0.0 ) - 2016-01-20
0 commit comments