Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v4.14.0 #7333

Merged
merged 5 commits into from
Oct 21, 2024
Merged

v4.14.0 #7333

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 24 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2727,20 +2727,41 @@ If there are any bugs, improvements, optimizations or any new feature proposal f
- `Web3.providers` namespace exports `type EIP6963ProviderResponse = Map<string, EIP6963ProviderDetail>`. Return type for the static `Web3.requestEIP6963Providers` function is now `Promise<EIP6963ProviderResponse>`. (#7239)
- The callback function provided to the static `Web3.onNewProviderDiscovered` function expects a parameter of type `EIP6963ProvidersMapUpdateEvent` as opposed to `EIP6963AnnounceProviderEvent`. (#7242)

## [Unreleased]
## [4.14.0]

### Added

#### web3-core

- Added new property `ignoreGasPricing` to `Web3ConfigOptions`. If `ignoreGasPricing` is true, gasPrice will not be estimated (#7320)

#### web3-eth

- `syncing` subscription now supports Besu and Nethermind payload format
- `populateGasPrice` function now checks `Web3Context.config.ignoreGasPricing`. If `ignoreGasPricing` is true, gasPrice will not be estimated (#7320)

### Changed

#### web3

- Exported EIP-6963 types are no longer under the `providers` namespace. (#7270)

#### web3-eth

- Allow `getEthereumjsTxDataFrom` to return additional fields that may be passed if using a `customTransactionSchema`.

#### web3
#### web3-types

- Exported EIP-6963 types are no longer under the `providers` namespace. (#7270)
- update the type for `baseFeePerGas` at `web3.eth.getFeeHistory` to be a number. (#7291)

### Fixed

#### web3-eth-abi

- `decodeLog` , `decodeParametersWith` , `decodeParameters` and `decodeParameters` now accepts first immutable param as well (#7288)

#### web3-utils

- fix `padRight` validation failure on large `uint` (#7265)

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

- Adds a new property (`customTransactionSchema`) to `Web3ConfigOptions`(#7227)

## [Unreleased]
## [4.7.0]

### Added

- Added new property `ignoreGasPricing` to `Web3ConfigOptions`. If `ignoreGasPricing` is true, gasPrice will not be estimated (#7320)

## [Unreleased]
6 changes: 3 additions & 3 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.6.0",
"version": "4.7.0",
"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 @@ -47,8 +47,8 @@
"web3-eth-iban": "^4.0.7",
"web3-providers-http": "^4.2.0",
"web3-providers-ws": "^4.0.8",
"web3-types": "^1.8.0",
"web3-utils": "^4.3.1",
"web3-types": "^1.8.1",
"web3-utils": "^4.3.2",
"web3-validator": "^2.0.6"
},
"optionalDependencies": {
Expand Down
4 changes: 3 additions & 1 deletion packages/web3-eth-abi/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -188,8 +188,10 @@ Documentation:

- Handle common cases for smart contract errors according to EIP 838: `0x4e487b71` which is the ‘selector’ for `Panic(uint256)` and `0x08c379a0` is the ‘selector’ of `Error(string)`. (7155)

## [Unreleased]
## [4.3.0]

### Fixed

- `decodeLog` , `decodeParametersWith` , `decodeParameters` and `decodeParameters` now accepts first immutable param as well (#7288)

## [Unreleased]
6 changes: 3 additions & 3 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.2.4",
"version": "4.3.0",
"description": "Web3 module encode and decode EVM in/output.",
"main": "./lib/commonjs/index.js",
"module": "./lib/esm/index.js",
Expand Down Expand Up @@ -44,8 +44,8 @@
"dependencies": {
"abitype": "0.7.1",
"web3-errors": "^1.3.0",
"web3-types": "^1.8.0",
"web3-utils": "^4.3.1",
"web3-types": "^1.8.1",
"web3-utils": "^4.3.2",
"web3-validator": "^2.0.6"
},
"devDependencies": {
Expand Down
4 changes: 3 additions & 1 deletion packages/web3-eth/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ Documentation:

- Adds the same `{transactionSchema?: ValidationSchemaInput}` that exists in `formatTransaction` to `validateTransactionForSigning`

## [Unreleased]
## [4.10.0]

### Changed

Expand All @@ -288,3 +288,5 @@ Documentation:
### Added

- `populateGasPrice` function now checks `Web3Context.config.ignoreGasPricing`. If `ignoreGasPricing` is true, gasPrice will not be estimated (#7320)

## [Unreleased]
10 changes: 5 additions & 5 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.9.0",
"version": "4.10.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.6.0",
"web3-core": "^4.7.0",
"web3-errors": "^1.3.0",
"web3-eth-abi": "^4.2.4",
"web3-eth-abi": "^4.3.0",
"web3-eth-accounts": "^4.2.1",
"web3-net": "^4.1.0",
"web3-providers-ws": "^4.0.8",
"web3-rpc-methods": "^1.3.0",
"web3-types": "^1.8.0",
"web3-utils": "^4.3.1",
"web3-types": "^1.8.1",
"web3-utils": "^4.3.2",
"web3-validator": "^2.0.6"
}
}
6 changes: 4 additions & 2 deletions packages/web3-types/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -208,8 +208,10 @@ Documentation:

- Add COMMITTED to BlockTags (#7124)

## [Unreleased]
## [1.8.1]

### Changed
### Fixed

- update the type for `baseFeePerGas` at `web3.eth.getFeeHistory` to be a number. (#7291)

## [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.8.0",
"version": "1.8.1",
"description": "Provide the common data structures and interfaces for web3 modules.",
"main": "./lib/commonjs/index.js",
"module": "./lib/esm/index.js",
Expand Down
4 changes: 3 additions & 1 deletion packages/web3-utils/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -234,8 +234,10 @@ Documentation:

- `_sendPendingRequests` will catch unhandled errors from `_sendToSocket` (#6968)

## [Unreleased]
## [4.3.2]

### Fixed

- fix `padRight` validation failure on large `uint` (#7265)

## [Unreleased]
6 changes: 3 additions & 3 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.3.1",
"version": "4.3.2",
"description": "Collection of utility functions used in web3.js.",
"main": "./lib/commonjs/index.js",
"module": "./lib/esm/index.js",
Expand Down Expand Up @@ -65,8 +65,8 @@
"dependencies": {
"ethereum-cryptography": "^2.0.0",
"eventemitter3": "^5.0.1",
"web3-errors": "^1.2.0",
"web3-types": "^1.7.0",
"web3-errors": "^1.3.0",
"web3-types": "^1.8.1",
"web3-validator": "^2.0.6"
}
}
41 changes: 41 additions & 0 deletions packages/web3/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -489,4 +489,45 @@ Documentation:
- `Web3.providers` namespace exports `type EIP6963ProviderResponse = Map<string, EIP6963ProviderDetail>`. Return type for the static `Web3.requestEIP6963Providers` function is now `Promise<EIP6963ProviderResponse>`. (#7239)
- The callback function provided to the static `Web3.onNewProviderDiscovered` function expects a parameter of type `EIP6963ProvidersMapUpdateEvent` as opposed to `EIP6963AnnounceProviderEvent`. (#7242)

## [4.14.0]

### Added

#### web3

- Exported EIP-6963 types are no longer under the `providers` namespace. (#7270)

#### web3-core

- Added new property `ignoreGasPricing` to `Web3ConfigOptions`. If `ignoreGasPricing` is true, gasPrice will not be estimated (#7320)

#### web3-eth

- `populateGasPrice` function now checks `Web3Context.config.ignoreGasPricing`. If `ignoreGasPricing` is true, gasPrice will not be estimated (#7320)

### Changed

#### web3

- Exported EIP-6963 types are no longer under the `providers` namespace. (#7270)

#### web3-eth

- Allow `getEthereumjsTxDataFrom` to return additional fields that may be passed if using a `customTransactionSchema`.

#### web3-types

- `syncing` subscription now supports Besu and Nethermind payload format
- update the type for `baseFeePerGas` at `web3.eth.getFeeHistory` to be a number. (#7291)

### Fixed

#### web3-eth-abi

- `decodeLog` , `decodeParametersWith` , `decodeParameters` and `decodeParameters` now accepts first immutable param as well (#7288)

#### web3-utils

- fix `padRight` validation failure on large `uint` (#7265)

## [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.13.0",
"version": "4.14.0",
"description": "Ethereum JavaScript API",
"main": "./lib/commonjs/index.js",
"module": "./lib/esm/index.js",
Expand Down Expand Up @@ -86,10 +86,10 @@
"web3-providers-ipc": "^4.0.7"
},
"dependencies": {
"web3-core": "^4.6.0",
"web3-core": "^4.7.0",
"web3-errors": "^1.3.0",
"web3-eth": "^4.9.0",
"web3-eth-abi": "^4.2.4",
"web3-eth": "^4.10.0",
"web3-eth-abi": "^4.3.0",
"web3-eth-accounts": "^4.2.1",
"web3-eth-contract": "^4.7.0",
"web3-eth-ens": "^4.4.0",
Expand All @@ -100,8 +100,8 @@
"web3-providers-ws": "^4.0.8",
"web3-rpc-methods": "^1.3.0",
"web3-rpc-providers": "^1.0.0-rc.2",
"web3-types": "^1.8.0",
"web3-utils": "^4.3.1",
"web3-types": "^1.8.1",
"web3-utils": "^4.3.2",
"web3-validator": "^2.0.6"
}
}
1 change: 1 addition & 0 deletions packages/web3/src/providers.exports.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,4 @@ export { Eip1193Provider, SocketProvider } from 'web3-utils';

export * as http from 'web3-providers-http';
export * as ws from 'web3-providers-ws';
export * from './web3_eip6963.js';
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.13.0' };
/* eslint-disable header/header */ export const Web3PkgInfo = { version: '4.14.0' };
2 changes: 1 addition & 1 deletion packages/web3/test/e2e/mainnet/get_storage_at.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ describe(`${getSystemTestBackend()} tests - getStorageAt`, () => {
} else if (block === 'blockHash' || block === 'blockNumber') {
// eslint-disable-next-line jest/no-conditional-expect
expect(result).toBe(
'0x00000000000000000000000000000000000000000000000000c347d66ae6ce59',
'0x00000000000000000000000000000000000000000000000000c34723fc9a9240',
);
} else {
// eslint-disable-next-line jest/no-conditional-expect
Expand Down
Loading