saber-hq / anchor-gen

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

Update anchor-lang requirement from 0.24.2 to 0.25.0 #3

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 2 years ago

Updates the requirements on anchor-lang to permit the latest version.

Release notes

Sourced from anchor-lang's releases.

v0.25.0

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

Changelog

Sourced from anchor-lang's changelog.

[0.25.0] - 2022-07-05

Features

  • lang: Add realloc, realloc::payer, and realloc::zero as a new constraint group for program accounts (#1986).
  • lang: Add PartialEq and Eq for anchor_lang::Error (#1544).
  • cli: Add --skip-build to anchor publish (#1786).
  • cli: Add --program-keypair to anchor deploy (#1786).
  • cli: Add compilation optimizations to cli template (#1807).
  • cli: build now adds docs to idl. This can be turned off with --no-docs (#1561).
  • cli: Add b and t aliases for build and test respectively (#1823).
  • spl: Add more derived traits to TokenAccount to Mint (#1818).
  • spl: Add sync_native token program CPI wrapper function (#1833).
  • cli: Allow passing arguments to an underlying script with anchor run (#1914).
  • ts: Implement a coder for system program (#1920).
  • ts: Add program.coder.types for encoding/decoding user-defined types (#1931).
  • client: Add send_with_spinner_and_config function to RequestBuilder (#1926).
  • ts: Implement a coder for SPL associated token program (#1939).
  • ts: verbose error for missing ANCHOR_WALLET variable when using NodeWallet.local() (#1958).
  • ts: Add MethodsBuilder#accountsStrict for strict typing on ix account input (#2019).
  • Update solana dependencies to 1.10.29 (#2027).

Fixes

  • cli: Move overflow-checks into workspace Cargo.toml so that it will not be ignored by compiler (#1806).
  • lang: Fix missing account name information when deserialization fails when using init or zero (#1800).
  • ts: Expose the wallet's publickey on the Provider (#1845).

Breaking

  • ts: Change BROWSER env variable to ANCHOR_BROWSER (#1233).
  • ts: Add transaction signature to EventCallback parameters (#1851).
  • ts: Change EventParser#parseLogs implementation to be a generator instead of callback function (#2018).
  • lang: Adds a new &mut reallocs: BTreeSet<Pubkey> argument to Accounts::try_accounts (#1986).

[0.24.2] - 2022-04-13

Fixes

  • lang: Fix returns being serialized as null instead of undefined in IDL (#1782).

[0.24.1] - 2022-04-12

Fixes

  • lang: Fix anchor build failing if Test.toml included a relative path that didn't exist yet because it's created by anchor build (#1772).
  • cli: Update js/ts template to use new AnchorProvider class (#1770).

[0.24.0] - 2022-04-12

... (truncated)

Commits
  • 6baed77 v0.25.0 (#2031)
  • c47fb28 lang: adjust realloc implementation to safeguard max increase and idempoten...
  • 9b61bbc bump solana-program version (#2027)
  • 24ab7d3 add skip-lint to Anchor.toml (#2026)
  • e90f688 build(deps): bump cross-fetch in /docs/programs/tic-tac-toe (#2024)
  • 5e07a34 build(deps): bump minimist in /docs/programs/tic-tac-toe (#2025)
  • 8a6a9e1 ts: fix Module needs an import assertion of type json (#2023)
  • 8584744 fix changelog entry to be breaking (#2022)
  • e67c50f ts: convert EventParser.parseLogs to a generator function (#2018)
  • 2ad0067 ts: add accountsStrict for non-resolvable accounts input (#2019)
  • Additional commits viewable in compare view


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 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 1 year ago

Superseded by #25.