Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release #1170

Merged
merged 332 commits into from
Jul 2, 2024
Merged

Release #1170

merged 332 commits into from
Jul 2, 2024

Conversation

tabaktoni
Copy link
Collaborator

@tabaktoni tabaktoni commented Jul 2, 2024

Motivation and Resolution

v6 first time release

RPC version (if applicable)

...

Usage related changes

  • Change 1.
  • ...

Development related changes

  • Change 1.
  • ...

Checklist:

  • Performed a self-review of the code
  • Rebased to the last commit of the target branch (or merged it into my branch)
  • Linked the issues which this PR resolves
  • Documented the changes in code (API docs will be generated automatically)
  • Updated the tests
  • All tests are passing

tabaktoni and others added 30 commits December 11, 2023 13:22
# [6.0.0-beta.6](v6.0.0-beta.5...v6.0.0-beta.6) (2023-12-11)

### Features

* def rpc 0_6, sepolia nodes ([4f59a8f](4f59a8f))
* default account UniversalDetails, rpc spec update, update interface ([8dc9b8a](8dc9b8a))
* sepolia constants, rpc open change ([6de46b5](6de46b5))
Update noble and scure deps
# [6.0.0-beta.7](v6.0.0-beta.6...v6.0.0-beta.7) (2023-12-14)

### Bug Fixes

* provider rpc 0.5-0.6 getTransactionReceipt response standardization ([76b6ab4](76b6ab4))

### Features

* curves ([405de46](405de46))
* **provider:** fix and clean provider response and response parser, removed seqeuncer api ([7ecb069](7ecb069))
* **provider:** pending response discrimination, pending type guards ([013a22b](013a22b))
PhilippeR26 and others added 21 commits May 17, 2024 21:05
* test: eth signer

* test: move secp256k1Point tests in a dedicated test file

* feat: helper for  transaction receipt

* simplify extends for account class

* feat: handling of cairo u512 type

* refactor: change name of variable : GetTxReceiptResponseWithoutHelper

* fix: double lines for same imports

* fix: solve an error in validate.ts initiated by pr 1007

* fix: correction of a word in guide

* docs: validateChecksumAddress

* fix: jsdoc correction

* docs: add tsdoc in utils/address.ts

* test: add extra fees

* fix: estimateFeeBulk include skipValidate in accountInvocationsFactory

* feat: add type guard to receipt response status methods

* fix: repair i128 typed data encoding and add typed data range checks

* chore: update left over StarkNet casing

* feat: bundle resolution, module, type import for walletacc

* feat: bundle resolution, module, type import for walletaccount

* chore: fix connect import

* chore: add get-starknet-core next as dependencie

* chore: import fix

* fix: estimateMessageFee - eth address format (#1040)

* fix: estimatemessagefee eth address format

* fix: implement requests

* docs: small guides cleanup (#1048)

* docs: fix nodeUrl code typo (#1046)

* docs: small guides cleanup

---------

Co-authored-by: Joel Mun <[email protected]>

* fix(RpcProvider): allow client to provide `specVersion` in 0.7 provider

this saves an extra call on RPC for optionally-known information (like the `chainId` case).
also fixed speck -> spec typo

* fix: remove abis parameter from signer and account execute

* feat: configure u512 and Secp256k1Point for abiwan

* chore: bump dependencies

* chore: expose data gas consumed and data gas price for 0.7 rpc

* refactor: remove all code for Goerli testnet

* feat: add provider.waitForBlock

* test: bump ci tests to devnet-rs v0.0.5

* fix: solve conflict

---------

Co-authored-by: gregory <[email protected]>
Co-authored-by: Toni Tabak <[email protected]>
Co-authored-by: ivpavici <[email protected]>
Co-authored-by: Petar Penovic <[email protected]>
Co-authored-by: Joel Mun <[email protected]>
Co-authored-by: Abraham Makovetsky <[email protected]>
Co-authored-by: Haroune Mohammedi <[email protected]>
Co-authored-by: Dhruv Kelawala <[email protected]>
* feat: provider.getL1MessageHash

* docs: add JSDOC example

* fix: remaining conflicts
* test: Improve tests performance (#1121)

* test: fix transaction retry interval fallback for devnet tests

* test: remove test.only

* Update _test.yml (#1126)

* fix: rename the @param to match the definitions

this commit changes the typedoc that do not match the function declaration

* fix: add a space before typedoc <br/> so that it catches the name

when a @param contains an html tag, it should not be attached to the parameter
name otherwise it does consider the tag is part of the name. This commit
detaches the name from the tag

* fix: improve function declaration so that typedoc matches it

this is a specific case when a function has several declarations and the first
one does not match the typedoc because the parameter is optional. This commit
simplifies the declaration by making the comment optional with a ?.

* fix: reintroduce the parameter name

change the declaration of a function so that the parameter name appears.
To do so it moves the assignement in the function.

* fix: remove unused type declaration and export

removes a declaration from account that is not used in the code and
redundant with the exact same one in the provider file. export the
declaration that is the one really used.

---------

Co-authored-by: Luka Saric <[email protected]>
Co-authored-by: Ivan Pavičić <[email protected]>
# [6.9.0](v6.8.0...v6.9.0) (2024-05-21)

### Bug Fixes

* cannot infer ts2742 types from [email protected] ([#1098](#1098)) ([f1c3b8e](f1c3b8e))
* remove [warning] from typedoc for external usage ([#1095](#1095)) ([195186f](195186f)), closes [#1121](#1121) [#1126](#1126)

### Features

* add type coverage ([#1120](#1120)) ([eceda5d](eceda5d))
* provider.getL1MessageHash ([#1123](#1123)) ([1489cf2](1489cf2))

### Reverts

* Revert "chore: add examples to JsDoc for transaction.ts file (#1105)" (#1108) ([59eb01e](59eb01e)), closes [#1105](#1105) [#1108](#1108)
* test: add coverage option (#1131)

* test: add coverage option

* docs: add coverage of a single file

* feat: add coverage in automatic test suite

* fix: add 'run' to npm test  coverage script

* docs: jsdoc adds (#1133)

* docs: jsdoc for utils-provider and utils-classHash

* docs: add jsdoc in utils- stark and starknetid

* docs: add jsdoc to utils-shortstring, transaction, uint256

* docs: add  jsdoc for signer interface

* docs: add @return for class getters

* Chore/replace enums with companion pattern approach (#1083)

* test: test setup refactor & remove rpc sequencer

* fix: enable sequencer tests to run on goerli

* chore: format markdowns

* fix: remove unnecessary goerli describeIf comment

* chore: remove setup verifier & simplify envs check logic

* test: naming improvements

* test: update test setup data log for testnet

* test: change from goerli to sepolia

* test: rename from rpc testnet to testnet

* test: remove `TEST_PROVIDER_BASE_URL`

* chore: replace enums with companion pattern

* chore: convert caior option & result enums to consts

* chore: add `ValuesType<T>` type helper

* test: Improve tests performance (#1121)

* test: fix transaction retry interval fallback for devnet tests

* test: remove test.only

* chore: revert from describeIfNot to describeIf

* Update _test.yml (#1126)

* chore(release): 6.9.0 [skip ci]

# [6.9.0](v6.8.0...v6.9.0) (2024-05-21)

### Bug Fixes

* cannot infer ts2742 types from [email protected] ([#1098](#1098)) ([f1c3b8e](f1c3b8e))
* remove [warning] from typedoc for external usage ([#1095](#1095)) ([195186f](195186f)), closes [#1121](#1121) [#1126](#1126)

### Features

* add type coverage ([#1120](#1120)) ([eceda5d](eceda5d))
* provider.getL1MessageHash ([#1123](#1123)) ([1489cf2](1489cf2))

### Reverts

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

* fix: use proper constants

---------

Co-authored-by: Luka Saric <[email protected]>
Co-authored-by: Ivan Pavičić <[email protected]>
Co-authored-by: Toni Tabak <[email protected]>
Co-authored-by: semantic-release-bot <[email protected]>

* refactor: remove functions useful for deprecated sequencer

* refactor: starknetid contracts on sepolia & remove old code (#1139)

* test: update starknetid naming mock contract

* fix: update starknetId contract addresses on sepolia

* refactor: remove unused code from getStarkName & getStarkProfile

* docs: update starknetId utils example results

* test: fix getStarknetIdContract test on sepolia

* fix: remove default from computeHintedClassHash to be able to export (#1142)

* fix: remove default from classhash/computeHintedClassHash to be able to export

* test: add test for computeHintedClassHash

* docs: utils/num docs (#1132)

* docs: added jsdocs to utils/num functions

* docs: extracted existing util/num tests to a separate file, added tests

* chore: num docs small fixes and refactoring

* Update src/utils/num.ts

---------

Co-authored-by: Ivan Pavičić <[email protected]>

* docs: updated verious util function docs, added tests, refactoring (#1129)

* docs: updated verious util function docs, added tests, refactoring

* docs: json util jsdocs improvements

* chore: typo quickfix

* chore: added missing results to jsdoc examples

* chore: removed jsdoc from non-exported helper function

* chore: utils/json docs fixes and refactoring

* fix: export abi types

* clanup

* fix: types-js (#1147)

* fix: types-js

* chore: fix upp

* Dep/types js (#1153)

* fix: types-js

* chore: fix upp

* fix: types 0.0.7

* docs: merkle and selector docs/tests (#1152)

* docs: added docs for merkle and selector utils, moved selector to hash, added happy path tests

* chore: added example tag to jsdoc

* chore: remove obsolete folder (#1149)

* test: Improve tests performance (#1121)

* test: fix transaction retry interval fallback for devnet tests

* test: remove test.only

* Update _test.yml (#1126)

* chore(release): 6.9.0 [skip ci]

# [6.9.0](v6.8.0...v6.9.0) (2024-05-21)

### Bug Fixes

* cannot infer ts2742 types from [email protected] ([#1098](#1098)) ([f1c3b8e](f1c3b8e))
* remove [warning] from typedoc for external usage ([#1095](#1095)) ([195186f](195186f)), closes [#1121](#1121) [#1126](#1126)

### Features

* add type coverage ([#1120](#1120)) ([eceda5d](eceda5d))
* provider.getL1MessageHash ([#1123](#1123)) ([1489cf2](1489cf2))

### Reverts

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

* Update amm.js

* chore: remove obsolete folder

---------

Co-authored-by: Luka Saric <[email protected]>
Co-authored-by: Ivan Pavičić <[email protected]>
Co-authored-by: Toni Tabak <[email protected]>
Co-authored-by: semantic-release-bot <[email protected]>

* Fix: public responseParser (#1154)

* fix: enable instance parser change

* Update __tests__/rpcProvider.test.ts

Co-authored-by: Petar Penović <[email protected]>

* fix: export ResponseParser and RPCResponseParser

* chore: noob

---------

Co-authored-by: Petar Penović <[email protected]>

* BUG: Nested events not handled (#1140)

* test: eth signer

* test: move secp256k1Point tests in a dedicated test file

* feat: helper for  transaction receipt

* simplify extends for account class

* feat: handling of cairo u512 type

* refactor: change name of variable : GetTxReceiptResponseWithoutHelper

* fix: double lines for same imports

* fix: solve an error in validate.ts initiated by pr 1007

* fix: correction of a word in guide

* docs: validateChecksumAddress

* fix: jsdoc correction

* docs: add tsdoc in utils/address.ts

* test: add extra fees

* fix: estimateFeeBulk include skipValidate in accountInvocationsFactory

* feat: add type guard to receipt response status methods

* fix: repair i128 typed data encoding and add typed data range checks

* chore: update left over StarkNet casing

* feat: bundle resolution, module, type import for walletacc

* feat: bundle resolution, module, type import for walletaccount

* chore: fix connect import

* chore: add get-starknet-core next as dependencie

* chore: import fix

* fix: estimateMessageFee - eth address format (#1040)

* fix: estimatemessagefee eth address format

* fix: implement requests

* docs: small guides cleanup (#1048)

* docs: fix nodeUrl code typo (#1046)

* docs: small guides cleanup

---------

Co-authored-by: Joel Mun <[email protected]>

* fix(RpcProvider): allow client to provide `specVersion` in 0.7 provider

this saves an extra call on RPC for optionally-known information (like the `chainId` case).
also fixed speck -> spec typo

* fix: remove abis parameter from signer and account execute

* feat: configure u512 and Secp256k1Point for abiwan

* chore: bump dependencies

* chore: expose data gas consumed and data gas price for 0.7 rpc

* test: Improve tests performance (#1121)

* test: fix transaction retry interval fallback for devnet tests

* test: remove test.only

* Update _test.yml (#1126)

* chore(release): 6.9.0 [skip ci]

# [6.9.0](v6.8.0...v6.9.0) (2024-05-21)

### Bug Fixes

* cannot infer ts2742 types from [email protected] ([#1098](#1098)) ([f1c3b8e](f1c3b8e))
* remove [warning] from typedoc for external usage ([#1095](#1095)) ([195186f](195186f)), closes [#1121](#1121) [#1126](#1126)

### Features

* add type coverage ([#1120](#1120)) ([eceda5d](eceda5d))
* provider.getL1MessageHash ([#1123](#1123)) ([1489cf2](1489cf2))

### Reverts

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

* fix: handling of events nested in Cairo components

* fix: change names of events in tests

* refactor: change type names

* test: adapt parseUDCEvent to events namespace

* refactor: implement reviewer requests

* refactor: add spec6 types

* Revert "Merge branch 'next-version' into nested-events"

This reverts commit 4c65e9b, reversing
changes made to 7702d9c.

* fix: remove events.ts  that came back after merge

* refactor: use of external types-js lib for events types

---------

Co-authored-by: gregory <[email protected]>
Co-authored-by: Toni Tabak <[email protected]>
Co-authored-by: ivpavici <[email protected]>
Co-authored-by: Petar Penovic <[email protected]>
Co-authored-by: Joel Mun <[email protected]>
Co-authored-by: Abraham Makovetsky <[email protected]>
Co-authored-by: Haroune Mohammedi <[email protected]>
Co-authored-by: Dhruv Kelawala <[email protected]>
Co-authored-by: Luka Saric <[email protected]>
Co-authored-by: semantic-release-bot <[email protected]>

* feat: add handling of nonZero type (#1150)

* Guide for wallet account (#1156)

* docs: walletAccount guide

* fix: add all Ivan's proposals, except one

---------

Co-authored-by: Philippe ROSTAN <[email protected]>
Co-authored-by: Luka Saric <[email protected]>
Co-authored-by: Luka Saric <[email protected]>
Co-authored-by: Ivan Pavičić <[email protected]>
Co-authored-by: semantic-release-bot <[email protected]>
Co-authored-by: PhilippeR26 <[email protected]>
Co-authored-by: Iris <[email protected]>
Co-authored-by: dsperac <[email protected]>
Co-authored-by: alex <[email protected]>
Co-authored-by: Petar Penović <[email protected]>
Co-authored-by: gregory <[email protected]>
Co-authored-by: Joel Mun <[email protected]>
Co-authored-by: Abraham Makovetsky <[email protected]>
Co-authored-by: Haroune Mohammedi <[email protected]>
Co-authored-by: Dhruv Kelawala <[email protected]>
# [6.10.0](v6.9.0...v6.10.0) (2024-06-18)

### Features

* next-version ([1687dd2](1687dd2))
* feat: install unbuild

* chore: update tsup config

* chore: update eslint config

* feat: add build.config.ts

* fix: new lock

---------

Co-authored-by: Toni Tabak <[email protected]>
## [6.10.1](v6.10.0...v6.10.1) (2024-06-28)

### Bug Fixes

* change build cjs and mjs to unbuild ([#1163](#1163)) ([bb4a93d](bb4a93d))
## [6.10.2](v6.10.1...v6.10.2) (2024-07-02)

### Bug Fixes

* revert enums partially & tsup build ([#1165](#1165)) ([57b2c72](57b2c72))
@tabaktoni
Copy link
Collaborator Author

tabaktoni commented Jul 2, 2024

Manual test on Sepolia Pass
https://github.com/starknet-io/starknet.js/actions/runs/9765931295

@tabaktoni tabaktoni merged commit bd8efec into main Jul 2, 2024
2 of 3 checks passed
Copy link

github-actions bot commented Jul 3, 2024

🎉 This issue has been resolved in version 7.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.