Skip to content

Commit

Permalink
release process
Browse files Browse the repository at this point in the history
  • Loading branch information
luu-alex committed Jan 10, 2024
1 parent 1eb07d1 commit 709b4fa
Show file tree
Hide file tree
Showing 15 changed files with 84 additions and 58 deletions.
41 changes: 27 additions & 14 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2289,37 +2289,50 @@ If there are any bugs, improvements, optimizations or any new feature proposal f

- Fix unnecessary array copy when pack encoding (#6553)

## [Unreleased]
## [4.4.0]

### Added

#### web3


#### web3-eth

- Catch `TransactionPollingTimeoutError` was added to send transaction events (#6623)

#### web3-utils

- `SocketProvider` now contains public function `getPendingRequestQueueSize`, `getSentRequestsQueueSize` and `clearQueues` (#6479)
- Added `safeDisconnect` as a `SocketProvider` method to disconnect only when request queue size and send request queue size is 0 (#6479)
- Add `isContractInitOptions` method (#6555)

### Changed

#### web3-core
#### web3-eth-abi

- Use `AbiError` instead of `Error` for errors at web3-eth-abi (#6641).

#### web3-eth-contract

- Allow the `deploy` function to accept parameters, even when no ABI was provided to the `Contract`(#6635)

#### web3

- Dependencies updated

### Fixed

#### web3-rpc-methods
#### web3-eth-abi

- Fix web3-types import #6590 (#6589)
- Fixed an issue with detecting Uint8Array (#6486)

#### web3-eth-accounts

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

#### web3-eth-contract

- Fix and error that happen when trying to get past events by calling `contract.getPastEvents` or `contract.events.allEvents()`, if there is no matching events. (#6647)
- Fixed: The Contract is not using the context wallet passed if context was passed at constructor. (#6661)

#### web3-utils

- Fix unnecessary array copy when pack encoding (#6553)
- Fixed an issue with detecting Uint8Array (#6486)

#### web3-validator

- Fixed an issue with detecting Uint8Array (#6486)

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

- Bug fix of `ERR_UNSUPPORTED_DIR_IMPORT` in ABI (#6535)

## [Unreleased]
## [4.2.0]

### Changed

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

- Fixed an issue with detecting Uint8Array (#6486)

## [Unreleased]
10 changes: 5 additions & 5 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.1.4",
"version": "4.2.0",
"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.3",
"web3-types": "^1.3.0",
"web3-utils": "^4.0.7",
"web3-validator": "^2.0.3"
"web3-errors": "^1.1.4",
"web3-types": "^1.3.1",
"web3-utils": "^4.1.1",
"web3-validator": "^2.0.4"
},
"devDependencies": {
"@humeris/espresso-shot": "^4.0.0",
Expand Down
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.0",
"version": "4.1.1",
"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.3",
"web3-types": "^1.3.0",
"web3-utils": "^4.0.7",
"web3-validator": "^2.0.3"
"web3-errors": "^1.1.4",
"web3-types": "^1.3.1",
"web3-utils": "^4.1.1",
"web3-validator": "^2.0.4"
}
}
4 changes: 3 additions & 1 deletion packages/web3-eth-contract/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ Documentation:

- By default, contracts will fill `data` instead of `input` within method calls (#6622)

## [Unreleased]
## [4.2.0]

### Changed

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

- Fix and error that happen when trying to get past events by calling `contract.getPastEvents` or `contract.events.allEvents()`, if there is no matching events. (#6647)
- Fixed: The Contract is not using the context wallet passed if context was passed at constructor. (#6661)

## [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.1.4",
"version": "4.2.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,11 +47,11 @@
"dependencies": {
"web3-core": "^4.3.2",
"web3-errors": "^1.1.4",
"web3-eth": "^4.3.1",
"web3-eth-abi": "^4.1.4",
"web3-eth": "^4.4.0",
"web3-eth-abi": "^4.2.0",
"web3-types": "^1.3.1",
"web3-utils": "^4.1.0",
"web3-validator": "^2.0.3"
"web3-utils": "^4.1.1",
"web3-validator": "^2.0.4"
},
"devDependencies": {
"@humeris/espresso-shot": "^4.0.0",
Expand All @@ -67,7 +67,7 @@
"prettier": "^2.7.1",
"ts-jest": "^29.1.1",
"typescript": "^4.7.4",
"web3-eth-accounts": "^4.1.0",
"web3-eth-accounts": "^4.1.1",
"web3-providers-ws": "^4.0.7"
}
}
4 changes: 3 additions & 1 deletion packages/web3-eth/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -213,8 +213,10 @@ Documentation:

- Dependencies updated

## [Unreleased]
## [4.4.0]

### Added

- Catch `TransactionPollingTimeoutError` was added to send transaction events (#6623)

## [Unreleased]
18 changes: 9 additions & 9 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.3.1",
"version": "4.4.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.0",
"web3-errors": "^1.1.3",
"web3-eth-abi": "^4.1.4",
"web3-eth-accounts": "^4.1.0",
"web3-core": "^4.3.2",
"web3-errors": "^1.1.4",
"web3-eth-abi": "^4.2.0",
"web3-eth-accounts": "^4.1.1",
"web3-net": "^4.0.7",
"web3-providers-ws": "^4.0.7",
"web3-rpc-methods": "^1.1.3",
"web3-types": "^1.3.0",
"web3-utils": "^4.0.7",
"web3-validator": "^2.0.3"
"web3-rpc-methods": "^1.1.4",
"web3-types": "^1.3.1",
"web3-utils": "^4.1.1",
"web3-validator": "^2.0.4"
}
}
4 changes: 3 additions & 1 deletion packages/web3-utils/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -181,8 +181,10 @@ Documentation:

- Fix unnecessary array copy when pack encoding (#6553)

## [Unreleased]
## [4.1.1]

### Fixed

- Fixed an issue with detecting Uint8Array (#6486)

## [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.0",
"version": "4.1.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,6 +66,6 @@
"ethereum-cryptography": "^2.0.0",
"web3-errors": "^1.1.4",
"web3-types": "^1.3.1",
"web3-validator": "^2.0.3"
"web3-validator": "^2.0.4"
}
}
4 changes: 3 additions & 1 deletion packages/web3-validator/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -156,8 +156,10 @@ Documentation:
- Validator will now properly handle all valid numeric type sizes: intN / uintN where 8 < = N < = 256 and N % 8 == 0 (#6434)
- Will now throw SchemaFormatError when unsupported format is passed to `convertToZod` method (#6434)

## [Unreleased]
## [2.0.4]

### Fixed

- Fixed an issue with detecting Uint8Array (#6486)

## [Unreleased]
6 changes: 3 additions & 3 deletions packages/web3-validator/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "web3-validator",
"version": "2.0.3",
"version": "2.0.4",
"description": "JSON-Schema compatible validator for web3",
"main": "./lib/commonjs/index.js",
"module": "./lib/esm/index.js",
Expand Down Expand Up @@ -47,8 +47,8 @@
"dependencies": {
"ethereum-cryptography": "^2.0.0",
"util": "^0.12.5",
"web3-errors": "^1.1.3",
"web3-types": "^1.3.0",
"web3-errors": "^1.1.4",
"web3-types": "^1.3.1",
"zod": "^3.21.4"
},
"devDependencies": {
Expand Down
5 changes: 4 additions & 1 deletion packages/web3/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -183,5 +183,8 @@ Documentation:

- Dependencies updated

## [Unreleased]
## [4.4.0]

- Dependencies updated ( details are in root changelog )

## [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.3.0",
"version": "4.4.0",
"description": "Ethereum JavaScript API",
"main": "./lib/commonjs/index.js",
"module": "./lib/esm/index.js",
Expand Down Expand Up @@ -88,10 +88,10 @@
"dependencies": {
"web3-core": "^4.3.2",
"web3-errors": "^1.1.4",
"web3-eth": "^4.3.1",
"web3-eth-abi": "^4.1.4",
"web3-eth-accounts": "^4.1.0",
"web3-eth-contract": "^4.1.4",
"web3-eth": "^4.4.0",
"web3-eth-abi": "^4.2.0",
"web3-eth-accounts": "^4.1.1",
"web3-eth-contract": "^4.2.0",
"web3-eth-ens": "^4.0.8",
"web3-eth-iban": "^4.0.7",
"web3-eth-personal": "^4.0.8",
Expand All @@ -100,7 +100,7 @@
"web3-providers-ws": "^4.0.7",
"web3-rpc-methods": "^1.1.4",
"web3-types": "^1.3.1",
"web3-utils": "^4.1.0",
"web3-validator": "^2.0.3"
"web3-utils": "^4.1.1",
"web3-validator": "^2.0.4"
}
}
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.3.0' };
/* eslint-disable header/header */ export const Web3PkgInfo = { version: '4.4.0' };

1 comment on commit 709b4fa

@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: 709b4fa Previous: 6c075db Ratio
processingTx 9352 ops/sec (±4.23%) 9301 ops/sec (±4.81%) 0.99
processingContractDeploy 40398 ops/sec (±7.86%) 39129 ops/sec (±7.62%) 0.97
processingContractMethodSend 19239 ops/sec (±7.37%) 19443 ops/sec (±5.19%) 1.01
processingContractMethodCall 39787 ops/sec (±5.58%) 38971 ops/sec (±6.34%) 0.98
abiEncode 44606 ops/sec (±6.83%) 44252 ops/sec (±6.92%) 0.99
abiDecode 30789 ops/sec (±7.39%) 30419 ops/sec (±8.89%) 0.99
sign 1600 ops/sec (±3.16%) 1656 ops/sec (±4.08%) 1.03
verify 375 ops/sec (±0.56%) 373 ops/sec (±0.78%) 0.99

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

Please sign in to comment.