Releases: NethermindEth/starknet.go
v0.18.0-beta.2
Beta release implementing the Starknet RPC v0.10.1-rc.2 specification.
For more details, see the CHANGELOG file.
Full Changelog: v0.18.0-beta...v0.18.0-beta.2
v0.18.0-beta
Beta release implementing the Starknet RPC v0.10.0 specification.
Full Changelog: v0.17.1...v0.18.0-beta
v0.17.1
This release implements Starknet RPC v0.9.0
This release is exclusively to support the use of the new Blake2s hash when sending DECLARE transactions. Starknet.go will automatically fetch the current Starknet version and decide whether to use the Blake2s hash function when using the account.BuildAndSendDeclareTxn method. See the description of the new opts.UseBlake2sHash param to know more.
For more details, see the CHANGELOG file.
What's Changed
- Documentation for v0.17.0 SDK Release by @Giri-Aayush in #822
- feat: Blake2s implementation by @thiagodeev in #821
Full Changelog: v0.17.0...v0.17.1
v0.13.2
This release implements Starknet RPC v0.8.1
This release is exclusively to support the use of the new Blake2s hash when sending DECLARE transactions. Starknet.go will automatically fetch the current Starknet version and decide whether to use the Blake2s hash function when using the account.BuildAndSendDeclareTxn method. See the description of the new opts.UseBlake2sHash param to know more.
For more details, see the CHANGELOG file.
Full Changelog: v0.13.1...v0.13.2
v0.17.0
This release implements Starknet RPC v0.9.0
Key changes:
- New
paymasterpkg for interacting with paymaster services via the SNIP-29 API (see theexamples/paymasterfolder to learn how to use it). - Now, all the
account.BuildAndSend*methods will automatically estimate and set the tip to be used in the transaction
based on the average tip of all transactions in the latest block. The user can set a custom tip by setting theCustomTip
field in theopts *TxnOptionsparameter to override the automatic estimation. - The
rpc.NewProviderfunction now returns an error if the node RPC version is different from the version
implemented by the starknet.go provider. The returned Provider instance is still valid, but there might be
unexpected behaviour due to the spec differences. - New
rpc.EstimateTipandrpc.IsCompatibleutility functions. - Two bug fixes in utilities related to fee calculation.
For more details, see the CHANGELOG file.
What's Changed
- chore(deps): bump vite from 6.3.6 to 6.4.1 in /docs in the npm_and_yarn group across 1 directory by @dependabot[bot] in #803
- refactor: update RPC provider initialization to use context by @thiagodeev in #804
- chore(deps): bump hono from 4.9.10 to 4.10.2 in /docs in the npm_and_yarn group across 1 directory by @dependabot[bot] in #806
- Thiagodeev: new
provider.IsCompatiblemethod + error returned by Provider by @thiagodeev in #807 - feat: implement SNIP-29 (issue #745) by @Salonii02 in #768
- refactor: rename typedata package to typeddata by @thiagodeev in #811
- chore(deps): bump hono from 4.10.2 to 4.10.3 in /docs in the npm_and_yarn group across 1 directory by @dependabot[bot] in #814
- Thiagodeev/fix-fee-limit by @thiagodeev in #819
- fix: Overall Fee calculation by @thiagodeev in #820
- feat: tip estimation utility + automatically tip estimation for account methods by @thiagodeev in #812
New Contributors
- @Salonii02 made their first contribution in #768
Full Changelog: v0.16.0...v0.17.0
v0.16.0
This release implements Starknet RPC v0.9.0
Key changes:
- New
curve.SignFeltsfunction for signing messages with felt.Felt parameters. - The
rpc.RPCErrortype and logic were refactored and moved to the newclient/rpcerrpackage. - Some bug fixes and improvements in the
typeddatapkg related to encoding and marshaling. - Removed Braavos warning when calling
account.New. - Major refactoring in the codebase to match Golang conventions. Multiple variables/functions/methods were renamed. Everything is described in the changelog.
For more details, see the CHANGELOG file.
What's Changed
- Thiagodeev/refactor: CI refactor by @thiagodeev in #782
- refactor: move rpc/error code to a new pkg by @thiagodeev in #783
- Thiagodeev/Spy feature for testing JSON-RPC calls by @thiagodeev in #786
- Thiagodeev/export-spy-type by @thiagodeev in #790
- Thiagodeev/new mock client by @thiagodeev in #791
- Thiagodeev/new-signFelt-func by @thiagodeev in #792
- Thiagodeev/Fix SNIP-12 JSON Marshaling for TypedData by @thiagodeev in #789
- Thiagodeev/fix-snip-12-selector-encode by @thiagodeev in #793
- Update breaking function by @dhruv035 in #795
- fix: use ctx param in call to Provider.Nonce by @Rodrigo-Pino in #797
- Landing page redesign and RPC documentation updates by @Giri-Aayush in #780
- Thiagodeev/fix-flaky-tests by @thiagodeev in #799
- chore: update linters by @Rodrigo-Pino in #798
- Thiagodeev/remove-braavos-warning by @thiagodeev in #802
New Contributors
- @dhruv035 made their first contribution in #795
- @Rodrigo-Pino made their first contribution in #797
- @Giri-Aayush made their first contribution in #780
Full Changelog: v0.15.0...v0.16.0
v0.15.0
This release implements Starknet RPC v0.9.0
The main purpose of this release is to fix a bug that can happen in websocket subscriptions when receiving Reorg events. More details in the PR #781.
It also brings other small changes.
For more details, see the CHANGELOG file.
What's Changed
- feat: Return transaction responses by value (closes #764) by @raymax0x in #766
- Fix Merkle tree nextProof check by @tarrencev in #779
- Optimize regular expression usage in typedData package by @reallesee in #771
- Fix: client panics sometimes when receiving reorg events in subscriptions by @thiagodeev in #781
New Contributors
- @raymax0x made their first contribution in #766
- @reallesee made their first contribution in #771
Full Changelog: v0.14.0...v0.15.0
v0.14.0
This release implements Starknet RPC v0.9.0
Key changes:
- Starknet RPC-spec v0.9.0 fully implemented, bringing new methods, types, and a lot of changes. See the spec repo and our CHANGELOG.md for more info.
- Small bug fixes and improvements.
For more details, see the CHANGELOG file.
What's Changed
- RPC v0.9.0 + Starknet v0.14.0 by @thiagodeev in #756
Full Changelog: v0.13.1...v0.14.0
v0.14.0-beta.3
Beta pre-release implementing Starknet RPC v0.9.0-rc.3 spec.
https://github.com/starkware-libs/starknet-specs/releases/tag/v0.9.0-rc.3
Full Changelog: v0.14.0-beta.2...v0.14.0-beta.3
v0.13.1
This release implements Starknet RPC v0.8.1
Key changes:
- fixed a bug in the
starknet_syncingmethod - small adjustment to the
curvepkg - small adjustment to the RPC error data types
For more details, see the CHANGELOG file.
What's Changed
- Thiagodeev/ci fix by @thiagodeev in #769
- test: new enum for test environments by @thiagodeev in #759
- Remove global
curve.g1Afflinevariable by @thiagodeev in #773 - Fix:
starknet_syncingmethod and test by @thiagodeev in #774 - Fix/wrong omitempty in rpcerror by @thiagodeev in #776
Full Changelog: v0.13.0...v0.13.1