From 709b4fa04c18fbc4fb936c84162f115e84341656 Mon Sep 17 00:00:00 2001 From: luu-alex Date: Wed, 10 Jan 2024 14:23:18 -0500 Subject: [PATCH] release process --- CHANGELOG.md | 41 ++++++++++++++++--------- packages/web3-eth-abi/CHANGELOG.md | 4 ++- packages/web3-eth-abi/package.json | 10 +++--- packages/web3-eth-accounts/package.json | 10 +++--- packages/web3-eth-contract/CHANGELOG.md | 4 ++- packages/web3-eth-contract/package.json | 12 ++++---- packages/web3-eth/CHANGELOG.md | 4 ++- packages/web3-eth/package.json | 18 +++++------ packages/web3-utils/CHANGELOG.md | 4 ++- packages/web3-utils/package.json | 4 +-- packages/web3-validator/CHANGELOG.md | 4 ++- packages/web3-validator/package.json | 6 ++-- packages/web3/CHANGELOG.md | 5 ++- packages/web3/package.json | 14 ++++----- packages/web3/src/version.ts | 2 +- 15 files changed, 84 insertions(+), 58 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1b059877dff..84176cbefbd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2289,37 +2289,50 @@ If there are any bugs, improvements, optimizations or any new feature proposal f - Fix unnecessary array copy when pack encoding (#6553) -## [Unreleased] +## [4.4.0] ### Added -#### web3 - - #### web3-eth - Catch `TransactionPollingTimeoutError` was added to send transaction events (#6623) -#### web3-utils - -- `SocketProvider` now contains public function `getPendingRequestQueueSize`, `getSentRequestsQueueSize` and `clearQueues` (#6479) -- Added `safeDisconnect` as a `SocketProvider` method to disconnect only when request queue size and send request queue size is 0 (#6479) -- Add `isContractInitOptions` method (#6555) - ### Changed -#### web3-core +#### web3-eth-abi +- Use `AbiError` instead of `Error` for errors at web3-eth-abi (#6641). #### web3-eth-contract +- Allow the `deploy` function to accept parameters, even when no ABI was provided to the `Contract`(#6635) + +#### web3 + +- Dependencies updated ### Fixed -#### web3-rpc-methods +#### web3-eth-abi -- Fix web3-types import #6590 (#6589) +- Fixed an issue with detecting Uint8Array (#6486) + +#### web3-eth-accounts + +- Send Transaction config used to be ignored if the passed `common` did not have a `copy()` and the `chainId` was not provided (#6663) +- Fixed an issue with detecting Uint8Array (#6486) + +#### web3-eth-contract + +- Fix and error that happen when trying to get past events by calling `contract.getPastEvents` or `contract.events.allEvents()`, if there is no matching events. (#6647) +- Fixed: The Contract is not using the context wallet passed if context was passed at constructor. (#6661) #### web3-utils -- Fix unnecessary array copy when pack encoding (#6553) +- Fixed an issue with detecting Uint8Array (#6486) + +#### web3-validator + +- Fixed an issue with detecting Uint8Array (#6486) + +## [Unreleased] \ No newline at end of file diff --git a/packages/web3-eth-abi/CHANGELOG.md b/packages/web3-eth-abi/CHANGELOG.md index 486ca6ab34b..6fa52af5287 100644 --- a/packages/web3-eth-abi/CHANGELOG.md +++ b/packages/web3-eth-abi/CHANGELOG.md @@ -154,7 +154,7 @@ Documentation: - Bug fix of `ERR_UNSUPPORTED_DIR_IMPORT` in ABI (#6535) -## [Unreleased] +## [4.2.0] ### Changed @@ -163,3 +163,5 @@ Documentation: ### Fixed - Fixed an issue with detecting Uint8Array (#6486) + +## [Unreleased] diff --git a/packages/web3-eth-abi/package.json b/packages/web3-eth-abi/package.json index c517e8a918e..47802dc53c1 100644 --- a/packages/web3-eth-abi/package.json +++ b/packages/web3-eth-abi/package.json @@ -1,6 +1,6 @@ { "name": "web3-eth-abi", - "version": "4.1.4", + "version": "4.2.0", "description": "Web3 module encode and decode EVM in/output.", "main": "./lib/commonjs/index.js", "module": "./lib/esm/index.js", @@ -43,10 +43,10 @@ }, "dependencies": { "abitype": "0.7.1", - "web3-errors": "^1.1.3", - "web3-types": "^1.3.0", - "web3-utils": "^4.0.7", - "web3-validator": "^2.0.3" + "web3-errors": "^1.1.4", + "web3-types": "^1.3.1", + "web3-utils": "^4.1.1", + "web3-validator": "^2.0.4" }, "devDependencies": { "@humeris/espresso-shot": "^4.0.0", diff --git a/packages/web3-eth-accounts/package.json b/packages/web3-eth-accounts/package.json index 640e2eae36c..1906d06b599 100644 --- a/packages/web3-eth-accounts/package.json +++ b/packages/web3-eth-accounts/package.json @@ -1,6 +1,6 @@ { "name": "web3-eth-accounts", - "version": "4.1.0", + "version": "4.1.1", "description": "Package for managing Ethereum accounts and signing", "main": "./lib/commonjs/index.js", "module": "./lib/esm/index.js", @@ -61,9 +61,9 @@ "@ethereumjs/rlp": "^4.0.1", "crc-32": "^1.2.2", "ethereum-cryptography": "^2.0.0", - "web3-errors": "^1.1.3", - "web3-types": "^1.3.0", - "web3-utils": "^4.0.7", - "web3-validator": "^2.0.3" + "web3-errors": "^1.1.4", + "web3-types": "^1.3.1", + "web3-utils": "^4.1.1", + "web3-validator": "^2.0.4" } } diff --git a/packages/web3-eth-contract/CHANGELOG.md b/packages/web3-eth-contract/CHANGELOG.md index 583674ff7dd..38436bdb830 100644 --- a/packages/web3-eth-contract/CHANGELOG.md +++ b/packages/web3-eth-contract/CHANGELOG.md @@ -353,7 +353,7 @@ Documentation: - By default, contracts will fill `data` instead of `input` within method calls (#6622) -## [Unreleased] +## [4.2.0] ### Changed @@ -363,3 +363,5 @@ Documentation: - Fix and error that happen when trying to get past events by calling `contract.getPastEvents` or `contract.events.allEvents()`, if there is no matching events. (#6647) - Fixed: The Contract is not using the context wallet passed if context was passed at constructor. (#6661) + +## [Unreleased] diff --git a/packages/web3-eth-contract/package.json b/packages/web3-eth-contract/package.json index 13a239bb7cb..a587cbd8679 100644 --- a/packages/web3-eth-contract/package.json +++ b/packages/web3-eth-contract/package.json @@ -1,6 +1,6 @@ { "name": "web3-eth-contract", - "version": "4.1.4", + "version": "4.2.0", "description": "Web3 module to interact with Ethereum smart contracts.", "main": "./lib/commonjs/index.js", "module": "./lib/esm/index.js", @@ -47,11 +47,11 @@ "dependencies": { "web3-core": "^4.3.2", "web3-errors": "^1.1.4", - "web3-eth": "^4.3.1", - "web3-eth-abi": "^4.1.4", + "web3-eth": "^4.4.0", + "web3-eth-abi": "^4.2.0", "web3-types": "^1.3.1", - "web3-utils": "^4.1.0", - "web3-validator": "^2.0.3" + "web3-utils": "^4.1.1", + "web3-validator": "^2.0.4" }, "devDependencies": { "@humeris/espresso-shot": "^4.0.0", @@ -67,7 +67,7 @@ "prettier": "^2.7.1", "ts-jest": "^29.1.1", "typescript": "^4.7.4", - "web3-eth-accounts": "^4.1.0", + "web3-eth-accounts": "^4.1.1", "web3-providers-ws": "^4.0.7" } } diff --git a/packages/web3-eth/CHANGELOG.md b/packages/web3-eth/CHANGELOG.md index 8724ecb756a..021eb321d59 100644 --- a/packages/web3-eth/CHANGELOG.md +++ b/packages/web3-eth/CHANGELOG.md @@ -213,8 +213,10 @@ Documentation: - Dependencies updated -## [Unreleased] +## [4.4.0] ### Added - Catch `TransactionPollingTimeoutError` was added to send transaction events (#6623) + +## [Unreleased] diff --git a/packages/web3-eth/package.json b/packages/web3-eth/package.json index b680c724e91..b4d0b8fdf15 100644 --- a/packages/web3-eth/package.json +++ b/packages/web3-eth/package.json @@ -1,6 +1,6 @@ { "name": "web3-eth", - "version": "4.3.1", + "version": "4.4.0", "description": "Web3 module to interact with the Ethereum blockchain and smart contracts.", "main": "./lib/commonjs/index.js", "module": "./lib/esm/index.js", @@ -63,15 +63,15 @@ }, "dependencies": { "setimmediate": "^1.0.5", - "web3-core": "^4.3.0", - "web3-errors": "^1.1.3", - "web3-eth-abi": "^4.1.4", - "web3-eth-accounts": "^4.1.0", + "web3-core": "^4.3.2", + "web3-errors": "^1.1.4", + "web3-eth-abi": "^4.2.0", + "web3-eth-accounts": "^4.1.1", "web3-net": "^4.0.7", "web3-providers-ws": "^4.0.7", - "web3-rpc-methods": "^1.1.3", - "web3-types": "^1.3.0", - "web3-utils": "^4.0.7", - "web3-validator": "^2.0.3" + "web3-rpc-methods": "^1.1.4", + "web3-types": "^1.3.1", + "web3-utils": "^4.1.1", + "web3-validator": "^2.0.4" } } diff --git a/packages/web3-utils/CHANGELOG.md b/packages/web3-utils/CHANGELOG.md index 30c854f6e09..d63c09119cc 100644 --- a/packages/web3-utils/CHANGELOG.md +++ b/packages/web3-utils/CHANGELOG.md @@ -181,8 +181,10 @@ Documentation: - Fix unnecessary array copy when pack encoding (#6553) -## [Unreleased] +## [4.1.1] ### Fixed - Fixed an issue with detecting Uint8Array (#6486) + +## [Unreleased] \ No newline at end of file diff --git a/packages/web3-utils/package.json b/packages/web3-utils/package.json index 6f433525e20..8eacfae6e20 100644 --- a/packages/web3-utils/package.json +++ b/packages/web3-utils/package.json @@ -1,7 +1,7 @@ { "name": "web3-utils", "sideEffects": false, - "version": "4.1.0", + "version": "4.1.1", "description": "Collection of utility functions used in web3.js.", "main": "./lib/commonjs/index.js", "module": "./lib/esm/index.js", @@ -66,6 +66,6 @@ "ethereum-cryptography": "^2.0.0", "web3-errors": "^1.1.4", "web3-types": "^1.3.1", - "web3-validator": "^2.0.3" + "web3-validator": "^2.0.4" } } diff --git a/packages/web3-validator/CHANGELOG.md b/packages/web3-validator/CHANGELOG.md index 9d8ac2e190b..46e3a9a15f0 100644 --- a/packages/web3-validator/CHANGELOG.md +++ b/packages/web3-validator/CHANGELOG.md @@ -156,8 +156,10 @@ Documentation: - 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) -## [Unreleased] +## [2.0.4] ### Fixed - Fixed an issue with detecting Uint8Array (#6486) + +## [Unreleased] \ No newline at end of file diff --git a/packages/web3-validator/package.json b/packages/web3-validator/package.json index 59d26b19451..9c2466249ac 100644 --- a/packages/web3-validator/package.json +++ b/packages/web3-validator/package.json @@ -1,6 +1,6 @@ { "name": "web3-validator", - "version": "2.0.3", + "version": "2.0.4", "description": "JSON-Schema compatible validator for web3", "main": "./lib/commonjs/index.js", "module": "./lib/esm/index.js", @@ -47,8 +47,8 @@ "dependencies": { "ethereum-cryptography": "^2.0.0", "util": "^0.12.5", - "web3-errors": "^1.1.3", - "web3-types": "^1.3.0", + "web3-errors": "^1.1.4", + "web3-types": "^1.3.1", "zod": "^3.21.4" }, "devDependencies": { diff --git a/packages/web3/CHANGELOG.md b/packages/web3/CHANGELOG.md index b0bf8840826..5d0b4323625 100644 --- a/packages/web3/CHANGELOG.md +++ b/packages/web3/CHANGELOG.md @@ -183,5 +183,8 @@ Documentation: - Dependencies updated -## [Unreleased] +## [4.4.0] +- Dependencies updated ( details are in root changelog ) + +## [Unreleased] \ No newline at end of file diff --git a/packages/web3/package.json b/packages/web3/package.json index 67ada4517bf..2517aa26418 100644 --- a/packages/web3/package.json +++ b/packages/web3/package.json @@ -1,6 +1,6 @@ { "name": "web3", - "version": "4.3.0", + "version": "4.4.0", "description": "Ethereum JavaScript API", "main": "./lib/commonjs/index.js", "module": "./lib/esm/index.js", @@ -88,10 +88,10 @@ "dependencies": { "web3-core": "^4.3.2", "web3-errors": "^1.1.4", - "web3-eth": "^4.3.1", - "web3-eth-abi": "^4.1.4", - "web3-eth-accounts": "^4.1.0", - "web3-eth-contract": "^4.1.4", + "web3-eth": "^4.4.0", + "web3-eth-abi": "^4.2.0", + "web3-eth-accounts": "^4.1.1", + "web3-eth-contract": "^4.2.0", "web3-eth-ens": "^4.0.8", "web3-eth-iban": "^4.0.7", "web3-eth-personal": "^4.0.8", @@ -100,7 +100,7 @@ "web3-providers-ws": "^4.0.7", "web3-rpc-methods": "^1.1.4", "web3-types": "^1.3.1", - "web3-utils": "^4.1.0", - "web3-validator": "^2.0.3" + "web3-utils": "^4.1.1", + "web3-validator": "^2.0.4" } } diff --git a/packages/web3/src/version.ts b/packages/web3/src/version.ts index b90de9000b7..fde2e8e160c 100644 --- a/packages/web3/src/version.ts +++ b/packages/web3/src/version.ts @@ -1 +1 @@ -/* eslint-disable header/header */ export const Web3PkgInfo = { version: '4.3.0' }; +/* eslint-disable header/header */ export const Web3PkgInfo = { version: '4.4.0' };