You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/blockchain/CHANGELOG.md
+13-2Lines changed: 13 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,9 +16,20 @@ This breaking release round will come with a new versioning scheme (thanks to @p
16
16
17
17
As a start we bump all major release versions to version 10, these `RC` releases are the first to be released with the new versioning scheme.
18
18
19
-
### Other Changes
19
+
### Native Node.js EventEmitter Replacement
20
+
21
+
We removed the last remaining internal Node.js utility dependency to make the packages more browser friendly and replace the native Node.js `EventEmitter` by using the [eventemitter3](https://github.com/primus/eventemitter3) package as a replacement.
22
+
23
+
The new package is meant to be performant and mostly compatible regarding usage and API.
24
+
25
+
If you directly import the Node.js event emitter, you need to switch your imports to:
26
+
27
+
```ts
28
+
import { EventEmitter } from'events'// old
29
+
import { EventEmitter } from'eventemitter3'// new
30
+
```
20
31
21
-
- Integration of `debug` logging functionality for easier internal debugging, PR [#3676](https://github.com/ethereumjs/ethereumjs-monorepo/pull/3676)
32
+
All this might affect you if you listen to events emitted by the `blockchain.events``EventEmitter` instance.
This is the first (and likely the last) round of `RC` releases for the upcoming breaking releases, following the `alpha` releases from October 2024. The releases are somewhat delayed (sorry for that), but final releases can now be expected very very soon, to be released once the Ethereum [Pectra](https://eips.ethereum.org/EIPS/eip-7600) hardfork is scheduled for mainnet and all EIPs are fully finalized. Pectra will then also be the default hardfork setting for all EthereumJS libraries.
12
+
13
+
### New Versioning Scheme
14
+
15
+
This breaking release round will come with a new versioning scheme (thanks to @paulmillr for the [suggestion](https://github.com/ethereumjs/ethereumjs-monorepo/issues/3748)), aligning the package numbers on breaking releases for all EthereumJS packages. This will make it easier to report bugs ("bug happened on EthereumJS version 10 releases"), reason about release series and make library compatibility more transparent and easier to grasp.
16
+
17
+
As a start we bump all major release versions to version 10, these `RC` releases are the first to be released with the new versioning scheme.
18
+
19
+
### Native Node.js EventEmitter Replacement
20
+
21
+
We removed the last remaining internal Node.js utility dependency to make the packages more browser friendly and replace the native Node.js `EventEmitter` by using the [eventemitter3](https://github.com/primus/eventemitter3) package as a replacement.
22
+
23
+
The new package is meant to be performant and mostly compatible regarding usage and API.
24
+
25
+
If you directly import the Node.js event emitter, you need to switch your imports to:
26
+
27
+
```ts
28
+
import { EventEmitter } from'events'// old
29
+
import { EventEmitter } from'eventemitter3'// new
30
+
```
31
+
32
+
All this might affect you if you listen to events emitted by the `common.events``EventEmitter` instance, e.g. to detect hardfork changes.
33
+
9
34
## 5.0.0-alpha.1 - 2024-10-17
10
35
11
36
This is a first round of `alpha` releases for our upcoming breaking release round with a focus on bundle size (tree shaking) and security (dependencies down + no WASM (by default)). Note that `alpha` releases are not meant to be fully API-stable yet and are for early testing only. This release series will be then followed by a `beta` release round where APIs are expected to be mostly stable. Final releases can then be expected for late October/early November 2024.
This is the first (and likely the last) round of `RC` releases for the upcoming breaking releases, following the `alpha` releases from October 2024. The releases are somewhat delayed (sorry for that), but final releases can now be expected very very soon, to be released once the Ethereum [Pectra](https://eips.ethereum.org/EIPS/eip-7600) hardfork is scheduled for mainnet and all EIPs are fully finalized. Pectra will then also be the default hardfork setting for all EthereumJS libraries.
12
+
13
+
### New Versioning Scheme
14
+
15
+
This breaking release round will come with a new versioning scheme (thanks to @paulmillr for the [suggestion](https://github.com/ethereumjs/ethereumjs-monorepo/issues/3748)), aligning the package numbers on breaking releases for all EthereumJS packages. This will make it easier to report bugs ("bug happened on EthereumJS version 10 releases"), reason about release series and make library compatibility more transparent and easier to grasp.
16
+
17
+
As a start we bump all major release versions to version 10, these `RC` releases are the first to be released with the new versioning scheme.
18
+
19
+
### Native Node.js EventEmitter Replacement
20
+
21
+
We removed the last remaining internal Node.js utility dependency to make the packages more browser friendly and replace the native Node.js `EventEmitter` by using the [eventemitter3](https://github.com/primus/eventemitter3) package as a replacement.
22
+
23
+
The new package is meant to be performant and mostly compatible regarding usage and API.
24
+
25
+
If you directly import the Node.js event emitter, you need to switch your imports to:
26
+
27
+
```ts
28
+
import { EventEmitter } from'events'// old
29
+
import { EventEmitter } from'eventemitter3'// new
30
+
```
31
+
32
+
The new event emitter package also made it possible to remove/replace the separate async event emitter custom integration and use the new package here as well.
33
+
34
+
For listening to async EVM events like `step` or VM events like `newContract` or `afterTx` API slightly changed and it is now needed to take the `resolve` parameter in on listening and explicitly call at the end of the event handling:
35
+
36
+
```ts
37
+
evm.events.on('beforeMessage', (event) => {
38
+
console.log('synchronous listener to beforeMessage', event)
console.log('asynchronous listener to beforeMessage', event)
42
+
// we need to call resolve() to avoid the event listener hanging
43
+
resolve?.()
44
+
})
45
+
```
46
+
9
47
## 4.0.0-alpha.1 - 2024-10-17
10
48
11
49
This is a first round of `alpha` releases for our upcoming breaking release round with a focus on bundle size (tree shaking) and security (dependencies down + no WASM (by default)). Note that `alpha` releases are not meant to be fully API-stable yet and are for early testing only. This release series will be then followed by a `beta` release round where APIs are expected to be mostly stable. Final releases can then be expected for late October/early November 2024.
This is the first (and likely the last) round of `RC` releases for the upcoming breaking releases, following the `alpha` releases from October 2024. The releases are somewhat delayed (sorry for that), but final releases can now be expected very very soon, to be released once the Ethereum [Pectra](https://eips.ethereum.org/EIPS/eip-7600) hardfork is scheduled for mainnet and all EIPs are fully finalized. Pectra will then also be the default hardfork setting for all EthereumJS libraries.
12
+
13
+
### New Versioning Scheme
14
+
15
+
This breaking release round will come with a new versioning scheme (thanks to @paulmillr for the [suggestion](https://github.com/ethereumjs/ethereumjs-monorepo/issues/3748)), aligning the package numbers on breaking releases for all EthereumJS packages. This will make it easier to report bugs ("bug happened on EthereumJS version 10 releases"), reason about release series and make library compatibility more transparent and easier to grasp.
16
+
17
+
As a start we bump all major release versions to version 10, these `RC` releases are the first to be released with the new versioning scheme.
18
+
19
+
### Other Changes
20
+
9
21
## 7.0.0-alpha.1 - 2024-10-17
10
22
11
23
This is a first round of `alpha` releases for our upcoming breaking release round with a focus on bundle size (tree shaking) and security (dependencies down + no WASM (by default)). Note that `alpha` releases are not meant to be fully API-stable yet and are for early testing only. This release series will be then followed by a `beta` release round where APIs are expected to be mostly stable. Final releases can then be expected for late October/early November 2024.
This is the first (and likely the last) round of `RC` releases for the upcoming breaking releases, following the `alpha` releases from October 2024. The releases are somewhat delayed (sorry for that), but final releases can now be expected very very soon, to be released once the Ethereum [Pectra](https://eips.ethereum.org/EIPS/eip-7600) hardfork is scheduled for mainnet and all EIPs are fully finalized. Pectra will then also be the default hardfork setting for all EthereumJS libraries.
12
+
13
+
### New Versioning Scheme
14
+
15
+
This breaking release round will come with a new versioning scheme (thanks to @paulmillr for the [suggestion](https://github.com/ethereumjs/ethereumjs-monorepo/issues/3748)), aligning the package numbers on breaking releases for all EthereumJS packages. This will make it easier to report bugs ("bug happened on EthereumJS version 10 releases"), reason about release series and make library compatibility more transparent and easier to grasp.
16
+
17
+
As a start we bump all major release versions to version 10, these `RC` releases are the first to be released with the new versioning scheme.
18
+
19
+
### Native Node.js EventEmitter Replacement
20
+
21
+
We removed the last remaining internal Node.js utility dependency to make the packages more browser friendly and replace the native Node.js `EventEmitter` by using the [eventemitter3](https://github.com/primus/eventemitter3) package as a replacement.
22
+
23
+
The new package is meant to be performant and mostly compatible regarding usage and API.
24
+
25
+
If you directly import the Node.js event emitter, you need to switch your imports to:
26
+
27
+
```ts
28
+
import { EventEmitter } from'events'// old
29
+
import { EventEmitter } from'eventemitter3'// new
30
+
```
31
+
32
+
The new event emitter package also made it possible to remove/replace the separate async event emitter custom integration and use the new package here as well.
33
+
34
+
For listening to async EVM events like `step` or VM events like `newContract` or `afterTx` API slightly changed and it is now needed to take the `resolve` parameter in on listening and explicitly call at the end of the event handling:
35
+
36
+
```ts
37
+
evm.events.on('beforeMessage', (event) => {
38
+
console.log('synchronous listener to beforeMessage', event)
console.log('asynchronous listener to beforeMessage', event)
42
+
// we need to call resolve() to avoid the event listener hanging
43
+
resolve?.()
44
+
})
45
+
```
46
+
9
47
## 9.0.0-alpha.1 - 2024-10-17
10
48
11
49
This is a first round of `alpha` releases for our upcoming breaking release round with a focus on bundle size (tree shaking) and security (dependencies down + no WASM (by default)). Note that `alpha` releases are not meant to be fully API-stable yet and are for early testing only. This release series will be then followed by a `beta` release round where APIs are expected to be mostly stable. Final releases can then be expected for late October/early November 2024.
0 commit comments