Skip to content

Commit

Permalink
Release/4.5.0 (#6802)
Browse files Browse the repository at this point in the history
* update changelog and package.json for release

* update script

* update changelog

* update
  • Loading branch information
Alex committed Feb 12, 2024
1 parent d8b64a8 commit 9d65c38
Show file tree
Hide file tree
Showing 9 changed files with 38 additions and 12 deletions.
18 changes: 18 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2335,4 +2335,22 @@ If there are any bugs, improvements, optimizations or any new feature proposal f

- Fixed an issue with detecting Uint8Array (#6486)

## [4.5.0]

### Added

#### web3-utils

- Adds missing exported type `AbiItem` from 1.x to v4 for compatabiltiy (#6678)

#### web3-types

- Adds missing exported type `AbiItem` from 1.x to v4 for compatabiltiy (#6678)

### Changed

#### web3

- Dependencies updated

## [Unreleased]
6 changes: 4 additions & 2 deletions packages/web3-types/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -177,8 +177,10 @@ Documentation:
- Interface `MetaMaskProvider` added and is part of `SupportedProviders` (#6534)
- `gasPrice` was added to `Transaction1559UnsignedAPI` type. (#6539)

## [Unreleased]
## [1.4.0]

### Added

- Adds missing exported type `AbiItem` from 1.x to v4 for compatabiltiy (#6678)
- Adds missing exported type `AbiItem` from 1.x to v4 for compatabiltiy (#6678)

## [Unreleased]
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.3.1",
"version": "1.4.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 @@ -187,8 +187,10 @@ Documentation:

- Fixed an issue with detecting Uint8Array (#6486)

## [Unreleased]
## [4.2.0]

### Added

- Adds missing exported type `AbiItem` from 1.x to v4 for compatabiltiy (#6678)
- Adds missing exported type `AbiItem` from 1.x to v4 for compatabiltiy (#6678)

## [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.1.1",
"version": "4.2.0",
"description": "Collection of utility functions used in web3.js.",
"main": "./lib/commonjs/index.js",
"module": "./lib/esm/index.js",
Expand Down Expand Up @@ -65,7 +65,7 @@
"dependencies": {
"ethereum-cryptography": "^2.0.0",
"web3-errors": "^1.1.4",
"web3-types": "^1.3.1",
"web3-types": "^1.4.0",
"web3-validator": "^2.0.4"
}
}
4 changes: 4 additions & 0 deletions packages/web3/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -187,4 +187,8 @@ Documentation:

- Dependencies updated ( details are in root changelog )

## [4.5.0]

- Dependencies updated ( details are in root changelog )

## [Unreleased]
6 changes: 3 additions & 3 deletions packages/web3/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "web3",
"version": "4.4.0",
"version": "4.5.0",
"description": "Ethereum JavaScript API",
"main": "./lib/commonjs/index.js",
"module": "./lib/esm/index.js",
Expand Down Expand Up @@ -99,8 +99,8 @@
"web3-providers-http": "^4.1.0",
"web3-providers-ws": "^4.0.7",
"web3-rpc-methods": "^1.1.4",
"web3-types": "^1.3.1",
"web3-utils": "^4.1.1",
"web3-types": "^1.4.0",
"web3-utils": "^4.2.0",
"web3-validator": "^2.0.4"
}
}
2 changes: 1 addition & 1 deletion packages/web3/scripts/black_box_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ BACKEND=${ORIGARGS[0]}
MODE=${ORIGARGS[1]}
PROVIDER_URL=${ORIGARGS[2]}

SUPPORTED_BACKENDS=("geth" "infura", "hardhat")
SUPPORTED_BACKENDS=("geth" "infura" "hardhat")
SUPPORTED_MODE=("http" "ws")

if [[ ! " ${SUPPORTED_BACKENDS[*]} " =~ " ${BACKEND} " ]]; then
Expand Down
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.4.0' };
/* eslint-disable header/header */ export const Web3PkgInfo = { version: '4.5.0' };

1 comment on commit 9d65c38

@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: 9d65c38 Previous: 6c075db Ratio
processingTx 9590 ops/sec (±4.00%) 9301 ops/sec (±4.81%) 0.97
processingContractDeploy 41097 ops/sec (±6.55%) 39129 ops/sec (±7.62%) 0.95
processingContractMethodSend 19499 ops/sec (±7.98%) 19443 ops/sec (±5.19%) 1.00
processingContractMethodCall 41285 ops/sec (±6.17%) 38971 ops/sec (±6.34%) 0.94
abiEncode 46253 ops/sec (±6.85%) 44252 ops/sec (±6.92%) 0.96
abiDecode 31782 ops/sec (±9.37%) 30419 ops/sec (±8.89%) 0.96
sign 1681 ops/sec (±0.79%) 1656 ops/sec (±4.08%) 0.99
verify 382 ops/sec (±0.48%) 373 ops/sec (±0.78%) 0.98

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

Please sign in to comment.