New crate versions
starknet: v0.17.0starknet-macros: v0.2.5starknet-contract: v0.16.0starknet-accounts: v0.16.0starknet-providers: v0.16.0starknet-signers: v0.14.0starknet-core: v0.16.0starknet-crypto: v0.8.1starknet-curve: v0.6.0starknet-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:
ProviderImplErrortrait for custom provider implementations- Methods for getting broadcasted transaction requests
PoseidonHashernow derivesClone
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_subscribeNewTransactionsstarknet_subscribeNewTransactionReceipts