Skip to content

Commit

Permalink
Release/4.11.0 (#7145)
Browse files Browse the repository at this point in the history
  • Loading branch information
luu-alex authored Jul 11, 2024
1 parent 89711ab commit 463d070
Show file tree
Hide file tree
Showing 22 changed files with 181 additions and 59 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/black_box_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
build:
strategy:
matrix:
node: [18, 16]
node: [18]
name: Build Packages
runs-on: ubuntu-latest
steps:
Expand All @@ -36,7 +36,7 @@ jobs:
strategy:
fail-fast: false
matrix:
node: [18, 16]
node: [18]
mode: ['http', 'ws']
backend: ['geth', 'infura']
steps:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/e2e_network_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
node-version: 18
cache: yarn
- run: yarn
- run: tar -czf /tmp/web3-16.js.tar.gz --exclude="./.git" ./
Expand All @@ -41,7 +41,7 @@ jobs:
steps:
- uses: actions/setup-node@v3
with:
node-version: 16
node-version: 18
- uses: actions/download-artifact@v3
with:
name: web3-16.js.tar.gz
Expand Down
51 changes: 51 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2581,3 +2581,54 @@ If there are any bugs, improvements, optimizations or any new feature proposal f

- `populateTransaction` was added to contract methods (#7124)
- Contract has `setTransactionMiddleware` and `getTransactionMiddleware` for automatically passing to `sentTransaction` for `deploy` and `send` functions (#7138)

## [4.11.0]

### Fixed

#### web3-eth-abi

- fix encodedata in EIP-712 (#7095)

#### web3-utils

- `_sendPendingRequests` will catch unhandled errors from `_sendToSocket` (#6968)

#### web3-eth

- Fixed geth issue when running a new instance, transactions will index when there are no blocks created (#7098)

### Changed

#### web3-eth-accounts

- baseTransaction method updated (#7095)

#### web3-providers-ws

- Update dependancies (#7109)

#### web3-plugin-example

- Dependencies updated

#### web3-rpc-providers

- Change request return type `Promise<ResultType>` to `Promise<JsonRpcResponseWithResult<ResultType>>` (#7102)

### Added

#### web3-eth-contract

- `populateTransaction` was added to contract methods (#7124)
- Contract has `setTransactionMiddleware` and `getTransactionMiddleware` for automatically passing to `sentTransaction` for `deploy` and `send` functions (#7138)

#### web3-rpc-providers

- When error is returned with code 429, throw rate limit error (#7102)

#### web3

- `web3.eth.Contract` will get transaction middleware and use it, if `web3.eth` has transaction middleware. (#7138)

## [Unreleased]
6 changes: 6 additions & 0 deletions packages/web3-eth-abi/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -176,4 +176,10 @@ Documentation:

- Dependencies updated

## [4.2.3]

### Fixed

- fix encodedata in EIP-712 (#7095)

## [Unreleased]
6 changes: 3 additions & 3 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.2",
"version": "4.2.3",
"description": "Web3 module encode and decode EVM in/output.",
"main": "./lib/commonjs/index.js",
"module": "./lib/esm/index.js",
Expand Down Expand Up @@ -44,8 +44,8 @@
"dependencies": {
"abitype": "0.7.1",
"web3-errors": "^1.2.0",
"web3-types": "^1.6.0",
"web3-utils": "^4.3.0",
"web3-types": "^1.7.0",
"web3-utils": "^4.3.1",
"web3-validator": "^2.0.6"
},
"devDependencies": {
Expand Down
6 changes: 6 additions & 0 deletions packages/web3-eth-accounts/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -162,4 +162,10 @@ Documentation:

- Dependencies updated

## [4.1.3]

### Changed

- baseTransaction method updated (#7095)

## [Unreleased]
10 changes: 5 additions & 5 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.2",
"version": "4.1.3",
"description": "Package for managing Ethereum accounts and signing",
"main": "./lib/commonjs/index.js",
"module": "./lib/esm/index.js",
Expand Down Expand Up @@ -61,9 +61,9 @@
"@ethereumjs/rlp": "^4.0.1",
"crc-32": "^1.2.2",
"ethereum-cryptography": "^2.0.0",
"web3-errors": "^1.1.4",
"web3-types": "^1.6.0",
"web3-utils": "^4.2.3",
"web3-validator": "^2.0.5"
"web3-errors": "^1.2.0",
"web3-types": "^1.7.0",
"web3-utils": "^4.3.1",
"web3-validator": "^2.0.6"
}
}
6 changes: 4 additions & 2 deletions packages/web3-eth-contract/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -386,10 +386,12 @@ Documentation:

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

## [Unreleased]
## [4.6.0]

### Added

- `populateTransaction` was added to contract methods (#7124)

- Contract has `setTransactionMiddleware` and `getTransactionMiddleware` for automatically passing to `sentTransaction` for `deploy` and `send` functions (#7138)

## [Unreleased]

16 changes: 8 additions & 8 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.5.0",
"version": "4.6.0",
"description": "Web3 module to interact with Ethereum smart contracts.",
"main": "./lib/commonjs/index.js",
"module": "./lib/esm/index.js",
Expand Down Expand Up @@ -46,12 +46,12 @@
},
"dependencies": {
"@ethereumjs/rlp": "^5.0.2",
"web3-core": "^4.4.0",
"web3-core": "^4.5.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.3.0",
"web3-eth": "^4.8.1",
"web3-eth-abi": "^4.2.3",
"web3-types": "^1.7.0",
"web3-utils": "^4.3.1",
"web3-validator": "^2.0.6"
},
"devDependencies": {
Expand All @@ -69,7 +69,7 @@
"prettier": "^2.7.1",
"ts-jest": "^29.1.1",
"typescript": "^4.7.4",
"web3-eth-accounts": "^4.1.2",
"web3-providers-ws": "^4.0.7"
"web3-eth-accounts": "^4.1.3",
"web3-providers-ws": "^4.0.8"
}
}
6 changes: 4 additions & 2 deletions packages/web3-eth/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -256,8 +256,10 @@ Documentation:
- WebEth has `setTransactionMiddleware` and `getTransactionMiddleware` for automatically passing to `sentTransaction` (#7088)
- `TransactionMiddleware` and `TransactionMiddleware` data types are exported (#7088)

## [Unreleased]
## [4.8.1]

### Fixed

- Fixed geth issue when running a new instance, transactions will index when there are no blocks created (#7098)
- Fixed geth issue when running a new instance, transactions will index when there are no blocks created (#7098)

## [Unreleased]
10 changes: 5 additions & 5 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.8.0",
"version": "4.8.1",
"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.5.0",
"web3-errors": "^1.2.0",
"web3-eth-abi": "^4.2.2",
"web3-eth-accounts": "^4.1.2",
"web3-eth-abi": "^4.2.3",
"web3-eth-accounts": "^4.1.3",
"web3-net": "^4.1.0",
"web3-providers-ws": "^4.0.7",
"web3-providers-ws": "^4.0.8",
"web3-rpc-methods": "^1.3.0",
"web3-types": "^1.7.0",
"web3-utils": "^4.3.0",
"web3-utils": "^4.3.1",
"web3-validator": "^2.0.6"
}
}
7 changes: 6 additions & 1 deletion packages/web3-providers-ws/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,11 +122,16 @@ Documentation:

- Dependencies updated


## [4.0.7]

### Fixed

- Fixed bug in chunks processing logic (#6496)

## [4.0.8]

### Changed

- Update dependancies (#7109)

## [Unreleased]
8 changes: 4 additions & 4 deletions packages/web3-providers-ws/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "web3-providers-ws",
"version": "4.0.7",
"version": "4.0.8",
"description": "Websocket provider for Web3 4.x.x",
"main": "./lib/commonjs/index.js",
"module": "./lib/esm/index.js",
Expand Down Expand Up @@ -64,9 +64,9 @@
"dependencies": {
"@types/ws": "8.5.3",
"isomorphic-ws": "^5.0.0",
"web3-errors": "^1.1.3",
"web3-types": "^1.3.0",
"web3-utils": "^4.0.7",
"web3-errors": "^1.2.0",
"web3-types": "^1.7.0",
"web3-utils": "^4.3.1",
"ws": "^8.17.1"
}
}
14 changes: 11 additions & 3 deletions packages/web3-rpc-providers/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [1.0.0.rc.0]

#### Added
### Added

- RC release

## [Unreleased]
## [1.0.0.rc.1]

### Added

- When error is returned with code 429, throw rate limit error (#7102)
- Change request return type `Promise<ResultType>` to `Promise<JsonRpcResponseWithResult<ResultType>>` (#7102)

### Changed

- Change request return type `Promise<ResultType>` to `Promise<JsonRpcResponseWithResult<ResultType>>` (#7102)

## [Unreleased]
8 changes: 4 additions & 4 deletions packages/web3-rpc-providers/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "web3-rpc-providers",
"version": "1.0.0-rc.0",
"version": "1.0.0-rc.1",
"description": "Web3 Providers package",
"main": "./lib/commonjs/index.js",
"module": "./lib/esm/index.js",
Expand Down Expand Up @@ -58,9 +58,9 @@
"dependencies": {
"web3-errors": "^1.2.0",
"web3-providers-http": "^4.1.0",
"web3-providers-ws": "^4.0.7",
"web3-validator": "^2.0.6",
"web3-providers-ws": "^4.0.8",
"web3-types": "^1.7.0",
"web3-utils": "^4.3.0"
"web3-utils": "^4.3.1",
"web3-validator": "^2.0.6"
}
}
6 changes: 5 additions & 1 deletion packages/web3-utils/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,10 @@ Documentation:
- `toWei` support numbers in scientific notation (#6908)
- `toWei` and `fromWei` trims according to ether unit successfuly (#7044)

## [Unreleased]
## [4.3.1]

### Fixed

- `_sendPendingRequests` will catch unhandled errors from `_sendToSocket` (#6968)

## [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.3.0",
"version": "4.3.1",
"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.2.0",
"web3-types": "^1.6.0",
"web3-types": "^1.7.0",
"web3-validator": "^2.0.6"
}
}
Loading

1 comment on commit 463d070

@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: 463d070 Previous: 89711ab Ratio
processingTx 9085 ops/sec (±3.80%) 9435 ops/sec (±3.67%) 1.04
processingContractDeploy 39873 ops/sec (±6.00%) 40686 ops/sec (±6.96%) 1.02
processingContractMethodSend 15649 ops/sec (±9.76%) 16574 ops/sec (±8.48%) 1.06
processingContractMethodCall 27135 ops/sec (±6.88%) 28430 ops/sec (±6.15%) 1.05
abiEncode 43610 ops/sec (±6.72%) 45419 ops/sec (±7.37%) 1.04
abiDecode 29967 ops/sec (±8.45%) 31557 ops/sec (±7.64%) 1.05
sign 1496 ops/sec (±3.20%) 1572 ops/sec (±3.54%) 1.05
verify 374 ops/sec (±0.41%) 375 ops/sec (±0.51%) 1.00

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

Please sign in to comment.