Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
db3da20
feat(lang): remove solana-program from anchor_lang (#3819)
swaroop-osec Aug 19, 2025
eed2937
feat: Update SPL dependencies to latest compatible versions (#3860)
swaroop-osec Aug 19, 2025
d94d9c3
feat: Upload IDL by default with option to skip (#3863)
swaroop-osec Aug 20, 2025
7c1900f
fix(idl): Disable Locale in camelCase (#3845)
0xIchigo Aug 20, 2025
197dcc6
fix: updated Glob Pattern So Nested Tests Run (#3846)
0xIchigo Aug 20, 2025
28ba3df
chore: Update bytemuck (#3858)
jamie-osec Aug 21, 2025
8ecac36
chore: Format `src/idl.ts` (#3871)
jamie-osec Aug 21, 2025
fdc5c51
docs: fix typo (#3868)
prestoalvarez Aug 21, 2025
5256dc1
fix: fix AVM instability with `solana-verify` (#3867)
jamie-osec Aug 22, 2025
9b30a61
docs: Add token extension constraints to account documentation (#3861)
swaroop-osec Aug 22, 2025
8dff73e
feat: remove solana-client from anchor-client and cli (#3877)
kevinheavey Aug 26, 2025
18d0ca0
feat: Use `solana-invoke` insteam of `solana_cpi::invoke` (#3900)
jamie-osec Aug 29, 2025
5300d7c
fix(avm): Only use non-draft releases (#3931)
jamie-osec Sep 12, 2025
56b21ed
chore: update changelog in prep for 0.32 (#3951)
jacobcreech Sep 18, 2025
152d431
feat(cli): Add MSRV (#3873)
0xIchigo Sep 24, 2025
d5d7eb9
chore: Update security advisory info (#3906)
jacobcreech Sep 27, 2025
b1b20af
feat: 2.3.0 update (#3967)
jacobcreech Oct 8, 2025
d4502a6
v0.32.0 (#3968)
jacobcreech Oct 9, 2025
45beb40
Fix: realloc and prelude (#3975)
swaroop-osec Oct 9, 2025
059bc20
fix(cli): Wait for program confirmation before IDL init during deploy…
GuiBibeau Oct 9, 2025
1ebbe58
v0.32.1 (#3978)
jacobcreech Oct 10, 2025
4ca7ed9
feat: minimal cspell configuration (#3960)
SEJeff Oct 14, 2025
5da4d6a
feat: Use const-crypto to compute event auth and do address compariso…
jacobcreech Oct 14, 2025
dd1a038
lang: Remove program account info from CPI context (#2762)
Aursen Oct 15, 2025
e0297f3
fix: update bench test results for #2762 (#4010)
jacobcreech Oct 21, 2025
3ce4a6a
cli: Update anchor init (#3958)
swaroop-osec Oct 21, 2025
181513d
feat(syn): Relax Seeds Syntax (#3813)
0xIchigo Oct 21, 2025
a09e0fd
cli: remove .to_string() for i128/u128 deserialization (#3938)
rishavmehra Oct 21, 2025
2ab5b9e
refactor(client): extract solana-account from solana-sdk (#3891)
sonicfromnewyoke Oct 21, 2025
219023e
lang: Deprecate AccountInfo usage with compile-time warning in Accoun…
bergabman Oct 21, 2025
7360dbb
feat(lang): Allow Generic type programs in Accounts Struct (#3878)
swaroop-osec Oct 23, 2025
a1f0743
fix: Flaky test#3980 (#3987)
Otter-0x4ka5h Oct 24, 2025
c7f1215
chore: Bump `solana-program-entrypoint v3`
jamie-osec Oct 20, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
96 changes: 96 additions & 0 deletions .cspell-anchor-dictionary.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
aarch
ahash
ambigious
anchorversion
anza
Anza
arrayref
autoload
backpackapp
behaviour
blockhash
Blockhash
borsh
Borsh
bytemuck
bytemuckunsafe
cfgs
clippy
compinit
composibility
dedup
deriveaccounts
devex
devnet
Devnet
duplicative
footguns
fumadocs
Fumadocs
getrandom
Helius
idls
isinstance
keypair
Keypair
keypairs
Keypairs
Kibibyte
Lamport
lamports
Lamports
LAMPORTS
libclang
libudev
litesvm
localnet
Localnet
localnetwork
metas
Metas
millis
MSRV
msvc
namespacing
nonblocking
openbook
pathlib
pdas
pdksh
permissioned
programatically
programdata
projectserum
pubkeys
publickey
reallocs
repr
reqwest
rustc
rustls
rustup
RUSTUP
Sealevel
serde
shmem
sighash
sigverify
solana
Solana
Solana's
solanafoundation
Solang
solpg
Solpg
stdsimd
syscall
syscalls
sysvar
Sysvar
sysvars
underyling
unsized
Unsized
unverify
Zeroable
Znext
27 changes: 27 additions & 0 deletions .github/workflows/global-lint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Linters that run on everything and don't exclude docs/**
name: Global Linters
on:
workflow_dispatch:
pull_request:

# Manually run cspell locally via:
# make spellcheck
jobs:
spellcheck:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
# Pinned version of the v7.2.0 tag, which is a lightweight and hence mutable tag
- uses: streetsidesoftware/cspell-action@dcd03dc3e8a59ec2e360d0c62db517baa0b4bb6d
with:
# For now, only lint markdown files
files: |
**/*.md
**/*.mdx
inline: warning

# Only check files in the PR or push
incremental_files_only: true

# Do not error out on failures, only complain
strict: false
2 changes: 1 addition & 1 deletion .github/workflows/no-caching-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
uses: ./.github/workflows/reusable-tests.yaml
with:
cache: false
solana_cli_version: 2.1.0
solana_cli_version: 2.3.0
node_version: 20.18.0
cargo_profile: release
anchor_binary_name: anchor-binary-no-caching
4 changes: 4 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,10 @@ jobs:
toolchain: stable
target: ${{ matrix.target }}

- name: Install dependencies (Linux)
if: runner.os == 'Linux'
run: sudo apt-get update && sudo apt-get install -y libudev-dev

- name: Build release binary
run: cargo build --package anchor-cli --release --locked --target ${{ matrix.target }}

Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/reusable-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -414,6 +414,8 @@ jobs:
path: tests/declare-id
- cmd: cd tests/declare-program && anchor test --skip-lint
path: tests/declare-program
- cmd: cd tests/custom-program && anchor test --skip-lint
path: tests/custom-program
- cmd: cd tests/typescript && anchor test --skip-lint && npx tsc --noEmit
path: tests/typescript
# zero-copy tests cause `/usr/bin/ld: final link failed: No space left on device`
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
uses: ./.github/workflows/reusable-tests.yaml
with:
cache: true
solana_cli_version: 2.1.0
solana_cli_version: 2.3.0
node_version: 20.18.0
cargo_profile: debug
anchor_binary_name: anchor-binary
45 changes: 45 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,62 @@ The minor version will be incremented upon a breaking change and the patch versi

### Features

### Fixes

### Breaking

## [0.32.1] - 2025-10-09

### Features

### Fixes

- lang: Fix deprecation warnings on alloc and add solana-program to prelude
([#3975](https://github.com/solana-foundation/anchor/pull/3975)).
- cli: Fix race condition that could happen when deploying a program
([#3976](https://github.com/solana-foundation/anchor/pull/3976)).

### Breaking

## [0.32.0] - 2025-10-08

### Features

- lang: Add `#[error]` attribute to `declare_program!` ([#3757](https://github.com/coral-xyz/anchor/pull/3757)).
- cli: Replace `anchor verify` to use `solana-verify` under the hood, adding automatic installation via AVM, local path support, and future-proof argument passing ([#3768](https://github.com/solana-foundation/anchor/pull/3768)).
- lang: Replace `solana-program` crate with smaller crates ([#3819](https://github.com/solana-foundation/anchor/pull/3819)).
- cli: Make `anchor deploy` to upload the IDL to the cluster by default unless `--no-idl` is passed ([#3863](https://github.com/solana-foundation/anchor/pull/3863)).
- lang: Add generic program validation support to `Program` type allowing `Program<'info>` for executable-only validation ([#3878](https://github.com/solana-foundation/anchor/pull/3878)).
- lang: Use `solana-invoke` instead of `solana_cpi::invoke` ([#3900](https://github.com/solana-foundation/anchor/pull/3900)).
- client: remove `solana-client` from `anchor-client` and `cli` ([#3877](https://github.com/solana-foundation/anchor/pull/3877)).
- idl: Build IDL on stable Rustc ([#3842](https://github.com/solana-foundation/anchor/pull/3842)).
- lang: Add custom error when using init on SystemAccount ([#3828](https://github.com/solana-foundation/anchor/pull/3828)).
- lang: Add `errors` to `declare_program` ([#3757](https://github.com/solana-foundation/anchor/pull/3757)).
- ts: Add support for Bun as a package manager ([#3586](https://github.com/solana-foundation/anchor/pull/3586)).
- lang: Add support for tuple types in space calculation ([#3744](https://github.com/solana-foundation/anchor/pull/3744)).
- lang: Add missing pubkey const generation ([#3677](https://github.com/solana-foundation/anchor/pull/3677)).
- cli: Add the Minimum Supported Rust Version (MSRV) to the Rust template, since an arbitrary compiler version isn't supported ([#3873](https://github.com/solana-foundation/anchor/pull/3873)).

### Fixes

- docker: Upgrade `node` to 20.18.0 LTS ([#3687](https://github.com/solana-foundation/anchor/pull/3687)).
- cli: Fix using deprecated commitment `recent` in migration scripts ([#3725](https://github.com/coral-xyz/anchor/pull/3725)).
- cli: Fix not respecting `provider.cluster` in `keys sync` command ([#3761](https://github.com/coral-xyz/anchor/pull/3761)).
- lang: Fix deprecated `realloc`, `store_current_index` and clippy warnings ([#3819](https://github.com/solana-foundation/anchor/pull/3819)).
- avm: fix AVM instability with solana-verify ([#3867](https://github.com/solana-foundation/anchor/pull/3867)).
- avm: update AVM to only use non-draft releases([#3931](https://github.com/solana-foundation/anchor/pull/3931)).
- lang: update bytemuck ([#3858](https://github.com/solana-foundation/anchor/pull/3858)).
- idl: disable Locale in camelCase ([#3845](https://github.com/solana-foundation/anchor/pull/3845)).
- ts: Remove event parsing panic ([#3657](https://github.com/solana-foundation/anchor/pull/3657)).

### Breaking

- spl: Update SPL dependencies to latest compatible versions ([#3860](https://github.com/solana-foundation/anchor/pull/3860)).
- cli: Replace `anchor verify` to use `solana-verify` under the hood, adding automatic installation via AVM, local path support, and future-proof argument passing ([#3768](https://github.com/solana-foundation/anchor/pull/3768)).
- cli: Upload IDL by default with an option to skip ((#3863)[https://github.com/solana-foundation/anchor/pull/3863]).
- lang: remove Solang ([#3824](https://github.com/solana-foundation/anchor/pull/3824)).
- cli: remove `anchor publish` command ([#3795](https://github.com/solana-foundation/anchor/pull/3795)).

## [0.31.1] - 2025-04-19

This release uses a new docker image found at `solanafoundation/anchor` for the `anchor verify` command. New images will be pushed to this organization in the future.
Expand Down
Loading