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.2.0 #6517

Merged
merged 2 commits into from
Oct 18, 2023
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
59 changes: 57 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2081,10 +2081,14 @@ If there are any bugs, improvements, optimizations or any new feature proposal f

- Dependencies updated

## [Unreleased]
## [4.2.0]

### Added

#### web3

- Various web3 sub packages has new functions details are in root changelog

#### web3-eth

- Added `ALL_EVENTS` and `ALL_EVENTS_ABI` constants, `SendTransactionEventsBase` type, `decodeEventABI` method (#6410)
Expand All @@ -2109,10 +2113,19 @@ If there are any bugs, improvements, optimizations or any new feature proposal f

- Fix the issue: "Uncaught TypeError: Class extends value undefined is not a constructor or null #6371". (#6398)

#### web3-errors

- Added new SchemaFormatError (#6434)

#### web3-eth

- Ensure provider.supportsSubscriptions exists before watching by subscription (#6440)
- Fixed param sent to `checkRevertBeforeSending` in `sendSignedTransaction`
- Fixed `defaultTransactionBuilder` for value issue (#6509)

#### web3-eth-abi

- Fix issue with default config with babel (and React): "TypeError: Cannot convert a BigInt value to a number #6187" (#6506)

#### web3-eth-accounts

Expand All @@ -2122,12 +2135,32 @@ If there are any bugs, improvements, optimizations or any new feature proposal f

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

#### web3-providers-ipc

- Fixed bug in chunks processing logic (#6496)

#### web3-providers-ws

- Fixed bug in chunks processing logic (#6496)

#### web3-utils

- Fix issue with default config with babel (and React): "TypeError: Cannot convert a BigInt value to a number #6187" (#6506)
- Fixed bug in chunks processing logic (#6496)

#### web3-validator

- Multi-dimensional arrays are now handled properly when parsing ABIs
- Multi-dimensional arrays are now handled properly when parsing ABIs (#6435)
- Fix issue with default config with babel (and React): "TypeError: Cannot convert a BigInt value to a number #6187" (#6506)
- Validator will now properly handle all valid numeric type sizes: intN / uintN where 8 <= N <= 256 and N % 8 == 0 (#6434)
- Will now throw SchemaFormatError when unsupported format is passed to `convertToZod` method (#6434)

### Changed

#### web3

- Dependencies updated

#### web3-core

- defaultTransactionType is now type 0x2 instead of 0x0 (#6282)
Expand All @@ -2142,6 +2175,28 @@ If there are any bugs, improvements, optimizations or any new feature proposal f

- The `events` property was added to the `receipt` object (#6410)

#### web3-eth-ens

- Dependencies updated

#### web3-eth-iban

- Dependencies updated

#### web3-eth-personal

- Dependencies updated

#### web3-net

- Dependencies updated

#### web3-providers-http

- Bump cross-fetch to version 4 (#6463).

#### web3-rpc-methods

- Dependencies updated

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

- Added to `Web3Config` property `contractDataInputFill` allowing users to have the choice using property `data`, `input` or `both` for contract methods to be sent to the RPC provider when creating contracts. (#6377) (#6400)

## [Unreleased]
## [4.3.0]

### Changed

Expand All @@ -190,3 +190,5 @@ Documentation:
### Fixed

- Fix the issue: "Uncaught TypeError: Class extends value undefined is not a constructor or null #6371". (#6398)

## [Unreleased]
18 changes: 9 additions & 9 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.2.0",
"version": "4.3.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 @@ -42,16 +42,16 @@
"test:integration": "jest --config=./test/integration/jest.config.js --passWithNoTests"
},
"dependencies": {
"web3-errors": "^1.1.2",
"web3-eth-iban": "^4.0.6",
"web3-providers-http": "^4.0.6",
"web3-providers-ws": "^4.0.6",
"web3-types": "^1.2.0",
"web3-utils": "^4.0.6",
"web3-validator": "^2.0.2"
"web3-errors": "^1.1.3",
"web3-eth-iban": "^4.0.7",
"web3-providers-http": "^4.1.0",
"web3-providers-ws": "^4.0.7",
"web3-types": "^1.3.0",
"web3-utils": "^4.0.7",
"web3-validator": "^2.0.3"
},
"optionalDependencies": {
"web3-providers-ipc": "^4.0.6"
"web3-providers-ipc": "^4.0.7"
},
"devDependencies": {
"@types/jest": "^28.1.6",
Expand Down
8 changes: 6 additions & 2 deletions packages/web3-errors/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,10 @@ Documentation:

- Dependencies updated

## [Unreleased]
## [1.1.3]

- Added new SchemaFormatError (#6434)
### Fixed

- Added new SchemaFormatError (#6434)

## [Unreleased]
4 changes: 2 additions & 2 deletions packages/web3-errors/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "web3-errors",
"version": "1.1.2",
"version": "1.1.3",
"description": "This package has web3 error classes",
"main": "./lib/commonjs/index.js",
"module": "./lib/esm/index.js",
Expand Down Expand Up @@ -41,7 +41,7 @@
"test:integration": "jest --config=./test/integration/jest.config.js --passWithNoTests"
},
"dependencies": {
"web3-types": "^1.2.0"
"web3-types": "^1.3.0"
},
"devDependencies": {
"@types/jest": "^28.1.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 @@ -142,8 +142,10 @@ Documentation:

- Dependencies updated

## [Unreleased]
## [4.1.3]

### Fixed

- Fix issue with default config with babel (and React): "TypeError: Cannot convert a BigInt value to a number #6187" (#6506)

## [Unreleased]
10 changes: 5 additions & 5 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.1.2",
"version": "4.1.3",
"description": "Web3 module encode and decode EVM in/output.",
"main": "./lib/commonjs/index.js",
"module": "./lib/esm/index.js",
Expand Down Expand Up @@ -43,10 +43,10 @@
},
"dependencies": {
"abitype": "0.7.1",
"web3-validator": "^2.0.2",
"web3-errors": "^1.1.2",
"web3-types": "^1.2.0",
"web3-utils": "^4.0.6"
"web3-errors": "^1.1.3",
"web3-types": "^1.3.0",
"web3-utils": "^4.0.7",
"web3-validator": "^2.0.3"
},
"devDependencies": {
"@humeris/espresso-shot": "^4.0.0",
Expand Down
4 changes: 3 additions & 1 deletion packages/web3-eth-accounts/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ Documentation:
- Fixed "The `r` and `s` returned by `sign` to does not always consist of 64 characters" (#6411)


## [Unreleased]
## [4.1.0]

### Added

Expand All @@ -148,3 +148,5 @@ Documentation:
### Fixed

- Fixed `recover` function, `v` will be normalized to value 0,1 (#6344)

## [Unreleased]
12 changes: 6 additions & 6 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.0.6",
"version": "4.1.0",
"description": "Package for managing Ethereum accounts and signing",
"main": "./lib/commonjs/index.js",
"module": "./lib/esm/index.js",
Expand Down Expand Up @@ -55,15 +55,15 @@
"prettier": "^2.7.1",
"ts-jest": "^28.0.7",
"typescript": "^4.7.4",
"web3-providers-ipc": "^4.0.6"
"web3-providers-ipc": "^4.0.7"
},
"dependencies": {
"@ethereumjs/rlp": "^4.0.1",
"crc-32": "^1.2.2",
"ethereum-cryptography": "^2.0.0",
"web3-errors": "^1.1.2",
"web3-types": "^1.2.0",
"web3-utils": "^4.0.6",
"web3-validator": "^2.0.2"
"web3-errors": "^1.1.3",
"web3-types": "^1.3.0",
"web3-utils": "^4.0.7",
"web3-validator": "^2.0.3"
}
}
4 changes: 3 additions & 1 deletion packages/web3-eth-contract/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -308,8 +308,10 @@ Documentation:
- Added to `Web3Config` property `contractDataInputFill` allowing users to have the choice using property `data`, `input` or `both` for contract methods to be sent to the RPC provider when creating contracts. (#6377)


## [Unreleased]
## [4.1.1]

### Changed

- The `events` property was added to the `receipt` object (#6410)

## [Unreleased]
18 changes: 9 additions & 9 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.1.0",
"version": "4.1.1",
"description": "Web3 module to interact with Ethereum smart contracts.",
"main": "./lib/commonjs/index.js",
"module": "./lib/esm/index.js",
Expand Down Expand Up @@ -45,13 +45,13 @@
"test:e2e:firefox": "npx cypress run --headless --browser firefox --env grep='ignore',invert=true"
},
"dependencies": {
"web3-core": "^4.2.0",
"web3-errors": "^1.1.2",
"web3-eth": "^4.2.0",
"web3-eth-abi": "^4.1.2",
"web3-types": "^1.2.0",
"web3-utils": "^4.0.6",
"web3-validator": "^2.0.2"
"web3-core": "^4.3.0",
"web3-errors": "^1.1.3",
"web3-eth": "^4.3.0",
"web3-eth-abi": "^4.1.3",
"web3-types": "^1.3.0",
"web3-utils": "^4.0.7",
"web3-validator": "^2.0.3"
},
"devDependencies": {
"@humeris/espresso-shot": "^4.0.0",
Expand All @@ -67,6 +67,6 @@
"prettier": "^2.7.1",
"ts-jest": "^28.0.7",
"typescript": "^4.7.4",
"web3-eth-accounts": "^4.0.6"
"web3-eth-accounts": "^4.1.0"
}
}
6 changes: 6 additions & 0 deletions packages/web3-eth-ens/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,4 +129,10 @@ Documentation:

- Dependencies updated

## [4.0.7]

### Changed

- Dependencies updated

## [Unreleased]
18 changes: 9 additions & 9 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.6",
"version": "4.0.7",
"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.2.0",
"web3-errors": "^1.1.2",
"web3-eth": "^4.2.0",
"web3-eth-contract": "^4.1.0",
"web3-net": "^4.0.6",
"web3-types": "^1.2.0",
"web3-utils": "^4.0.6",
"web3-validator": "^2.0.2"
"web3-core": "^4.3.0",
"web3-errors": "^1.1.3",
"web3-eth": "^4.3.0",
"web3-eth-contract": "^4.1.1",
"web3-net": "^4.0.7",
"web3-types": "^1.3.0",
"web3-utils": "^4.0.7",
"web3-validator": "^2.0.3"
}
}
6 changes: 6 additions & 0 deletions packages/web3-eth-iban/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,4 +119,10 @@ Documentation:

- Dependencies updated

## [4.0.7]

### Changed

- Dependencies updated

## [Unreleased]
10 changes: 5 additions & 5 deletions packages/web3-eth-iban/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "web3-eth-iban",
"version": "4.0.6",
"version": "4.0.7",
"description": "This package converts Ethereum addresses to IBAN addresses and vice versa.",
"main": "./lib/commonjs/index.js",
"module": "./lib/esm/index.js",
Expand Down Expand Up @@ -56,9 +56,9 @@
"typescript": "^4.7.4"
},
"dependencies": {
"web3-errors": "^1.1.2",
"web3-types": "^1.2.0",
"web3-utils": "^4.0.6",
"web3-validator": "^2.0.2"
"web3-errors": "^1.1.3",
"web3-types": "^1.3.0",
"web3-utils": "^4.0.7",
"web3-validator": "^2.0.3"
}
}
6 changes: 6 additions & 0 deletions packages/web3-eth-personal/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -135,4 +135,10 @@ Documentation:

- Dependencies updated

## [4.0.7]

### Changed

- Dependencies updated

## [Unreleased]
Loading
Loading