Skip to content

Commit

Permalink
version bump and changelog updates
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Luu committed Jun 11, 2024
1 parent 7a51c33 commit 2318dda
Show file tree
Hide file tree
Showing 16 changed files with 207 additions and 42 deletions.
39 changes: 38 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2526,4 +2526,41 @@ If there are any bugs, improvements, optimizations or any new feature proposal f

- Change `estimateGas` method to add possibility pass Transaction type (#7000)

## [Unreleased]
## [4.10.0]

### Added

#### web3

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

#### web3-core

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

#### web3-eth

- `sendTransaction` in `rpc_method_wrappers` accepts optional param of `TransactionMiddleware` (#7088)
- WebEth has `setTransactionMiddleware` and `getTransactionMiddleware` for automatically passing to `sentTransaction` (#7088)

#### web3-eth-ens

- `getText` now supports first param Address
- `getName` has optional second param checkInterfaceSupport

### web3-types

- Added `result` as optional `never` and `error` as optional `never in type `JsonRpcNotification` (#7091)
- Added `JsonRpcNotfication` as a union type in `JsonRpcResponse` (#7091)

### web3-rpc-providers

- Alpha release

### Fixed

#### web3-eth-ens

- `getName` reverse resolution

## [Unreleased]
6 changes: 4 additions & 2 deletions packages/web3-core/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -221,8 +221,10 @@ Documentation:

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

## [Unreleased]
## [4.5.0]

### Added

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

## [Unreleased]
4 changes: 2 additions & 2 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.4.0",
"version": "4.5.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 @@ -47,7 +47,7 @@
"web3-eth-iban": "^4.0.7",
"web3-providers-http": "^4.1.0",
"web3-providers-ws": "^4.0.7",
"web3-types": "^1.6.0",
"web3-types": "^1.7.0",
"web3-utils": "^4.3.0",
"web3-validator": "^2.0.6"
},
Expand Down
6 changes: 4 additions & 2 deletions packages/web3-eth-ens/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ Documentation:

- `defaultReturnFormat` was added to all methods that have `ReturnType` param. (#6947)

## [Unreleased]
## [4.4.0]

### Added

Expand All @@ -168,4 +168,6 @@ Documentation:

### Fixed

- `getName` reverse resolution
- `getName` reverse resolution

## [Unreleased]
8 changes: 4 additions & 4 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.3.0",
"version": "4.4.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,12 +59,12 @@
},
"dependencies": {
"@adraffy/ens-normalize": "^1.8.8",
"web3-core": "^4.4.0",
"web3-core": "^4.5.0",
"web3-errors": "^1.2.0",
"web3-eth": "^4.7.0",
"web3-eth": "^4.8.0",
"web3-eth-contract": "^4.5.0",
"web3-net": "^4.1.0",
"web3-types": "^1.6.0",
"web3-types": "^1.7.0",
"web3-utils": "^4.3.0",
"web3-validator": "^2.0.6"
}
Expand Down
6 changes: 4 additions & 2 deletions packages/web3-eth/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -248,10 +248,12 @@ Documentation:

- Fixed issue with simple transactions, Within `checkRevertBeforeSending` if there is no data set in transaction, set gas to be `21000` (#7043)

## [Unreleased]
## [4.8.0]

### Added

- `sendTransaction` in `rpc_method_wrappers` accepts optional param of `TransactionMiddleware` (#7088)
- WebEth has `setTransactionMiddleware` and `getTransactionMiddleware` for automatically passing to `sentTransaction` (#7088)
- `TransactionMiddleware` and `TransactionMiddleware` data types are exported (#7088)
- `TransactionMiddleware` and `TransactionMiddleware` data types are exported (#7088)

## [Unreleased]
6 changes: 3 additions & 3 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.7.0",
"version": "4.8.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,14 +63,14 @@
},
"dependencies": {
"setimmediate": "^1.0.5",
"web3-core": "^4.4.0",
"web3-core": "^4.5.0",
"web3-errors": "^1.2.0",
"web3-eth-abi": "^4.2.2",
"web3-eth-accounts": "^4.1.2",
"web3-net": "^4.1.0",
"web3-providers-ws": "^4.0.7",
"web3-rpc-methods": "^1.3.0",
"web3-types": "^1.6.0",
"web3-types": "^1.7.0",
"web3-utils": "^4.3.0",
"web3-validator": "^2.0.6"
}
Expand Down
6 changes: 6 additions & 0 deletions packages/web3-rpc-providers/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
-->

## [0.1.0-alpha.1]

#### Added

- Alpha release

## [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": "0.1.0",
"version": "1.0.0-alpha.0",
"description": "Web3 Providers package",
"main": "./lib/commonjs/index.js",
"module": "./lib/esm/index.js",
Expand Down Expand Up @@ -58,7 +58,7 @@
"dependencies": {
"web3-providers-http": "^4.1.0",
"web3-providers-ws": "^4.0.7",
"web3-types": "^1.6.0",
"web3-utils": "^4.2.3"
"web3-types": "^1.7.0",
"web3-utils": "^4.3.0"
}
}
9 changes: 9 additions & 0 deletions packages/web3-types/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -195,3 +195,12 @@ Documentation:

- Added `signature` to type `AbiFunctionFragment` (#6922)
- update type `Withdrawals`, `block` and `BlockHeaderOutput` to include properties of eip 4844, 4895, 4788 (#6933)

## [1.7.0]

### Added

- Added `result` as optional `never` and `error` as optional `never in type `JsonRpcNotification` (#7091)
- Added `JsonRpcNotfication` as a union type in `JsonRpcResponse` (#7091)

## [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.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
111 changes: 109 additions & 2 deletions packages/web3/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -266,12 +266,119 @@ Documentation:

### Added

#### web3

- Updated type `Web3EthInterface.accounts` to includes `privateKeyToAccount`,`privateKeyToAddress`,and `privateKeyToPublicKey` (#6762)

## [Unreleased]
#### web3-core

- `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)
- `getTransactionFromOrToAttr`, `waitForTransactionReceipt`, `trySendTransaction`, `SendTxHelper` was exported (#7000)

#### web3-eth-contract

- `defaultReturnFormat` was added to all methods that have `ReturnType` param. (#6947)

#### web3-eth-ens

- `defaultReturnFormat` was added to all methods that have `ReturnType` param. (#6947)

#### web3-net

- `defaultReturnFormat` was added to all methods that have `ReturnType` param. (#6947)

#### web3-types

- Added `signature` to type `AbiFunctionFragment` (#6922)
- update type `Withdrawals`, `block` and `BlockHeaderOutput` to include properties of eip 4844, 4895, 4788 (#6933)

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

#### web3-eth

- Fixed issue with simple transactions, Within `checkRevertBeforeSending` if there is no data set in transaction, set gas to be `21000` (#7043)

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

#### web3-core

- Interface `RequestManagerMiddleware` was changed (#7003)

#### web3-eth

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

## [4.10.0]

### Added

#### web3

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

#### web3-core

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

#### web3-eth

- `sendTransaction` in `rpc_method_wrappers` accepts optional param of `TransactionMiddleware` (#7088)
- WebEth has `setTransactionMiddleware` and `getTransactionMiddleware` for automatically passing to `sentTransaction` (#7088)

#### web3-eth-ens

- `getText` now supports first param Address
- `getName` has optional second param checkInterfaceSupport

### web3-types

- Added `result` as optional `never` and `error` as optional `never in type `JsonRpcNotification` (#7091)
- Added `JsonRpcNotfication` as a union type in `JsonRpcResponse` (#7091)

### web3-rpc-providers

- Alpha release

### Fixed

#### web3-eth-ens

- `getName` reverse resolution

## [Unreleased]
14 changes: 7 additions & 7 deletions packages/web3/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "web3",
"version": "4.9.0",
"version": "4.10.0",
"description": "Ethereum JavaScript API",
"main": "./lib/commonjs/index.js",
"module": "./lib/esm/index.js",
Expand Down Expand Up @@ -86,22 +86,22 @@
"web3-providers-ipc": "^4.0.7"
},
"dependencies": {
"web3-core": "^4.4.0",
"web3-core": "^4.5.0",
"web3-errors": "^1.2.0",
"web3-eth": "^4.7.0",
"web3-eth": "^4.8.0",
"web3-eth-abi": "^4.2.2",
"web3-eth-accounts": "^4.1.2",
"web3-eth-contract": "^4.5.0",
"web3-eth-ens": "^4.3.0",
"web3-eth-ens": "^4.4.0",
"web3-eth-iban": "^4.0.7",
"web3-eth-personal": "^4.0.8",
"web3-net": "^4.1.0",
"web3-providers-http": "^4.1.0",
"web3-providers-ws": "^4.0.7",
"web3-rpc-methods": "^1.3.0",
"web3-types": "^1.6.0",
"web3-rpc-providers": "^1.0.0-alpha.0",
"web3-types": "^1.7.0",
"web3-utils": "^4.3.0",
"web3-validator": "^2.0.6",
"web3-rpc-providers": "^0.1.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.9.0' };
/* eslint-disable header/header */ export const Web3PkgInfo = { version: '4.10.0' };
6 changes: 3 additions & 3 deletions tools/web3-plugin-example/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

- Dependencies updated

## [Unreleased]

### Added

Transaction middleware (#7088)
Transaction middleware (#7088)

## [Unreleased]
Loading

0 comments on commit 2318dda

Please sign in to comment.