Skip to content

Commit

Permalink
release/v4.9.0 (#7057)
Browse files Browse the repository at this point in the history
* update changelog and bump versions

* update changelog and revert version bump web3-types

* change web3-eth-abi package version
  • Loading branch information
Alex authored May 23, 2024
1 parent f4e55bd commit fd2982d
Show file tree
Hide file tree
Showing 25 changed files with 128 additions and 77 deletions.
22 changes: 21 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2444,7 +2444,7 @@ If there are any bugs, improvements, optimizations or any new feature proposal f
- Added `signature` to type `AbiFunctionFragment` (#6922)
- update type `Withdrawals`, `block` and `BlockHeaderOutput` to include properties of eip 4844, 4895, 4788 (#6933)

## [Unreleased]
## [4.9.0]

### Added

Expand All @@ -2456,6 +2456,10 @@ If there are any bugs, improvements, optimizations or any new feature proposal f

- `defaultReturnFormat` was added to the configuration options. (#6947)

#### web3-errors

- Added `InvalidIntegerError` error for fromWei and toWei (#7052)

#### web3-eth

- `defaultReturnFormat` was added to all methods that have `ReturnType` param. (#6947)
Expand All @@ -2480,6 +2484,8 @@ If there are any bugs, improvements, optimizations or any new feature proposal f

#### web3-utils

- `toWei` add warning when using large numbers or large decimals that may cause precision loss (#6908)
- `toWei` and `fromWei` now supports integers as a unit. (#7053)

### Fixed

Expand All @@ -2489,9 +2495,17 @@ If there are any bugs, improvements, optimizations or any new feature proposal f

#### web3-utils

- `toWei` support numbers in scientific notation (#6908)
- `toWei` and `fromWei` trims according to ether unit successfuly (#7044)

#### web3-validator

- The JSON schema conversion process now correctly assigns an id when the `abi.name` is not available, for example, in the case of public mappings. (#6981)
- `browser` entry point that was pointing to an non-existing bundle file was removed from `package.json` (#7015)

#### web3-core

- Set a try catch block if processesingError fails (#7022)

### Changed

Expand All @@ -2504,6 +2518,12 @@ If there are any bugs, improvements, optimizations or any new feature proposal f
- Added parameter `customTransactionReceiptSchema` into methods `emitConfirmation`, `waitForTransactionReceipt`, `watchTransactionByPolling`, `watchTransactionBySubscription`, `watchTransactionForConfirmations` (#7000)
- Changed functionality: For networks that returns `baseFeePerGas===0x0` fill `maxPriorityFeePerGas` and `maxFeePerGas` by `getGasPrice` method (#7050)

#### web3-eth-abi

- Dependencies updated

#### web3-rpc-methods

- Change `estimateGas` method to add possibility pass Transaction type (#7000)

## [Unreleased]
7 changes: 6 additions & 1 deletion packages/web3-core/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ Documentation:

- Web3config `contractDataInputFill` has been defaulted to `data`, istead of `input`. (#6622)

## [Unreleased]
## [4.4.0]

### Added

Expand All @@ -217,3 +217,8 @@ Documentation:

- Interface `RequestManagerMiddleware` was changed (#7003)

### Fixed

- Set a try catch block if processesingError fails (#7022)

## [Unreleased]
12 changes: 6 additions & 6 deletions packages/web3-core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "web3-core",
"version": "4.3.2",
"version": "4.4.0",
"description": "Web3 core tools for sub-packages. This is an internal package.",
"main": "./lib/commonjs/index.js",
"module": "./lib/esm/index.js",
Expand Down Expand Up @@ -42,14 +42,14 @@
"test:integration": "jest --config=./test/integration/jest.config.js --passWithNoTests"
},
"dependencies": {
"web3-errors": "^1.1.4",
"web3-errors": "^1.2.0",
"web3-eth-accounts": "^4.1.2",
"web3-eth-iban": "^4.0.7",
"web3-eth-accounts": "^4.1.0",
"web3-providers-http": "^4.1.0",
"web3-providers-ws": "^4.0.7",
"web3-types": "^1.3.1",
"web3-utils": "^4.1.0",
"web3-validator": "^2.0.3"
"web3-types": "^1.6.0",
"web3-utils": "^4.3.0",
"web3-validator": "^2.0.6"
},
"optionalDependencies": {
"web3-providers-ipc": "^4.0.7"
Expand Down
6 changes: 4 additions & 2 deletions packages/web3-errors/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -166,8 +166,10 @@ Documentation:

- Fixed grammar and spelling in `transactionTimeoutHint` (#6559)

## [Unreleased]
## [1.2.0]

### Added

- Added `InvalidIntegerError` error for fromWei and toWei (#7052)
- Added `InvalidIntegerError` error for fromWei and toWei (#7052)

## [Unreleased]
4 changes: 2 additions & 2 deletions packages/web3-errors/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "web3-errors",
"version": "1.1.4",
"version": "1.2.0",
"description": "This package has web3 error classes",
"main": "./lib/commonjs/index.js",
"module": "./lib/esm/index.js",
Expand Down Expand Up @@ -41,7 +41,7 @@
"test:integration": "jest --config=./test/integration/jest.config.js --passWithNoTests"
},
"dependencies": {
"web3-types": "^1.3.1"
"web3-types": "^1.6.0"
},
"devDependencies": {
"@types/jest": "^28.1.6",
Expand Down
6 changes: 6 additions & 0 deletions packages/web3-eth-abi/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -170,4 +170,10 @@ Documentation:

- Dependencies updated

## [4.2.2]

### Changed

- Dependencies updated

## [Unreleased]
8 changes: 4 additions & 4 deletions packages/web3-eth-abi/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "web3-eth-abi",
"version": "4.2.1",
"version": "4.2.2",
"description": "Web3 module encode and decode EVM in/output.",
"main": "./lib/commonjs/index.js",
"module": "./lib/esm/index.js",
Expand Down Expand Up @@ -43,10 +43,10 @@
},
"dependencies": {
"abitype": "0.7.1",
"web3-errors": "^1.1.4",
"web3-errors": "^1.2.0",
"web3-types": "^1.6.0",
"web3-utils": "^4.2.3",
"web3-validator": "^2.0.5"
"web3-utils": "^4.3.0",
"web3-validator": "^2.0.6"
},
"devDependencies": {
"@humeris/espresso-shot": "^4.0.0",
Expand Down
4 changes: 3 additions & 1 deletion packages/web3-eth-contract/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -380,8 +380,10 @@ Documentation:
- Added a console warning in case of an ambiguous call to a solidity method with parameter overloading (#6942)
- Added contract.deploy(...).decodeData(...) and contract.decodeMethodData(...) that decode data based on the ABI (#6950)

## [Unreleased]
## [4.5.0]

### Added

- `defaultReturnFormat` was added to all methods that have `ReturnType` param. (#6947)

## [Unreleased]
14 changes: 7 additions & 7 deletions packages/web3-eth-contract/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "web3-eth-contract",
"version": "4.4.0",
"version": "4.5.0",
"description": "Web3 module to interact with Ethereum smart contracts.",
"main": "./lib/commonjs/index.js",
"module": "./lib/esm/index.js",
Expand Down Expand Up @@ -45,13 +45,13 @@
"test:e2e:firefox": "npx cypress run --headless --browser firefox --env grep='ignore',invert=true"
},
"dependencies": {
"web3-core": "^4.3.2",
"web3-errors": "^1.1.4",
"web3-eth": "^4.6.0",
"web3-eth-abi": "^4.2.1",
"web3-core": "^4.4.0",
"web3-errors": "^1.2.0",
"web3-eth": "^4.7.0",
"web3-eth-abi": "^4.2.2",
"web3-types": "^1.6.0",
"web3-utils": "^4.2.3",
"web3-validator": "^2.0.5"
"web3-utils": "^4.3.0",
"web3-validator": "^2.0.6"
},
"devDependencies": {
"@humeris/espresso-shot": "^4.0.0",
Expand Down
5 changes: 4 additions & 1 deletion packages/web3-eth-ens/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,10 @@ Documentation:

- Added function getText and getName in ENS and resolver classes (#6914)

## [Unreleased]
## [4.3.0]

### Added

- `defaultReturnFormat` was added to all methods that have `ReturnType` param. (#6947)

## [Unreleased]
18 changes: 9 additions & 9 deletions packages/web3-eth-ens/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "web3-eth-ens",
"version": "4.2.0",
"version": "4.3.0",
"description": "This package has ENS functions for interacting with Ethereum Name Service.",
"main": "./lib/commonjs/index.js",
"module": "./lib/esm/index.js",
Expand Down Expand Up @@ -59,13 +59,13 @@
},
"dependencies": {
"@adraffy/ens-normalize": "^1.8.8",
"web3-core": "^4.3.2",
"web3-errors": "^1.1.4",
"web3-eth": "^4.5.0",
"web3-eth-contract": "^4.3.0",
"web3-net": "^4.0.7",
"web3-types": "^1.5.0",
"web3-utils": "^4.2.2",
"web3-validator": "^2.0.5"
"web3-core": "^4.4.0",
"web3-errors": "^1.2.0",
"web3-eth": "^4.7.0",
"web3-eth-contract": "^4.5.0",
"web3-net": "^4.1.0",
"web3-types": "^1.6.0",
"web3-utils": "^4.3.0",
"web3-validator": "^2.0.6"
}
}
4 changes: 3 additions & 1 deletion packages/web3-eth/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ Documentation:
- method `getBlock` now includes properties of eip 4844, 4895, 4788 when returning block (#6933)
- update type `withdrawalsSchema`, `blockSchema` and `blockHeaderSchema` schemas to include properties of eip 4844, 4895, 4788 (#6933)

## [Unreleased]
## [4.7.0]

### Added

Expand All @@ -247,3 +247,5 @@ Documentation:
### Fixed

- Fixed issue with simple transactions, Within `checkRevertBeforeSending` if there is no data set in transaction, set gas to be `21000` (#7043)

## [Unreleased]
16 changes: 8 additions & 8 deletions packages/web3-eth/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "web3-eth",
"version": "4.6.0",
"version": "4.7.0",
"description": "Web3 module to interact with the Ethereum blockchain and smart contracts.",
"main": "./lib/commonjs/index.js",
"module": "./lib/esm/index.js",
Expand Down Expand Up @@ -63,15 +63,15 @@
},
"dependencies": {
"setimmediate": "^1.0.5",
"web3-core": "^4.3.2",
"web3-errors": "^1.1.4",
"web3-eth-abi": "^4.2.1",
"web3-core": "^4.4.0",
"web3-errors": "^1.2.0",
"web3-eth-abi": "^4.2.2",
"web3-eth-accounts": "^4.1.2",
"web3-net": "^4.0.7",
"web3-net": "^4.1.0",
"web3-providers-ws": "^4.0.7",
"web3-rpc-methods": "^1.2.0",
"web3-rpc-methods": "^1.3.0",
"web3-types": "^1.6.0",
"web3-utils": "^4.2.3",
"web3-validator": "^2.0.5"
"web3-utils": "^4.3.0",
"web3-validator": "^2.0.6"
}
}
5 changes: 4 additions & 1 deletion packages/web3-net/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,10 @@ Documentation:

- Dependencies updated

## [Unreleased]
## [4.1.0]

### Added

- `defaultReturnFormat` was added to all methods that have `ReturnType` param. (#6947)

## [Unreleased]
10 changes: 5 additions & 5 deletions packages/web3-net/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "web3-net",
"version": "4.0.7",
"version": "4.1.0",
"description": "Web3 module to interact with the Ethereum nodes networking properties.",
"main": "./lib/commonjs/index.js",
"module": "./lib/esm/index.js",
Expand Down Expand Up @@ -56,9 +56,9 @@
"typescript": "^4.7.4"
},
"dependencies": {
"web3-core": "^4.3.0",
"web3-rpc-methods": "^1.1.3",
"web3-types": "^1.3.0",
"web3-utils": "^4.0.7"
"web3-core": "^4.4.0",
"web3-rpc-methods": "^1.3.0",
"web3-types": "^1.6.0",
"web3-utils": "^4.3.0"
}
}
4 changes: 3 additions & 1 deletion packages/web3-rpc-methods/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -138,8 +138,10 @@ Documentation:

- Added `getMaxPriorityFeePerGas` method (#6748)

## [Unreleased]
## [1.3.0]

### Changed

- Change `estimateGas` method to add possibility pass Transaction type (#7000)

## [Unreleased]
8 changes: 4 additions & 4 deletions packages/web3-rpc-methods/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "web3-rpc-methods",
"version": "1.2.0",
"version": "1.3.0",
"description": "Ethereum RPC methods for Web3 4.x.x",
"main": "./lib/commonjs/index.js",
"module": "./lib/esm/index.js",
Expand Down Expand Up @@ -56,8 +56,8 @@
"typescript": "^4.7.4"
},
"dependencies": {
"web3-core": "^4.3.2",
"web3-types": "^1.5.0",
"web3-validator": "^2.0.4"
"web3-core": "^4.4.0",
"web3-types": "^1.6.0",
"web3-validator": "^2.0.6"
}
}
2 changes: 1 addition & 1 deletion packages/web3-types/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ Documentation:

- Type `FeeData` to be filled by `await web3.eth.calculateFeeData()` to be used with EIP-1559 transactions (#6795)

## [Unreleased]
## [1.6.0]

### Added

Expand Down
4 changes: 3 additions & 1 deletion packages/web3-utils/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ Documentation:
- fixed toHex incorrectly hexing Uint8Arrays and Buffer (#6957)
- fixed isUint8Array not returning true for Buffer (#6957)

## [Unreleased]
## [4.3.0]

### Added

Expand All @@ -227,3 +227,5 @@ Documentation:

- `toWei` support numbers in scientific notation (#6908)
- `toWei` and `fromWei` trims according to ether unit successfuly (#7044)

## [Unreleased]
Loading

1 comment on commit fd2982d

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Benchmark

Benchmark suite Current: fd2982d Previous: f4e55bd Ratio
processingTx 8882 ops/sec (±4.28%) 9157 ops/sec (±3.53%) 1.03
processingContractDeploy 39102 ops/sec (±6.67%) 39854 ops/sec (±6.49%) 1.02
processingContractMethodSend 18541 ops/sec (±7.50%) 19031 ops/sec (±8.97%) 1.03
processingContractMethodCall 36872 ops/sec (±5.87%) 37579 ops/sec (±6.24%) 1.02
abiEncode 41603 ops/sec (±6.65%) 42781 ops/sec (±6.77%) 1.03
abiDecode 28725 ops/sec (±7.26%) 29806 ops/sec (±7.94%) 1.04
sign 1567 ops/sec (±0.66%) 1522 ops/sec (±3.29%) 0.97
verify 359 ops/sec (±0.64%) 368 ops/sec (±0.73%) 1.03

This comment was automatically generated by workflow using github-action-benchmark.

Please sign in to comment.