Skip to main content
All notable changes to Anchor are documented here. For detailed release notes, see the GitHub releases.

Version 0.32.1 (2025-01-09)

Fixes

  • Fixed deprecation warnings on alloc
  • Fixed race condition during program deployment

Version 0.32.0 (2025-01-08)

Features

  • Added #[error] attribute to declare_program!
  • Replaced anchor verify with solana-verify
  • Made anchor deploy upload IDL by default
  • Added generic program validation to Program type
  • Built IDL on stable Rustc
  • Added support for Bun package manager
  • Added hooks section to Anchor.toml

Breaking Changes

  • anchor verify now uses solana-verify
  • IDL uploaded by default on deploy
  • Removed Solang support
  • Removed anchor publish command

Version 0.31.1 (2025-04-19)

Features

  • New Docker image: solanafoundation/anchor
  • Provider requires publicKey instead of wallet

Notes

  • Anchor now published under solanafoundation organization

Version 0.31.0 (2025-03-08)

Features

  • Non-8-byte discriminator support
  • LazyAccount for deferred deserialization
  • #[instruction] attribute for custom discriminators
  • Mollusk test template
  • Shell completions via anchor completions
  • AVM downloads binaries by default

Breaking Changes

  • Dynamic discriminator lengths
  • Removed fallback function shortcut

Older versions

Version 0.30.1

  • Solana 1.18 compatibility
  • Token-2022 program interface support

Version 0.30.0

  • Account resolution improvements
  • IDL-based account resolution
  • Enhanced PDA support

Version 0.29.0

  • Solana 1.17 support
  • Improved error messages
  • Better TypeScript types

Migration guides

See Migration Guides for detailed upgrade instructions between major versions.

Full changelog

View the complete changelog on GitHub.

Build docs developers (and LLMs) love