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.28.0 #46

Closed dependabot[bot] closed 10 months ago

dependabot[bot] commented 1 year ago

Bumps anchor-lang from 0.24.2 to 0.28.0.

Release notes

Sourced from anchor-lang's releases.

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.28.0] - 2023-06-09

Features

  • client: Add async feature flag to use an asynchronous anchor-client (#2488).
  • spl: Add metadata wrappers approve_collection_authority, bubblegum_set_collection_size, burn_edition_nft, burn_nft, revoke_collection_authority, set_token_standard, utilize, unverify_sized_collection_item, unverify_collection (#2430)
  • spl: Add token_program constraint to Token, Mint, and AssociatedToken accounts in order to override required token_program fields and use different token interface implementations in the same instruction (#2460)
  • cli: Add support for Solidity programs. anchor init and anchor new take an option --solidity which creates solidity code rather than rust. anchor build and anchor test work accordingly (#2421)
  • bench: Add benchmarking for compute units usage (#2466)
  • cli: idl set-buffer, idl set-authority and idl close take an option --print-only. which prints transaction in a base64 Borsh compatible format but not sent to the cluster. It's helpful when managing authority under a multisig, e.g., a user can create a proposal for a Custom Instruction in SPL Governance (#2486).
  • lang: Add emit_cpi! and #[event_cpi] macros(behind event-cpi feature flag) to store event logs in transaction metadata (#2438).
  • cli: Add keys sync command to sync program id declarations (#2505).
  • cli: Create new programs with correct program ids (#2509).
  • cli, client, lang, spl: Update Solana toolchain and dependencies to 1.16.0 and specify maximum version of <1.17.0 (#2512).
  • cli: anchor deploy command's --program-name argument accepts program lib names (#2519).

Fixes

  • ts: Narrowed AccountClient type to it's appropriate account type (#2440)
  • lang: Fix inability to use identifiers program_id, accounts, ix_data, remaining_accounts in instruction arguments (#2464)
  • cli: Fix incorrect metadata.address generation in IDL after deploying with a custom keypair (#2485)
  • cli: IDL commands no longer hang when the payer doesn't have funds to pay for the transaction fee (#2492)
  • cli: Fix anchor new not updating Anchor.toml (#2516).
  • client, lang, spl: Allow wider range of dependency versions to reduce dependency issues (#2524).

Breaking

  • lang: Identifiers that are intended for internal usage(program_id, accounts, ix_data, remaining_accounts) have been renamed with __ prefix (#2464)
  • spl: Remove the metadata::create_metadata_account_v2 deprecated wrapper since it was removed from token metadata program (#2480)

[0.27.0] - 2023-03-08

Features

  • spl: Add MasterEditionAccount account deserialization to spl metadata (#2393).
  • lang: Add the InitSpace derive macro to automatically calculate the space at the initialization of an account (#2346).
  • cli: Add env option to verifiable builds (#2325).
  • cli: Add idl close command to close a program's IDL account (#2329).
  • cli: idl init now supports very large IDL files (#2329).
  • spl: Add transfer_checked function (#2353).
  • spl: Add approve_checked function (#2401).
  • cli: Add --skip-build option to the verify command (#2387).
  • client: Add support for multithreading to the rust client: use flag --multithreaded (#2321).
  • client: Add async_rpc a method which returns a nonblocking solana rpc client (#2322).
  • avm, cli: Use the rustls-tls feature of reqwest so that users don't need OpenSSL installed (#2385).
  • ts: Add VersionedTransaction support. Methods in the Provider class and Wallet interface now use the argument tx: Transaction | VersionedTransaction (#2427).
  • cli: Add --arch sbf option to compile programs using cargo build-sbf (#2398).
  • land: Support multiple programs with the same interface using Interface and InterfaceAccount types, related to token-2022 (#2386).

Fixes

... (truncated)

Commits
  • e1afcbf v0.28.0 (#2527)
  • c7c7319 Allow wider range of dependency versions to reduce dependency issues (#2524)
  • 6df34e7 Update crate authors and remove outdated registry (#2522)
  • 1705d16 docs: Add doc for InitSpace macro (#2521)
  • 3d7c97b cli: Accept program lib name for anchor deploy --program-name (#2519)
  • a88be42 ts: Validate error.data exists on simulation response (#2508)
  • 65c9d6e client: Add async to anchor-client (#2488)
  • b8eda69 cli: Print not found message if the given program cannot be found during depl...
  • 1902b8e cli: Update programs in Anchor.toml when using anchor new (#2516)
  • 383e440 cli: Initialize with the correct program id (#2509)
  • Additional commits viewable in compare view


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)
dependabot[bot] commented 10 months ago

Superseded by #59.