NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
crates.io, #4971 most downloaded on crates.io
CPI clients for SPL programs
Latest stable
1.2.2
Last release 6 days ago
14 Nov 2026
Ships fairly regularly
a new release about every 3 weeks
Nearly every release is documented
notes for 60 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
6 years old
73 releases · first in 2021
Drag across the ruler to compare, or tap a release to open it.
For a list of changes in this release, see the Change Log.
For a list of changes in this release, see the Change Log.
SetAuthority instruction (#307).constraint = <expression> added as a replacement for (the now deprecated) string literal constraints (#341).anchor.workspace clients (#310).<program>.account.<my-account> and <program>.state namespaces now require explicitly invoking the fetch API. For example, program.account.myAccount(<address>) and program.state() is now program.account.myAccount.fetch(<address>) and program.state.fetch() (#322).#[account(associated)] now requires init to be provided to create an associated account. If not provided, then the address will be assumed to exist, and a constraint will be added to ensure the correctness of the address (#318).#[state] account discriminator to be namespaced by "state:" (#320).: to be consistent with accounts (#321).mut (#341).space constraints must now be literal integers instead of literal strings (#341).Your coding agent can read these notes before it upgrades. Set up the MCP server →
For a list of changes in this release, see the Change Log.
For a list of changes in this release, see the Change Log.
program.simulate namespace (#266).Address type, allowing one to use Base 58 encoded strings in public APIs (#304).web3.Account with web3.Signer in public APIs (#296).anchor.workspace clients can now be customized per network with [cluster.<slug>] in the Anchor.toml (#308).--skip-build flag to test command (301).anchor shell command to spawn a node shell populated with an Anchor.toml based environment (#303).For a list of changes in this release, see the Change Log.
For a list of changes in this release, see the Change Log.
anchor-debug feature flag for logging (#253).For a list of changes in this release, see the Change Log.
For a list of changes in this release, see the Change Log.
For a list of changes in this release, see the Change Log.
For a list of changes in this release, see the Change Log.
For a list of changes in this release, see the Change Log.
For a list of changes in this release, see the Change Log.
#[account(owner = <program>)] constraint (#178).#[account(associated = <target>)] and #[associated] attributes for creating associated program accounts within programs. The TypeScript package can fetch these accounts with a new <program>.account.<account-name>.associated (and associatedAddress) method (#186).#[account]s are now parsed into the IDL correctly (#177).For a list of changes in this release, see the Change Log.
For a list of changes in this release, see the Change Log.
For a list of changes in this release, see the Change Log.
For a list of changes in this release, see the Change Log.
For a list of changes in this release, see the Change Log.
For a list of changes in this release, see the Change Log.
#[state] account's size (#121).#[account(executable)] attribute (#140).Cluster struct when constructing clients (#89).IdlAccount to be namespaced by "internal" (#128).-#![feature(proc_macro_hygiene)]. (#139).For a list of changes in this release, see the Change Log.
For a list of changes in this release, see the Change Log.
For a list of changes in this release, see the Change Log.
For a list of changes in this release, see the Change Log.
.anchor/program-logs directory when testing (ce5ca7).For a list of changes in this release, see the Change Log.
For a list of changes in this release, see the Change Log.
For a list of changes in this release, see the Change Log.
For a list of changes in this release, see the Change Log.
Initial release.
anchor-lang crate providing a Rust eDSL for Solana.anchor-spl crate providing CPI clients for Anchor programs.anchor-client crate providing Rust clients for Anchor programs.@project-serum/anchor package for generating TypeScript clients.One column per quarter.