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
innerError
property to the abstract classWeb3Error
. ThisinnerError
could beError
,Error[]
orundefined
. (#5435) (#5434) - The class
Web3ContractError
is moved to this package fromweb3-eth-contract
. (#5434) - Added the error code
ERR_TX_SIGNING
and used it insideTransactionSigningError
(#5462) - Added the error code
ERR_TX_GAS_MISMATCH
and used it insideTransactionGasMismatchError
(#5462) - Added
SignatureError
toweb3-errors/src/errors/signature_errors.ts
(moved fromweb3-eth/src/errors.ts
) (#5462) - Added the errors' classes to
web3-errors/src/errors/transaction_errors.ts
fromweb3-eth/src/errors.ts
(#5462) - Added
TransactionBlockTimeoutError
class and its error codeERR_TX_BLOCK_TIMEOUT
(#5294) ExistingPluginNamespaceError
class and it's error codeERR_EXISTING_PLUGIN_NAMESPACE
(#5393)
Changed
- Corrected the error code for
JSONRPC_ERR_UNAUTHORIZED
to be4100
(#5462) - Moved
SignerError
fromweb3-errors/src/errors/signature_errors.ts
toweb3-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
main
andfiles
entries inpackage.json
changed tolib/
directory fromdist/
(#5739)
[0.1.1-alpha.4]
Changed
- web3.js dependencies (#5757)
[1.0.0-rc.0]
Changed
- The abstract class
Web3Error
is renamed toBaseWeb3Error
(#5771) - Renamed TransactionRevertError to TransactionRevertInstructionError to remain consistent with 1.x
- Using
MaxAttemptsReachedOnReconnectingError
with the same message for 1.x but also adding themaxAttempts
(#5894)
Added
- Added error class
InvalidMethodParamsError
and error codeERR_INVALID_METHOD_PARAMS = 207
(#5824) request
property toResponseError
(#5854)data
property toTransactionRevertInstructionError
(#5854)TransactionRevertWithCustomError
was 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
gasLimit
is no longer accepted as a parameter forMissingGasError
and `TransactionGasMismatchError, and is also no longer included in error message (#5915)
[1.0.0-rc.2]
Added
InvalidPropertiesForTransactionTypeError
with error code429
(#6102)
Changed
- Nested Smart Contract error data is extracted at
Eip838ExecutionError
constructor 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
RpcErrorMessages
that contains mapping for standard RPC Errors and their messages. (#6230)- created
TransactionGasMismatchInnerError
for clarity on the error inTransactionGasMismatchError
(#6215) - created
MissingGasInnerError
for 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
InvalidIntegerError
error for fromWei and toWei (#7052)
[1.2.1]
Fixed
- Fixed the undefined data in
Eip838ExecutionError
constructor (#6905)
[1.3.0]
Added
- Added optional
statusCode
property of response in ResponseError.