NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
crates.io, #4064 most downloaded on crates.io
Anchor attribute macro for defining a program
Latest stable
1.2.2
Last release 17 days ago
03 Nov 2026
Ships fairly regularly
a new release about every 3 weeks
Nearly every release is documented
notes for 59 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
6 years old
71 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.
For a list of changes in this release, see the Change Log.
For a list of changes in this release, see the Change Log.
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.
#[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.Nothing published for this version
One column per quarter.