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/v4.9.0 #7057

Merged
merged 3 commits into from
May 23, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
18 changes: 18 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2456,6 +2456,10 @@ If there are any bugs, improvements, optimizations or any new feature proposal f

- `defaultReturnFormat` was added to the configuration options. (#6947)

#### web3-errors

- Added `InvalidIntegerError` error for fromWei and toWei (#7052)

#### web3-eth

- `defaultReturnFormat` was added to all methods that have `ReturnType` param. (#6947)
Expand All @@ -2480,6 +2484,8 @@ If there are any bugs, improvements, optimizations or any new feature proposal f

#### web3-utils

- `toWei` add warning when using large numbers or large decimals that may cause precision loss (#6908)
- `toWei` and `fromWei` now supports integers as a unit. (#7053)

### Fixed

Expand All @@ -2489,9 +2495,17 @@ If there are any bugs, improvements, optimizations or any new feature proposal f

#### web3-utils

- `toWei` support numbers in scientific notation (#6908)
- `toWei` and `fromWei` trims according to ether unit successfuly (#7044)

#### web3-validator

- The JSON schema conversion process now correctly assigns an id when the `abi.name` is not available, for example, in the case of public mappings. (#6981)
- `browser` entry point that was pointing to an non-existing bundle file was removed from `package.json` (#7015)

#### web3-core

- Set a try catch block if processesingError fails (#7022)

### Changed

Expand All @@ -2504,6 +2518,10 @@ If there are any bugs, improvements, optimizations or any new feature proposal f
- Added parameter `customTransactionReceiptSchema` into methods `emitConfirmation`, `waitForTransactionReceipt`, `watchTransactionByPolling`, `watchTransactionBySubscription`, `watchTransactionForConfirmations` (#7000)
- Changed functionality: For networks that returns `baseFeePerGas===0x0` fill `maxPriorityFeePerGas` and `maxFeePerGas` by `getGasPrice` method (#7050)

#### web3-eth-abi

- Dependencies updated

#### web3-rpc-methods

- Change `estimateGas` method to add possibility pass Transaction type (#7000)
3 changes: 3 additions & 0 deletions packages/web3-core/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -217,3 +217,6 @@ Documentation:

- Interface `RequestManagerMiddleware` was changed (#7003)

### Fixed

- Set a try catch block if processesingError fails (#7022)
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.3.2",
"version": "4.4.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,14 +42,14 @@
"test:integration": "jest --config=./test/integration/jest.config.js --passWithNoTests"
},
"dependencies": {
"web3-errors": "^1.1.4",
"web3-errors": "^1.2.0",
"web3-eth-accounts": "^4.1.2",
"web3-eth-iban": "^4.0.7",
"web3-eth-accounts": "^4.1.0",
"web3-providers-http": "^4.1.0",
"web3-providers-ws": "^4.0.7",
"web3-types": "^1.3.1",
"web3-utils": "^4.1.0",
"web3-validator": "^2.0.3"
"web3-types": "^1.7.0",
"web3-utils": "^4.3.0",
"web3-validator": "^2.0.6"
},
"optionalDependencies": {
"web3-providers-ipc": "^4.0.7"
Expand Down
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.4",
"version": "1.2.0",
"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.3.1"
"web3-types": "^1.7.0"
},
"devDependencies": {
"@types/jest": "^28.1.6",
Expand Down
6 changes: 5 additions & 1 deletion packages/web3-eth-abi/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -170,4 +170,8 @@ Documentation:

- Dependencies updated

## [Unreleased]
## [Unreleased]

### Changed

- Dependencies updated
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.2.1",
"version": "4.3.0",
luu-alex marked this conversation as resolved.
Show resolved Hide resolved
"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-errors": "^1.1.4",
"web3-types": "^1.6.0",
"web3-utils": "^4.2.3",
"web3-validator": "^2.0.5"
"web3-errors": "^1.2.0",
"web3-types": "^1.7.0",
"web3-utils": "^4.3.0",
"web3-validator": "^2.0.6"
},
"devDependencies": {
"@humeris/espresso-shot": "^4.0.0",
Expand Down
16 changes: 8 additions & 8 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.4.0",
"version": "4.5.0",
"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.3.2",
"web3-errors": "^1.1.4",
"web3-eth": "^4.6.0",
"web3-eth-abi": "^4.2.1",
"web3-types": "^1.6.0",
"web3-utils": "^4.2.3",
"web3-validator": "^2.0.5"
"web3-core": "^4.4.0",
"web3-errors": "^1.2.0",
"web3-eth": "^4.7.0",
"web3-eth-abi": "^4.3.0",
"web3-types": "^1.7.0",
"web3-utils": "^4.3.0",
"web3-validator": "^2.0.6"
},
"devDependencies": {
"@humeris/espresso-shot": "^4.0.0",
Expand Down
1 change: 1 addition & 0 deletions packages/web3-eth-ens/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -156,4 +156,5 @@ Documentation:
## [Unreleased]

### Added

- `defaultReturnFormat` was added to all methods that have `ReturnType` param. (#6947)
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.2.0",
"version": "4.3.0",
"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.3.2",
"web3-errors": "^1.1.4",
"web3-eth": "^4.5.0",
"web3-eth-contract": "^4.3.0",
"web3-net": "^4.0.7",
"web3-types": "^1.5.0",
"web3-utils": "^4.2.2",
"web3-validator": "^2.0.5"
"web3-core": "^4.4.0",
"web3-errors": "^1.2.0",
"web3-eth": "^4.7.0",
"web3-eth-contract": "^4.5.0",
"web3-net": "^4.1.0",
"web3-types": "^1.7.0",
"web3-utils": "^4.3.0",
"web3-validator": "^2.0.6"
}
}
18 changes: 9 additions & 9 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.6.0",
"version": "4.7.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.3.2",
"web3-errors": "^1.1.4",
"web3-eth-abi": "^4.2.1",
"web3-core": "^4.4.0",
"web3-errors": "^1.2.0",
"web3-eth-abi": "^4.3.0",
"web3-eth-accounts": "^4.1.2",
"web3-net": "^4.0.7",
"web3-net": "^4.1.0",
"web3-providers-ws": "^4.0.7",
"web3-rpc-methods": "^1.2.0",
"web3-types": "^1.6.0",
"web3-utils": "^4.2.3",
"web3-validator": "^2.0.5"
"web3-rpc-methods": "^1.3.0",
"web3-types": "^1.7.0",
"web3-utils": "^4.3.0",
"web3-validator": "^2.0.6"
}
}
1 change: 1 addition & 0 deletions packages/web3-net/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -144,4 +144,5 @@ Documentation:
## [Unreleased]

### Added

- `defaultReturnFormat` was added to all methods that have `ReturnType` param. (#6947)
10 changes: 5 additions & 5 deletions packages/web3-net/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "web3-net",
"version": "4.0.7",
"version": "4.1.0",
"description": "Web3 module to interact with the Ethereum nodes networking properties.",
"main": "./lib/commonjs/index.js",
"module": "./lib/esm/index.js",
Expand Down Expand Up @@ -56,9 +56,9 @@
"typescript": "^4.7.4"
},
"dependencies": {
"web3-core": "^4.3.0",
"web3-rpc-methods": "^1.1.3",
"web3-types": "^1.3.0",
"web3-utils": "^4.0.7"
"web3-core": "^4.4.0",
"web3-rpc-methods": "^1.3.0",
"web3-types": "^1.7.0",
"web3-utils": "^4.3.0"
}
}
8 changes: 4 additions & 4 deletions packages/web3-rpc-methods/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "web3-rpc-methods",
"version": "1.2.0",
"version": "1.3.0",
"description": "Ethereum RPC methods for Web3 4.x.x",
"main": "./lib/commonjs/index.js",
"module": "./lib/esm/index.js",
Expand Down Expand Up @@ -56,8 +56,8 @@
"typescript": "^4.7.4"
},
"dependencies": {
"web3-core": "^4.3.2",
"web3-types": "^1.5.0",
"web3-validator": "^2.0.4"
"web3-core": "^4.4.0",
"web3-types": "^1.7.0",
"web3-validator": "^2.0.6"
}
}
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.6.0",
"version": "1.7.0",
"description": "Provide the common data structures and interfaces for web3 modules.",
"main": "./lib/commonjs/index.js",
"module": "./lib/esm/index.js",
Expand Down
8 changes: 4 additions & 4 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.2.3",
"version": "4.3.0",
"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.1.4",
"web3-types": "^1.6.0",
"web3-validator": "^2.0.5"
"web3-errors": "^1.2.0",
"web3-types": "^1.7.0",
"web3-validator": "^2.0.6"
}
}
2 changes: 1 addition & 1 deletion packages/web3-validator/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -172,5 +172,5 @@ Documentation:

### Fixed

- The JSON schema conversion process now correctly assigns an id when the `abi.name` is not available, for example, in the case of public mappings.
- The JSON schema conversion process now correctly assigns an id when the `abi.name` is not available, for example, in the case of public mappings. (#6981)
- `browser` entry point that was pointing to an non-existing bundle file was removed from `package.json` (#7015)
6 changes: 3 additions & 3 deletions packages/web3-validator/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "web3-validator",
"version": "2.0.5",
"version": "2.0.6",
"description": "JSON-Schema compatible validator for web3",
"main": "./lib/commonjs/index.js",
"module": "./lib/esm/index.js",
Expand Down Expand Up @@ -46,8 +46,8 @@
"dependencies": {
"ethereum-cryptography": "^2.0.0",
"util": "^0.12.5",
"web3-errors": "^1.1.4",
"web3-types": "^1.5.0",
"web3-errors": "^1.2.0",
"web3-types": "^1.7.0",
"zod": "^3.21.4"
},
"devDependencies": {
Expand Down
24 changes: 12 additions & 12 deletions packages/web3/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "web3",
"version": "4.8.0",
"version": "4.9.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.3.2",
"web3-errors": "^1.1.4",
"web3-eth": "^4.6.0",
"web3-eth-abi": "^4.2.1",
"web3-core": "^4.4.0",
"web3-errors": "^1.2.0",
"web3-eth": "^4.7.0",
"web3-eth-abi": "^4.3.0",
"web3-eth-accounts": "^4.1.2",
"web3-eth-contract": "^4.4.0",
"web3-eth-ens": "^4.2.0",
"web3-eth-contract": "^4.5.0",
"web3-eth-ens": "^4.3.0",
"web3-eth-iban": "^4.0.7",
"web3-eth-personal": "^4.0.8",
"web3-net": "^4.0.7",
"web3-net": "^4.1.0",
"web3-providers-http": "^4.1.0",
"web3-providers-ws": "^4.0.7",
"web3-rpc-methods": "^1.2.0",
"web3-types": "^1.6.0",
"web3-utils": "^4.2.3",
"web3-validator": "^2.0.5"
"web3-rpc-methods": "^1.3.0",
"web3-types": "^1.7.0",
"web3-utils": "^4.3.0",
"web3-validator": "^2.0.6"
}
}
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.8.0' };
/* eslint-disable header/header */ export const Web3PkgInfo = { version: '4.9.0' };
Loading