Changelog
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
[0.1.1-alpha.1]
Added
Web3EthExecutionAPIexport (#5441)Web3NetAPIexport (#5441)EthPersonalAPIexport (#5441)
Changed
Web3APISpec,Web3APIMethod, andWeb3APIParamsnow supportsunknownAPIs (#5393)
[0.1.1-alpha.2]
Added
- These types were moved from
web3-eth-accountstoweb3-typespackage: Cipher, CipherOptions, ScryptParams, PBKDF2SHA256Params, KeyStore (#5581 )
Fixed
- Make the
requestmethod ofEIP1193Providerclass, compatible with EIP 1193 (#5591)
[0.1.1-alpha.3]
Changed
tsccompiled files moved tolib/directory fromdist/(#5739)- These types were added: ProviderRpcError, EthSubscription, ProviderMessage, ProviderConnectInfo (#5683)
[0.1.1-alpha.4]
Added
- Add
TransactionWithFromLocalWalletIndex,TransactionWithToLocalWalletIndexandTransactionWithFromAndToLocalWalletIndextypes (#5731)
[1.0.0-rc.0]
Added
- Added types from
web3-eth-abiandTypedArrayfrom (#5771) - Added
TypedArrayfromweb3-utilsandweb3-validator(it was defined twice) (#5771) - Added
safeandfinalizedblock tags inBlockTagsandBlockTagtypes (#5823)
[1.0.0-rc.1]
Added
- Added hybrid build (ESM and CJS) of library (#5904)
- Added source files (#5956)
Changed
dataproperty inTransactionOutputwas renamed toinput(#5915)- The method
signTransactioninsideWeb3BaseWalletAccountis now utilizing the typeTransactionfor its argument. (#5993) - The types
FMT_NUMBER,NumberTypes,FMT_BYTES,ByteTypes,DataFormat,DEFAULT_RETURN_FORMAT,ETH_DATA_FORMATandFormatTypemoved fromweb3-utils. (#5993) - The types
ContractInitOptions,NonPayableCallOptionsandPayableCallOptionsare moved fromweb3-eth-contract. (#5993)
[1.0.0-rc.2]
Added
- Added
filtersparam to theFiltertype (#6010) - Added types
JsonRpcSubscriptionResultOld,Web3ProviderMessageEventCallback. Added.on('data')type support for old providers (#6082) - Export for
HardforksOrderedenum (#6102) - Export for
Web3ValidationErrorObjecttype (#6102)
Changed
- Removed chainId, to, data & input properties from NonPayableCallOptions
- Replaced Buffer for Uint8Array (#6004)
- types
FMT_BYTES.BUFFER,BytesandFormatTypeand encryption option types forsaltandivhas replaced support forBufferforUint8Array(#6004) - Added
internalTypeproperty to theAbiParametertype.
[1.0.0]
Release Notes:
Detailed List of change logs are mentioned under previous 1.x alpha and RC releases.
Documentation: Web3.js documentation Web3 API Migration Guide from 1.x
[1.0.1]
Added
- Added the
SimpleProviderinterface which has onlyrequest(args)method that is compatible with EIP-1193 (#6210) - Added the
Eip1193EventNametype that contains the possible events names according to EIP-1193 (#6210)
Changed
- The
EIP1193Providerclass has now all the events (foronandremoveListener) according to EIP-1193 (#6210)
Fixed
- Fixed bug #6185, now web3.js compiles on typescript v5 (#6195)
[1.0.2]
Fixed
- type
FilterincludesblockHash(#6206)
[1.1.0]
Changed
inputanddataare now optional properties onPopulatedUnsignedBaseTransaction(previouslyinputwas a required property, anddatawas not available) (#6294)
Added
eth_signTypedDataandeth_signTypedData_v4toweb3_eth_execution_api(#6286)Eip712TypeDetailsandEip712TypedDatatoeth_types(#6286)
[1.1.1]
Changed
- Dependencies updated
[1.2.0]
Added
- add
asEIP1193ProvidertoWeb3BaseProviderso every inherited class can have the returned value ofrequestmethod, fully compatible with EIP-1193. (#6407)
[1.3.0]
Added
- Interface
EventLogwas added. (#6410)
[1.3.1]
Added
- Interface
MetaMaskProvideradded and is part ofSupportedProviders(#6534) gasPricewas added toTransaction1559UnsignedAPItype. (#6539)
[1.4.0]
Added
- Adds missing exported type
AbiItemfrom 1.x to v4 for compatabiltiy (#6678)
[1.5.0]
Added
- Type
FeeDatato be filled byawait web3.eth.calculateFeeData()to be used with EIP-1559 transactions (#6795)
[1.6.0]
Added
- Added
signatureto typeAbiFunctionFragment(#6922) - update type
Withdrawals,blockandBlockHeaderOutputto include properties of eip 4844, 4895, 4788 (#6933)
[1.7.0]
Added
- Added
resultas optionalneveranderroras optionalnever in typeJsonRpcNotification` (#7091) - Added
JsonRpcNotficationas a union type inJsonRpcResponse(#7091)
[1.8.0]
Added
- Add COMMITTED to BlockTags (#7124)
[1.8.1]
Fixed
- update the type for
baseFeePerGasatweb3.eth.getFeeHistoryto be a number. (#7291)
[1.9.0]
Added
FilterParamstype added (#7353)
[1.10.0]
Added
- Add signature related types. (#7374)
- Updated Typescript version 4 -> 5 (#7272)