Skip to content

Latest commit

 

History

History
84 lines (48 loc) · 1.63 KB

js-sdk.md

File metadata and controls

84 lines (48 loc) · 1.63 KB

JavaScript SDK changelog

All notable changes to zksync.js will be documented in this file.

Unreleased

Added

Changed

Deprecated

Fixed

Version 0.10.9 (13.04.2021)

Changed

  • Exported classes: ETHOperation, Transaction, ZKSyncTxError
  • Exported types: TotalFee

Version 0.10.6 (16.03.2021)

Added

  • (BatchBuilder) Make it possible to add signed ChangePubKey transaction to the batch.

Version 0.10.4 (08.03.2021)

Added

  • Method for calculation of transaction hash.
  • Support for environments without WebAssembly.

Changed

  • Hardcode gas limit for depositERC20 for each token.

Deprecated

  • Signer.transferSignBytes method
  • Signer.withdrawSignBytes method
  • Signer.forcedExitSignBytes method
  • Signer.changePubKeySignBytes method

Fixed

Version 0.9.0 (15.02.2021)

Added

  • Support of the new contracts upgrade functionality.
  • BatchBuilder class for convenient batches creating.
  • zksync-crypto release 0.4.5.

Changed

Deprecated

  • WebSocket provider.

Fixed

Version 0.8.4

Added

  • updateTokenSet function that updates the tokenSet stored in the Provider.
  • newMockProvider and DummyTransport. Tests for the library.
  • closestGreaterOrEqPackableTransactionAmount and closestGreaterOrEqPackableTransactionFee functions. Tests for them.
  • Checks for ERC-1271 wallets for whether the messages should be prefixed

Changed

  • HTTP provider is now the default one.

Fixed

  • Bug with integerToFloat function. Now, it really rounds to the closest less or equal float number.

Prior to 2020-12-10

Version 0.8.3 is released.