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
Web3EthExecutionAPI
export (#5441)Web3NetAPI
export (#5441)EthPersonalAPI
export (#5441)
Changed
Web3APISpec
,Web3APIMethod
, andWeb3APIParams
now supportsunknown
APIs (#5393)
[0.1.1-alpha.2]
Added
- These types were moved from
web3-eth-accounts
toweb3-types
package: Cipher, CipherOptions, ScryptParams, PBKDF2SHA256Params, KeyStore (#5581 )
Fixed
- Make the
request
method ofEIP1193Provider
class, compatible with EIP 1193 (#5591)
[0.1.1-alpha.3]
Changed
tsc
compiled files moved tolib/
directory fromdist/
(#5739)- These types were added: ProviderRpcError, EthSubscription, ProviderMessage, ProviderConnectInfo (#5683)
[0.1.1-alpha.4]
Added
- Add
TransactionWithFromLocalWalletIndex
,TransactionWithToLocalWalletIndex
andTransactionWithFromAndToLocalWalletIndex
types (#5731)
[1.0.0-rc.0]
Added
- Added types from
web3-eth-abi
andTypedArray
from (#5771) - Added
TypedArray
fromweb3-utils
andweb3-validator
(it was defined twice) (#5771) - Added
safe
andfinalized
block tags inBlockTags
andBlockTag
types (#5823)
[1.0.0-rc.1]
Added
- Added hybrid build (ESM and CJS) of library (#5904)
- Added source files (#5956)
Changed
data
property inTransactionOutput
was renamed toinput
(#5915)- The method
signTransaction
insideWeb3BaseWalletAccount
is now utilizing the typeTransaction
for its argument. (#5993) - The types
FMT_NUMBER
,NumberTypes
,FMT_BYTES
,ByteTypes
,DataFormat
,DEFAULT_RETURN_FORMAT
,ETH_DATA_FORMAT
andFormatType
moved fromweb3-utils
. (#5993) - The types
ContractInitOptions
,NonPayableCallOptions
andPayableCallOptions
are moved fromweb3-eth-contract
. (#5993)
[1.0.0-rc.2]
Added
- Added
filters
param to theFilter
type (#6010) - Added types
JsonRpcSubscriptionResultOld
,Web3ProviderMessageEventCallback
. Added.on('data')
type support for old providers (#6082) - Export for
HardforksOrdered
enum (#6102) - Export for
Web3ValidationErrorObject
type (#6102)
Changed
- Removed chainId, to, data & input properties from NonPayableCallOptions
- Replaced Buffer for Uint8Array (#6004)
- types
FMT_BYTES.BUFFER
,Bytes
andFormatType
and encryption option types forsalt
andiv
has replaced support forBuffer
forUint8Array
(#6004) - Added
internalType
property to theAbiParameter
type.
[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
SimpleProvider
interface which has onlyrequest(args)
method that is compatible with EIP-1193 (#6210) - Added the
Eip1193EventName
type that contains the possible events names according to EIP-1193 (#6210)
Changed
- The
EIP1193Provider
class has now all the events (foron
andremoveListener
) according to EIP-1193 (#6210)
Fixed
- Fixed bug #6185, now web3.js compiles on typescript v5 (#6195)
[1.0.2]
Fixed
- type
Filter
includesblockHash
(#6206)
[1.1.0]
Changed
input
anddata
are now optional properties onPopulatedUnsignedBaseTransaction
(previouslyinput
was a required property, anddata
was not available) (#6294)
Added
eth_signTypedData
andeth_signTypedData_v4
toweb3_eth_execution_api
(#6286)Eip712TypeDetails
andEip712TypedData
toeth_types
(#6286)
[1.1.1]
Changed
- Dependencies updated
[1.2.0]
Added
- add
asEIP1193Provider
toWeb3BaseProvider
so every inherited class can have the returned value ofrequest
method, fully compatible with EIP-1193. (#6407)
[1.3.0]
Added
- Interface
EventLog
was added. (#6410)
[1.3.1]
Added
- Interface
MetaMaskProvider
added and is part ofSupportedProviders
(#6534) gasPrice
was added toTransaction1559UnsignedAPI
type. (#6539)
[1.4.0]
Added
- Adds missing exported type
AbiItem
from 1.x to v4 for compatabiltiy (#6678)
[1.5.0]
Added
- Type
FeeData
to be filled byawait web3.eth.calculateFeeData()
to be used with EIP-1559 transactions (#6795)
[1.6.0]
Added
- Added
signature
to typeAbiFunctionFragment
(#6922) - update type
Withdrawals
,block
andBlockHeaderOutput
to include properties of eip 4844, 4895, 4788 (#6933)
[1.7.0]
Added
- Added
result
as optionalnever
anderror
as optionalnever in type
JsonRpcNotification` (#7091) - Added
JsonRpcNotfication
as a union type inJsonRpcResponse
(#7091)
[1.8.0]
Added
- Add COMMITTED to BlockTags (#7124)
[Unreleased]
Changed
- update the type for
baseFeePerGas
atweb3.eth.getFeeHistory
to be a number. (#7291)