Skip to content

Commit

Permalink
bump versions
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Luu committed Mar 25, 2024
1 parent c4e039a commit 7379a3b
Show file tree
Hide file tree
Showing 12 changed files with 71 additions and 33 deletions.
22 changes: 17 additions & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2383,14 +2383,26 @@ If there are any bugs, improvements, optimizations or any new feature proposal f

- replaced our eventEmitter to EventEmitter3 to support react native builds (#6253)

## [Unreleased]
### Changed
## [4.7.0]

#### web3
### added

#### web3-eth-contract

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

### Added
#### web3-eth-ens

#### web3-eth-contract
- Added function getText and getName in ENS and resolver classes (#6914)

### fixed

#### web3-validator

- Multi-dimensional arrays(with a fix length) are now handled properly when parsing ABIs (#6798)

#### web3-utils

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

## [Unreleased]
6 changes: 4 additions & 2 deletions packages/web3-eth-contract/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -364,8 +364,10 @@ 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]
## [4.3.0]

### Added

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

## [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.2.0",
"version": "4.3.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.4.0",
"web3-eth": "^4.5.0",
"web3-eth-abi": "^4.2.0",
"web3-types": "^1.3.1",
"web3-utils": "^4.1.1",
"web3-validator": "^2.0.4"
"web3-types": "^1.5.0",
"web3-utils": "^4.2.2",
"web3-validator": "^2.0.5"
},
"devDependencies": {
"@humeris/espresso-shot": "^4.0.0",
Expand Down
6 changes: 4 additions & 2 deletions packages/web3-eth-ens/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -147,8 +147,10 @@ Documentation:

- Added function `setAddress` in ENS and Resolver classes (#5956)

## [Unreleased]
## [4.2.0]

### Add

- Added function getText and getName in ENS and resolver classes
- Added function getText and getName in ENS and resolver classes (#6914)

## [Unreleased]
8 changes: 4 additions & 4 deletions packages/web3-eth-ens/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "web3-eth-ens",
"version": "4.1.0",
"version": "4.2.0",
"description": "This package has ENS functions for interacting with Ethereum Name Service.",
"main": "./lib/commonjs/index.js",
"module": "./lib/esm/index.js",
Expand Down Expand Up @@ -62,10 +62,10 @@
"web3-core": "^4.3.2",
"web3-errors": "^1.1.4",
"web3-eth": "^4.5.0",
"web3-eth-contract": "^4.2.0",
"web3-eth-contract": "^4.3.0",
"web3-net": "^4.0.7",
"web3-types": "^1.5.0",
"web3-utils": "^4.2.1",
"web3-validator": "^2.0.4"
"web3-utils": "^4.2.2",
"web3-validator": "^2.0.5"
}
}
5 changes: 3 additions & 2 deletions packages/web3-utils/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -199,9 +199,10 @@ Documentation:

- replaced our eventEmitter to EventEmitter3 to support react native builds (#6253)

## [Unreleased]
## [4.2.2]

### Fixed

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

## [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.1",
"version": "4.2.2",
"description": "Collection of utility functions used in web3.js.",
"main": "./lib/commonjs/index.js",
"module": "./lib/esm/index.js",
Expand Down Expand Up @@ -67,6 +67,6 @@
"eventemitter3": "^5.0.1",
"web3-errors": "^1.1.4",
"web3-types": "^1.5.0",
"web3-validator": "^2.0.4"
"web3-validator": "^2.0.5"
}
}
4 changes: 3 additions & 1 deletion packages/web3-validator/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -162,8 +162,10 @@ Documentation:

- Fixed an issue with detecting Uint8Array (#6486)

## [Unreleased]
## [2.0.5]

### Fixed

- Multi-dimensional arrays(with a fix length) are now handled properly when parsing ABIs (#6798)

## [Unreleased]
4 changes: 2 additions & 2 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.4",
"version": "2.0.5",
"description": "JSON-Schema compatible validator for web3",
"main": "./lib/commonjs/index.js",
"module": "./lib/esm/index.js",
Expand Down Expand Up @@ -48,7 +48,7 @@
"ethereum-cryptography": "^2.0.0",
"util": "^0.12.5",
"web3-errors": "^1.1.4",
"web3-types": "^1.3.1",
"web3-types": "^1.5.0",
"zod": "^3.21.4"
},
"devDependencies": {
Expand Down
23 changes: 21 additions & 2 deletions packages/web3/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -197,8 +197,27 @@ Documentation:

- Added EIP-6963 utility function `requestEIP6963Providers` for multi provider discovery ( other details are in root changelog )

## [Unreleased]

### Changed
## [4.7.0]

### added

#### web3-eth-contract

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

#### web3-eth-ens

- Added function getText and getName in ENS and resolver classes (#6914)

### fixed

#### web3-validator

- Multi-dimensional arrays(with a fix length) are now handled properly when parsing ABIs (#6798)

#### web3-utils

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

## [Unreleased]
10 changes: 5 additions & 5 deletions packages/web3/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "web3",
"version": "4.6.0",
"version": "4.7.0",
"description": "Ethereum JavaScript API",
"main": "./lib/commonjs/index.js",
"module": "./lib/esm/index.js",
Expand Down Expand Up @@ -91,16 +91,16 @@
"web3-eth": "^4.5.0",
"web3-eth-abi": "^4.2.0",
"web3-eth-accounts": "^4.1.1",
"web3-eth-contract": "^4.2.0",
"web3-eth-ens": "^4.1.0",
"web3-eth-contract": "^4.3.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.1",
"web3-validator": "^2.0.4"
"web3-utils": "^4.2.2",
"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.6.0' };
/* eslint-disable header/header */ export const Web3PkgInfo = { version: '4.7.0' };

2 comments on commit 7379a3b

@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: 7379a3b Previous: 6c075db Ratio
processingTx 9264 ops/sec (±4.18%) 9301 ops/sec (±4.81%) 1.00
processingContractDeploy 39878 ops/sec (±6.86%) 39129 ops/sec (±7.62%) 0.98
processingContractMethodSend 19962 ops/sec (±4.57%) 19443 ops/sec (±5.19%) 0.97
processingContractMethodCall 38546 ops/sec (±5.63%) 38971 ops/sec (±6.34%) 1.01
abiEncode 43615 ops/sec (±6.47%) 44252 ops/sec (±6.92%) 1.01
abiDecode 31255 ops/sec (±7.47%) 30419 ops/sec (±8.89%) 0.97
sign 1583 ops/sec (±3.45%) 1656 ops/sec (±4.08%) 1.05
verify 376 ops/sec (±0.49%) 373 ops/sec (±0.78%) 0.99

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

@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: 7379a3b Previous: 6c075db Ratio
processingTx 9268 ops/sec (±3.96%) 9301 ops/sec (±4.81%) 1.00
processingContractDeploy 38086 ops/sec (±6.58%) 39129 ops/sec (±7.62%) 1.03
processingContractMethodSend 19928 ops/sec (±6.74%) 19443 ops/sec (±5.19%) 0.98
processingContractMethodCall 40510 ops/sec (±5.73%) 38971 ops/sec (±6.34%) 0.96
abiEncode 44602 ops/sec (±6.94%) 44252 ops/sec (±6.92%) 0.99
abiDecode 30301 ops/sec (±8.36%) 30419 ops/sec (±8.89%) 1.00
sign 1602 ops/sec (±2.87%) 1656 ops/sec (±4.08%) 1.03
verify 379 ops/sec (±0.58%) 373 ops/sec (±0.78%) 0.98

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

Please sign in to comment.