saber-hq / anchor-gen

Generates an Anchor CPI crate from a JSON IDL.
https://crates.io/crates/anchor-gen
Apache License 2.0
105 stars 58 forks source link

Bump anchor-lang from 0.24.2 to 0.30.0 #80

Open dependabot[bot] opened 4 months ago

dependabot[bot] commented 4 months ago

Bumps anchor-lang from 0.24.2 to 0.30.0.

Release notes

Sourced from anchor-lang's releases.

v0.30.0

The long-awaited v0.30.0 release is finally here!

Check out the release notes from Anchor website or GitHub.

For a list of notable changes with their associated PRs, see the CHANGELOG.

v0.29.0

Notable changes are listed in the CHANGELOG.

For this release, there is also release notes to get a better view on the changes.

https://anchor-lang.com/docs/release-notes

v0.28.0

For a list of changes in this release, see the Change Log.

v0.27.0

For a list of changes in this release, see the Change Log.

v0.26.0

For a list of changes in this release, see the Change Log.

v0.25.0

For a list of changes in this release, see the Change Log.

Changelog

Sourced from anchor-lang's changelog.

[0.30.0] - 2024-04-15

Features

  • cli: Allow force init and new (#2698).
  • cli: Add verifiable option when deploy (#2705).
  • cli: Add support for passing arguments to the underlying solana program deploy command with anchor deploy (#2709).
  • lang: Add InstructionData::write_to implementation (#2733).
  • lang: Add #[interface(..)] attribute for instruction discriminator overrides (#2728).
  • ts: Add .interface(..) method for instruction discriminator overrides (#2728).
  • cli: Check anchor-lang and CLI version compatibility (#2753).
  • ts: Add missing IDL PDA seed types (#2752).
  • cli: idl close accepts optional --idl-address parameter (#2760).
  • cli: Add support for simple wildcard patterns in Anchor.toml's workspace.members and workspace.exclude. (#2785).
  • cli: Add --test-template option for init command (#2805).
  • cli: anchor test is able to run multiple commands (#2799).
  • cli: Check @coral-xyz/anchor package and CLI version compatibility (#2813).
  • cli: Accept package name as program name (#2816).
  • cli: Add ability to build and test only a specified program (#2823).
  • idl: Add new IDL spec (#2824).
  • idl: Add support for reprs (#2824).
  • idl: Add support for expression evaluation (#2824).
  • idl: Add support for using external types when generating the IDL (#2824).
  • idl, ts: Add unit and tuple struct support (#2824).
  • idl, ts: Add generics support (#2824).
  • ts: Add accountsPartial method to keep the old accounts method behavior (#2824).
  • ts: Make opts parameter of AnchorProvider constructor optional (#2843).
  • cli: Add --no-idl flag to the build command (#2847).
  • cli: Add priority fees to idl commands (#2845).
  • ts: Add prepend option to MethodBuilder preInstructions method (#2863).
  • lang: Add declare_program! macro (#2857).
  • cli: Add deactivate_feature flag to solana-test-validator config in Anchor.toml (#2872).
  • idl: Add docs field for constants (#2887).
  • idl: Store deployment addresses for other clusters (#2892).
  • lang: Add Event utility type to get events from bytes (#2897).
  • lang, spl: Add support for token extensions (#2789).
  • lang: Return overflow error from Lamports trait operations (#2907).

Fixes

  • syn: Add missing new_from_array method to Hash (#2682).
  • cli: Switch to Cargo feature resolver(resolver = "2") (#2676).
  • cli: Fix using user specific path for provider.wallet in Anchor.toml (#2696).
  • syn: Fix IDL constant seeds parsing (#2699).
  • cli: Display errors if toolchain override restoration fails (#2700).
  • cli: Fix commit based anchor_version override (#2704).
  • spl: Fix compilation with shmem feature enabled (#2722).
  • cli: Localhost default test validator address changes from localhost to 127.0.0.1, NodeJS 17 IP resolution changes for IPv6 (#2725).
  • lang: Eliminate temporary Vec allocations when serializing data with discriminant and set the default capacity to 256 bytes (#2691).
  • lang: Allow custom lifetime in Accounts structure (#2741).

... (truncated)

Commits


Dependabot compatibility score

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 rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will 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 version` will 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 dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)