You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 5, 2025. It is now read-only.
Copy file name to clipboardExpand all lines: CHANGELOG.md
+58-6
Original file line number
Diff line number
Diff line change
@@ -1462,44 +1462,96 @@ should use 4.0.1-alpha.0 for testing.
1462
1462
1463
1463
## [Unreleased]
1464
1464
1465
-
### Breaking Changes
1465
+
### Added
1466
1466
1467
-
- dropped support for NodeJs@14
1468
-
- removed non read-only methods from ens package
1467
+
#### web3-errors
1469
1468
1470
-
### Added
1469
+
-`InvalidPropertiesForTransactionTypeError` with error code `429` (#6102)
1471
1470
1472
1471
#### web3-eth-contract
1473
1472
1474
1473
- Added support for `getPastEvents` method to filter `allEvents` and specific event (#6010)
1474
+
- Added `maxPriorityFeePerGas` and `maxFeePerGas` in `ContractOptions` type and updated function using it in utils (#6118)
1475
+
- Added method's type autodetection by ABI param (#6137)
1475
1476
1476
1477
#### web3-types
1477
1478
1478
1479
- Added `filters` param to the `Filter` type (#6010)
1480
+
- Added types `JsonRpcSubscriptionResultOld`, `Web3ProviderMessageEventCallback`. Added `.on('data')` type support for old providers (#6082)
1479
1481
- Export for `HardforksOrdered` enum (#6102)
1480
1482
- Export for `Web3ValidationErrorObject` type (#6102)
1481
1483
1482
-
#### web3-errors
1484
+
#### web3-utils
1483
1485
1484
-
-`InvalidPropertiesForTransactionTypeError` with error code `429` (#6102)
1486
+
-Optional `hexstrict` parameter added to numberToHex (#6004)
1485
1487
1486
1488
### Fixed
1487
1489
1490
+
#### web3-eth
1491
+
1492
+
- Fixed `ignoreGasPricing` bug with wallet in context (#6071)
1493
+
1488
1494
#### web3-eth-accounts
1489
1495
1490
1496
- Fixed ESM import bugs reported in (#6032) and (#6034)
1491
1497
- ESM projects will not need to run --experimental-specifier-resolution=node (#6127)
1492
1498
1493
1499
### Changed
1494
1500
1501
+
#### web3-core
1502
+
1503
+
- Replaced Buffer for Uint8Array (#6004)
1504
+
1505
+
#### web3-errors
1506
+
1507
+
- Nested Smart Contract error data is extracted at `Eip838ExecutionError` constructor and the nested error is set at `innerError` (#6045)
1508
+
1495
1509
#### web3-eth
1496
1510
1497
1511
-`formatTransaction` no longer throws a `TransactionDataAndInputError` if it's passed a transaction object with both `data` and `input` properties set (as long as they are the same value) (#6064)
1498
1512
- Refactored documentation for `rpc_method_wrappers` to point to the previously duplicated documentation found under the `Web3Eth` class documentation (#6054)
1513
+
- Replaced Buffer for Uint8Array (#6004)
1499
1514
- Refactored `defaultTransactionTypeParser` to return correct EIP-2718 types, prior implementation was prioritizing `transaction.hardfork` and ignoring the use of `transaction.gasLimit`. `defaultTransactionTypeParser` will now throw `InvalidPropertiesForTransactionTypeError`s for properties are used that are incompatible with `transaction.type` (#6102)
1515
+
-`prepareTransactionForSigning` and `defaultTransactionBuilder` now accepts optional `fillGasPrice` flag and by default will not fill gas(#6071)
1516
+
1517
+
#### web3-eth-abi
1518
+
1519
+
- Nested Smart Contract error data hex string is decoded when the error contains the data as object (when the data hex string is inside data.originalError.data or data.data) (#6045)
1520
+
1521
+
#### web3-eth-accounts
1522
+
1523
+
- Replaced `Buffer` for `Uint8Array` (#6004)
1524
+
- The methods `recover`, `encrypt`, `privateKeyToAddress` does not support type `Buffer` but supports type `Uint8Array` (#6004)
1525
+
- The method `parseAndValidatePrivateKey` returns a type `Uint8Array` instead of type `Buffer` (#6004)
1526
+
1527
+
#### web3-providers-ipc
1528
+
1529
+
- Replaced Buffer for Uint8Array (#6004)
1530
+
1531
+
#### web3-types
1532
+
1533
+
- Removed chainId, to, data & input properties from NonPayableCallOptions
1534
+
- Replaced Buffer for Uint8Array (#6004)
1535
+
- types `FMT_BYTES.BUFFER`, `Bytes` and `FormatType` and encryption option types for `salt` and `iv` has replaced support for `Buffer` for `Uint8Array` (#6004)
1536
+
- Added `internalType` property to the `AbiParameter` type.
1537
+
1538
+
#### web3-utils
1539
+
1540
+
- Replaced Buffer for Uint8Array (#6004)
1541
+
- The methods `hexToBytes`, `randomBytes` does not return type `Buffer` but type `Uint8Array` (#6004)
1542
+
- The methods `sha3` and `keccak256Wrapper` does not accept type `Buffer` but type `Uint8Array` (#6004)
1543
+
- The method `bytesToBuffer` has been removed for the usage of `bytesToUint8Array` (#6004)
1544
+
1545
+
#### web3-validator
1546
+
1547
+
- Replaced Buffer for Uint8Array (#6004)
1500
1548
1501
1549
### Removed
1502
1550
1551
+
#### web3-eth-ens
1552
+
1553
+
- Removed non read-only methods (#6084)
1554
+
1503
1555
#### web3-validator
1504
1556
1505
1557
-`Web3ValidationErrorObject` type is now exported from `web3-types` package (#6102)
0 commit comments