Skip to content
This repository was archived by the owner on Mar 5, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from 2 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
93 changes: 19 additions & 74 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2563,101 +2563,46 @@ If there are any bugs, improvements, optimizations or any new feature proposal f

- `getName` reverse resolution

## [Unreleased]
## [4.12.0]

### Fixed

#### web3-eth

- Fixed geth issue when running a new instance, transactions will index when there are no blocks created (#7098)

### Added

#### web3

- `web3.eth.Contract` will get transaction middleware and use it, if `web3.eth` has transaction middleware. (#7138)

#### web3-eth-contract

- `populateTransaction` was added to contract methods (#7124)
- Contract has `setTransactionMiddleware` and `getTransactionMiddleware` for automatically passing to `sentTransaction` for `deploy` and `send` functions (#7138)

## [4.11.0]

### Fixed

#### web3-eth-abi

- fix encodedata in EIP-712 (#7095)

#### web3-utils

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

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

- Fixed geth issue when running a new instance, transactions will index when there are no blocks created (#7098)

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

#### web3-eth-accounts

- baseTransaction method updated (#7095)

#### web3-providers-ws

- Update dependancies (#7109)

#### web3-plugin-example

- Dependencies updated

#### web3-rpc-providers

- Change request return type `Promise<ResultType>` to `Promise<JsonRpcResponseWithResult<ResultType>>` (#7102)
- Fix `TransactionFactory.registerTransactionType` not working, if there is a version mistatch between `web3-eth` and `web3-eth-accounts` by saving `extraTxTypes` at `globals`. (#7197)

### Added

#### web3-eth-contract
#### web3-eth-accounts

- `populateTransaction` was added to contract methods (#7124)
- Contract has `setTransactionMiddleware` and `getTransactionMiddleware` for automatically passing to `sentTransaction` for `deploy` and `send` functions (#7138)
- Added public function `signMessageWithPrivateKey` (#7174)

#### web3-rpc-providers
#### web3-eth-contract

- When error is returned with code 429, throw rate limit error (#7102)
- Added `populateTransaction` to the `contract.deploy(...)` properties. (#7197)

#### web3
#### web3-providers-http

- `web3.eth.Contract` will get transaction middleware and use it, if `web3.eth` has transaction middleware. (#7138)
- Added `statusCode` of response in ResponseError, `statusCode` is optional property in ResponseError.

## [4.11.1]
#### web3-rpc-providers

### Fixed
- Updated rate limit error of QuickNode provider for HTTP transport
- Added optional `HttpProviderOptions | SocketOptions` in `Web3ExternalProvider` and `QuickNodeProvider` for provider configs

#### web3-errors

- Fixed the undefined data in `Eip838ExecutionError` constructor (#6905)

#### web3-eth
- Added optional `statusCode` property of response in ResponseError.

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

#### web3

- Remove redundant constructor of contractBuilder (#7150)

## [Unreleased]

### Fixed

#### web3-utils

- Fixed format schema with `oneOf` doesn't work correctly (#7055)
### Changed

### Added
#### web3-eth-contract

#### web3-eth-accounts
- The returnred properties of `contract.deploy(...)` are structured with a newly created class named `DeployerMethodClass`. (#7197)
- Add a missed accepted type for the `abi` parameter, at `dataInputEncodeMethodHelper` and `getSendTxParams`. (#7197)

- Added public function `signMessageWithPrivateKey` (#7174)
## [Unreleased]
4 changes: 3 additions & 1 deletion packages/web3-core/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -227,8 +227,10 @@ Documentation:

- Now when existing packages are added in web3, will be avalible for plugins via context. (#7088)

## [Unreleased]
## [4.5.1]

### Fixed

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

## [Unreleased]
12 changes: 6 additions & 6 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.0",
"version": "4.5.1",
"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 @@ -42,13 +42,13 @@
"test:integration": "jest --config=./test/integration/jest.config.js --passWithNoTests"
},
"dependencies": {
"web3-errors": "^1.2.0",
"web3-eth-accounts": "^4.1.2",
"web3-errors": "^1.3.0",
"web3-eth-accounts": "^4.2.0",
"web3-eth-iban": "^4.0.7",
"web3-providers-http": "^4.1.0",
"web3-providers-ws": "^4.0.7",
"web3-providers-http": "^4.2.0",
"web3-providers-ws": "^4.0.8",
"web3-types": "^1.7.0",
"web3-utils": "^4.3.0",
"web3-utils": "^4.3.1",
"web3-validator": "^2.0.6"
},
"optionalDependencies": {
Expand Down
6 changes: 4 additions & 2 deletions packages/web3-errors/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -178,8 +178,10 @@ Documentation:

- Fixed the undefined data in `Eip838ExecutionError` constructor (#6905)

## [Unreleased]
## [1.3.0]

### Added

- Added optional `statusCode` property of response in ResponseError.
- Added optional `statusCode` property of response in ResponseError.

## [Unreleased]
2 changes: 1 addition & 1 deletion packages/web3-errors/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "web3-errors",
"version": "1.2.1",
"version": "1.3.0",
"description": "This package has web3 error classes",
"main": "./lib/commonjs/index.js",
"module": "./lib/esm/index.js",
Expand Down
5 changes: 4 additions & 1 deletion packages/web3-eth-accounts/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -168,10 +168,13 @@ Documentation:

- baseTransaction method updated (#7095)

## [Unreleased]
## [4.2.0]

### Added

- Added public function `signMessageWithPrivateKey` (#7174)

### Fixed
- Fix `TransactionFactory.registerTransactionType` not working, if there is a version mistatch between `web3-eth` and `web3-eth-accounts` by saving `extraTxTypes` at `globals`. (#7197)

## [Unreleased]
4 changes: 2 additions & 2 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.3",
"version": "4.2.0",
"description": "Package for managing Ethereum accounts and signing",
"main": "./lib/commonjs/index.js",
"module": "./lib/esm/index.js",
Expand Down Expand Up @@ -61,7 +61,7 @@
"@ethereumjs/rlp": "^4.0.1",
"crc-32": "^1.2.2",
"ethereum-cryptography": "^2.0.0",
"web3-errors": "^1.2.0",
"web3-errors": "^1.3.0",
"web3-types": "^1.7.0",
"web3-utils": "^4.3.1",
"web3-validator": "^2.0.6"
Expand Down
4 changes: 3 additions & 1 deletion packages/web3-eth-contract/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,7 @@ Documentation:
- `populateTransaction` was added to contract methods (#7124)
- Contract has `setTransactionMiddleware` and `getTransactionMiddleware` for automatically passing to `sentTransaction` for `deploy` and `send` functions (#7138)

## [Unreleased]
## [4.7.0]

### Added

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

- The returnred properties of `contract.deploy(...)` are structured with a newly created class named `DeployerMethodClass`. (#7197)
- Add a missed accepted type for the `abi` parameter, at `dataInputEncodeMethodHelper` and `getSendTxParams`. (#7197)

## [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.6.0",
"version": "4.7.0",
"description": "Web3 module to interact with Ethereum smart contracts.",
"main": "./lib/commonjs/index.js",
"module": "./lib/esm/index.js",
Expand Down Expand Up @@ -46,9 +46,9 @@
},
"dependencies": {
"@ethereumjs/rlp": "^5.0.2",
"web3-core": "^4.5.0",
"web3-errors": "^1.2.0",
"web3-eth": "^4.8.1",
"web3-core": "^4.5.1",
"web3-errors": "^1.3.0",
"web3-eth": "^4.8.2",
"web3-eth-abi": "^4.2.3",
"web3-types": "^1.7.0",
"web3-utils": "^4.3.1",
Expand All @@ -69,7 +69,7 @@
"prettier": "^2.7.1",
"ts-jest": "^29.1.1",
"typescript": "^4.7.4",
"web3-eth-accounts": "^4.1.3",
"web3-eth-accounts": "^4.2.0",
"web3-providers-ws": "^4.0.8"
}
}
6 changes: 4 additions & 2 deletions packages/web3-providers-http/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,10 @@ Documentation:

- Fix issue lquixada/cross-fetch#78, enabling to run web3.js in service worker (#6463)

## [Unreleased]
## [4.2.0]

### Added

- Added `statusCode` of response in ResponseError, `statusCode` is optional property in ResponseError.
- Added `statusCode` of response in ResponseError, `statusCode` is optional property in ResponseError.

## [Unreleased]
8 changes: 4 additions & 4 deletions packages/web3-providers-http/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "web3-providers-http",
"version": "4.1.0",
"version": "4.2.0",
"description": "HTTP provider for Web3 4.x.x",
"main": "./lib/commonjs/index.js",
"module": "./lib/esm/index.js",
Expand Down Expand Up @@ -61,8 +61,8 @@
},
"dependencies": {
"cross-fetch": "^4.0.0",
"web3-errors": "^1.1.3",
"web3-types": "^1.3.0",
"web3-utils": "^4.0.7"
"web3-errors": "^1.3.0",
"web3-types": "^1.7.0",
"web3-utils": "^4.3.1"
}
}
6 changes: 4 additions & 2 deletions packages/web3-rpc-providers/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

- Change request return type `Promise<ResultType>` to `Promise<JsonRpcResponseWithResult<ResultType>>` (#7102)

## [Unreleased]
## [1.0.0-rc.2]

### Added

- Updated rate limit error of QuickNode provider for HTTP transport
- Added optional `HttpProviderOptions | SocketOptions` in `Web3ExternalProvider` and `QuickNodeProvider` for provider configs
- Added optional `HttpProviderOptions | SocketOptions` in `Web3ExternalProvider` and `QuickNodeProvider` for provider configs

## [Unreleased]
6 changes: 3 additions & 3 deletions packages/web3-rpc-providers/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "web3-rpc-providers",
"version": "1.0.0-rc.1",
"version": "1.0.0-rc.2",
"description": "Web3 Providers package",
"main": "./lib/commonjs/index.js",
"module": "./lib/esm/index.js",
Expand Down Expand Up @@ -57,8 +57,8 @@
"typescript": "^4.7.4"
},
"dependencies": {
"web3-errors": "^1.2.0",
"web3-providers-http": "^4.1.0",
"web3-errors": "^1.3.0",
"web3-providers-http": "^4.2.0",
"web3-providers-ws": "^4.0.8",
"web3-types": "^1.7.0",
"web3-utils": "^4.3.1",
Expand Down
43 changes: 43 additions & 0 deletions packages/web3/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -436,4 +436,47 @@ Documentation:

- Remove redundant constructor of contractBuilder (#7150)


## [4.12.0]

### Fixed

#### web3-core

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

#### web3-eth-accounts

- Fix `TransactionFactory.registerTransactionType` not working, if there is a version mistatch between `web3-eth` and `web3-eth-accounts` by saving `extraTxTypes` at `globals`. (#7197)

### Added

#### web3-eth-accounts

- Added public function `signMessageWithPrivateKey` (#7174)

#### web3-eth-contract

- Added `populateTransaction` to the `contract.deploy(...)` properties. (#7197)

#### web3-providers-http

- Added `statusCode` of response in ResponseError, `statusCode` is optional property in ResponseError.

#### web3-rpc-providers

- Updated rate limit error of QuickNode provider for HTTP transport
- Added optional `HttpProviderOptions | SocketOptions` in `Web3ExternalProvider` and `QuickNodeProvider` for provider configs

#### web3-errors

- Added optional `statusCode` property of response in ResponseError.

### Changed

#### web3-eth-contract

- The returnred properties of `contract.deploy(...)` are structured with a newly created class named `DeployerMethodClass`. (#7197)
- Add a missed accepted type for the `abi` parameter, at `dataInputEncodeMethodHelper` and `getSendTxParams`. (#7197)

## [Unreleased]
Loading
Loading