Repository navigation
Move the Anchor v1 examples to Anchor 1.2.1 - #202
Merged
Merged
Conversation
anchor-lang and anchor-spl move from 1.2.0 to 1.2.1 in all 57 anchor-v1 examples, the Anchor v1 workflow installs anchor-cli 1.2.1, and the docs name 1.2.1 as the v1 CLI. 1.2.1 only adds the opt-in solana-v4 feature, which no example enables, so no program or test source changes. Claude-Session: https://claude.ai/code/session_01KZaRLaqvHMdDVdafevQfRE
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Anchor 1.2.1 (2026-10-05) is a patch release of the v1 line. Its only change is an opt-in
solana-v4feature onanchor-lang, which no example turns on, so no program or test source changes.Changes
anchor-v1/examples moveanchor-langandanchor-splfrom1.2.0to1.2.1. Feature lists are unchanged..github/workflows/anchor-v1.ymlinstalls and cachesanchor-cli 1.2.1.anchor-v1/README, the root README,CONTRIBUTING.mdanddocs/anchor-v2-migration.mdname 1.2.1.CHANGELOG.mdentry.The Anchor v2 (
anchor/, 2.0.0-rc.1) examples are untouched. The1.2.0inbasics/pythrefers topyth-solana-receiver-sdk, not Anchor, so it stays.Verification
Run locally with
anchor-cli 1.2.1and Solana 3.1.14, following CI's steps (anchor keys sync,anchor build, then the LiteSVMcargo test). All nine sampled examples pass:basics/counter,basics/favorites,basics/transaction-v1finance/escrow,finance/token-swap,finance/perpetual-futurestokens/nft-minter,tokens/token-extensions/transfer-hook/whitelistcompression/cnft-vaultThe full set runs in the Anchor v1 workflow on this PR.
🤖 Generated with Claude Code
https://claude.ai/code/session_01KZaRLaqvHMdDVdafevQfRE