-
-
Notifications
You must be signed in to change notification settings - Fork 52
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.30.1 #206
base: main
Are you sure you want to change the base?
Conversation
New and removed dependencies detected. Learn more about Socket for GitHub ↗︎
🚮 Removed packages: npm/@coral-xyz/[email protected], npm/@coral-xyz/[email protected] |
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
🚨 Potential security issues detected. Learn more about Socket for GitHub ↗︎ To accept the risk, merge this PR and you will not be notified again.
Next stepsWhat is an install script?Install scripts are run when the package is installed. The majority of malware in npm is hidden in install scripts. Packages should not be running non-essential scripts during install and there are often solutions to problems people solve with install scripts that can be run at publish time instead. Take a deeper look at the dependencyTake a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support [AT] socket [DOT] dev. Remove the packageIf you happen to install a dependency that Socket reports as Known Malware you should immediately remove it and select a different dependency. For other alert types, you may may wish to investigate alternative packages or consider if there are other ways to mitigate the specific risk posed by the dependency. Mark a package as acceptable riskTo ignore an alert, reply with a comment starting with
|
This PR contains the following updates:
0.28.1-beta.1
->0.30.1
^0.28.0
->^0.30.0
^0.27.0
->^0.30.0
Release Notes
coral-xyz/anchor (@coral-xyz/anchor)
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.