Skip to content

Commit

Permalink
Release/4.12.0 (#7207)
Browse files Browse the repository at this point in the history
* changelog updates

* version bumps

* change log update
  • Loading branch information
jdevcs authored Aug 22, 2024
1 parent 60fc197 commit e746566
Show file tree
Hide file tree
Showing 16 changed files with 128 additions and 43 deletions.
39 changes: 34 additions & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2563,8 +2563,6 @@ If there are any bugs, improvements, optimizations or any new feature proposal f

- `getName` reverse resolution

## [Unreleased]

### Fixed

#### web3-eth
Expand Down Expand Up @@ -2648,16 +2646,47 @@ If there are any bugs, improvements, optimizations or any new feature proposal f

- Remove redundant constructor of contractBuilder (#7150)

## [Unreleased]

## [4.12.0]

### Fixed

#### web3-utils
#### web3-core

- `setConfig()` fix for `setMaxListenerWarningThreshold` fix (#5079)

#### web3-eth-accounts

- Fixed format schema with `oneOf` doesn't work correctly (#7055)
- Fix `TransactionFactory.registerTransactionType` not working, if there is a version mistatch between `web3-eth` and `web3-eth-accounts` by saving `extraTxTypes` at `globals`. (#7197)

### Added

#### web3-eth-accounts

- Added public function `signMessageWithPrivateKey` (#7174)

#### web3-eth-contract

- Added `populateTransaction` to the `contract.deploy(...)` properties. (#7197)

#### web3-providers-http

- Added `statusCode` of response in ResponseError, `statusCode` is optional property in ResponseError.

#### web3-rpc-providers

- Updated rate limit error of QuickNode provider for HTTP transport
- Added optional `HttpProviderOptions | SocketOptions` in `Web3ExternalProvider` and `QuickNodeProvider` for provider configs

#### web3-errors

- Added optional `statusCode` property of response in ResponseError.

### Changed

#### web3-eth-contract

- The returnred properties of `contract.deploy(...)` are structured with a newly created class named `DeployerMethodClass`. (#7197)
- Add a missed accepted type for the `abi` parameter, at `dataInputEncodeMethodHelper` and `getSendTxParams`. (#7197)

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

- Now when existing packages are added in web3, will be avalible for plugins via context. (#7088)

## [Unreleased]
## [4.5.1]

### Fixed

- `setConfig()` fix for `setMaxListenerWarningThreshold` fix (#5079)

## [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.5.0",
"version": "4.5.1",
"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,13 +42,13 @@
"test:integration": "jest --config=./test/integration/jest.config.js --passWithNoTests"
},
"dependencies": {
"web3-errors": "^1.2.0",
"web3-eth-accounts": "^4.1.2",
"web3-errors": "^1.3.0",
"web3-eth-accounts": "^4.2.0",
"web3-eth-iban": "^4.0.7",
"web3-providers-http": "^4.1.0",
"web3-providers-ws": "^4.0.7",
"web3-providers-http": "^4.2.0",
"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"
},
"optionalDependencies": {
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 @@ -178,8 +178,10 @@ Documentation:

- Fixed the undefined data in `Eip838ExecutionError` constructor (#6905)

## [Unreleased]
## [1.3.0]

### Added

- Added optional `statusCode` property of response in ResponseError.
- Added optional `statusCode` property of response in ResponseError.

## [Unreleased]
2 changes: 1 addition & 1 deletion packages/web3-errors/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "web3-errors",
"version": "1.2.1",
"version": "1.3.0",
"description": "This package has web3 error classes",
"main": "./lib/commonjs/index.js",
"module": "./lib/esm/index.js",
Expand Down
5 changes: 4 additions & 1 deletion packages/web3-eth-accounts/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -168,10 +168,13 @@ Documentation:

- baseTransaction method updated (#7095)

## [Unreleased]
## [4.2.0]

### Added

- Added public function `signMessageWithPrivateKey` (#7174)

### Fixed
- Fix `TransactionFactory.registerTransactionType` not working, if there is a version mistatch between `web3-eth` and `web3-eth-accounts` by saving `extraTxTypes` at `globals`. (#7197)

## [Unreleased]
4 changes: 2 additions & 2 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.3",
"version": "4.2.0",
"description": "Package for managing Ethereum accounts and signing",
"main": "./lib/commonjs/index.js",
"module": "./lib/esm/index.js",
Expand Down Expand Up @@ -61,7 +61,7 @@
"@ethereumjs/rlp": "^4.0.1",
"crc-32": "^1.2.2",
"ethereum-cryptography": "^2.0.0",
"web3-errors": "^1.2.0",
"web3-errors": "^1.3.0",
"web3-types": "^1.7.0",
"web3-utils": "^4.3.1",
"web3-validator": "^2.0.6"
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 @@ -393,7 +393,7 @@ Documentation:
- `populateTransaction` was added to contract methods (#7124)
- Contract has `setTransactionMiddleware` and `getTransactionMiddleware` for automatically passing to `sentTransaction` for `deploy` and `send` functions (#7138)

## [Unreleased]
## [4.7.0]

### Added

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

- The returnred properties of `contract.deploy(...)` are structured with a newly created class named `DeployerMethodClass`. (#7197)
- Add a missed accepted type for the `abi` parameter, at `dataInputEncodeMethodHelper` and `getSendTxParams`. (#7197)

## [Unreleased]
10 changes: 5 additions & 5 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.6.0",
"version": "4.7.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,9 +46,9 @@
},
"dependencies": {
"@ethereumjs/rlp": "^5.0.2",
"web3-core": "^4.5.0",
"web3-errors": "^1.2.0",
"web3-eth": "^4.8.1",
"web3-core": "^4.5.1",
"web3-errors": "^1.3.0",
"web3-eth": "^4.8.2",
"web3-eth-abi": "^4.2.3",
"web3-types": "^1.7.0",
"web3-utils": "^4.3.1",
Expand All @@ -69,7 +69,7 @@
"prettier": "^2.7.1",
"ts-jest": "^29.1.1",
"typescript": "^4.7.4",
"web3-eth-accounts": "^4.1.3",
"web3-eth-accounts": "^4.2.0",
"web3-providers-ws": "^4.0.8"
}
}
6 changes: 4 additions & 2 deletions packages/web3-providers-http/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,10 @@ Documentation:

- Fix issue lquixada/cross-fetch#78, enabling to run web3.js in service worker (#6463)

## [Unreleased]
## [4.2.0]

### Added

- Added `statusCode` of response in ResponseError, `statusCode` is optional property in ResponseError.
- Added `statusCode` of response in ResponseError, `statusCode` is optional property in ResponseError.

## [Unreleased]
8 changes: 4 additions & 4 deletions packages/web3-providers-http/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "web3-providers-http",
"version": "4.1.0",
"version": "4.2.0",
"description": "HTTP provider for Web3 4.x.x",
"main": "./lib/commonjs/index.js",
"module": "./lib/esm/index.js",
Expand Down Expand Up @@ -61,8 +61,8 @@
},
"dependencies": {
"cross-fetch": "^4.0.0",
"web3-errors": "^1.1.3",
"web3-types": "^1.3.0",
"web3-utils": "^4.0.7"
"web3-errors": "^1.3.0",
"web3-types": "^1.7.0",
"web3-utils": "^4.3.1"
}
}
6 changes: 4 additions & 2 deletions packages/web3-rpc-providers/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

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

## [Unreleased]
## [1.0.0-rc.2]

### Added

- Updated rate limit error of QuickNode provider for HTTP transport
- Added optional `HttpProviderOptions | SocketOptions` in `Web3ExternalProvider` and `QuickNodeProvider` for provider configs
- Added optional `HttpProviderOptions | SocketOptions` in `Web3ExternalProvider` and `QuickNodeProvider` for provider configs

## [Unreleased]
6 changes: 3 additions & 3 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.1",
"version": "1.0.0-rc.2",
"description": "Web3 Providers package",
"main": "./lib/commonjs/index.js",
"module": "./lib/esm/index.js",
Expand Down Expand Up @@ -57,8 +57,8 @@
"typescript": "^4.7.4"
},
"dependencies": {
"web3-errors": "^1.2.0",
"web3-providers-http": "^4.1.0",
"web3-errors": "^1.3.0",
"web3-providers-http": "^4.2.0",
"web3-providers-ws": "^4.0.8",
"web3-types": "^1.7.0",
"web3-utils": "^4.3.1",
Expand Down
43 changes: 43 additions & 0 deletions packages/web3/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -436,4 +436,47 @@ Documentation:

- Remove redundant constructor of contractBuilder (#7150)


## [4.12.0]

### Fixed

#### web3-core

- `setConfig()` fix for `setMaxListenerWarningThreshold` fix (#5079)

#### web3-eth-accounts

- Fix `TransactionFactory.registerTransactionType` not working, if there is a version mistatch between `web3-eth` and `web3-eth-accounts` by saving `extraTxTypes` at `globals`. (#7197)

### Added

#### web3-eth-accounts

- Added public function `signMessageWithPrivateKey` (#7174)

#### web3-eth-contract

- Added `populateTransaction` to the `contract.deploy(...)` properties. (#7197)

#### web3-providers-http

- Added `statusCode` of response in ResponseError, `statusCode` is optional property in ResponseError.

#### web3-rpc-providers

- Updated rate limit error of QuickNode provider for HTTP transport
- Added optional `HttpProviderOptions | SocketOptions` in `Web3ExternalProvider` and `QuickNodeProvider` for provider configs

#### web3-errors

- Added optional `statusCode` property of response in ResponseError.

### Changed

#### web3-eth-contract

- The returnred properties of `contract.deploy(...)` are structured with a newly created class named `DeployerMethodClass`. (#7197)
- Add a missed accepted type for the `abi` parameter, at `dataInputEncodeMethodHelper` and `getSendTxParams`. (#7197)

## [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.11.1",
"version": "4.12.0",
"description": "Ethereum JavaScript API",
"main": "./lib/commonjs/index.js",
"module": "./lib/esm/index.js",
Expand Down Expand Up @@ -86,20 +86,20 @@
"web3-providers-ipc": "^4.0.7"
},
"dependencies": {
"web3-core": "^4.5.0",
"web3-errors": "^1.2.1",
"web3-core": "^4.5.1",
"web3-errors": "^1.3.0",
"web3-eth": "^4.8.2",
"web3-eth-abi": "^4.2.3",
"web3-eth-accounts": "^4.1.3",
"web3-eth-contract": "^4.6.0",
"web3-eth-accounts": "^4.2.0",
"web3-eth-contract": "^4.7.0",
"web3-eth-ens": "^4.4.0",
"web3-eth-iban": "^4.0.7",
"web3-eth-personal": "^4.0.8",
"web3-net": "^4.1.0",
"web3-providers-http": "^4.1.0",
"web3-providers-http": "^4.2.0",
"web3-providers-ws": "^4.0.8",
"web3-rpc-methods": "^1.3.0",
"web3-rpc-providers": "^1.0.0-rc.1",
"web3-rpc-providers": "^1.0.0-rc.2",
"web3-types": "^1.7.0",
"web3-utils": "^4.3.1",
"web3-validator": "^2.0.6"
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.11.1' };
/* eslint-disable header/header */ export const Web3PkgInfo = { version: '4.12.0' };

1 comment on commit e746566

@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: e746566 Previous: 60fc197 Ratio
processingTx 23728 ops/sec (±7.13%) 23607 ops/sec (±6.40%) 0.99
processingContractDeploy 40637 ops/sec (±7.66%) 40397 ops/sec (±9.19%) 0.99
processingContractMethodSend 16949 ops/sec (±7.02%) 17346 ops/sec (±6.97%) 1.02
processingContractMethodCall 28367 ops/sec (±7.27%) 28617 ops/sec (±7.82%) 1.01
abiEncode 46116 ops/sec (±6.72%) 45490 ops/sec (±6.79%) 0.99
abiDecode 31091 ops/sec (±7.58%) 31146 ops/sec (±7.38%) 1.00
sign 1587 ops/sec (±0.92%) 1551 ops/sec (±0.83%) 0.98
verify 372 ops/sec (±2.74%) 361 ops/sec (±0.56%) 0.97

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

Please sign in to comment.