Skip to content

Commit

Permalink
Release/4.6.0 (#6869)
Browse files Browse the repository at this point in the history
* lerna version bumps

* changelog updates

* Fix blackbox test (#6873)

* Fix blackbox test

* revert

---------

Co-authored-by: Oleksii Kosynskyi <oleksii.kosynskyi@gmail.com>
  • Loading branch information
jdevcs and avkos authored Mar 8, 2024
1 parent cf60f71 commit e383ae3
Show file tree
Hide file tree
Showing 16 changed files with 78 additions and 46 deletions.
30 changes: 30 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2353,4 +2353,34 @@ If there are any bugs, improvements, optimizations or any new feature proposal f

- Dependencies updated

## [4.6.0]

### Added

#### web3

- Added EIP-6963 utility function `requestEIP6963Providers` for multi provider discovery

#### web3-eth

- Added `eth.getMaxPriorityFeePerGas` method (#6748)

#### web3-eth-ens

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

#### web3-rpc-methods

- Added `getMaxPriorityFeePerGas` method (#6748)

#### web3-types

- Type `FeeData` to be filled by `await web3.eth.calculateFeeData()` to be used with EIP-1559 transactions (#6795)

### Fixed

#### web3-utils

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

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

- Dependencies updated

## [Unreleased]
## [4.1.0]

### Added

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

## [Unreleased]
16 changes: 8 additions & 8 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.0.8",
"version": "4.1.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 @@ -59,13 +59,13 @@
},
"dependencies": {
"@adraffy/ens-normalize": "^1.8.8",
"web3-core": "^4.3.0",
"web3-errors": "^1.1.3",
"web3-eth": "^4.3.1",
"web3-eth-contract": "^4.1.2",
"web3-core": "^4.3.2",
"web3-errors": "^1.1.4",
"web3-eth": "^4.5.0",
"web3-eth-contract": "^4.2.0",
"web3-net": "^4.0.7",
"web3-types": "^1.3.0",
"web3-utils": "^4.0.7",
"web3-validator": "^2.0.3"
"web3-types": "^1.5.0",
"web3-utils": "^4.2.1",
"web3-validator": "^2.0.4"
}
}
4 changes: 3 additions & 1 deletion packages/web3-eth/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -219,8 +219,10 @@ Documentation:

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

## [Unreleased]
## [4.5.0]

### Added

- Added `eth.getMaxPriorityFeePerGas` method (#6748)

## [Unreleased]
8 changes: 4 additions & 4 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.4.0",
"version": "4.5.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 @@ -69,9 +69,9 @@
"web3-eth-accounts": "^4.1.1",
"web3-net": "^4.0.7",
"web3-providers-ws": "^4.0.7",
"web3-rpc-methods": "^1.1.4",
"web3-types": "^1.3.1",
"web3-utils": "^4.1.1",
"web3-rpc-methods": "^1.2.0",
"web3-types": "^1.5.0",
"web3-utils": "^4.2.1",
"web3-validator": "^2.0.4"
}
}
4 changes: 3 additions & 1 deletion packages/web3-rpc-methods/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -132,8 +132,10 @@ Documentation:

- Fix web3-types import #6590 (#6589)

## [Unreleased]
## [1.2.0]

### Added

- Added `getMaxPriorityFeePerGas` method (#6748)

## [Unreleased]
6 changes: 3 additions & 3 deletions packages/web3-rpc-methods/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "web3-rpc-methods",
"version": "1.1.4",
"version": "1.2.0",
"description": "Ethereum RPC methods for Web3 4.x.x",
"main": "./lib/commonjs/index.js",
"module": "./lib/esm/index.js",
Expand Down Expand Up @@ -57,7 +57,7 @@
},
"dependencies": {
"web3-core": "^4.3.2",
"web3-types": "^1.3.1",
"web3-validator": "^2.0.3"
"web3-types": "^1.5.0",
"web3-validator": "^2.0.4"
}
}
4 changes: 3 additions & 1 deletion packages/web3-types/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -183,8 +183,10 @@ Documentation:

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

## [Unreleased]
## [1.5.0]

### Added

- Type `FeeData` to be filled by `await web3.eth.calculateFeeData()` to be used with EIP-1559 transactions (#6795)

## [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.4.0",
"version": "1.5.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 @@ -193,8 +193,10 @@ Documentation:

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

## [Unreleased]
## [4.2.1]

### Fixed

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

## [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.0",
"version": "4.2.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.1.4",
"web3-types": "^1.4.0",
"web3-types": "^1.5.0",
"web3-validator": "^2.0.4"
}
}
6 changes: 4 additions & 2 deletions packages/web3/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -191,8 +191,10 @@ Documentation:

- Dependencies updated ( details are in root changelog )

## [Unreleased]
## [4.6.0]

### Added

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

## [Unreleased]
12 changes: 6 additions & 6 deletions packages/web3/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "web3",
"version": "4.5.0",
"version": "4.6.0",
"description": "Ethereum JavaScript API",
"main": "./lib/commonjs/index.js",
"module": "./lib/esm/index.js",
Expand Down Expand Up @@ -88,19 +88,19 @@
"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-eth-accounts": "^4.1.1",
"web3-eth-contract": "^4.2.0",
"web3-eth-ens": "^4.0.8",
"web3-eth-ens": "^4.1.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.1.4",
"web3-types": "^1.4.0",
"web3-utils": "^4.2.0",
"web3-rpc-methods": "^1.2.0",
"web3-types": "^1.5.0",
"web3-utils": "^4.2.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.5.0' };
/* eslint-disable header/header */ export const Web3PkgInfo = { version: '4.6.0' };
7 changes: 1 addition & 6 deletions packages/web3/test/cjs_black_box/jest.config.js
Original file line number Diff line number Diff line change
@@ -1,15 +1,10 @@
/** @type {import('ts-jest/dist/types').InitialOptionsTsJest} */
module.exports = {
globals: {
'ts-jest': {
tsconfig: '../config/tsconfig.cjs.json',
},
},
transform: {
'^.+\\.(ts|tsx)$': [
'ts-jest',
{
tsconfig: './test/tsconfig.json',
tsconfig: '../config/tsconfig.cjs.json',
},
],
},
Expand Down
7 changes: 1 addition & 6 deletions packages/web3/test/esm_black_box/jest.config.js
Original file line number Diff line number Diff line change
@@ -1,15 +1,10 @@
/** @type {import('ts-jest/dist/types').InitialOptionsTsJest} */
export default {
globals: {
'ts-jest': {
tsconfig: '../config/tsconfig.esm.json',
},
},
transform: {
'^.+\\.(ts|tsx)$': [
'ts-jest',
{
tsconfig: './test/tsconfig.json',
tsconfig: '../config/tsconfig.esm.json',
},
],
},
Expand Down

1 comment on commit e383ae3

@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: e383ae3 Previous: 6c075db Ratio
processingTx 9508 ops/sec (±4.08%) 9301 ops/sec (±4.81%) 0.98
processingContractDeploy 41302 ops/sec (±10.86%) 39129 ops/sec (±7.62%) 0.95
processingContractMethodSend 21082 ops/sec (±5.54%) 19443 ops/sec (±5.19%) 0.92
processingContractMethodCall 41433 ops/sec (±5.12%) 38971 ops/sec (±6.34%) 0.94
abiEncode 47162 ops/sec (±6.48%) 44252 ops/sec (±6.92%) 0.94
abiDecode 33009 ops/sec (±7.10%) 30419 ops/sec (±8.89%) 0.92
sign 1651 ops/sec (±3.50%) 1656 ops/sec (±4.08%) 1.00
verify 383 ops/sec (±0.40%) 373 ops/sec (±0.78%) 0.97

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

Please sign in to comment.