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.0.1 rc.1 #6016

Merged
merged 4 commits into from
Apr 20, 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
22 changes: 21 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -1290,13 +1290,21 @@ should use 4.0.1-alpha.0 for testing.
- Fix contract defaults (#5756)
- Fixed getPastEventsError (#5819)

## [Unreleased]
## [4.0.1-rc.1]

### Changed

#### web3

- No need for polyfilling nodejs `net` and `fs` modules (#5978)
- Removed IPC provider dependency, IPC path is no longer viable provider. If you wanna use IPC, please install `web3-providers-ipc` and instantiate provider yourself (#5978)

#### web3-core

- If a transaction object with a `data` property is passed to `txInputOptionsFormatter`, it will now be replaced with `input` (#5915)
- The types `TransactionTypeParser` and `TransactionBuilder` are now utilizing the type `Transaction` for the transaction object. (#5993)
- No need for polyfilling nodejs `net` and `fs` modules (#5978)
- Removed IPC provider dependency, IPC path is no longer viable provider. If you wanna use IPC, please install `web3-providers-ipc` and instantiate provider yourself (#5978)

#### web3-errors

Expand All @@ -1307,19 +1315,29 @@ should use 4.0.1-alpha.0 for testing.
- `signTransaction` will now return `gas` instead of `gasLimit` for returned transaction object regardless of what property name the provider uses (#5915)
- `formatTransaction` will now replace `data` transaction property with `input` (#5915)
- `isTransactionCall` will now check if `value.input` `isHexStrict` if provided (#5915)
- The functions `defaultTransactionBuilder` and `transactionBuilder` are now utilizing the type `Transaction` for the transaction object. (#5993)

#### web3-eth-accounts

- Moved @ethereumjs/tx, @ethereumjs/common code to our source code (#5963)
- The method `signTransaction` returned by `privateKeyToAccount` is now accepting the type `Transaction` for its argument. (#5993)

#### web3-eth-contract

- `getSendTxParams` will now return `input` instead of `data` in returned transaction parameters object (#5915)
- `Contract` constructor will now thrown new `ContractTransactionDataAndInputError` if both `data` and `input` are passed in `ContractInitOptions` for `Contract` constructor (#5915)
- The types `ContractInitOptions`, `NonPayableCallOptions` and `PayableCallOptions` are moved to `web3-types`. (#5993)

#### web3-types

- `data` property in `TransactionOutput` was renamed to `input` (#5915)
- The method `signTransaction` inside `Web3BaseWalletAccount` is now utilizing the type `Transaction` for its argument. (#5993)
- The types `FMT_NUMBER`, `NumberTypes`, `FMT_BYTES`, `ByteTypes`, `DataFormat`, `DEFAULT_RETURN_FORMAT`, `ETH_DATA_FORMAT` and `FormatType` moved from `web3-utils`. (#5993)
- The types `ContractInitOptions`, `NonPayableCallOptions` and `PayableCallOptions` are moved from `web3-eth-contract`. (#5993)

#### web3-utils

- The types `FMT_NUMBER`, `NumberTypes`, `FMT_BYTES`, `ByteTypes`, `DataFormat`, `DEFAULT_RETURN_FORMAT`, `ETH_DATA_FORMAT` and `FormatType` moved to `web3-types`. (#5993)

### Added

Expand Down Expand Up @@ -1441,3 +1459,5 @@ should use 4.0.1-alpha.0 for testing.
#### web3-eth-ens

- Bug fix of `checkNetwork` in ENS (#5988)

## [Unreleased]
11 changes: 5 additions & 6 deletions packages/web3-core/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,11 +83,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Added rpc exception codes following eip-1474 as an experimental feature (if `useRpcCallSpecification` at `enableExperimentalFeatures` is `true`) (#5525)
- Added support of `safe` and `finalized` block tags (#5823)

## [Unreleased]

### Breaking Changes

- removed IPC provider dependency, IPC path is no longer viable provider. If you wanna use IPC, please install `web3-providers-ipc` and instantiate provider yourself
## [4.0.1-rc.1]

### Added

Expand All @@ -98,8 +94,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

- If a transaction object with a `data` property is passed to `txInputOptionsFormatter`, it will now be replaced with `input` (#5915)
- The types `TransactionTypeParser` and `TransactionBuilder` are now utilizing the type `Transaction` for the transaction object. (#5993)
- no need for polyfilling nodejs `net` and `fs` modules
- No need for polyfilling nodejs `net` and `fs` modules (#5978)
- Removed IPC provider dependency, IPC path is no longer viable provider. If you wanna use IPC, please install `web3-providers-ipc` and instantiate provider yourself (#5978)

### Removed

- `getConfig` method from `Web3Config` class, `config` is now public and accessible using `Web3Config.config` (#5950)

## [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.0.1-rc.0",
"version": "4.0.1-rc.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,16 +42,16 @@
"test:integration": "jest --config=./test/integration/jest.config.js --passWithNoTests"
},
"dependencies": {
"web3-errors": "^1.0.0-rc.0",
"web3-eth-iban": "^4.0.1-rc.0",
"web3-providers-http": "^4.0.1-rc.0",
"web3-providers-ws": "^4.0.1-rc.0",
"web3-types": "^1.0.0-rc.0",
"web3-utils": "^4.0.1-rc.0",
"web3-validator": "^1.0.0-rc.0"
"web3-errors": "^1.0.0-rc.1",
"web3-eth-iban": "^4.0.1-rc.1",
"web3-providers-http": "^4.0.1-rc.1",
"web3-providers-ws": "^4.0.1-rc.1",
"web3-types": "^1.0.0-rc.1",
"web3-utils": "^4.0.1-rc.1",
"web3-validator": "^1.0.0-rc.1"
},
"optionalDependencies": {
"web3-providers-ipc": "^4.0.1-rc.0"
"web3-providers-ipc": "^4.0.1-rc.1"
},
"devDependencies": {
"@types/jest": "^28.1.6",
Expand Down
4 changes: 3 additions & 1 deletion packages/web3-errors/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- `data` property to `TransactionRevertInstructionError` (#5854)
- `TransactionRevertWithCustomError` was added to handle custom solidity errors (#5854)

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

### Added

Expand All @@ -96,3 +96,5 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Changed

- `gasLimit` is no longer accepted as a parameter for `MissingGasError` and `TransactionGasMismatchError, and is also no longer included in error message (#5915)

## [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.0.0-rc.0",
"version": "1.0.0-rc.1",
"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.0.0-rc.0"
"web3-types": "^1.0.0-rc.1"
},
"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 @@ -88,7 +88,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

- `decodeErrorData` from `web3-eth-contract` is now exported from this package and was renamed to `decodeContractErrorData` (#5844)

## [Unreleased]
## [4.0.1-rc.1]

### Added

Expand All @@ -98,3 +98,5 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Removed

- Removed `formatDecodedObject` function (#5934)

## [Unreleased]
8 changes: 4 additions & 4 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.0.1-rc.0",
"version": "4.0.1-rc.1",
"description": "Web3 module encode and decode EVM in/output.",
"main": "./lib/commonjs/index.js",
"module": "./lib/esm/index.js",
Expand Down Expand Up @@ -44,9 +44,9 @@
"dependencies": {
"@ethersproject/abi": "^5.7.0",
"@ethersproject/bignumber": "^5.7.0",
"web3-errors": "^1.0.0-rc.0",
"web3-types": "^1.0.0-rc.0",
"web3-utils": "^4.0.1-rc.0"
"web3-errors": "^1.0.0-rc.1",
"web3-types": "^1.0.0-rc.1",
"web3-utils": "^4.0.1-rc.1"
},
"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 @@ -71,7 +71,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

- Updated dependencies (#5912)

## [Unreleased]
## [4.0.1-rc.1]

### Added

Expand All @@ -82,3 +82,5 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

- Moved @ethereumjs/tx, @ethereumjs/common code to our source code (#5963)
- The method `signTransaction` returned by `privateKeyToAccount` is now accepting the type `Transaction` for its argument. (#5993)

## [Unreleased]
14 changes: 7 additions & 7 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.1-rc.0",
"version": "4.0.1-rc.1",
"description": "Package for managing Ethereum accounts and signing",
"main": "./lib/commonjs/index.js",
"module": "./lib/esm/index.js",
Expand Down Expand Up @@ -42,7 +42,6 @@
"test:integration": "jest --config=./test/integration/jest.config.js"
},
"devDependencies": {
"web3-providers-ipc": "^4.0.1-rc.0",
"@types/jest": "^28.1.6",
"@typescript-eslint/eslint-plugin": "^5.30.7",
"@typescript-eslint/parser": "^5.30.7",
Expand All @@ -55,15 +54,16 @@
"jest-when": "^3.5.1",
"prettier": "^2.7.1",
"ts-jest": "^28.0.7",
"typescript": "^4.7.4"
"typescript": "^4.7.4",
"web3-providers-ipc": "^4.0.1-rc.1"
},
"dependencies": {
"@ethereumjs/rlp": "^4.0.1",
"crc-32": "^1.2.2",
"ethereum-cryptography": "^1.1.2",
"web3-errors": "^1.0.0-rc.0",
"web3-types": "^1.0.0-rc.0",
"web3-utils": "^4.0.1-rc.0",
"web3-validator": "^1.0.0-rc.0"
"web3-errors": "^1.0.0-rc.1",
"web3-types": "^1.0.0-rc.1",
"web3-utils": "^4.0.1-rc.1",
"web3-validator": "^1.0.0-rc.1"
}
}
4 changes: 3 additions & 1 deletion packages/web3-eth-contract/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ const transactionHash = receipt.transactionHash;

- `decodeErrorData` is no longer exported (method was moved to `web3-eth-abi` and renamed `decodeContractErrorData`) (#5844)

## [Unreleased]
## [4.0.1-rc.1]

### Added

Expand All @@ -252,3 +252,5 @@ const transactionHash = receipt.transactionHash;
### Removed

- `data` was removed as a property of `ContractOptions` type (#5915)

## [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.0.1-rc.0",
"version": "4.0.1-rc.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.0.1-rc.0",
"web3-errors": "^1.0.0-rc.0",
"web3-eth": "^4.0.1-rc.0",
"web3-eth-abi": "^4.0.1-rc.0",
"web3-types": "^1.0.0-rc.0",
"web3-utils": "^4.0.1-rc.0",
"web3-validator": "^1.0.0-rc.0"
"web3-core": "^4.0.1-rc.1",
"web3-errors": "^1.0.0-rc.1",
"web3-eth": "^4.0.1-rc.1",
"web3-eth-abi": "^4.0.1-rc.1",
"web3-types": "^1.0.0-rc.1",
"web3-utils": "^4.0.1-rc.1",
"web3-validator": "^1.0.0-rc.1"
},
"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.1-rc.0"
"web3-eth-accounts": "^4.0.1-rc.1"
}
}
4 changes: 3 additions & 1 deletion packages/web3-eth-ens/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

- Updated dependencies (#5912)

## [Unreleased]
## [4.0.1-rc.1]

### Added

Expand All @@ -81,3 +81,5 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Fixed

- Bug fix of `checkNetwork` in ENS (#5988)

## [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.1-rc.0",
"version": "4.0.1-rc.1",
"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.0.1-rc.0",
"web3-errors": "^1.0.0-rc.0",
"web3-eth": "^4.0.1-rc.0",
"web3-eth-contract": "^4.0.1-rc.0",
"web3-net": "^4.0.1-rc.0",
"web3-types": "^1.0.0-rc.0",
"web3-utils": "^4.0.1-rc.0",
"web3-validator": "1.0.0-rc.0"
"web3-core": "^4.0.1-rc.1",
"web3-errors": "^1.0.0-rc.1",
"web3-eth": "^4.0.1-rc.1",
"web3-eth-contract": "^4.0.1-rc.1",
"web3-net": "^4.0.1-rc.1",
"web3-types": "^1.0.0-rc.1",
"web3-utils": "^4.0.1-rc.1",
"web3-validator": "^1.0.0-rc.1"
}
}
4 changes: 3 additions & 1 deletion packages/web3-eth-iban/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

- Updated dependencies (#5912)

## [Unreleased]
## [4.0.1-rc.1]

### Added

- Added source files (#5956)
- Added hybrid build (ESM and CJS) of library (#5904)

## [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.1-rc.0",
"version": "4.0.1-rc.1",
"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.0.0-rc.0",
"web3-types": "^1.0.0-rc.0",
"web3-utils": "^4.0.1-rc.0",
"web3-validator": "1.0.0-rc.0"
"web3-errors": "^1.0.0-rc.1",
"web3-types": "^1.0.0-rc.1",
"web3-utils": "^4.0.1-rc.1",
"web3-validator": "^1.0.0-rc.1"
}
}
4 changes: 3 additions & 1 deletion packages/web3-eth-personal/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

- Updated dependencies (#5912)

## [Unreleased]
## [4.0.1-rc.1]

### Added

- Added source files (#5956)
- Added hybrid build (ESM and CJS) of library (#5904)

## [Unreleased]
Loading