-
-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(deps): update dependency @coral-xyz/anchor to v0.31.0 #206
Open
renovate
wants to merge
1
commit into
main
Choose a base branch
from
renovate/coral-xyz-anchor-0.x
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains 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
67fb650
to
71e57d6
Compare
3188b04
to
3574cd5
Compare
85ec86a
to
d4462fc
Compare
d4462fc
to
23e4b40
Compare
23e4b40
to
afc7147
Compare
afc7147
to
c8318fe
Compare
c8318fe
to
2a1866f
Compare
2a1866f
to
f77197e
Compare
👍 Dependency issues cleared. Learn more about Socket for GitHub ↗︎ This PR previously contained dependency changes with security issues that have been resolved, removed, or ignored. |
f77197e
to
89dcbd2
Compare
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.
This PR contains the following updates:
0.28.1-beta.1
->0.31.0
^0.28.0
->^0.31.0
^0.27.0
->^0.31.0
Release Notes
coral-xyz/anchor (@coral-xyz/anchor)
v0.31.0
Compare Source
Features
solana_account_decoder
dep public in anchor client (#3455).options.blockhash
toProvider.sendAndConfirm
(#3070).commitment
parameter toProgram.addEventListener
(#3052).cargo
args to IDL generation when building program or IDL (#3059).idl-build
feature (#3061).Discriminator
trait fromprelude
(#3075).Account
utility type to get accounts from bytes (#3091).declare_program!
(#3103).ThreadSafeSigner
trait public (#3107).dispatch
function to support dynamic discriminators (#3104).try_entry
function (#3109).withdraw_withheld_tokens_from_accounts
instruction (#3128).wallet
property to theProvider
interface (#3130).anchor-spl/idl-build
is missing (#3133).internal_rpc
method formock
feature (#3135).#[instruction]
attribute proc-macro to override default instruction discriminators (#3137).#[account]
(#3144).discriminator
argument to#[account]
attribute (#3149).discriminator
argument to#[event]
attribute (#3152).--no-idl
option to thetest
command (#3175).burn_checked
,mint_to_checked
andapprove_checked
instructions (#3186).agave-install
whensolana_version
is>= 1.18.19
(#3185).IdlBuilder
(#3188).clean
command also remove the.anchor
directory (#3192).#[interface]
attribute (#3195).LazyAccount
(#3194).use
command (#3230).solana-program
dependency (#3250).idl-build
feature exists when using theidl build
command (#3273).idl build
command (#3275).idl build
command (#3283).--program-id
option toidl convert
command (#3309).declare_program!
(#3311).install
andlist
commands (#3326).package-manager
flag ininit
command to set package manager field in Anchor.toml (#3328).zero
constraint (#3365).--max-retries
option to thedeploy
command (#3354).anchor-debug
feature (#3511).Fixes
align
repr support indeclare-program!
(#3056).getrandom
dependency (#3072).InitSpace
support unnamed & unit structs (#3084).owner
constraint withBox
ed accounts (#3087).--no-idl
option is passed (#3093).--locked
argument using Rust v1.80 due totime
crate issue (#3143).crypto-hash
dependency (#3171).view
method (#3177).arrayref
dependency (#3201).address
constraint with non-const expressions (#3216).Program
(#3228).init
constraints to reduce the stack usage oftry_accounts
(#2939).cfg
attribute above the instructions (#2339).ANCHOR_LOG
on failure and improve build error message (#3284).declare_program!
(#3287).declare_program!
(#3290).engines.node
to>= 17
(#3301).rustc 1.79.0
when installing versions older than v0.31 (#3315).shell
command failing due to outdated program initialization (#3351).cpi
feature instructions not accounting for discriminator overrides (#3376).verify
(#3398).zero
accounts to be unique (#3409).zero
accounts againstinit
accounts (#3422).provider.cluster
(#3428).workspace
(#3450).declare_program!
(#3458).program::seed
resolution (#3474).derive
s andrepr
s to type alias definitions indeclare_program!
(#3504).std::process::exit
usage (#3544).Pubkey
constants withseeds::program
(#3559).declare_program!
(#3567).seeds::program
(#3570).data
as an instruction parameter name indeclare_program!
(#3574).anchor.workspace
templates (#3581).Breaking
bpf
target support inhash
feature (#3078).tokio
support toRequestBuilder
withasync
feature (#3057).EventData
trait (#3083).async_rpc
method (#3053).Discriminator
trait impl when using thezero
constraint (#3118).DISCRIMINATOR_SIZE
constant (#3120).#[account]
attribute arguments no longer parses identifiers as namespaces (#3140).token_program_id
toprogram_id
(#3076).discriminator
method fromDiscriminator
trait (#3163).node
to 20.16.0 LTS (#3179).Program
constructor'sidl
parameter type toany
(#3181).borsh 0.9
support (#3199).typescript
to5.5.4
and remove the generic parameters ofSimulateResponse
(#3221).StateCoder
(#3224).warp_slot
(#3235).EventIndex
(#3244).dex
feature (#3257).typescript
version of templates to v5 (#3480).snake-case
dependency (#3507).v0.30.1
Compare Source
Features
RUSTUP_TOOLCHAIN
environment variable (#2941).AVM_HOME
environment variable (#2917).avm list
when GitHub API rate limits are reached (#2962)--no-install
option to theinit
command (#2945).TryFromIntError
forError
to be able to propagate integer conversion errors (#2950).upgrade
command (#2998).spl-associated-token-account
crate (#2999).declare_program!
(#2997).idl convert
command (#3009).idl type
command (#3017).anchor_lang::pubkey
macro for declaringPubkey
const values (#3021).anchor-syn
dependency (#3030).const
of program ID todeclare_id!
anddeclare_program!
(#3019).Fixes
maxSupportedTransactionVersion
inAnchorProvider.send*()
methods (#2922).anchor init
(#2929).Cargo.lock
of the project when generating idls for external types (#2946).declare_program!
(#2959).declare_program!
(#2965).Vec<u8>
type withdeclare_program!
(#2966).ProgramError::ArithmeticOverflow
not found error (#2975).declare_program!
(#2967).declare_program!
(#2977).unexpected_cfgs
build warning (#2992).declare_program!
(#2994).rust-version
from crate manifests (#3000).address
constraint with field expressions (#3034).bytemuckunsafe
account serialization withdeclare_program!
(#3037).Breaking
v0.30.0
Compare Source
See the Anchor 0.30 release notes for a high-level overview of how to update.
Features
init
andnew
(#2698).deploy
(#2705).solana program deploy
command withanchor deploy
(#2709).InstructionData::write_to
implementation (#2733).#[interface(..)]
attribute for instruction discriminator overrides (#2728)..interface(..)
method for instruction discriminator overrides (#2728).anchor-lang
and CLI version compatibility (#2753).idl close
accepts optional--idl-address
parameter (#2760).workspace.members
andworkspace.exclude
. (#2785).--test-template
option forinit
command (#2805).anchor test
is able to run multiple commands (#2799).@coral-xyz/anchor
package and CLI version compatibility (#2813).repr
s (#2824).accountsPartial
method to keep the oldaccounts
method behavior (#2824).opts
parameter ofAnchorProvider
constructor optional (#2843).--no-idl
flag to thebuild
command (#2847).prepend
option to MethodBuilderpreInstructions
method (#2863).declare_program!
macro (#2857).deactivate_feature
flag tosolana-test-validator
config in Anchor.toml (#2872).docs
field for constants (#2887).Event
utility type to get events from bytes (#2897).Lamports
trait operations (#2907).Fixes
new_from_array
method toHash
(#2682).resolver = "2"
) (#2676).provider.wallet
inAnchor.toml
(#2696).anchor_version
override (#2704).shmem
feature enabled (#2722).localhost
to127.0.0.1
, NodeJS 17 IP resolution changes for IPv6 (#2725).try_to_vec
usage while setting the return data in order to reduce heap memory usage (#2744)migrate
command not working without globalts-node
installation (#2767).parse_logs_response
to prevent panics when more than 1 outer instruction exists in logs (#2856).stdsimd
feature compilation error fromahash
when installing the CLI using newer Rust versions (#2867).solana-program
dependency (#2900).TokenAccount
andMint
Copy
(#2904).Breaking
cargo build-sbf
the default build command (#2694).overflow-checks
flag (#2716).anchor-deprecated-state
feature (#2717).CLOSED_ACCOUNT_DISCRIMINATOR
(#2726).Option<u8>
rather thanu8
(#2730).shared-memory
program (#2747).associated
,account.associated
andaccount.associatedAddress
methods (#2749).idl upgrade
command closes the IDL buffer account (#2760).--jest
option from theinit
command (#2805).idl-build
feature in programCargo.toml
(#2824).seeds
feature toresolution
and make it enabled by default (#2824).idl parse
command (#2824).idl-parse
andseeds
features (#2824).accounts
method to no longer accept resolvable accounts (#2824).Program
instances use camelCase for everything (#2824).programId
parameter of theProgram
constructor (#2864).anchor-syn
crate to the new IDL crate (#2882).#[non_exhaustive]
to IDL enums (#2890).v0.29.0
Compare Source
See the Anchor 0.29 release notes for a high-level overview of how to update.
Features
AccountInfo
(#2656).get_lamports
,add_lamports
andsub_lamports
methods for all account types (#2552).DynSigner
to simplify use ofClient<C> where <C: Clone + Deref<Target = impl Signer>>
with Solana clap CLI utils that loadsSigner
asBox<dyn Signer>
(#2550).anchor build
still uses parsing method to generate IDLs, useanchor idl build
to generate IDLs with the build method (#2011)..anchorversion
file to facilitate switching between different versions of theanchor-cli
(#2553).anchor.workspace.myProgram
,anchor.workspace.MyProgram
... (#2579).mpl-token-metadata
crate (#2583).TokenRecordAccount
for pNFTs (#2597).Box
the inner enums ofanchor_lang::error::Error
to optimizeanchor_lang::Result
(#2600).Program.addEventListener
method (#2627).IdlBuild
trait to implement IDL support for custom types (#2629).idl-build
feature. IDL build method will not work without enabling this feature when usinganchor-spl
(#2629).test.upgradeable
,test.genesis.upgradeable
setting inAnchor.toml
to support testing upgradeable programs (#2642).1.17.0
,1.16
remains supported (#2645).anchor-cli
installation from commit (#2659).toolchain
property inAnchor.toml
to override Anchor and Solana versions (#2649).Fixes
assert
(#2535).const
in theInitSpace
macro (#2555).1.14
(#2572).anchor build --no-docs
adding docs to the IDL (#2575).associated_token::token_program
constraint (#2603).anchor account
command panicking outside of workspace (#2620).Breaking
idl
feature has been replaced withidl-build
,idl-parse
andidl-types
features (#2011).parse
method now returnsResult<Idl>
instead ofResult<Option<Idl>>
(#2582).mpl-token-metadata
dependency to use the client SDK instead of the program crate (#2632).base64-js
dependency (#2635).IdlTypeDefinitionTy
enum has a new variantAlias
(#2637).1.14
is no longer supported, minimum required Solana version is1.16.0
(#2645).anchor_version
andsolana_version
property inAnchor.toml
that was being used in verifiable builds are moved insidetoolchain
. They are now being used for all commands in the workspace, not just verifiable builds (#2649).v0.28.1-beta.2
Compare Source
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR was generated by Mend Renovate. View the repository job log.