Skip to content

Commit

Permalink
update version to 4.8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
luu-alex committed Apr 16, 2024
1 parent 0b9cf2c commit a4f492f
Show file tree
Hide file tree
Showing 16 changed files with 141 additions and 39 deletions.
44 changes: 43 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2405,4 +2405,46 @@ If there are any bugs, improvements, optimizations or any new feature proposal f

- fixed erroneous parsing of big numbers in the `toNumber(...)` function (#6880)

## [Unreleased]
## [4.8.0]

### Changed

#### web3-eth-abi

- Dependencies updated

#### web3-eth-accounts

- Dependencies updated

### Fixed

#### web3-eth-contract

- Fix an issue with smart contract function overloading (#6922)

#### web3-utils

- fixed toHex incorrectly hexing Uint8Arrays and Buffer (#6957)
- fixed isUint8Array not returning true for Buffer (#6957)


### Added

#### web3-eth-contract

- 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)

#### web3-eth

- 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)


#### web3-types

- Added `signature` to type `AbiFunctionFragment` (#6922)
- update type `Withdrawals`, `block` and `BlockHeaderOutput` to include properties of eip 4844, 4895, 4788 (#6933)

## [Unreleased]
8 changes: 7 additions & 1 deletion packages/web3-eth-abi/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -164,4 +164,10 @@ Documentation:

- Fixed an issue with detecting Uint8Array (#6486)

## [Unreleased]
## [4.2.1]

### 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.0",
"version": "4.2.1",
"description": "Web3 module encode and decode EVM in/output.",
"main": "./lib/commonjs/index.js",
"module": "./lib/esm/index.js",
Expand Down Expand Up @@ -44,9 +44,9 @@
"dependencies": {
"abitype": "0.7.1",
"web3-errors": "^1.1.4",
"web3-types": "^1.3.1",
"web3-utils": "^4.1.1",
"web3-validator": "^2.0.4"
"web3-types": "^1.6.0",
"web3-utils": "^4.2.3",
"web3-validator": "^2.0.5"
},
"devDependencies": {
"@humeris/espresso-shot": "^4.0.0",
Expand Down
7 changes: 6 additions & 1 deletion packages/web3-eth-accounts/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -156,5 +156,10 @@ Documentation:
- Send Transaction config used to be ignored if the passed `common` did not have a `copy()` and the `chainId` was not provided (#6663)
- Fixed an issue with detecting Uint8Array (#6486)

## [Unreleased]
## [4.1.2]

### Changed

- Dependencies updated

## [Unreleased]
8 changes: 4 additions & 4 deletions packages/web3-eth-accounts/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "web3-eth-accounts",
"version": "4.1.1",
"version": "4.1.2",
"description": "Package for managing Ethereum accounts and signing",
"main": "./lib/commonjs/index.js",
"module": "./lib/esm/index.js",
Expand Down Expand Up @@ -62,8 +62,8 @@
"crc-32": "^1.2.2",
"ethereum-cryptography": "^2.0.0",
"web3-errors": "^1.1.4",
"web3-types": "^1.3.1",
"web3-utils": "^4.1.1",
"web3-validator": "^2.0.4"
"web3-types": "^1.6.0",
"web3-utils": "^4.2.3",
"web3-validator": "^2.0.5"
}
}
4 changes: 3 additions & 1 deletion packages/web3-eth-contract/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@ Documentation:

- Types `ContractDeploySend`, `ContractMethodSend`, `Web3PromiEvent` was exported (#6883)

## [Unreleased]
## [4.4.0]

### Fixed

Expand All @@ -380,3 +380,5 @@ 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]
12 changes: 6 additions & 6 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.3.0",
"version": "4.4.0",
"description": "Web3 module to interact with Ethereum smart contracts.",
"main": "./lib/commonjs/index.js",
"module": "./lib/esm/index.js",
Expand Down Expand Up @@ -47,10 +47,10 @@
"dependencies": {
"web3-core": "^4.3.2",
"web3-errors": "^1.1.4",
"web3-eth": "^4.5.0",
"web3-eth-abi": "^4.2.0",
"web3-types": "^1.5.0",
"web3-utils": "^4.2.2",
"web3-eth": "^4.6.0",
"web3-eth-abi": "^4.2.1",
"web3-types": "^1.6.0",
"web3-utils": "^4.2.3",
"web3-validator": "^2.0.5"
},
"devDependencies": {
Expand All @@ -68,7 +68,7 @@
"prettier": "^2.7.1",
"ts-jest": "^29.1.1",
"typescript": "^4.7.4",
"web3-eth-accounts": "^4.1.1",
"web3-eth-accounts": "^4.1.2",
"web3-providers-ws": "^4.0.7"
}
}
6 changes: 4 additions & 2 deletions packages/web3-eth/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -225,9 +225,11 @@ Documentation:

- Added `eth.getMaxPriorityFeePerGas` method (#6748)

## [Unreleased]
## [4.6.0]

### Added

- method `getBlock` now includes properties of eip 4844, 4895, 4788 when returning block (#6933)
- update type `Withdrawals`, `block` and `BlockHeaderOutput` and schemas to include properties of eip 4844, 4895, 4788 (#6933)
- update type `withdrawalsSchema`, `blockSchema` and `blockHeaderSchema` schemas to include properties of eip 4844, 4895, 4788 (#6933)

## [Unreleased]
12 changes: 6 additions & 6 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.5.0",
"version": "4.6.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 @@ -65,13 +65,13 @@
"setimmediate": "^1.0.5",
"web3-core": "^4.3.2",
"web3-errors": "^1.1.4",
"web3-eth-abi": "^4.2.0",
"web3-eth-accounts": "^4.1.1",
"web3-eth-abi": "^4.2.1",
"web3-eth-accounts": "^4.1.2",
"web3-net": "^4.0.7",
"web3-providers-ws": "^4.0.7",
"web3-rpc-methods": "^1.2.0",
"web3-types": "^1.5.0",
"web3-utils": "^4.2.1",
"web3-validator": "^2.0.4"
"web3-types": "^1.6.0",
"web3-utils": "^4.2.3",
"web3-validator": "^2.0.5"
}
}
1 change: 1 addition & 0 deletions packages/web3-types/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -194,3 +194,4 @@ Documentation:
### Added

- Added `signature` to type `AbiFunctionFragment` (#6922)
- update type `Withdrawals`, `block` and `BlockHeaderOutput` to include properties of eip 4844, 4895, 4788 (#6933)
2 changes: 1 addition & 1 deletion packages/web3-types/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "web3-types",
"version": "1.5.0",
"version": "1.6.0",
"description": "Provide the common data structures and interfaces for web3 modules.",
"main": "./lib/commonjs/index.js",
"module": "./lib/esm/index.js",
Expand Down
6 changes: 4 additions & 2 deletions packages/web3-utils/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -205,9 +205,11 @@ Documentation:

- fixed erroneous parsing of big numbers in the `toNumber(...)` function (#6880)

## [Unreleased]
## [4.2.3]

### Fixed

- fixed toHex incorrectly hexing Uint8Arrays and Buffer (#6957)
- fixed isUint8Array not returning true for Buffer
- fixed isUint8Array not returning true for Buffer (#6957)

## [Unreleased]
4 changes: 2 additions & 2 deletions packages/web3-utils/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "web3-utils",
"sideEffects": false,
"version": "4.2.2",
"version": "4.2.3",
"description": "Collection of utility functions used in web3.js.",
"main": "./lib/commonjs/index.js",
"module": "./lib/esm/index.js",
Expand Down Expand Up @@ -66,7 +66,7 @@
"ethereum-cryptography": "^2.0.0",
"eventemitter3": "^5.0.1",
"web3-errors": "^1.1.4",
"web3-types": "^1.5.0",
"web3-types": "^1.6.0",
"web3-validator": "^2.0.5"
}
}
42 changes: 42 additions & 0 deletions packages/web3/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -220,4 +220,46 @@ Documentation:

- fixed erroneous parsing of big numbers in the `toNumber(...)` function (#6880)

## [4.8.0]

### Changed

#### web3-eth-abi

- Dependencies updated

#### web3-eth-accounts

- Dependencies updated

### Fixed

#### web3-eth-contract

- Fix an issue with smart contract function overloading (#6922)

#### web3-utils

- fixed toHex incorrectly hexing Uint8Arrays and Buffer (#6957)
- fixed isUint8Array not returning true for Buffer (#6957)


### Added

#### web3-eth-contract

- 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)

#### web3-eth

- 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)


#### web3-types

- Added `signature` to type `AbiFunctionFragment` (#6922)
- update type `Withdrawals`, `block` and `BlockHeaderOutput` to include properties of eip 4844, 4895, 4788 (#6933)

## [Unreleased]
14 changes: 7 additions & 7 deletions packages/web3/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "web3",
"version": "4.7.0",
"version": "4.8.0",
"description": "Ethereum JavaScript API",
"main": "./lib/commonjs/index.js",
"module": "./lib/esm/index.js",
Expand Down Expand Up @@ -88,19 +88,19 @@
"dependencies": {
"web3-core": "^4.3.2",
"web3-errors": "^1.1.4",
"web3-eth": "^4.5.0",
"web3-eth-abi": "^4.2.0",
"web3-eth-accounts": "^4.1.1",
"web3-eth-contract": "^4.3.0",
"web3-eth": "^4.6.0",
"web3-eth-abi": "^4.2.1",
"web3-eth-accounts": "^4.1.2",
"web3-eth-contract": "^4.4.0",
"web3-eth-ens": "^4.2.0",
"web3-eth-iban": "^4.0.7",
"web3-eth-personal": "^4.0.8",
"web3-net": "^4.0.7",
"web3-providers-http": "^4.1.0",
"web3-providers-ws": "^4.0.7",
"web3-rpc-methods": "^1.2.0",
"web3-types": "^1.5.0",
"web3-utils": "^4.2.2",
"web3-types": "^1.6.0",
"web3-utils": "^4.2.3",
"web3-validator": "^2.0.5"
}
}
2 changes: 1 addition & 1 deletion packages/web3/src/version.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
/* eslint-disable header/header */ export const Web3PkgInfo = { version: '4.7.0' };
/* eslint-disable header/header */ export const Web3PkgInfo = { version: '4.8.0' };

1 comment on commit a4f492f

@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: a4f492f Previous: 6c075db Ratio
processingTx 9187 ops/sec (±3.45%) 9301 ops/sec (±4.81%) 1.01
processingContractDeploy 40258 ops/sec (±6.75%) 39129 ops/sec (±7.62%) 0.97
processingContractMethodSend 19330 ops/sec (±6.87%) 19443 ops/sec (±5.19%) 1.01
processingContractMethodCall 38280 ops/sec (±5.39%) 38971 ops/sec (±6.34%) 1.02
abiEncode 42780 ops/sec (±7.64%) 44252 ops/sec (±6.92%) 1.03
abiDecode 30692 ops/sec (±7.60%) 30419 ops/sec (±8.89%) 0.99
sign 1615 ops/sec (±0.90%) 1656 ops/sec (±4.08%) 1.03
verify 375 ops/sec (±2.72%) 373 ops/sec (±0.78%) 0.99

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

Please sign in to comment.