New crate versions
starknet
: v0.12.0starknet-signers
: v0.10.0starknet-providers
: v0.12.0starknet-macros
: v0.2.1starknet-curve
: v0.5.1starknet-crypto
: v0.7.2starknet-core
: v0.12.0starknet-contract
: v0.11.0starknet-accounts
: v0.11.0
Breaking changes
Signer
trait changes
The Signer
trait has been updated in #617 and #648 to account for the fact that some Signer
implementations are most expensive to use than others, sometimes even depending on the calls being made. The new feature is known as "signer interactivity". When an implementation is behaving as interactive, higher-level types (e.g. Account
) in the library would avoid signature requests unless absolutely necessary.
CompiledClass
changes
In #651, the type for the bytecode_segment_lengths
field in CompiledClass
has been changed to fix a deserialization bug. This only affects downstream code that constructs CompiledClass
directly.
New features
Ledger signer
Added in #605, a new Signer
implementation backed by the Ledger hardware wallet is now available. The feature is off by default and must be turned on via the ledger
feature of starknet-signers
.
The new type LedgerStarknetApp
can also be used outside of the context of Signer
to use Ledger-specific functionalities (e.g. getting Ledger app version).
Support for JSON-RPC batch requests
Implemented in #653, it's now possible to send multiple JSON-RPC requests in parallel utilizing the same HTTP request.