1 | # Changelog
|
2 | All notable changes to this project will be documented in this file.
|
3 |
|
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
|
6 | [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
|
7 |
|
8 | ## [2.2.2] - 2019-12-17
|
9 | **MuirGlacier** support by updating to the new difficulty formula as stated
|
10 | in [EIP-2384](https://eips.ethereum.org/EIPS/eip-2384).
|
11 |
|
12 | Please note that this release does not contain all the changes merged into
|
13 | master since the `v2.2.0` release and only backports the difficulty formula
|
14 | adjustments to support MuirGlacier without having to go through migration to
|
15 | the `v3.0.0` which contains breaking changes.
|
16 |
|
17 | [2.2.2]: https://github.com/ethereumjs/ethereumjs-block/compare/v2.2.1...v2.2.2
|
18 |
|
19 | ## [2.2.1] - 2019-11-14
|
20 | **Istanbul** support by updating to the most recent `ethereumjs-tx` version
|
21 | [v2.1.1](https://github.com/ethereumjs/ethereumjs-tx/releases/tag/v2.1.1).
|
22 |
|
23 | Please note that this release does not contain all the changes merged into
|
24 | master since the `v2.2.0` release and only backports the most recent
|
25 | `ethereumjs-tx` version to allow users to support Istanbul without having
|
26 | to go through migration to the `v3.0.0` which contains breaking changes.
|
27 |
|
28 | [2.2.1]: https://github.com/ethereumjs/ethereumjs-block/compare/v2.2.0...v2.2.1
|
29 |
|
30 | ## [2.2.0] - 2019-02-06
|
31 | **Petersburg** (aka `constantinopleFix`) as well as **Goerli**
|
32 | support/readiness by updating to a supporting `ethereumjs-common` version
|
33 | [v1.1.0](https://github.com/ethereumjs/ethereumjs-common/releases/tag/v1.1.0),
|
34 | PR [#64](https://github.com/ethereumjs/ethereumjs-block/pull/64)
|
35 |
|
36 | **Other Changes:**
|
37 | - Fixed package size issue by excluding tests and docs from being included in
|
38 | the package, PR [#66](https://github.com/ethereumjs/ethereumjs-block/pull/66)
|
39 | - Error message fixes in `index.js`,
|
40 | PR [#62](https://github.com/ethereumjs/ethereumjs-block/pull/62)
|
41 | - Replace uses of deprecated `new Buffer` with `Buffer.from`,
|
42 | PR [#60](https://github.com/ethereumjs/ethereumjs-block/pull/60)
|
43 | - Remove `ethereumjs-testing` dependency (much smaller dev dependencies),
|
44 | PR [#61](https://github.com/ethereumjs/ethereumjs-block/pull/61)
|
45 |
|
46 | [2.2.0]: https://github.com/ethereumjs/ethereumjs-vm/compare/v2.1.0...v2.2.0
|
47 |
|
48 | ## [2.1.0] - 2018-10-19
|
49 | - **Constantinople** support, added difficulty bomb delay (EIP-1234), PR [#54](https://github.com/ethereumjs/ethereumjs-block/pull/54)
|
50 | - Updated test data, added Constantinople tests, PR [#56](https://github.com/ethereumjs/ethereumjs-block/pull/56), [#57](https://github.com/ethereumjs/ethereumjs-block/pull/57)
|
51 | - Added ``timestamp`` field to ``setGenesisParams()``, PR [#52](https://github.com/ethereumjs/ethereumjs-block/pull/52)
|
52 |
|
53 | [2.1.0]: https://github.com/ethereumjs/ethereumjs-vm/compare/v2.0.1...v2.1.0
|
54 |
|
55 | ## [2.0.1] - 2018-08-08
|
56 | - Fixes ``BlockHeader.prototype.validate()`` bug, see PR [#49](https://github.com/ethereumjs/ethereumjs-block/pull/49)
|
57 |
|
58 | [2.0.1]: https://github.com/ethereumjs/ethereumjs-vm/compare/v2.0.0...v2.0.1
|
59 |
|
60 | ## [2.0.0] - 2018-06-25
|
61 | This release introduces both support for different ``chains`` (``mainnet``, ``ropsten``, ...)
|
62 | and ``hardforks`` up to the latest applied HF (``byzantium``). Parameters and genesis values
|
63 | are provided by the new [ethereumjs-common](https://github.com/ethereumjs/ethereumjs-common)
|
64 | library which also defines the set of supported chains and forks.
|
65 |
|
66 | Changes in detail:
|
67 | - New initialization parameters ``opts.chain`` (default: ``mainnet``) and ``opts.hardfork``
|
68 | (default: ``null``, block number-based behaviour), PR [#44](https://github.com/ethereumjs/ethereumjs-block/pull/44)
|
69 | - Alternatively a ``Common`` class object can be provided directly with the ``opts.common`` parameter,
|
70 | see [API](https://github.com/ethereumjs/ethereumjs-block/blob/master/docs/index.md) docs
|
71 | - Correct block validation for all know hardforks, PR
|
72 | [#47](https://github.com/ethereumjs/ethereumjs-block/pull/47), if no hardfork is set validation logic
|
73 | is determined by block number in combination with the ``chain`` set
|
74 | - Genesis block initialization depending on the ``chain`` set (see ``ethereumjs-common`` for supported chains)
|
75 | - Extensive test additions to cover the newly introduced capabilities and changes
|
76 | - Fix default value for ``nonce`` (empty buffer -> ``<Buffer 00 00 00 00 00 00 00 00>``), PR [#42](https://github.com/ethereumjs/ethereumjs-block/pull/42)
|
77 |
|
78 | [2.0.0]: https://github.com/ethereumjs/ethereumjs-vm/compare/v1.7.1...v2.0.0
|
79 |
|
80 | ## [1.7.1] - 2018-02-15
|
81 | - Fix ``browserify`` issue blocking updates for packages depending on ``ethereumjs-block``
|
82 | library, PR [#40](https://github.com/ethereumjs/ethereumjs-block/pull/40)
|
83 | - Updated ``ethereumjs/common`` dependency, PR [#38](https://github.com/ethereumjs/ethereumjs-block/pull/38)
|
84 |
|
85 | [1.7.1]: https://github.com/ethereumjs/ethereumjs-vm/compare/v1.7.0...v1.7.1
|
86 |
|
87 | ## [1.7.0] - 2017-10-11
|
88 | - ``Metro-Byzantium`` compatible
|
89 | - New difficulty formula (EIP 100)
|
90 | - Difficulty bomb delay (EIP 649)
|
91 | - Removed ``isHomestead``, ``isHomesteadReprice`` from API methods
|
92 |
|
93 | [1.7.0]: https://github.com/ethereumjs/ethereumjs-vm/compare/v1.6.0...v1.7.0
|
94 |
|
95 | ## [1.6.0] - 2017-07-12
|
96 | - Breakout header-from-rpc as separate module
|
97 |
|
98 | [1.6.0]: https://github.com/ethereumjs/ethereumjs-block/compare/v1.5.1...v1.6.0
|
99 |
|
100 | ## [1.5.1] - 2017-06-04
|
101 | - Dev dependency updates
|
102 | - BN for gas limit
|
103 |
|
104 | [1.5.1]: https://github.com/ethereumjs/ethereumjs-block/compare/v1.5.0...v1.5.1
|
105 |
|
106 | ## Older releases:
|
107 |
|
108 | - [1.5.0](https://github.com/ethereumjs/ethereumjs-block/compare/v1.4.0...v1.5.0) - 2017-01-31
|
109 | - [1.4.0](https://github.com/ethereumjs/ethereumjs-block/compare/v1.3.1...v1.4.0) - 2016-12-15
|
110 | - [1.3.1](https://github.com/ethereumjs/ethereumjs-block/compare/v1.3.0...v1.3.1) - 2016-10-14
|
111 | - [1.3.0](https://github.com/ethereumjs/ethereumjs-block/compare/v1.2.2...v1.3.0) - 2017-10-11
|
112 |
|
113 |
|