Skip to content

Latest commit

 

History

History
856 lines (542 loc) · 53.9 KB

CHANGELOG.md

File metadata and controls

856 lines (542 loc) · 53.9 KB

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