Skip to content

Releases: starknet-io/starknet.js

v5.21.0

03 Oct 18:11
Compare
Choose a tag to compare
v5.21.0 Pre-release
Pre-release

5.21.0 (2023-10-03)

Bug Fixes

  • cairo isCairo1Abi optimization (da76508)
  • parallel get version issue (c58c894)

Features

  • auto-detect account cairoVersion (85bbe39)
  • getContractVersion and getCairoVersion by classHash, deploy_account and bulk action autodetect (54ffca4)
  • provider getContractVersion, contract getVersion, cairo getAbiContractVersion (71e634e)

v5.20.0

21 Sep 13:05
Compare
Choose a tag to compare
v5.20.0 Pre-release
Pre-release

5.20.0 (2023-09-21)

GOERLI_2 REMOVED - SWITCH TO USING GOERLI

Bug Fixes

  • cairo 1 variable with _len in name (551adfa)
  • goerli sequencer fixture (0c6d153)

Features

  • remove testnet2(SN_GOERLI2) (02e17de)

v5.19.6

11 Sep 12:26
Compare
Choose a tag to compare
v5.19.6 Pre-release
Pre-release

5.19.6 (2023-09-11)

Bug Fixes

  • cleanup and docs update, string types descriptive (08bd45f)
  • interface fix and docs update (97a08c5)
  • remove ec constants (b7e6b01)

v5.19.5

29 Aug 16:21
Compare
Choose a tag to compare

5.19.5 (2023-08-29)

Bug Fixes

v5.19.4

29 Aug 15:52
Compare
Choose a tag to compare
v5.19.4 Pre-release
Pre-release

5.19.4 (2023-08-29)

Bug Fixes

  • use BigNumberish for u256 (3a7be10)
  • waitForTransaction for Infura (c871fe6)

v5.19.3

22 Aug 17:46
Compare
Choose a tag to compare
v5.19.3 Pre-release
Pre-release

5.19.3 (2023-08-22)

Bug Fixes

  • expose event parsing utilities (50cb64c)

v5.19.2

20 Aug 19:20
Compare
Choose a tag to compare
v5.19.2 Pre-release
Pre-release

5.19.2 (2023-08-20)

Bug Fixes

  • handle ContractAddress array validation (0748ec6)

v5.19.1

16 Aug 11:18
Compare
Choose a tag to compare
v5.19.1 Pre-release
Pre-release

5.19.1 (2023-08-16)

Bug Fixes

  • repair CallData compilation faulty ordering (e8cbedc)

Features

  • integrate abiwan for TS validation based on ABI (f8b4201)

v5.19.0

11 Aug 11:32
Compare
Choose a tag to compare
v5.19.0 Pre-release
Pre-release

5.19.0 (2023-08-11)

Highlights

Bug Fixes

  • add function definition to the contract interface + doc (06498d5)
  • contract test status (53cfaf9)
  • fix multiple same events + add cairo code + seperate tests, legacy and Cairo1 (7c93157)
  • modify parseEvents structure + add testcase for multiple different event in same tx (b63b0d6)
  • optional struct and enum in responseParser (14d3cca)
  • patch merge, and add enums to event parser (00f8073)
  • remove exports from responseParser functions (3d86446)
  • repair SequencerProvider network resolution (e42dfc1)
  • restore package-lock to previous state (2fe0564)

Features

v5.18.0

05 Aug 19:02
Compare
Choose a tag to compare
v5.18.0 Pre-release
Pre-release

5.18.0 (2023-08-05)

!! RPC possible Invalid transaction nonce issue (current workaround is to delay the next transaction by a couple of seconds so that RPC had time to update nonce, this will be fixed in 0.12.2)

RPC default config switched to pending block
RPC estimates versions patched with working ones.
Default provider intermediate patched types

early Starknet 0.12.1
early RPC 0.4.0-rc3

Bug Fixes

  • getevents range blocks optional (a746354)
  • hotfixed deault provider to issued RPC spec (4a8f4f9)
  • optional keys and address in eventfilters (4077b48)
  • pathfinder pascal status patch, fixed GetSyncingStatsResponse schema (89c0f25)
  • repair RPC simulation flag serialization (e5af0a0)
  • string (c6ae7bd)
  • undefined transaction GetTransactionResponse provide LibraryError (f57e844)
  • unfinished get_transaction_receipt default provider types (6589b2c)

Features

  • rpc 0.4.0-rc3, no cleanup (54674cb)
  • rpc default to pending block tag (fix wrong nonce issue), reverted estimate versio of rpc spec (2049b4f)
  • waitForTransaction Sequencer reworked with execution and finality status, 5s steps, not_rec (f4e414f)