Skip to content

starknet/v0.12.0

Latest
Compare
Choose a tag to compare
@xJonathanLEI xJonathanLEI released this 18 Sep 10:51
· 17 commits to master since this release
ee9a5cd

New crate versions

  • starknet: v0.12.0
  • starknet-signers: v0.10.0
  • starknet-providers: v0.12.0
  • starknet-macros: v0.2.1
  • starknet-curve: v0.5.1
  • starknet-crypto: v0.7.2
  • starknet-core: v0.12.0
  • starknet-contract: v0.11.0
  • starknet-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.