Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump anchor-lang from 0.20.1 to 0.22.1 #77

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link

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

Bumps anchor-lang from 0.20.1 to 0.22.1.

Release notes

Sourced from anchor-lang's releases.

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.

Changelog

Sourced from anchor-lang's changelog.

[0.22.1] - 2022-02-28

Fixes

  • cli: Fix rust template (#1488).

[0.22.0] - 2022-02-20

Features

  • lang: Add check that declared id == program id (#1451).
  • ts: Added float types support (#1425).
  • cli: Add --skip-lint option to disable check linting introduced in (#1452) for rapid prototyping (#1482).

Fixes

  • ts: Allow nullable types for Option<T> mapped types (#1428).

Breaking

  • lang: Enforce that the payer for an init-ed account be marked mut (#1271).
  • lang: All error-related code is now in the error module (#1426).
  • lang: Require doc comments when using AccountInfo or UncheckedAccount types (#1452).
  • lang: add error! and err! macro and Result type (#1462). This change will break most programs. Do the following to upgrade:
    • change all ProgramResult's to Result<()>
    • change #[error] to #[error_code]
    • change all Err(MyError::SomeError.into()) to Err(error!(MyError::SomeError)) and all Err(ProgramError::SomeProgramError) to Err(ProgramError::SomeProgramError.into()) or Err(Error::from(ProgramError::SomeProgramError).with_source(source!())) to provide file and line source of the error (with_source is most useful with ProgramErrors. error! already adds source information for custom and anchor internal errors).
    • change all solana_program::program::invoke() to solana_program::program::invoke().map_err(Into::into) and solana_program::program::invoke_signed() to solana_program::program::invoke_signed().map_err(Into::into)

[0.21.0] - 2022-02-07

Fixes

  • ts: Fix the root type declaration of the Wallet / NodeWallet class (#1363).
  • ts: Improve type mapping of Account fields into Typescript with additional support for Option<T> and Vec<String> types (#1393).

Features

  • lang: Add seeds::program constraint for specifying which program_id to use when deriving PDAs (#1197).
  • lang: Context now has a new bumps: BTree<String, u8> argument, mapping account name to bump seed "found" by the accounts context. This allows one to access bump seeds without having to pass them in from the client or recalculate them in the handler (#1367).
  • lang, ts: Automatically infer PDA addresses (#1331).
  • ts: Remove error logging in the event parser when log websocket encounters a program error (#1313).
  • ts: Add new methods namespace to the program client, introducing a more ergonomic builder API (#1324).
  • ts: Add registry utility for fetching the latest verified build (#1371).
  • cli: Expose the solana-test-validator --account flag in Anchor.toml via [[test.validator.account]] (#1366).
  • cli: Add avm, a tool for managing anchor-cli versions (#1385).

Breaking

... (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 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.20.1 to 0.22.1.
- [Release notes](https://github.com/project-serum/anchor/releases)
- [Changelog](https://github.com/project-serum/anchor/blob/master/CHANGELOG.md)
- [Commits](coral-xyz/anchor@v0.20.1...v0.22.1)

---
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 1, 2022
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Mar 21, 2022

Superseded by #97.

@dependabot dependabot bot closed this Mar 21, 2022
@dependabot dependabot bot deleted the dependabot/cargo/anchor-lang-0.22.1 branch March 21, 2022 15:33
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.

0 participants