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
- Add optional 
innerErrorproperty to the abstract classWeb3Error. ThisinnerErrorcould beError,Error[]orundefined. (#5435) (#5434) - The class 
Web3ContractErroris moved to this package fromweb3-eth-contract. (#5434) - Added the error code 
ERR_TX_SIGNINGand used it insideTransactionSigningError(#5462) - Added the error code 
ERR_TX_GAS_MISMATCHand used it insideTransactionGasMismatchError(#5462) - Added 
SignatureErrortoweb3-errors/src/errors/signature_errors.ts(moved fromweb3-eth/src/errors.ts) (#5462) - Added the errors' classes to 
web3-errors/src/errors/transaction_errors.tsfromweb3-eth/src/errors.ts(#5462) - Added 
TransactionBlockTimeoutErrorclass and its error codeERR_TX_BLOCK_TIMEOUT(#5294) ExistingPluginNamespaceErrorclass and it's error codeERR_EXISTING_PLUGIN_NAMESPACE(#5393)
Changed
- Corrected the error code for 
JSONRPC_ERR_UNAUTHORIZEDto be4100(#5462) - Moved 
SignerErrorfromweb3-errors/src/errors/signature_errors.tstoweb3-errors/src/errors/transaction_errors.ts, and renamed it toTransactionSigningError(#5462) 
[0.1.1-alpha.2]
Changed
- Updated Web3.js dependencies (#5664)
 
[0.1.1-alpha.3]
Changed
mainandfilesentries inpackage.jsonchanged tolib/directory fromdist/(#5739)
[0.1.1-alpha.4]
Changed
- web3.js dependencies (#5757)
 
[1.0.0-rc.0]
Changed
- The abstract class 
Web3Erroris renamed toBaseWeb3Error(#5771) - Renamed TransactionRevertError to TransactionRevertInstructionError to remain consistent with 1.x
 - Using 
MaxAttemptsReachedOnReconnectingErrorwith the same message for 1.x but also adding themaxAttempts(#5894) 
Added
- Added error class 
InvalidMethodParamsErrorand error codeERR_INVALID_METHOD_PARAMS = 207(#5824) requestproperty toResponseError(#5854)dataproperty toTransactionRevertInstructionError(#5854)TransactionRevertWithCustomErrorwas added to handle custom solidity errors (#5854)
[1.0.0-rc.1]
Added
- Added hybrid build (ESM and CJS) of library (#5904)
 - Added source files (#5956)
 
Changed
gasLimitis no longer accepted as a parameter forMissingGasErrorand `TransactionGasMismatchError, and is also no longer included in error message (#5915)
[1.0.0-rc.2]
Added
InvalidPropertiesForTransactionTypeErrorwith error code429(#6102)
Changed
- Nested Smart Contract error data is extracted at 
Eip838ExecutionErrorconstructor and the nested error is set atinnerError(#6045) 
[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]
Changed
- Dependencies updated
 
[1.0.2]
Changed
- Dependencies updated
 
[1.1.0]
Added
RpcErrorMessagesthat contains mapping for standard RPC Errors and their messages. (#6230)- created 
TransactionGasMismatchInnerErrorfor clarity on the error inTransactionGasMismatchError(#6215) - created 
MissingGasInnerErrorfor clarity on the error inMissingGasError(#6215) 
Fixed
- Fixed: "'disconnect' in Eip1193 provider must emit ProviderRpcError #6003".(#6230)
 
[1.1.1]
Fixed
- ESM import bug (#6359)
 
[1.1.2]
Changed
- Dependencies updated
 
[1.1.3]
Fixed
- Added new SchemaFormatError (#6434)
 
[1.1.4]
Fixed
- Fixed grammar and spelling in 
transactionTimeoutHint(#6559) 
[1.2.0]
Added
- Added 
InvalidIntegerErrorerror for fromWei and toWei (#7052) 
[1.2.1]
Fixed
- Fixed the undefined data in 
Eip838ExecutionErrorconstructor (#6905) 
[1.3.0]
Added
- Added optional 
statusCodeproperty of response in ResponseError. 
[1.3.1]
Added
- Updated Typescript version 4 -> 5 (#7272)