chore(deps): bump anchor-lang from 1.0.0-rc.5 to 1.0.0 by dependabot[bot] · Pull Request #552 · solana-developers/program-examples
Bumps anchor-lang from 1.0.0-rc.5 to 1.0.0.
Release notes
Sourced from anchor-lang's releases.
v1.0.0
The first stable major release is here. This version ships several new features and improvements.
Check out the release notes from Anchor website or GitHub.
For a list of notable changes with their associated PRs, see the CHANGELOG.
Changelog
Sourced from anchor-lang's changelog.
[1.0.0] - 2026-04-02
Features
- lang: Add
Migration<'info, From, To>account type for schema migrations between account types (#4060).- cli: Added a
check_program_id_mismatchin build time to check if the program ID in the source code matches the program ID in the keypair file (#4018). This check will be skipped duringanchor test.- lang: Add instruction parser to
declare_program!(#4118).- ts: Export all IDL types from the root. Users can now update
dist/cjs/idlimports to import directly from@anchor-lang/core(#3948).- lang: Add
declare_program!support with justanchor_clientand notanchor_lang(#4157).- lang: Export
Ownersfromprelude(#4189).- cli: Use surfpool by default for
anchor testandanchor localnetcommands (#4106).- lang: Optimize enums with all unit variants and empty arrays with
Lazy(#4237).- lang: Include
init_if_neededaccounts in duplicate mutable account checks (#4239).- client: Accept
FnMutfor events closure (#4024).- client: Export all types used by the public API (#4211).
- lang: Make
common::closeaccept references (#4178).- cli/idl: Add
--allow-localnetoption for IDL commands; fix panic when run outside a workspace (#4252).- lang: Check owner on account reload (#3837).
- lang/ts: Upgrade borsh to 1.5.7 (#4012).
- syn: Relax seeds syntax to allow more flexible PDA seed expressions (#3813).
- lang: Deprecate
AccountInfousage inAccountsmacro with a compile-time warning (#3854).- cli: Update
anchor initto use themultipleprogram template by default (#3958).- cli: Add
hookssection toAnchor.tomlfor{pre,post}-{build,test,deploy}lifecycle hooks (#3862).- lang: Add generic program validation support to
Programtype allowingProgram<'info>for executable-only validation (#3878).- cli: Added
litesvmtest template and made it the default option onanchor init(#4316)- cli: Added
--install-agent-skillsto automatically install Solana agent skills duringanchor init(#4307)- avm: Added flags and version labels to explicitly handle pre-releases (
avm list --pre-release,avm update --pre-releaseandavm install latest-pre-release). (#4335)- avm: Added
avm self-updatecommand and passive version check warning for out of date avm (#4338)- lang, cli, client: Updated solana dependencies to the latest compatible versions. Bumping CI and docker builds to use Solana CLI version 3.1.10 (#4317)
Fixes
- lang: Add missing
Lazybound on generics (#4240).- lang: Fix wrong generated error code in declare_program! (#4129).
- idl: Fix defined types with unsupported fields not producing an error (#4088).
- lang: Fix using non-instruction composite accounts multiple times with
declare_program!(#4113).- lang: Fix
declare_program!messing up IDL errors generation (#4126).- idl: Fix
addressconstraint not resolving constants that have numbers in their identifiers (#4144).- lang: Fix constant nested string generation in
declare_program!(#4158).- idl: Fix
local_filemethod not found forproc_macro2::Spanerror (#4187).- lang: Relax duplicate mutable account constraint to only check types that serialize on exit (
Account,LazyAccount,InterfaceAccount,Migration) (#4202).- idl: Make
serde_jsonoptional (#4296).- lang: Fix
declare_program!instruction parser with optional accounts (#4180).- lang: Use original
borshderives (#4205).- lang: Fix unexpected account substitution in
InterfaceAccount(#4139).- idl: Respect
offset = ...in IDL generation for custom errors (#4040).- cli: Relax separate dependency check for
solana-program(#4166).- lang: Enforce type and count matching between instruction handler and
#[instruction(..)]args (#4000).- lang: Handle invalid camelCase identifiers more gracefully (#4021).
- cli: Fix
i128/u128deserialization (#3938).
... (truncated)
Commits
25be6d5v1.0.07e37c6aclient: Remove thesolana-account-decodercrate export (#4373)df3f11fexamples, tests: Set packageversions to0.1.0(#4362)52658dfchore: Add mass format commit to git blame ignorelist (#4365)36532f1fix: skip keygen for prepare-release and use correct cli version for release ...8537871chore: updated bench values (#4368)8dbcb88fix(ci): fetch tags on prepare-release (#4367)858ba09fix: resolve latest stable version for docs version bump (#4366)095702cchore(cli): Use include_str!() for solana-program version (#4342)62865c6Addrustfmtconfiguration (#4354)- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)