Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 21, 2022

Bumps anchor-lang from 0.18.2 to 0.23.0.

Release notes

Sourced from anchor-lang's releases.

v0.23.0

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

v0.22.1

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

v0.22.0

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

v0.21.0

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

v0.20.1

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

v0.20.0

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

v0.19.0

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

Changelog

Sourced from anchor-lang's changelog.

[0.23.0] - 2022-03-20

Features

  • cli: Add anchor clean command that's the same as cargo clean but preserves keypairs inside target/deploy (#1470).
  • cli: Running anchor init now initializes a new git repository for the workspace. This can be disabled with the --no-git flag (#1605).
  • cli: Add support for anchor idl fetch to work outside anchor workspace (#1509).
  • cli: [[test.validator.clone]] also clones the program data account of programs owned by the bpf upgradeable loader (#1481).
  • lang: Add new AccountSysvarMismatch error code and test cases for sysvars (#1535).
  • lang: Replace std::io::Cursor with a custom Write impl that uses the Solana mem syscalls (#1589).
  • lang: Add require_neq, require_keys_neq, require_gt, and require_gte comparison macros (#1622).
  • lang: Handle arrays with const as size in instruction data (#1623.
  • spl: Add support for revoke instruction (#1493).
  • ts: Add provider parameter to Spl.token factory method (#1597).
  • ts: Add AnchorError with program stack and also a program stack for non-AnchorError errors (#1640). AnchorError is not returned for processed tx that have skipPreflight set to true (it falls back to ProgramError or the raw solana library error).

Fixes

  • ts: Fix the loss of strict typing using the methods namespace on builder functions (#1539).
  • spl: Update spl/governance to use new errors (#1582).
  • client: Fix Cluster's FromStr implementation (#1362).
  • lang: Implement Key for Pubkey again, so associated_token::* constraints can use pubkey targets again (#1601).
  • lang: Adjust error code so #[error_code] works with just importing anchor_lang::error_code (#1610).
  • ts: Fix spl-token coder account parsing (#1604).
  • cli: Fix npm install fallback if yarn install doesn't work (#1643).
  • lang: Fix bug where owner = <target> would not compile because of missing type annotation (#1648).
  • ts: Adjust send and simulate functions in provider.ts, so they use the return value of Wallet.signTransaction(#1527).

Breaking

  • ts: Mark transaction, instruction, simulate and rpc program namespaces as deprecated in favor of methods (#1539).
  • ts: No longer allow manual setting of globally resolvable program public keys in methods#accounts(). (#1548[https://github-redirect.dependabot.com/ts: fix methods builder .accounts requiring global programs solana-foundation/anchor#1548])
  • lang/ts: Events are now emitted using the sol_log_data syscall (#1608).
  • lang: Remove space calculation using #[derive(Default)] (#1519).
  • lang: Add support for logging expected and actual values and pubkeys. Add require_eq and require_keys_eq macros. Add default error code to require macro (#1572).
  • lang: Add system_program CPI wrapper functions. Make system_program module public instead of re-exporting system_program::System(#1629).
  • cli: avm use no long prompts [y/n] if an install is needed first - it just tells the user to avm install (#1565)

[0.22.1] - 2022-02-28

Fixes

  • cli: Fix rust template (#1488).
  • lang: Handle array sizes with variable sizes in events and array size casting in IDL parsing (#1485)

[0.22.0] - 2022-02-20

Features

... (truncated)

Commits
  • 77b1afc v0.23.0 (#1660)
  • 9afdb17 ts: add error log parsing to ts client (#1640)
  • 45a5d20 ci: add git diff for checking lock file changes (#1654)
  • 58af625 Handle arrays with const as size in endpoint function args (#1631)
  • 1c7139a ts: Use return value of wallet.signTransaction in provider.ts (#1527)
  • f0b4c38 tests: fix seemingly ok but actually broken tests (#1656)
  • deaa334 lang: update emit! docs (#1655)
  • bb25cd6 lang: fix owner compile error caused by missing type annotation (#1648)
  • d42d147 cli: Fix npm install command in fallback (#1643)
  • e567e14 remove avm use prompt, and insist on user installing a version if it's not ye...
  • 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 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)

Bumps [anchor-lang](https://github.com/project-serum/anchor) from 0.18.2 to 0.23.0.
- [Release notes](https://github.com/project-serum/anchor/releases)
- [Changelog](https://github.com/project-serum/anchor/blob/master/CHANGELOG.md)
- [Commits](solana-foundation/anchor@v0.18.2...v0.23.0)

---
updated-dependencies:
- dependency-name: anchor-lang
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file rust Pull requests that update Rust code labels Mar 21, 2022
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Apr 13, 2022

Superseded by #188.

@dependabot dependabot bot closed this Apr 13, 2022
@dependabot dependabot bot deleted the dependabot/cargo/anchor-lang-0.23.0 branch April 13, 2022 07:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file rust Pull requests that update Rust code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant