0.30.2
Anchor - Release Notes 0.30.2
0.30.2 adds TypeScript client support for parsing Solana transaction version 1
(v1) transactions. This is a TypeScript-only patch release.
How to upgrade
-
Update
anchor-cli: -
Update Anchor crate(s) to
0.30.2. -
Replace the legacy
@coral-xyz/anchorand related@coral-xyz/*packages with@anchor-lang/core:Update imports accordingly:
Recommended Solana Version
This release supports any Solana version above 1.17.3, with 1.18.17
recommended. Upgrade Solana tools with:
TypeScript
Solana transaction version 1
AnchorProvider can now deserialize and process Solana v1 transactions. When a
transaction fails, Anchor also retrieves the transaction with
maxSupportedTransactionVersion set to 1, so the client can return the
program logs instead of failing while parsing the response.
The client now uses @solana/web3.js 1.99.0 and requires Node.js 20.18.0 or
later.
TypeScript package migration
Users must switch from the legacy @coral-xyz/anchor packages to
@anchor-lang/core. Update both the package dependency and all imports; the
legacy package line is not the supported path for this release.
See the full list of notable changes in the CHANGELOG.