Skip to content

Latest commit

 

History

History
2113 lines (1331 loc) · 142 KB

CHANGELOG.md

File metadata and controls

2113 lines (1331 loc) · 142 KB

7.0.0 (2024-07-03)

Bug Fixes

  • acc deploy_acc (732cd94)
  • adjust max amount bound calculation for RPC v0.7.0 (dd34cdb)
  • apply bound for contract address from hash calculation (6d8c291)
  • beta: deploy account (#880) (00c58e3)
  • byteArray encoding for less than 31 chars (#1011) (653acc4)
  • Calldata.compile: do not split long entrypoint names before calling getSelectorFromName (89715da)
  • Calldata.compile: do not split long entrypoint names before calling getSelectorFromName (9434bcd)
  • cannot infer ts2742 types from starknet-types@0.7 (#1098) (f1c3b8e)
  • change build cjs and mjs to unbuild (#1163) (bb4a93d)
  • drop abi-wan-kanabi-v1 support (30a4681)
  • estimateFeeBulk provided version (da717be)
  • expand encoding type for preset types (b992446)
  • move abiwan from dev dependencies to regular dependencies (#925) (6b7ee49)
  • next version (#1024) (07d4a26)
  • prioritize error states in waitForTransaction evaluation (ac54404)
  • provider rpc 0.5-0.6 getTransactionReceipt response standardization (76b6ab4)
  • remove [warning] from typedoc for external usage (#1095) (195186f), closes #1121 #1126
  • remove account_deployment_data from deploy Account (ede83bf)
  • repair Cairo 1 nested and enum tuple handling (ce2e541)
  • revert enums partially & tsup build (#1165) (57b2c72)
  • rpc event (ae3e265)
  • RpcChannel: allow client to provide specVersion (ae8cf8e)
  • second option bump semantic release to 0.5 (c90f9b2)
  • solve wrong response for account.verifyMessage (05f4095)
  • starkne types 0.7 (#1087) (b038c76)
  • test ci fix (3a6c924)
  • throw on negative param cairo.uint256 and bnToUint256 (e1ead14)
  • tslib (#1068) (dd7dc10)
  • typos (#862) (b2431d3)
  • update fetch-cookie dependency (518330c)
  • update starknetid sepolia contract addresses (#1016) (b50a3bd)
  • update to latest get-starknet dev (017702f)
  • utilize provided resourceBounds value (65bea53)
  • utils: fix block identifier (#1076) (0a3499d)
  • wallet circular dependency fix (621ae2d)

Features

  • abi-wan trigger (c10150a)
  • abiwan v2 intergation (87d15d3)
  • account preferred transaction version, setup v3 (5652eb2)
  • add getGasPrice rpc provider method (#1056) (d396275)
  • add provider.decodeParameters (39595f3)
  • add provider.decodeParameters (be6eec9)
  • add string types of cairo v2.4.0 (a8a73c1)
  • add type coverage (#1120) (eceda5d)
  • curves (405de46)
  • def rpc 0_6, sepolia nodes (4f59a8f)
  • default account UniversalDetails, rpc spec update, update interface (8dc9b8a)
  • dual specification with 0.6 implementation, not yet integrated (ac8c763)
  • enable cairo 2.6.0 contract declaration (0104c59)
  • ethereum signer (8473adb)
  • ethereum-signer (f37bfb2)
  • expand structured data hashing in line with SNIP-12 (#920) (cb20590)
  • Export function parseCalldataField() (4d59658)
  • get-starknet-core repacked for mjs, and initial implementation (ab7fa19)
  • hashes, signer, vip account, types, versions as string enum (6ceb9e3)
  • implement RPC v0.7.0-rc2 specification (de32936)
  • make Abi and CONTRACT_ABI types compatible with abiwan (9007816)
  • make fee margins configurable (cedd984)
  • new CairoUint256 cairo datatype model (b64abcc)
  • next-version (1687dd2)
  • pretty print rpc LibraryError params, make env.DEBUG usefull (cca723f)
  • provider.getL1MessageHash (#1123) (1489cf2)
  • provider: fix and clean provider response and response parser, removed seqeuncer api (7ecb069)
  • provider: pending response discrimination, pending type guards (013a22b)
  • readme & trigger release (5341c42)
  • remove old version constants, default types api rpc (ed9cb08)
  • replace in verifyMessage : response by Error (1abf91f)
  • req id counter (cedd1ea)
  • rpc 0.6 implementation as superset of 0.5 tx (5b2b299)
  • rpc 0.6.0-rc3 implementation (c2607ed)
  • rpc 0.7.1 (#1071) (11dc600)
  • rpc provider (0d9c2e5)
  • rpcChannel (181eea3)
  • sepolia (26d7044)
  • sepolia constants, rpc open change (6de46b5)
  • simulate skip validate by default, spec deploy acc fix (1b3e7ae)
  • skip signatures when skipValidate is true (6f784ea)
  • the WalletAccount handle changed channel (73603e1)
  • trigger release (fbf983f)
  • update default rpc nodes and version (9b9fe0e)
  • update starknetId class and add getStarkProfile function (ae71c97)
  • update verson (5dfe445)
  • use fetch-cookie package for cookie based sticky sessions (5a56485)
  • v3 transaction hashes (4fe40a1)
  • v3 tx hashes calculation (f0e760d)
  • v3 wip with est (b95c462)
  • wallet deploy contract and patches (dbf53b6)
  • walletAccount extract methods and update new ones (0dfb5db)

Reverts

  • Revert "chore: add examples to JsDoc for transaction.ts file (#1105)" (#1108) (59eb01e)

BREAKING CHANGES

  • v3 transactions

6.11.0 (2024-07-02)

Features

6.10.2 (2024-07-02)

Bug Fixes

6.10.1 (2024-06-28)

Bug Fixes

6.10.0 (2024-06-18)

Features

6.9.0 (2024-05-21)

Bug Fixes

Features

Reverts

  • Revert "chore: add examples to JsDoc for transaction.ts file (#1105)" (#1108) (59eb01e), closes #1105 #1108

6.8.0 (2024-04-23)

Bug Fixes

Features

6.7.0 (2024-04-03)

Features

  • readme & trigger release (5341c42)

6.6.6 (2024-03-25)

Bug Fixes

6.6.0 (2024-03-19)

Bug Fixes

  • second option bump semantic release to 0.5 (c90f9b2)
  • test ci fix (3a6c924)
  • update to latest get-starknet dev (017702f)
  • wallet circular dependency fix (621ae2d)

Features

  • get-starknet-core repacked for mjs, and initial implementation (ab7fa19)
  • the WalletAccount handle changed channel (73603e1)
  • wallet deploy contract and patches (dbf53b6)
  • walletAccount extract methods and update new ones (0dfb5db)

6.5.0 (2024-03-14)

Bug Fixes

  • adjust max amount bound calculation for RPC v0.7.0 (dd34cdb)

Features

  • make fee margins configurable (cedd984)

6.4.2 (2024-03-14)

Bug Fixes

  • update starknetid sepolia contract addresses (#1016) (b50a3bd)

6.4.1 (2024-03-14)

Bug Fixes

  • byteArray encoding for less than 31 chars (#1011) (653acc4)

6.4.0 (2024-03-12)

Bug Fixes

  • expand encoding type for preset types (b992446)

Features

  • enable cairo 2.6.0 contract declaration (0104c59)
  • skip signatures when skipValidate is true (6f784ea)

6.3.0 (2024-03-11)

Features

  • update starknetId class and add getStarkProfile function (ae71c97)

6.2.1 (2024-03-11)

Bug Fixes

  • repair Cairo 1 nested and enum tuple handling (ce2e541)

6.2.0 (2024-03-07)

Features

  • implement RPC v0.7.0-rc2 specification (de32936)

6.1.5 (2024-03-02)

Bug Fixes

  • RpcChannel: allow client to provide specVersion (ae8cf8e)

6.1.4 (2024-02-26)

Bug Fixes

  • Calldata.compile: do not split long entrypoint names before calling getSelectorFromName (9434bcd)

6.1.3 (2024-02-23)

Bug Fixes

  • update fetch-cookie dependency (518330c)

6.1.2 (2024-02-20)

Bug Fixes

  • drop abi-wan-kanabi-v1 support (30a4681)

6.1.1 (2024-02-19)

Bug Fixes

6.1.0 (2024-02-13)

Features

  • use fetch-cookie package for cookie based sticky sessions (5a56485)

6.0.0 (2024-02-05)

Bug Fixes

  • acc deploy_acc (732cd94)
  • beta: deploy account (#880) (00c58e3)
  • estimateFeeBulk provided version (da717be)
  • provider rpc 0.5-0.6 getTransactionReceipt response standardization (76b6ab4)
  • remove account_deployment_data from deploy Account (ede83bf)
  • solve wrong response for account.verifyMessage (05f4095)
  • throw on negative param cairo.uint256 and bnToUint256 (e1ead14)
  • utilize provided resourceBounds value (65bea53)

Features

  • abiwan v2 intergation (87d15d3)
  • account preferred transaction version, setup v3 (5652eb2)
  • add provider.decodeParameters (be6eec9)
  • add string types of cairo v2.4.0 (a8a73c1)
  • curves (405de46)
  • def rpc 0_6, sepolia nodes (4f59a8f)
  • default account UniversalDetails, rpc spec update, update interface (8dc9b8a)
  • dual specification with 0.6 implementation, not yet integrated (ac8c763)
  • ethereum signer (8473adb)
  • ethereum-signer (f37bfb2)
  • hashes, signer, vip account, types, versions as string enum (6ceb9e3)
  • make Abi and CONTRACT_ABI types compatible with abiwan (9007816)
  • new CairoUint256 cairo datatype model (b64abcc)
  • pretty print rpc LibraryError params, make env.DEBUG usefull (cca723f)
  • provider: fix and clean provider response and response parser, removed seqeuncer api (7ecb069)
  • provider: pending response discrimination, pending type guards (013a22b)
  • remove old version constants, default types api rpc (ed9cb08)
  • replace in verifyMessage : response by Error (1abf91f)
  • req id counter (cedd1ea)
  • rpc 0.6 implementation as superset of 0.5 tx (5b2b299)
  • rpc 0.6.0-rc3 implementation (c2607ed)
  • rpc provider (0d9c2e5)
  • rpcChannel (181eea3)
  • sepolia constants, rpc open change (6de46b5)
  • simulate skip validate by default, spec deploy acc fix (1b3e7ae)
  • update default rpc nodes and version (9b9fe0e)
  • update verson (5dfe445)
  • v3 transaction hashes (4fe40a1)
  • v3 tx hashes calculation (f0e760d)
  • v3 wip with est (b95c462)

BREAKING CHANGES

  • v3 transactions

6.0.0-beta.15 (2024-02-05)

Bug Fixes

  • throw on negative param cairo.uint256 and bnToUint256 (e1ead14)

Features

  • new CairoUint256 cairo datatype model (b64abcc)

6.0.0-beta.14 (2024-02-02)

Bug Fixes

  • move abiwan from dev dependencies to regular dependencies (#925) (6b7ee49)

Features

  • abi-wan trigger (c10150a)
  • add provider.decodeParameters (39595f3)
  • expand structured data hashing in line with SNIP-12 (#920) (cb20590)
  • trigger release (fbf983f)

5.29.0 (2024-02-02)

Features

  • add provider.decodeParameters (39595f3)

5.28.0 (2024-02-01)

Features

  • expand structured data hashing in line with SNIP-12 (#920) (cb20590)

5.27.0 (2024-01-23)

Features

5.26.1 (2024-01-18)

Bug Fixes

  • move abiwan from dev dependencies to regular dependencies (#925) (6b7ee49)

5.26.0 (2024-01-15)

Features

6.0.0-beta.13 (2024-01-23)

Bug Fixes

  • solve wrong response for account.verifyMessage (05f4095)

Features

  • abiwan v2 intergation (87d15d3)
  • add string types of cairo v2.4.0 (a8a73c1)
  • make Abi and CONTRACT_ABI types compatible with abiwan (9007816)
  • replace in verifyMessage : response by Error (1abf91f)
  • sepolia (26d7044)

5.25.0 (2023-12-18)

Features

6.0.0-beta.12 (2024-01-23)

Features

6.0.0-beta.11 (2024-01-04)

Bug Fixes

  • utilize provided resourceBounds value (65bea53)

6.0.0-beta.10 (2023-12-20)

Features

6.0.0-beta.9 (2023-12-19)

Bug Fixes

6.0.0-beta.8 (2023-12-19)

Bug Fixes

  • estimateFeeBulk provided version (da717be)

6.0.0-beta.7 (2023-12-14)

Bug Fixes

  • provider rpc 0.5-0.6 getTransactionReceipt response standardization (76b6ab4)

Features

  • curves (405de46)
  • provider: fix and clean provider response and response parser, removed seqeuncer api (7ecb069)
  • provider: pending response discrimination, pending type guards (013a22b)

6.0.0-beta.6 (2023-12-11)

Features

  • def rpc 0_6, sepolia nodes (4f59a8f)
  • default account UniversalDetails, rpc spec update, update interface (8dc9b8a)
  • sepolia constants, rpc open change (6de46b5)

6.0.0-beta.5 (2023-12-10)

Bug Fixes

  • apply bound for contract address from hash calculation (6d8c291)
  • Calldata.compile: do not split long entrypoint names before calling getSelectorFromName (89715da)
  • prioritize error states in waitForTransaction evaluation (ac54404)

5.24.5 (2023-12-10)

Bug Fixes

  • apply bound for contract address from hash calculation (6d8c291)
  • Calldata.compile: do not split long entrypoint names before calling getSelectorFromName (89715da)
  • prioritize error states in waitForTransaction evaluation (ac54404)

6.0.0-beta.4 (2023-12-08)

Bug Fixes

  • remove account_deployment_data from deploy Account (ede83bf)

Features

  • simulate skip validate by default, spec deploy acc fix (1b3e7ae)

6.0.0-beta.3 (2023-12-07)

Bug Fixes

6.0.0-beta.2 (2023-12-07)

Features

6.0.0-beta.1 (2023-12-06)

Features

  • account preferred transaction version, setup v3 (5652eb2)
  • dual specification with 0.6 implementation, not yet integrated (ac8c763)
  • hashes, signer, vip account, types, versions as string enum (6ceb9e3)
  • pretty print rpc LibraryError params, make env.DEBUG usefull (cca723f)
  • remove old version constants, default types api rpc (ed9cb08)
  • rpc 0.6 implementation as superset of 0.5 tx (5b2b299)
  • rpc 0.6.0-rc3 implementation (c2607ed)
  • rpc provider (0d9c2e5)
  • rpcChannel (181eea3)
  • update default rpc nodes and version (9b9fe0e)
  • update verson (5dfe445)
  • v3 transaction hashes (4fe40a1)
  • v3 tx hashes calculation (f0e760d)

BREAKING CHANGES

  • v3 transactions

5.24.4 (2023-12-06)

Bug Fixes

5.24.3 (2023-11-20)

Bug Fixes

5.24.2 (2023-11-17)

Bug Fixes

  • errors when testing in Testnet with a Cairo 1 account (243074e)

5.24.1 (2023-11-13)

Bug Fixes

  • stringify error handler data (1eab2d3)

5.24.0 (2023-11-13)

Bug Fixes

  • skip chainId eager load for RpcProvider initialization (3bccc4d)

Features

5.23.0 (2023-11-10)

Bug Fixes

  • correction of CairoAssembly type (340392f)
  • nethermind public node work's on https (12c1582)
  • offset type in DEPRECATED_CAIRO_ENTRY_POINT (452df9e)
  • remove buffer (f8f1caa)

Features

  • export types and respose type in nonspec (e42f9f9)
  • refactored tests setup (a6be207)
  • rpc 0.5.0, spec refactored and rebuilt, wip testing setup refactor (ecfbe19)
  • rpc default provider and public nodes (12402e3)
  • rpc Provider cleanup & refactor, RPC Spec types update (c373ca4)
  • set default provider to random rpc provider, update rpc provider, update test setup (321311e)
  • test general parameters overide (c888d23)
  • use txStatus in waitForTransaction (dd80eb5)
  • waitForTransaction tx hash readiness, test errors & logging update, rpc (39b3fa7)
  • wip (98aa89c)

5.22.0 (2023-11-02)

Features

  • deprecating Sequencer provider (94e02fa)

5.21.1 (2023-10-16)

Bug Fixes

  • naming for new rpc only devnet DEFAULT_TEST_PROVIDER_URL (c844d41)

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)

5.20.0 (2023-09-21)

Bug Fixes

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

Features

  • remove testnet2(SN_GOERLI2) (02e17de)

5.20.0 (2023-09-21)

Bug Fixes

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

Features

  • remove testnet2(SN_GOERLI2) (02e17de)

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)

5.19.5 (2023-08-29)

Bug Fixes

5.19.4 (2023-08-29)

Bug Fixes

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

5.19.3 (2023-08-22)

Bug Fixes

  • expose event parsing utilities (50cb64c)

5.19.2 (2023-08-20)

Bug Fixes

  • handle ContractAddress array validation (0748ec6)

5.19.1 (2023-08-16)

Bug Fixes

  • repair CallData compilation faulty ordering (e8cbedc)

5.19.0 (2023-08-11)

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

5.17.0 (2023-07-18)

Bug Fixes

  • add FailedTransactionResponse (994925e)
  • remedy type declaration roll-up issues (48625f4)
  • transaction_failure_reason (77329b7)

Features

  • add Enum in contract (515e233), closes #670 #665 #664 #1
  • calldata result in populate (d44dc56), closes #675 #1
  • contractFactory Cairo1 & changed constructor signature, 0.12 test fixes (9b44c54)
  • rename Failed to Rejected for transaction type (65b1ef4)

5.16.0 (2023-07-03)

Features

5.15.1 (2023-06-29)

Bug Fixes

  • eradicate static strings (597d2b5)

5.15.0 (2023-06-29)

Bug Fixes

  • remove DeployContractPayload type (8908a90)
  • removed old Struct type (8ec8a0d)

Features

  • removed pending transaction status, typing update (a76b35c)

5.14.1 (2023-06-26)

Bug Fixes

  • export utils provider,selector, contract, events. Simulate dev import on tests (00b7bdf)
  • redeclare contract (10da77e)

5.14.0 (2023-06-21)

Features

  • add isCairo1 utility methods (78e9f87)

5.13.2 (2023-06-16)

Bug Fixes

  • conform storage key to RPC specification (6c66202)

5.13.1 (2023-06-14)

Bug Fixes

  • introduce common ABI type for contract class response (55a8d98)

5.13.0 (2023-06-12)

Info: Skipped tests during the release pipeline

  • Devnet partial support RPC v0.3.0 (simulate)
  • Infura (Pathfinder) default node on RPC v0.2.x

Features

  • adapt RPC methods to v0.3.0 specification (32188fb)

5.12.0 (2023-06-12)

Features

  • update Account.populate() to accept RawArgs type (6b539a3)

5.11.1 (2023-05-30)

Bug Fixes

  • expose RPC provider chain id override (e6b74fe)

5.11.0 (2023-05-25)

Features

  • allow unordered RawArgsObject usage for the calldata compilation utility (9d0cedf)

5.10.2 (2023-05-17)

Bug Fixes

  • repair Uint256 array handling for calldata compilation (969b3c1)

5.10.1 (2023-05-16)

Bug Fixes

  • ensure valid Cairo1 property order for call execution (d86057c)

5.10.0 (2023-05-10)

Bug Fixes

  • repair nested 2d array handling (cccf518)
  • mark getClassHashAt blockIdentifier parameter as optional (f54bfd0)

Features

  • introduce declareIfNot utility Account method (494dbb8)
  • improve usage by extending RawCalldata to RawArgs in all major flows (0ef1ec8)
  • make cairoVersion a property of Account (b6a7d38)

5.9.2 (2023-05-03)

Info

  • no changes

5.9.1 (2023-05-02)

Bug Fixes

  • repair Uint256 contract call handling (0cc05e0)

5.9.0 (2023-04-28)

Features

  • support complex Cairo1 Struct with forced ABI and complex Cairo1 arrays, refactor parser (8f28462)
  • add toHex and expand Calldata and executeCallData helpers, allow entrypoint compilation (a452d64)

5.8.0 (2023-04-26)

Bug Fixes

  • clean up Contract interfaces (02c6b72)
  • clean up ContractFactory and Contract interfaces (b25047e)
  • prevent missusage of cairoVersion on deploy (d920dbe)
  • remove unused cairoVersion from Contract (e4fcf24)

Features

  • add boolean to felt support for Cairo1 (ef34e0a)
  • remove deprecated compileCalldata (e5adca4)

5.7.0 (2023-04-25)

Features

  • expose more starknetId addresses (863736e)

5.6.1 (2023-04-21)

Bug Fixes

  • fix support for Cairo1 Uint256 types (e2b03b2)

5.6.0 (2023-04-19)

Bug Fixes

  • mark optional param in contract invoke (da094e4)

Features

  • add Cairo1 bool implementation (52fed30)
  • support Cairo1 array, fix invoke response (4637cd7)
  • add felt252 implementation (3d20ea4)
  • support uint parsing and validation (c1acd29)

5.5.0 (2023-04-10)

Bug Fixes

  • update DeclareAndDeploy with Cairo1 declare (71072cf)

Features

  • expand Cairo1 response parsing and types (09a46af)

5.4.2 (2023-04-04)

Bug Fixes

  • implement custom ts error locally (fa90a3e)

5.4.1 (2023-04-03)

Bug Fixes

  • fix call response type and signature type (c6c42e0)

5.4.0 (2023-04-03)

Bug Fixes

  • adjust suggested max fee response type (78b1f81)

Features

  • support Cairo1 execute calldata (1f7f001)

5.3.0 (2023-03-29)

Features

  • declare v2 from account (bc861b7)
  • declare v2 intermediate (a8fdfe3)
  • get_compiled_class_by_class_hash, get_class_by_hash, ContractClass, rpc hotfix (fc33d19)
  • get_state_update, fix types, fix responseParser, fix BigNumberish api response, fix OPENRPC (50a2c29)
  • update contract address to sender address parameters (7cec344)
  • remove version 0 invoke and declare (08bd65c)
  • implement skipValidate (8b20e2e)
  • update hashing to cairo-lang 0.11.0, cairo 1.0.0.alpha-6 (b6669b5)

5.2.0 (2023-03-14)

Features

  • implement compiledClassHash (485793c)
  • compute chassHash for Cairo1 contract - computeSieraContractClassHash (e20c1c5)
  • unify classHash for Sierra and legacy (fac2bfe)

5.1.1 (2023-03-07)

Bug Fixes

  • rectify default provider wait parameter typing (fc9fd66)

5.1.0 (2023-03-03)

Features

  • expose base poseidon methods (8459947)
  • rename number utility namespace to num (032aadc)

5.0.2 (2023-03-02)

Bug Fixes

  • add max_fee to simulate_transaction (95ae885)

5.0.1 (2023-03-02)

Bug Fixes

  • add new starknet id contracts (testnet) (343cf78)

5.0.0 (2023-02-22)

Bug Fixes

  • remove the chain id property from the provider interface (425b223)
  • repair bnToUint256 (baa9d61)
  • repair and unify transaction retrieval error (ea5e646)
  • remove hex prefix should work insensitive, for both 0x and 0X (53323d4)

Features

  • switch to native BigInt support (ec56c29)
  • expose elliptic curve utility methods (649e0aa)
  • add public sequencer fetch method (1dab230)
  • allow BigNumberish in RawCallData (9b897c7)
  • rework contract interaction API (2ee199e)
  • rework waitForTransaction API (e17ff17)

BREAKING CHANGES

  • multiple BN values replaced by BigInt
  • major API refactoring

5.0.0-beta.6 (2023-02-22)

Bug Fixes

  • remove hex prefix should work insensitive, for both 0x and 0X (53323d4)

Features

  • move starkname to provider (8e88ed0)

4.22.0 (2023-02-22)

Features

  • move starkname to provider (8e88ed0)

5.0.0-beta.5 (2023-02-21)

Features

  • rework contract interaction API (2ee199e)
  • rework waitForTransaction API (e17ff17)

4.21.1 (2023-02-20)

Bug Fixes

  • repair hex prefix removal to be case insensitive (53323d4)
  • repair decodeShortString for integer strings (1d6adf0)

4.21.0 (2023-01-18)

Features

  • add get_block_traces support in sequencer (b8dec62)

4.20.0 (2023-01-17)

Features

  • add support for get_state_update in provider (76035a1)

5.0.0-beta.4 (2023-01-24)

Features

  • expose elliptic curve utility methods (649e0aa)
  • add public sequencer fetch method (1dab230)
  • allow BigNumberish in RawCallData (9b897c7)

5.0.0-beta.3 (2023-01-13)

Bug Fixes

  • repair and unify transaction retrieval error (ea5e646)

5.0.0-beta.2 (2023-01-11)

Bug Fixes

  • remove the chain id property from the provider interface (425b223)
  • repair bnToUint256 (baa9d61)

BREAKING CHANGES

  • provider interface chain id property removed

5.0.0-beta.1 (2023-01-07)

Features

  • switch to native BigInt support (ec56c29)

BREAKING CHANGES

  • multiple BN values replaced by BigInt

4.19.3 (2023-01-12)

Features

  • move the simulateTransaction method to the Account class (be7b792)

4.19.2 (2023-01-11)

Bug Fixes

  • repair and unify transaction retrieval error (ea5e646)

4.19.1 (2023-01-10)

Bug Fixes

  • rework estimateFeeBulk return type (084d89e)

4.19.0 (2023-01-09)

Features

  • add estimate_fee_bulk support (1352e78)

4.18.0 (2022-12-23)

Features

  • simulate_transaction support on sequencer (304c3cc)
  • update simulate tx (8f3ea55)
  • update simulate tx in sequencer (d79a9fa)

4.17.1 (2022-12-14)

Bug Fixes

  • estimateAccountDeployFee set nonce to constant 0 (2110ef0)
  • nonce should be fixed for deploy account to 0 (c8a38e5)
  • rpc deployAccountContract request, rpc nonce hotfix (9576335)

4.17.0 (2022-12-13)

Features

  • contract factory deploy arguments (9eff7f4)

4.16.0 (2022-12-12)

Bug Fixes

  • blockIdentifier null on call from constructed function (c88fbf0)
  • default pathfinder does't have pending block (4619188)
  • sequencer defaults, remove defaultProvider default blockIdentifier, spelling, class (555a9a3)

Features

  • multi deploy reimplemented (10e609a)
  • return precalculated address from deploy (5e40224)

4.15.1 (2022-12-07)

Bug Fixes

4.15.0 (2022-12-05)

Bug Fixes

  • add deterministic tests (ff8e06e)
  • add string function to test (bf24d7f)
  • delete functions from interface (1cb96a3)
  • docs starknet id (69b5bcc)
  • fix Ivan comments (7ab252a)
  • revert waitfortransaction to original interface (bb2a8cd)
  • test on account (81f5d71)
  • waitfortransaction usage (67c2031)

Features

  • add starknet.id getters (855854a)
  • allow usage of chainId to define network, cleanup (6cffaad)
  • set testnet2 chain id, cleanup (16cdfd4)

4.14.0 (2022-11-29)

Bug Fixes

  • account test removed provider deployContract (605c2a9)
  • cleanup after refactor and remove branch split (f695629)
  • properly parse blockIdentifier in buildCall function (d09affd)
  • remove deployMaxFee from deploy (6d5fa24)
  • rpc tests (cd913ee)
  • split getNonce interface (7b7acd9)
  • tiping issue (78aa340)
  • udc require L2 status for deployed contract to be awailable to use (afba8d0)

Features

  • account deployContract ts overide base class (dd4502d)
  • extend acc interface, use deploy estimate fee (da7392a)
  • r p.deployCo. C tests, CF fixtures, cleanHex, DeclareDeploy, F Provider, seq.waitFor ret.txRec (bb50f53)
  • return from wait Transaction,Account deployContract and declareDeploy (724975d)

4.13.2 (2022-11-25)

Bug Fixes

4.13.1 (2022-11-23)

Bug Fixes

  • ci: adjust build script (880ef27)
  • flatten main type export and import (869f470)

4.13.0 (2022-11-22)

Bug Fixes

  • add estimateDeployFee (3bc11be)
  • adjust fetch parameter types (dfe876a)
  • anotate deprecate all providers deployContract (65eed1f)
  • restore rpc node url to provided one (2e1d87a)
  • transaction v1 getInvokeEstimateFee (cb4ede3)

Features

4.12.0 (2022-11-17)

Bug Fixes

  • tests: refactor udc tests (01a6eef)
  • use method name similar to gateway endpoint (79641b3)

Features

  • create getClass RPC alias (1003534)

4.11.0 (2022-11-14)

Bug Fixes

  • change txn version for estimate fee apis to be feeTransactionVersion (4d255c5)
  • lib FunctionAbiType and EventAbi shallow (7088dc6)
  • remove deprecated function (0a9f84f)
  • removed fixed params swap (57c01f6)
  • rpcProvider tests (4b0fd20)

Features

  • fill in sequencer class methods (83c0a29)
  • implement rpc-0.2.1rc1 types (2b1b71e)
  • rpc 0.2.0 plane implementation (35a880c)
  • rpc 0.2.0 type implementation (866dda7)
  • rpc 0.2.0 types spec (25b2d29)
  • rpc 0.2.1 (ed17f63)
  • rpc v0.2 endpoint, default identifiers, getClassHashAt flip parameters (f0a0d6c)
  • rpc0.2.1 definition migration comlete (35c5a06)

4.10.0 (2022-11-10)

Bug Fixes

  • ci (9b38cd8)
  • deploy return type in interface (6a663d4)
  • path rpc test to release (a1dafad)
  • remove multiple RawArgs declaration (b65dc65)
  • return type and rename calldata (67fe081)
  • update readme (7859cb1)
  • wait for declare and deploy, use random salt (8dbd3c1)

Features

4.9.0 (2022-10-19)

Bug Fixes

  • add back getEstimateFee and estimateFee (bf7abca)
  • build (421b9d7)
  • erc20 tests (2b6aa24)
  • estimateFee response (546e43b)
  • getBlock test (e3750d0)
  • linter autofix restored (07d28f6)
  • optional address (95e7e47)
  • provide all available data from sequencer GetTransaction (f3d2969)
  • removed parseGetTransactionReceiptResponse rpc response parser for TransactionReceipt (7fca26d)
  • use BigNumberish type for classHash (0ab4d47)

Features

  • add and update tests (b2df4c7)
  • add declare flow with estimate fee (30d5544)
  • deploy_account transaction (8e5d414)
  • refactor: contractAddress calculation (2b791d5)
  • update maxFee logic (19add10)
  • use updated erc20 contract (19ca7e8)

4.8.0 (2022-10-05)

Bug Fixes

  • adapted transactionTrace response (58c21c0)
  • estimate fee BigInt test (0489bed)
  • fixed and one-lined hash sort and added additional test case (023c7c7)
  • fixed hash arg sorting in merkle tree generation (ccbfecf)
  • is sequencer goerli fix (2d43d1b)
  • issue 296 (bfc1f70)
  • remove linter fix (272e2ec)
  • remove optional l1_origin_message from test (01050e3)
  • remove status_data as it is optional response parameter (9bb0a3e)
  • sequencer getBlock response (165bce7)

Features

  • sequencer estimateMessageFee (f1ffda7)

4.7.0 (2022-09-22)

Bug Fixes

  • add blockIdentifier for getNonce (7f2edab)
  • addressSalt from BigNumberish to string | undefined (f77784c)
  • block_id identifier cleanup (24c24e8)
  • ci: use correct devnet image for release pipeline (fc2fcbb)
  • cleanup pr.yml (263e296)
  • fix tests for starknet 0.10 (c2da26d)
  • get_nonce response type (f0c30bd)
  • throw error only when nonce is not provided with contract.invoke (c6bba65)
  • ts types fixes and block_id (bad0b85)

Features

  • add getNonce method on account (8e935eb)
  • getNonce endpoint for sequencer (add4900)
  • is_valid_signature -> isValidSignature (f704f3e)
  • rpc options, methods, fetch with prop types, imp. types, clenup responseParser (0ab5769)
  • rpc optionsOrProvider extend with retries (46f9634)
  • transaction v1 changes (e928478)
  • update tests (1af16f4)
  • use starknet-devnet 0.3.1 (83e5dd7)

4.6.0 (2022-09-15)

Bug Fixes

  • add test getTransactionCount [skip ci] (342755a)
  • estimateFee and call block id (ef1645f)
  • rpc test update, comepleted rpc to openrpc mapping, rpc provider methods (8b41e0f)

Features

  • new Block utility object, rpc fetch clenup, open rpc fetch api (0d381c8)
  • read, write and trace api (d488ab2)
  • retry rpc wait for transaction 200 times instead of 100 (3bc9118)
  • updated rpc tests with new methods (e369d95)

4.5.0 (2022-09-09)

Bug Fixes

  • prevent undefined rpc chainId in account (9f69229)
  • repair chain fix (d7758a6)

Features

  • optional abi field for deploy and declare rpc transactions (ce62648)

4.4.2 (2022-09-07)

Bug Fixes

  • dont import fetch from crosshatch (a3ef41c)
  • use custom fetch ponyfill (78f904a)
  • use isomorphic-unfetch (c63b6a1)

4.4.1 (2022-09-01)

Bug Fixes

  • supply calldata as hexadecimal string array (44cb4c5)

4.4.0 (2022-09-01)

Bug Fixes

Features

  • add merkle trees (e9b8674)
  • add visibility modifiers (cd1a23d)
  • allow merkle trees as native type in eip712 like messages (65b7766)
  • session (9ac48cc)
  • session needs to be aware of the whole tree (11e10bd)

4.3.1 (2022-08-31)

Bug Fixes

  • getClassAt and Test Fixes (548cf6e)
  • getCode removed from RPC 0.1.0 (744a988)
  • merge (67d87fc)
  • naming (0c75f6f)
  • restore GetCode to common interface for backward compatibility (52f8e61)
  • rpc 0.1.0 getStorageAt (c622913)
  • RpcProvider: update of RpcProvider getBlock method to work with v0.3.0 of pathfinder (3b12421)
  • test getBlock('latest') (2c92f79)
  • test getBlock(latest) (0c5e31e)
  • unoptimise getClassAt test to work with integration (e98220b)

4.3.0 (2022-08-09)

Bug Fixes

  • indentations in provider.md (4a310c6)
  • sequenceProvider: feedergatewayUrl and gatewayUrl (e236d23)

Features

4.2.0 (2022-08-09)

Features

  • change checksum address hashing algorithm (0f32adf)

4.1.0 (2022-08-03)

Features

4.0.1 (2022-08-03)

Bug Fixes

  • use custom fetch ponyfill (16e9a53)
  • use isomorphic-unfetch (aa7af66)

4.0.0 (2022-07-27)

Documentation

BREAKING CHANGES

  • new provider and signer interfaces

3.19.0 (2022-07-25)

Bug Fixes

Features

  • adapt abstract provider interface to RPC provider (b217b3b)
  • add account rpc tests (fc3b484)
  • add gateway provider class (dad1eea)
  • add provider utils (4df4ae7)
  • add rpc provider (315bb74)
  • change estimate fee response on rpc provider (942f4f2)
  • change provider keys to snake case (2ee4b0b)
  • getStorageAt block param (d89bf30)
  • implement new interface on account class (b202f37)
  • implement new interface on contract class (e942a9d)
  • use shared describe block for providers (b525a60)

3.18.2 (2022-07-25)

Bug Fixes

3.18.1 (2022-07-23)

Bug Fixes

3.18.0 (2022-07-23)

Features

  • cairo-0.9.1: starknet_version in block response (e88154d)

3.17.0 (2022-07-15)

Features

  • support SN 0.9.1 estimate_fee response (9302aab)

3.16.3 (2022-07-15)

Bug Fixes

  • allow hex to be mixed case (fa84e55)

3.16.2 (2022-07-14)

Bug Fixes

3.16.1 (2022-07-02)

Bug Fixes

  • test: for new devnet version (63d145f)

3.16.0 (2022-06-29)

Features

  • npm: add npmignore file (e6084dd)

3.15.6 (2022-06-28)

Bug Fixes

  • throw http error when parsing fails (898574f)

3.15.5 (2022-06-27)

Bug Fixes

  • add return statement (468a0bf)
  • don't enforce bigInt (efef507)
  • GatewayError: export from index (69addd5)
  • GatewayError: use ts-custom-error to support "err instanceof GatewayError" (092abbc)
  • test: error 500 as number instead of bigInt (b539144)

3.15.4 (2022-06-20)

Bug Fixes

  • parseResponse: revert the changes from parseResponse (d51996f)
  • provider: allow the user to handle the contract errors (5190f7a)
  • test: fix callContract() test (b11c5da)

3.15.3 (2022-06-20)

Bug Fixes

  • dev: regenerated package-lock.json (849cb1e)
  • use cross-fetch only for jest (83be37a)

3.15.2 (2022-06-18)

Bug Fixes

  • cleanup: cleanup (a15b6c6)
  • errorcode: fixed error code >=400 instead of !=200 (0f16595)
  • fetchEndpoint: error handling and test case fix (629479f)
  • verify: return false when 500 returned from the gateway (de3e004)

3.15.1 (2022-06-17)

Bug Fixes

  • response type for get-transaction (a232725)

3.15.0 (2022-06-16)

Bug Fixes

Features

  • add calculateContractAddressFromHash (e22c346)

3.14.1 (2022-06-15)

Bug Fixes

3.14.0 (2022-06-15)

Bug Fixes

  • remove redundant _abi from declareContract() (53d6578)

Features

  • support contract declaration API introduced at SN 0.9.0 (ca6203f)

3.13.1 (2022-06-14)

Bug Fixes

  • account estimate fee interface (51e8cf6)

3.13.0 (2022-06-14)

Bug Fixes

Features

3.12.3 (2022-05-30)

Bug Fixes

3.12.2 (2022-05-30)

Bug Fixes

  • allow starknet.js in service workers (7a500d1)
  • updated powered by starknet list (aa36463)

3.12.1 (2022-05-24)

Bug Fixes

3.12.0 (2022-05-24)

Bug Fixes

  • always default to latest block (dafc575)

Features

3.11.0 (2022-05-11)

Bug Fixes

Features

  • add checksum addresses (2d32ed8)
  • use BigNumber for estimate fee amount (751c2ed)

3.10.3 (2022-05-04)

Bug Fixes

  • encode: maximum call stack size exceeded (3cd8195)

3.10.2 (2022-04-27)

Bug Fixes

  • tests: fix getBlock blocks (c0422b7)

3.10.1 (2022-04-20)

Bug Fixes

  • account: function documentation fix (34a9779)
  • contractFactory: wrong prop type (598bcd0)
  • contract: recursion function name fix (803b6dc)
  • typings (1fadf41)
  • utils: adding transaction utils to the utils export (6429179)

3.10.0 (2022-04-20)

Bug Fixes

Features

  • account: new hash formula (ea4df2c)

3.9.0 (2022-04-08)

Bug Fixes

  • account: adding overhead on estimateFee for maxFee (ec52f61)
  • contract: override object when invoking a function (c605151)
  • estimatedFeeToMaxFee with integers only (71d19a7)
  • rename txVersion to version (2ae36b2)
  • utils: remove check for the BN (50a7951)

Features

  • account: adding new transaction version for fee estimation (2f7cb3f)

3.8.0 (2022-04-04)

Bug Fixes

  • getBlock should not default to pending block (7a641b5)

Features

  • complete interface (39d2f05)
  • default estimateFee to pending block (719dda5)
  • default to pending block (d3c1bdc)
  • pending as success (9e79288)

3.7.0 (2022-03-24)

Features

  • Account: account constructor should take a KeyPair or a Signer as parameter (ea6ae40)
  • add BigInt support within BigNumberish (e42427a)
  • using typeguard to narrow variable's type in Account's constructor (ed048f3)

3.6.0 (2022-03-24)

Bug Fixes

  • account: estimate fee transfered from provider to account class (93e7dd9)
  • formatting (248246f)
  • link (494e000)
  • provider: estimateFee entrypoint conversion fix (e40204a)
  • provider: estimation fee response type (ce674ca)

Features

  • add LedgerSigner class + blind signing (9b700f3)
  • contract: contract expanded with estimateFee method (fbaf4ba)
  • improvements after PR reviewing (9f30e20)
  • new improvements after new PR review (2e16808)
  • provider: provider expanded with getTransactionTrace (b67361a)

3.5.1 (2022-03-11)

Bug Fixes

3.5.0 (2022-03-11)

Bug Fixes

  • contract test (a9b4103)
  • contract-factory: move more towards ethers.js api (4caa6ce)
  • contract: structure change (1ef9d2f)
  • contract: tests for new contract interface (9273f54)
  • enable validateMethodAndArgs on call (efa63d6)
  • reverting validateMethodAndArgs changes (d847fa8)

Features

  • contractFactory: lib expanded with contract factory (2c9c3d1)
  • contract: implement contract.deployed() ⇒ Promise<Contract> (91f4992)
  • contract: new contract interface (01eeae8)
  • contract: new contract methods signature (cc87943)
  • default contract args (2a3956d)
  • provider: preparation for the fee integration (c1c231b)

3.4.0 (2022-03-10)

Features

  • account: add legacy addTransaction method (94f5d87)

3.3.0 (2022-03-08)

Features

  • provider: add back legacy invokeFunction (dbd00ff)

3.2.0 (2022-03-04)

Features

  • account: initial multicall support (e2e3d61)
  • signer: always return string signatures (0e9dd6c)

3.1.0 (2022-02-22)

Bug Fixes

  • test: adding tests for type transferormation (60d5eb6)
  • tests: adding multicall contract (138b29d)

Features

  • contract: adding jsDocs to the contract class (d9ec6d3)
  • contract: adding parse request data on call and invoke (e6d46dc)
  • contract: parsing response from the contract call (3f7425f)

3.0.0 (2022-02-10)

Bug Fixes

  • account: dont allow additional signatures in execute (ac02d46)
  • comments (f261120)
  • review comments (ee93bd6)
  • test: remove only for getTransactionReceipt test (eb11d3b)
  • types: change type of block_number from number to BlockNumber in TransactionReceipt (7a48ff8)
  • types: update TransactionReceipt type (9f9f6a2)

Features

  • account: introduce execute method (0be78c6)
  • contract: add an option to pass block identifier (e34dd86)
  • new signer and provider interface (4b2a71c)
  • provider: add getTransactionReceipt() (4267a5f)
  • split account and signer (ca4ad9d)
  • update readme (ed021dc)

BREAKING CHANGES

  • new provider and signer interfaces

2.9.0 (2022-02-04)

Bug Fixes

  • introduce block identifier type (75599a9)

Features

  • utils: add validateAndParseAddress function (c067fc4)

2.8.0 (2022-02-02)

Features

  • add tests (e495d48)
  • implement verifyMessage and verifyMessageHash (bc9c4e9)

2.7.2 (2022-01-20)

Bug Fixes

  • CONTRIBUTING: wrong link (2622a6c)

2.7.1 (2022-01-04)

Bug Fixes

  • types: add block_number property to GetBlockResponse interface (696cf5a)

2.7.0 (2022-01-03)

Bug Fixes

  • add response to the waitForTx error (e25bdfd)

Features

  • blockHash: add blockHash and fix test cases (4e107eb)

2.6.0 (2021-12-29)

Bug Fixes

Features

2.5.0 (2021-12-13)

Bug Fixes

Features

2.4.0 (2021-12-09)

Features

2.3.1 (2021-12-01)

Bug Fixes

2.3.0 (2021-12-01)

Features

  • add compileStructToCalldata (e5bdb18)
  • utils: support shortstring and uint256 (f7ff057)

2.2.0 (2021-11-30)

Bug Fixes

  • bump version (02c8d07)
  • correctly parse structs in Starknet return types (5a4a318)
  • make Typescript compiler happy with constant types (aedd895)
  • use urljoin (4f1a040)

Features

2.1.1 (2021-11-30)

Bug Fixes

  • bump version (02c8d07)
  • correctly parse structs in Starknet return types (5a4a318)
  • make Typescript compiler happy with constant types (aedd895)
  • use urljoin (4f1a040)

2.1.1 (2021-11-30)

Bug Fixes

  • correctly parse structs in Starknet return types (5a4a318)
  • make Typescript compiler happy with constant types (aedd895)
  • use urljoin (4f1a040)

2.1.0 (2021-11-30)

Bug Fixes

Features

2.0.2 (2021-11-22)

Bug Fixes

  • correctly parse structs in Starknet return types (5a4a318)
  • make Typescript compiler happy with constant types (aedd895)

2.0.1 (2021-11-18)

Bug Fixes

  • msgHash length fix in signature verify function (589b126)

2.0.0 (2021-11-18)

Features

BREAKING CHANGES

  • implements alpha 4

1.7.0 (2021-11-17)

Features

  • add computeHashOnElements (ec6d3d3)

1.6.0 (2021-11-09)

Bug Fixes

Features

1.5.5 (2021-11-13)

Bug Fixes

  • msgHash length fix in signature verify function (589b126)

1.5.4 (2021-11-05)

Bug Fixes

  • type-naming: more expressive types (5277b12)

1.5.3 (2021-11-03)

Bug Fixes

1.5.2 (2021-11-03)

Bug Fixes

1.5.1 (2021-11-02)

Bug Fixes

  • protect bigints in axios payloads (5db78ea)

1.5.0 (2021-10-30)

Bug Fixes

Features

1.4.0 (2021-10-29)

Bug Fixes

  • cleanup (82aa438)
  • keep tests files consistent (e343b55)
  • push renamed snapshot (643cd40)
  • remove enc-utils to remove buffer dep (e08e4b5)
  • rename tests (b4d15a7)
  • update argent wallet implementation (63cc278)
  • update snapshots after contract upgrade (2a1dcde)
  • use function consistently (67617d7)

Features

1.3.0 (2021-10-28)

Features

1.2.0 (2021-10-27)

Bug Fixes

Features

  • implement needed helper methods (46f7173)
  • introduce contract class (db322fd)
  • type and use callContract (10c7fc4), closes #6

1.1.1 (2021-10-24)

Bug Fixes

  • .gitignore: remove docs from gitignore (a4c19ad)
  • gh-action: add token in actions/checkout (730f605)
  • gh-action: add token to bypass protected branch (8b026ab)
  • gh-action: fix action syntax (f88a476)
  • gh-action: fix commit message to lowercase (82177e6)
  • gh-action: fix untracked files (aba492e)
  • gh-action: force add readme (3175e08)
  • typedoc: github action to push typedoc to github (4573d19)

1.1.0 (2021-10-24)

Bug Fixes

Features

1.0.0 (2021-10-21)

Bug Fixes

Features