New crate versions
starknet
: v0.14.0starknet-macros
: v0.2.2starknet-contract
: v0.13.0starknet-accounts
: v0.13.0starknet-providers
: v0.13.0starknet-signers
: v0.11.0starknet-core
: v0.13.0
Breaking changes
Switch to JSON-RPC v0.8.0
starknet-rs
does not support using multiple JSON-RPC spec versions side-by-side. The current active spec version has been changed from v0.7.1
to v0.8.0
.
Removal of pre-v3 transactions
Pre-v3 transactions will soon be removed from the Starknet network. They have been excluded from JSON-RPC spec v0.8.0
, and due to the switch to v0.8.0
, starknet-rs
no longer supports sending these older versions of transactions.
Nevertheless, as of this writing, the network itself still accepts pre-v3 transactions. Use a previous release of starknet-rs
to continue sending these transactions. However, it's recommended that you upgrade soon.
New features
JSON-RPC v0.8.0 support
The library now uses spec v0.8.0
.
Ledger app 2.0.0+ support
Due to breaking changes introduced in the Starknet Ledger app v2.0.0+, the library would sometimes fetch incorrect signatures from a device. An app version query has been added to be compatible with the latest version.
Bug fixes
SNIP-12 message hash parity with starknet.js
The library previously implemented SNIP-12 correctly. However, due to bugs found in starknet.js
, the de facto standard, a few deviations have been made in order to yield the same message hashes as starknet.js
.