Skip to content

starknet/v0.17.0

Latest

Choose a tag to compare

@xJonathanLEI xJonathanLEI released this 29 Aug 07:24
8590613

New crate versions

  • starknet: v0.17.0
  • starknet-macros: v0.2.5
  • starknet-contract: v0.16.0
  • starknet-accounts: v0.16.0
  • starknet-providers: v0.16.0
  • starknet-signers: v0.14.0
  • starknet-core: v0.16.0
  • starknet-crypto: v0.8.1
  • starknet-curve: v0.6.0
  • starknet-tokio-tungstenite: v0.3.0

Summary

This is a breaking release targeting JSON-RPC v0.9.0 and Starknet v0.14.0. The major breaking changes include the renaming of "pending" terminology to "pre-confirmed" throughout the API, restructuring of message status types, and support for transaction tips.

New features

Transaction tip support

Transaction tips are now supported across declaration, execution, and deployment transactions, allowing users to specify priority fees for faster transaction inclusion.

Built-in support for new UDC

The contract factory now includes built-in support for the new Universal Deployer Contract (UDC). The previous new() constructor has been deprecated in favor of the more specific new_with_udc() method.

Enhanced API visibility

Several previously internal APIs have been made public for better programmability:

  • ProviderImplError trait for custom provider implementations
  • Methods for getting broadcasted transaction requests
  • PoseidonHasher now derives Clone

Breaking changes

Change of target JSON-RPC version

See the full changes in the official specification repo. Main chagnes include:

  • All references to "pending" blocks and states have been renamed to "pre-confirmed".
  • A pending-related WebSocket stream has been removed:
    • starknet_subscribePendingTransactions
  • Two new WebSocket streams have been added:
    • starknet_subscribeNewTransactions
    • starknet_subscribeNewTransactionReceipts