Skip to main content

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 class Web3Error. This innerError could be Error, Error[] or undefined. (#5435) (#5434)
  • The class Web3ContractError is moved to this package from web3-eth-contract. (#5434)
  • Added the error code ERR_TX_SIGNING and used it inside TransactionSigningError (#5462)
  • Added the error code ERR_TX_GAS_MISMATCH and used it inside TransactionGasMismatchError (#5462)
  • Added SignatureError to web3-errors/src/errors/signature_errors.ts (moved from web3-eth/src/errors.ts) (#5462)
  • Added the errors' classes to web3-errors/src/errors/transaction_errors.ts from web3-eth/src/errors.ts (#5462)
  • Added TransactionBlockTimeoutError class and its error code ERR_TX_BLOCK_TIMEOUT (#5294)
  • ExistingPluginNamespaceError class and it's error code ERR_EXISTING_PLUGIN_NAMESPACE (#5393)

Changed

  • Corrected the error code for JSONRPC_ERR_UNAUTHORIZED to be 4100 (#5462)
  • Moved SignerError from web3-errors/src/errors/signature_errors.ts to web3-errors/src/errors/transaction_errors.ts, and renamed it to TransactionSigningError (#5462)

[0.1.1-alpha.2]

Changed

  • Updated Web3.js dependencies (#5664)

[0.1.1-alpha.3]

Changed

  • main and files entries in package.json changed to lib/ directory from dist/ (#5739)

[0.1.1-alpha.4]

Changed

  • web3.js dependencies (#5757)

[1.0.0-rc.0]

Changed

  • The abstract class Web3Error is renamed to BaseWeb3Error (#5771)
  • Renamed TransactionRevertError to TransactionRevertInstructionError to remain consistent with 1.x
  • Using MaxAttemptsReachedOnReconnectingError with the same message for 1.x but also adding the maxAttempts (#5894)

Added

  • Added error class InvalidMethodParamsError and error code ERR_INVALID_METHOD_PARAMS = 207 (#5824)
  • request property to ResponseError (#5854)
  • data property to TransactionRevertInstructionError (#5854)
  • TransactionRevertWithCustomError was added to handle custom solidity errors (#5854)

[Unreleased]

Added

  • Added hybrid build (ESM and CJS) of library (#5904)
  • Added source files (#5956)

Changed

  • gasLimit is no longer accepted as a parameter for MissingGasError and `TransactionGasMismatchError, and is also no longer included in error message (#5915)