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.29.0 #59

Closed dependabot[bot] closed 4 months ago

dependabot[bot] commented 10 months ago

Bumps anchor-lang from 0.24.2 to 0.29.0.

Release notes

Sourced from anchor-lang's releases.

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.29.0] - 2023-10-16

Features

  • lang: Change all accounts to have a reference to AccountInfo (#2656).
  • lang: Add get_lamports, add_lamports and sub_lamports methods for all account types (#2552).
  • client: Add a helper struct DynSigner to simplify use of Client<C> where <C: Clone + Deref<Target = impl Signer>> with Solana clap CLI utils that loads Signer as Box<dyn Signer> (#2550).
  • lang: Allow CPI calls matching an interface without pinning program ID (#2559).
  • cli, lang: Add IDL generation through compilation. anchor build still uses parsing method to generate IDLs, use anchor idl build to generate IDLs with the build method (#2011).
  • avm: Add support for the .anchorversion file to facilitate switching between different versions of the anchor-cli (#2553).
  • ts: Add ability to access workspace programs independent of the casing used, e.g. anchor.workspace.myProgram, anchor.workspace.MyProgram... (#2579).
  • bench: Add benchmarking for program binary size (#2591).
  • spl: Export mpl-token-metadata crate (#2583).
  • spl: Add TokenRecordAccount for pNFTs (#2597).
  • ts: Add support for unnamed(tuple) enum in accounts (#2601).
  • cli: Add program template with multiple files for instructions, state... (#2602).
  • bench: Add benchmarking for stack memory usage (#2617).
  • lang: Box the inner enums of anchor_lang::error::Error to optimize anchor_lang::Result (#2600).
  • ts: Add strong type support for Program.addEventListener method (#2627).
  • syn: Add IdlBuild trait to implement IDL support for custom types (#2629).
  • spl: Add idl-build feature. IDL build method will not work without enabling this feature when using anchor-spl (#2629).
  • lang: Add support for type aliases in IDLs (#2637).
  • cli: Add test.upgradeable, test.genesis.upgradeable setting in Anchor.toml to support testing upgradeable programs (#2642).
  • cli, client, lang, spl: Update Solana toolchain and dependencies to 1.17.0, 1.16 remains supported (#2645).
  • spl: Add support for memo program (#2661).
  • avm: Add anchor-cli installation from commit (#2659).
  • cli: Add toolchain property in Anchor.toml to override Anchor and Solana versions (#2649).

Fixes

  • ts: Packages no longer depend on assert (#2535).
  • lang: Support for const in the InitSpace macro (#2555).
  • cli: Support workspace inheritence (#2570).
  • client: Compile with Solana 1.14 (#2572).
  • cli: Fix anchor build --no-docs adding docs to the IDL (#2575).
  • ts: Load workspace programs on-demand rather than loading all of them at once (#2579).
  • lang: Fix associated_token::token_program constraint (#2603).
  • cli: Fix anchor account command panicking outside of workspace (#2620).
  • lang: IDL named enum variant fields are now camelCase as opposed to snake_case, consistent with the other IDL types (#2633).
  • avm: Remove excessive panics and handle the errors gracefully (#2671).

Breaking

  • lang: Switch to type safe bumps in context (#2542).
  • syn: idl feature has been replaced with idl-build, idl-parse and idl-types features (#2011).
  • syn: IDL parse method now returns Result<Idl> instead of Result<Option<Idl>> (#2582).
  • spl: Update mpl-token-metadata dependency to use the client SDK instead of the program crate (#2632).
  • ts: Remove base64-js dependency (#2635).
  • syn: IdlTypeDefinitionTy enum has a new variant Alias (#2637).
  • cli, client, lang, spl: Solana 1.14 is no longer supported, minimum required Solana version is 1.16.0 (#2645).

... (truncated)

Commits


Dependabot compatibility score

You can trigger a rebase of this PR 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)

Note Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

dependabot[bot] commented 4 months ago

Superseded by #80.