Skip to content
This repository was archived by the owner on Mar 5, 2025. It is now read-only.

Commit 4358140

Browse files
authored
Release/4.0.1 rc.2 (#6152)
* version bump to RC 2 * changelog updates
1 parent cdc2835 commit 4358140

File tree

39 files changed

+198
-132
lines changed

39 files changed

+198
-132
lines changed

CHANGELOG.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1460,7 +1460,7 @@ should use 4.0.1-alpha.0 for testing.
14601460

14611461
- Bug fix of `checkNetwork` in ENS (#5988)
14621462

1463-
## [Unreleased]
1463+
## [4.0.1-rc.2]
14641464

14651465
### Added
14661466

@@ -1555,3 +1555,5 @@ should use 4.0.1-alpha.0 for testing.
15551555
#### web3-validator
15561556

15571557
- `Web3ValidationErrorObject` type is now exported from `web3-types` package (#6102)
1558+
1559+
## [Unreleased]

packages/web3-core/CHANGELOG.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
102102
- `getConfig` method from `Web3Config` class, `config` is now public and accessible using `Web3Config.config` (#5950)
103103
- Error param in the `messageListener` in subscription was removed (triggered by `.on('data')` or `.on('message')`) to properly support all providers. (#6082)
104104

105-
## [Unreleased]
105+
## [4.0.1-rc.2]
106106

107107
### Changed
108108

109109
- Replaced Buffer for Uint8Array (#6004)
110+
111+
## [Unreleased]

packages/web3-core/package.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "web3-core",
3-
"version": "4.0.1-rc.1",
3+
"version": "4.0.1-rc.2",
44
"description": "Web3 core tools for sub-packages. This is an internal package.",
55
"main": "./lib/commonjs/index.js",
66
"module": "./lib/esm/index.js",
@@ -42,16 +42,16 @@
4242
"test:integration": "jest --config=./test/integration/jest.config.js --passWithNoTests"
4343
},
4444
"dependencies": {
45-
"web3-errors": "^1.0.0-rc.1",
46-
"web3-eth-iban": "^4.0.1-rc.1",
47-
"web3-providers-http": "^4.0.1-rc.1",
48-
"web3-providers-ws": "^4.0.1-rc.1",
49-
"web3-types": "^1.0.0-rc.1",
50-
"web3-utils": "^4.0.1-rc.1",
51-
"web3-validator": "^1.0.0-rc.1"
45+
"web3-errors": "^1.0.0-rc.2",
46+
"web3-eth-iban": "^4.0.1-rc.2",
47+
"web3-providers-http": "^4.0.1-rc.2",
48+
"web3-providers-ws": "^4.0.1-rc.2",
49+
"web3-types": "^1.0.0-rc.2",
50+
"web3-utils": "^4.0.1-rc.2",
51+
"web3-validator": "^1.0.0-rc.2"
5252
},
5353
"optionalDependencies": {
54-
"web3-providers-ipc": "^4.0.1-rc.1"
54+
"web3-providers-ipc": "^4.0.1-rc.2"
5555
},
5656
"devDependencies": {
5757
"@types/jest": "^28.1.6",

packages/web3-errors/CHANGELOG.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
9797

9898
- `gasLimit` is no longer accepted as a parameter for `MissingGasError` and `TransactionGasMismatchError, and is also no longer included in error message (#5915)
9999

100-
## [Unreleased]
100+
## [1.0.0-rc.2]
101101

102102
### Added
103103

@@ -106,3 +106,5 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
106106
### Changed
107107

108108
- Nested Smart Contract error data is extracted at `Eip838ExecutionError` constructor and the nested error is set at `innerError` (#6045)
109+
110+
## [Unreleased]

packages/web3-errors/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "web3-errors",
3-
"version": "1.0.0-rc.1",
3+
"version": "1.0.0-rc.2",
44
"description": "This package has web3 error classes",
55
"main": "./lib/commonjs/index.js",
66
"module": "./lib/esm/index.js",
@@ -41,7 +41,7 @@
4141
"test:integration": "jest --config=./test/integration/jest.config.js --passWithNoTests"
4242
},
4343
"dependencies": {
44-
"web3-types": "^1.0.0-rc.1"
44+
"web3-types": "^1.0.0-rc.2"
4545
},
4646
"devDependencies": {
4747
"@types/jest": "^28.1.6",

packages/web3-eth-abi/CHANGELOG.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
9595

9696
- Removed `formatDecodedObject` function (#5934)
9797

98-
## [Unreleased]
98+
## [4.0.1-rc.2]
9999

100100
### Changed
101101

102102
- Nested Smart Contract error data hex string is decoded when the error contains the data as object (when the data hex string is inside data.originalError.data or data.data) (#6045)
103+
104+
## [Unreleased]

packages/web3-eth-abi/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "web3-eth-abi",
3-
"version": "4.0.1-rc.1",
3+
"version": "4.0.1-rc.2",
44
"description": "Web3 module encode and decode EVM in/output.",
55
"main": "./lib/commonjs/index.js",
66
"module": "./lib/esm/index.js",
@@ -44,9 +44,9 @@
4444
"dependencies": {
4545
"@ethersproject/abi": "^5.7.0",
4646
"@ethersproject/bignumber": "^5.7.0",
47-
"web3-errors": "^1.0.0-rc.1",
48-
"web3-types": "^1.0.0-rc.1",
49-
"web3-utils": "^4.0.1-rc.1"
47+
"web3-errors": "^1.0.0-rc.2",
48+
"web3-types": "^1.0.0-rc.2",
49+
"web3-utils": "^4.0.1-rc.2"
5050
},
5151
"devDependencies": {
5252
"@humeris/espresso-shot": "^4.0.0",

packages/web3-eth-accounts/CHANGELOG.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
8383
- Moved @ethereumjs/tx, @ethereumjs/common code to our source code (#5963)
8484
- The method `signTransaction` returned by `privateKeyToAccount` is now accepting the type `Transaction` for its argument. (#5993)
8585

86-
## [Unreleased]
86+
## [4.0.1-rc.2]
8787

8888
### Fixed
8989

@@ -94,3 +94,5 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
9494
- Replaced `Buffer` for `Uint8Array` (#6004)
9595
- The methods `recover`, `encrypt`, `privateKeyToAddress` does not support type `Buffer` but supports type `Uint8Array` (#6004)
9696
- The method `parseAndValidatePrivateKey` returns a type `Uint8Array` instead of type `Buffer` (#6004)
97+
98+
## [Unreleased]

packages/web3-eth-accounts/package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "web3-eth-accounts",
3-
"version": "4.0.1-rc.1",
3+
"version": "4.0.1-rc.2",
44
"description": "Package for managing Ethereum accounts and signing",
55
"main": "./lib/commonjs/index.js",
66
"module": "./lib/esm/index.js",
@@ -55,15 +55,15 @@
5555
"prettier": "^2.7.1",
5656
"ts-jest": "^28.0.7",
5757
"typescript": "^4.7.4",
58-
"web3-providers-ipc": "^4.0.1-rc.1"
58+
"web3-providers-ipc": "^4.0.1-rc.2"
5959
},
6060
"dependencies": {
6161
"@ethereumjs/rlp": "^4.0.1",
6262
"crc-32": "^1.2.2",
6363
"ethereum-cryptography": "^2.0.0",
64-
"web3-errors": "^1.0.0-rc.1",
65-
"web3-types": "^1.0.0-rc.1",
66-
"web3-utils": "^4.0.1-rc.1",
67-
"web3-validator": "^1.0.0-rc.1"
64+
"web3-errors": "^1.0.0-rc.2",
65+
"web3-types": "^1.0.0-rc.2",
66+
"web3-utils": "^4.0.1-rc.2",
67+
"web3-validator": "^1.0.0-rc.2"
6868
}
6969
}

packages/web3-eth-contract/CHANGELOG.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,10 +253,12 @@ const transactionHash = receipt.transactionHash;
253253

254254
- `data` was removed as a property of `ContractOptions` type (#5915)
255255

256-
## [Unreleased]
256+
## [4.0.1-rc.2]
257257

258258
### Added
259259

260260
- Added support for `getPastEvents` method to filter `allEvents` and specific event (#6010)
261261
- Added `maxPriorityFeePerGas` and `maxFeePerGas` in `ContractOptions` type and updated function using it in utils (#6118)
262262
- Added method's type autodetection by ABI param (#6137)
263+
264+
## [Unreleased]

packages/web3-eth-contract/package.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "web3-eth-contract",
3-
"version": "4.0.1-rc.1",
3+
"version": "4.0.1-rc.2",
44
"description": "Web3 module to interact with Ethereum smart contracts.",
55
"main": "./lib/commonjs/index.js",
66
"module": "./lib/esm/index.js",
@@ -45,13 +45,13 @@
4545
"test:e2e:firefox": "npx cypress run --headless --browser firefox --env grep='ignore',invert=true"
4646
},
4747
"dependencies": {
48-
"web3-core": "^4.0.1-rc.1",
49-
"web3-errors": "^1.0.0-rc.1",
50-
"web3-eth": "^4.0.1-rc.1",
51-
"web3-eth-abi": "^4.0.1-rc.1",
52-
"web3-types": "^1.0.0-rc.1",
53-
"web3-utils": "^4.0.1-rc.1",
54-
"web3-validator": "^1.0.0-rc.1"
48+
"web3-core": "^4.0.1-rc.2",
49+
"web3-errors": "^1.0.0-rc.2",
50+
"web3-eth": "^4.0.1-rc.2",
51+
"web3-eth-abi": "^4.0.1-rc.2",
52+
"web3-types": "^1.0.0-rc.2",
53+
"web3-utils": "^4.0.1-rc.2",
54+
"web3-validator": "^1.0.0-rc.2"
5555
},
5656
"devDependencies": {
5757
"@humeris/espresso-shot": "^4.0.0",
@@ -67,6 +67,6 @@
6767
"prettier": "^2.7.1",
6868
"ts-jest": "^28.0.7",
6969
"typescript": "^4.7.4",
70-
"web3-eth-accounts": "^4.0.1-rc.1"
70+
"web3-eth-accounts": "^4.0.1-rc.2"
7171
}
7272
}

packages/web3-eth-ens/CHANGELOG.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
8282

8383
- Bug fix of `checkNetwork` in ENS (#5988)
8484

85-
## [Unreleased]
85+
## [4.0.1-rc.2]
8686

8787
### Removed
8888

8989
- Removed non read-only methods (#6084)
90+
91+
## [Unreleased]

packages/web3-eth-ens/package.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "web3-eth-ens",
3-
"version": "4.0.1-rc.1",
3+
"version": "4.0.1-rc.2",
44
"description": "This package has ENS functions for interacting with Ethereum Name Service.",
55
"main": "./lib/commonjs/index.js",
66
"module": "./lib/esm/index.js",
@@ -59,13 +59,13 @@
5959
},
6060
"dependencies": {
6161
"@adraffy/ens-normalize": "^1.8.8",
62-
"web3-core": "^4.0.1-rc.1",
63-
"web3-errors": "^1.0.0-rc.1",
64-
"web3-eth": "^4.0.1-rc.1",
65-
"web3-eth-contract": "^4.0.1-rc.1",
66-
"web3-net": "^4.0.1-rc.1",
67-
"web3-types": "^1.0.0-rc.1",
68-
"web3-utils": "^4.0.1-rc.1",
69-
"web3-validator": "^1.0.0-rc.1"
62+
"web3-core": "^4.0.1-rc.2",
63+
"web3-errors": "^1.0.0-rc.2",
64+
"web3-eth": "^4.0.1-rc.2",
65+
"web3-eth-contract": "^4.0.1-rc.2",
66+
"web3-net": "^4.0.1-rc.2",
67+
"web3-types": "^1.0.0-rc.2",
68+
"web3-utils": "^4.0.1-rc.2",
69+
"web3-validator": "^1.0.0-rc.2"
7070
}
7171
}

packages/web3-eth-iban/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,4 +72,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7272
- Added source files (#5956)
7373
- Added hybrid build (ESM and CJS) of library (#5904)
7474

75+
## [4.0.1-rc.2]
76+
77+
### Changed
78+
79+
- Dependencies updated
80+
7581
## [Unreleased]

packages/web3-eth-iban/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "web3-eth-iban",
3-
"version": "4.0.1-rc.1",
3+
"version": "4.0.1-rc.2",
44
"description": "This package converts Ethereum addresses to IBAN addresses and vice versa.",
55
"main": "./lib/commonjs/index.js",
66
"module": "./lib/esm/index.js",
@@ -56,9 +56,9 @@
5656
"typescript": "^4.7.4"
5757
},
5858
"dependencies": {
59-
"web3-errors": "^1.0.0-rc.1",
60-
"web3-types": "^1.0.0-rc.1",
61-
"web3-utils": "^4.0.1-rc.1",
62-
"web3-validator": "^1.0.0-rc.1"
59+
"web3-errors": "^1.0.0-rc.2",
60+
"web3-types": "^1.0.0-rc.2",
61+
"web3-utils": "^4.0.1-rc.2",
62+
"web3-validator": "^1.0.0-rc.2"
6363
}
6464
}

packages/web3-eth-personal/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,4 +88,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
8888
- Added source files (#5956)
8989
- Added hybrid build (ESM and CJS) of library (#5904)
9090

91+
## [4.0.1-rc.2]
92+
93+
### Changed
94+
95+
- Dependencies updated
96+
9197
## [Unreleased]

packages/web3-eth-personal/package.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "web3-eth-personal",
3-
"version": "4.0.1-rc.1",
3+
"version": "4.0.1-rc.2",
44
"description": "Web3 module to interact with the Ethereum blockchain accounts stored in the node.",
55
"main": "./lib/commonjs/index.js",
66
"module": "./lib/esm/index.js",
@@ -42,12 +42,12 @@
4242
"test:integration": "jest --config=./test/integration/jest.config.js"
4343
},
4444
"dependencies": {
45-
"web3-core": "^4.0.1-rc.1",
46-
"web3-eth": "^4.0.1-rc.1",
47-
"web3-rpc-methods": "^1.0.0-rc.1",
48-
"web3-types": "^1.0.0-rc.1",
49-
"web3-utils": "^4.0.1-rc.1",
50-
"web3-validator": "^1.0.0-rc.1"
45+
"web3-core": "^4.0.1-rc.2",
46+
"web3-eth": "^4.0.1-rc.2",
47+
"web3-rpc-methods": "^1.0.0-rc.2",
48+
"web3-types": "^1.0.0-rc.2",
49+
"web3-utils": "^4.0.1-rc.2",
50+
"web3-validator": "^1.0.0-rc.2"
5151
},
5252
"devDependencies": {
5353
"@types/jest": "^28.1.6",
@@ -62,6 +62,6 @@
6262
"prettier": "^2.7.1",
6363
"ts-jest": "^28.0.7",
6464
"typescript": "^4.7.4",
65-
"web3-providers-ws": "^4.0.1-rc.1"
65+
"web3-providers-ws": "^4.0.1-rc.2"
6666
}
6767
}

packages/web3-eth/CHANGELOG.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
124124

125125
- Removed dependencies @ethereumjs/tx, @ethereumjs/common (#5963)
126126

127-
## [Unreleased]
127+
## [4.0.1-rc.2]
128128

129129
### Fixed
130130

@@ -137,3 +137,5 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
137137
- Replaced Buffer for Uint8Array (#6004)
138138
- Refactored `defaultTransactionTypeParser` to return correct EIP-2718 types, prior implementation was prioritizing `transaction.hardfork` and ignoring the use of `transaction.gasLimit`. `defaultTransactionTypeParser` will now throw `InvalidPropertiesForTransactionTypeError`s for properties are used that are incompatible with `transaction.type` (#6102)
139139
- `prepareTransactionForSigning` and `defaultTransactionBuilder` now accepts optional `fillGasPrice` flag and by default will not fill gas(#6071)
140+
141+
## [Unreleased]

packages/web3-eth/package.json

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "web3-eth",
3-
"version": "4.0.1-rc.1",
3+
"version": "4.0.1-rc.2",
44
"description": "Web3 module to interact with the Ethereum blockchain and smart contracts.",
55
"main": "./lib/commonjs/index.js",
66
"module": "./lib/esm/index.js",
@@ -57,20 +57,20 @@
5757
"prettier": "^2.7.1",
5858
"ts-jest": "^28.0.7",
5959
"typescript": "^4.7.4",
60-
"web3-eth-abi": "^4.0.1-rc.1",
61-
"web3-providers-http": "^4.0.1-rc.1"
60+
"web3-eth-abi": "^4.0.1-rc.2",
61+
"web3-providers-http": "^4.0.1-rc.2"
6262
},
6363
"dependencies": {
6464
"setimmediate": "^1.0.5",
65-
"web3-core": "^4.0.1-rc.1",
66-
"web3-errors": "^1.0.0-rc.1",
67-
"web3-eth-abi": "^4.0.1-rc.1",
68-
"web3-eth-accounts": "^4.0.1-rc.1",
69-
"web3-net": "^4.0.1-rc.1",
70-
"web3-providers-ws": "^4.0.1-rc.1",
71-
"web3-rpc-methods": "^1.0.0-rc.1",
72-
"web3-types": "^1.0.0-rc.1",
73-
"web3-utils": "^4.0.1-rc.1",
74-
"web3-validator": "^1.0.0-rc.1"
65+
"web3-core": "^4.0.1-rc.2",
66+
"web3-errors": "^1.0.0-rc.2",
67+
"web3-eth-abi": "^4.0.1-rc.2",
68+
"web3-eth-accounts": "^4.0.1-rc.2",
69+
"web3-net": "^4.0.1-rc.2",
70+
"web3-providers-ws": "^4.0.1-rc.2",
71+
"web3-rpc-methods": "^1.0.0-rc.2",
72+
"web3-types": "^1.0.0-rc.2",
73+
"web3-utils": "^4.0.1-rc.2",
74+
"web3-validator": "^1.0.0-rc.2"
7575
}
7676
}

0 commit comments

Comments
 (0)