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

release/4.13.0 #7264

Merged
merged 3 commits into from
Sep 18, 2024
Merged
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
21 changes: 13 additions & 8 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2696,24 +2696,22 @@ If there are any bugs, improvements, optimizations or any new feature proposal f

- Revert `TransactionFactory.registerTransactionType` if there is a version mistatch between `web3-eth` and `web3-eth-accounts` and fix nextjs problem. (#7216)

#### web3

- `Web3.providers` namespace exports `type EIP6963ProviderResponse = Map<string, EIP6963ProviderDetail>`. Return type for the static `Web3.requestEIP6963Providers` 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.13.0]

### Added

#### web3-core

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

#### web3-eth

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

#### web3-types

- Add COMMITTED to BlockTags (#7124)

### Changed

#### web3-eth
Expand All @@ -2723,3 +2721,10 @@ If there are any bugs, improvements, optimizations or any new feature proposal f
#### web3-eth-personal

- Forwards the new `web3Context.config.customTransactionSchema` to `formatTransaction`

#### web3

- `Web3.providers` namespace exports `type EIP6963ProviderResponse = Map<string, EIP6963ProviderDetail>`. Return type for the static `Web3.requestEIP6963Providers` 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]
7 changes: 4 additions & 3 deletions packages/web3-core/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -233,9 +233,10 @@ Documentation:

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

## [Unreleased]
## [4.6.0]

### Added

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

## [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.5.1",
"version": "4.6.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 @@ -43,11 +43,11 @@
},
"dependencies": {
"web3-errors": "^1.3.0",
"web3-eth-accounts": "^4.2.0",
"web3-eth-accounts": "^4.2.1",
"web3-eth-iban": "^4.0.7",
"web3-providers-http": "^4.2.0",
"web3-providers-ws": "^4.0.8",
"web3-types": "^1.7.0",
"web3-types": "^1.8.0",
"web3-utils": "^4.3.1",
"web3-validator": "^2.0.6"
},
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 @@ -182,8 +182,10 @@ Documentation:

- fix encodedata in EIP-712 (#7095)

## [Unreleased]
## [4.2.4]

### Added

- 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]
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.3",
"version": "4.2.4",
"description": "Web3 module encode and decode EVM in/output.",
"main": "./lib/commonjs/index.js",
"module": "./lib/esm/index.js",
Expand Down Expand Up @@ -43,8 +43,8 @@
},
"dependencies": {
"abitype": "0.7.1",
"web3-errors": "^1.2.0",
"web3-types": "^1.7.0",
"web3-errors": "^1.3.0",
"web3-types": "^1.8.0",
"web3-utils": "^4.3.1",
"web3-validator": "^2.0.6"
},
Expand Down
4 changes: 3 additions & 1 deletion packages/web3-eth-personal/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -147,8 +147,10 @@ Documentation:

- Dependencies updated

## [Unreleased]
## [4.1.0]

### Changed

- Forwards the new `web3Context.config.customTransactionSchema` to `formatTransaction`

## [Unreleased]
16 changes: 8 additions & 8 deletions packages/web3-eth-personal/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "web3-eth-personal",
"version": "4.0.8",
"version": "4.1.0",
"description": "Web3 module to interact with the Ethereum blockchain accounts stored in the node.",
"main": "./lib/commonjs/index.js",
"module": "./lib/esm/index.js",
Expand Down Expand Up @@ -42,12 +42,12 @@
"test:integration": "jest --config=./test/integration/jest.config.js"
},
"dependencies": {
"web3-core": "^4.3.0",
"web3-eth": "^4.3.1",
"web3-rpc-methods": "^1.1.3",
"web3-types": "^1.3.0",
"web3-utils": "^4.0.7",
"web3-validator": "^2.0.3"
"web3-core": "^4.6.0",
"web3-eth": "^4.9.0",
"web3-rpc-methods": "^1.3.0",
"web3-types": "^1.8.0",
"web3-utils": "^4.3.1",
"web3-validator": "^2.0.6"
},
"devDependencies": {
"@types/jest": "^28.1.6",
Expand All @@ -62,6 +62,6 @@
"prettier": "^2.7.1",
"ts-jest": "^29.1.1",
"typescript": "^4.7.4",
"web3-providers-ws": "^4.0.7"
"web3-providers-ws": "^4.0.8"
}
}
4 changes: 3 additions & 1 deletion packages/web3-eth/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ Documentation:
- Adds transaction property to be an empty list rather than undefined when no transactions are included in the block (#7151)
- Change method `getTransactionReceipt` to not be casted as `TransactionReceipt` to give proper return type (#7159)

## [Unreleased]
## [4.9.0]

### Changed

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

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

## [Unreleased]
14 changes: 7 additions & 7 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.8.2",
"version": "4.9.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 @@ -59,18 +59,18 @@
"prettier": "^2.7.1",
"ts-jest": "^29.1.1",
"typescript": "^4.7.4",
"web3-providers-http": "^4.1.0"
"web3-providers-http": "^4.2.0"
},
"dependencies": {
"setimmediate": "^1.0.5",
"web3-core": "^4.5.0",
"web3-errors": "^1.2.1",
"web3-eth-abi": "^4.2.3",
"web3-eth-accounts": "^4.1.3",
"web3-core": "^4.6.0",
"web3-errors": "^1.3.0",
"web3-eth-abi": "^4.2.4",
"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.7.0",
"web3-types": "^1.8.0",
"web3-utils": "^4.3.1",
"web3-validator": "^2.0.6"
}
Expand Down
6 changes: 6 additions & 0 deletions packages/web3-types/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -202,4 +202,10 @@ Documentation:
- Added `result` as optional `never` and `error` as optional `never in type `JsonRpcNotification` (#7091)
- Added `JsonRpcNotfication` as a union type in `JsonRpcResponse` (#7091)

## [1.8.0]

### Added

- Add COMMITTED to BlockTags (#7124)

## [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.7.0",
"version": "1.8.0",
"description": "Provide the common data structures and interfaces for web3 modules.",
"main": "./lib/commonjs/index.js",
"module": "./lib/esm/index.js",
Expand Down
7 changes: 7 additions & 0 deletions packages/web3/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -482,4 +482,11 @@ Documentation:

- Revert `TransactionFactory.registerTransactionType` if there is a version mistatch between `web3-eth` and `web3-eth-accounts` and fix nextjs problem. (#7216)

## [4.13.0]

### Changed

- `Web3.providers` namespace exports `type EIP6963ProviderResponse = Map<string, EIP6963ProviderDetail>`. Return type for the static `Web3.requestEIP6963Providers` 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]
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.12.1",
"version": "4.13.0",
"description": "Ethereum JavaScript API",
"main": "./lib/commonjs/index.js",
"module": "./lib/esm/index.js",
Expand Down Expand Up @@ -86,21 +86,21 @@
"web3-providers-ipc": "^4.0.7"
},
"dependencies": {
"web3-core": "^4.5.1",
"web3-core": "^4.6.0",
"web3-errors": "^1.3.0",
"web3-eth": "^4.8.2",
"web3-eth-abi": "^4.2.3",
"web3-eth": "^4.9.0",
"web3-eth-abi": "^4.2.4",
"web3-eth-accounts": "^4.2.1",
"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-eth-personal": "^4.1.0",
"web3-net": "^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.2",
"web3-types": "^1.7.0",
"web3-types": "^1.8.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.12.1' };
/* eslint-disable header/header */ export const Web3PkgInfo = { version: '4.13.0' };
Loading