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.19.0 to 0.20.1 #27

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 10, 2022

Bumps anchor-lang from 0.19.0 to 0.20.1.

Release notes

Sourced from anchor-lang's releases.

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.

Changelog

Sourced from anchor-lang's changelog.

[0.20.1] - 2022-01-09

Fixes

*lang: Improved error msgs when required programs are missing when using the init constraint(#1257)

Features

  • lang: Allow repr overrides for zero copy accounts (#1273).

Breaking

  • ts: Coder is now an interface and the existing class has been renamed to BorshCoder. This change allows the generation of Anchor clients for non anchor programs (#1259).

[0.20.0] - 2022-01-06

Fixes

  • lang: init_if_needed now checks rent exemption when init is not needed (#1250).
  • lang: Add missing owner check when associated_token::authority is used (#1240).
  • ts: Add type declarations for conditional workspace and Wallet exports (#1137).
  • ts: Change commitment message recent to processed and max to finalized (#1128)
  • ts: fix translateAddress which currently leads to failing browser code. Now uses PublicKey constructor instead of prototype chain constructor name checking which doesn't work in the presence of code minifying/mangling(#1138)
  • lang: add missing check that verifies that account is ATA when using init_if_needed and init is not needed(#1221)

Features

  • lang: Add programdata_address: Option<Pubkey> field to Program account. Will be populated if account is a program owned by the upgradable bpf loader (#1125)
  • lang,ts,ci,cli,docs: update solana toolchain to version 1.8.5(#1133).
  • lang: Account wrappers for non-Anchor programs no longer have to implement the serialize function because it has a default impl now. Similarly, they no longer have to implement try_deserialize which now delegates to try_deserialize_unchecked by default(#1156).
  • lang: Add set_inner method to Account<'a, T> to enable easy updates (#1177).
  • lang: Handle arrays with const as length (#968).
  • ts: Add optional commitment argument to fetch and fetchMultiple (#1171).
  • lang: Implement AsRef<T> for Account<'a, T>(#1173)
  • cli: Add anchor expand command which wraps around cargo expand (#1160)

Breaking

  • client: Client::new and Client::new_with_options now accept Rc<dyn Signer> instead of Keypair (#975).
  • lang, ts: Change error enum name and message for 'wrong program ownership' account validation (#1154).
  • lang: Change from #[repr(packed)] to #[repr(C)] for zero copy accounts (#1106).
  • lang: Account types can now be found either in the prelude module or the accounts module but not longer directly under the root. Deprecated account types are no longer imported by the prelude (#1208).
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)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file rust Pull requests that update Rust code labels Jan 10, 2022
Bumps [anchor-lang](https://github.com/project-serum/anchor) from 0.19.0 to 0.20.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.19.0...v0.20.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 force-pushed the dependabot/cargo/anchor-lang-0.20.1 branch from df69f0a to e163a1b Compare January 18, 2022 00:44
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Feb 1, 2022

Dependabot tried to update this pull request, but something went wrong. We're looking into it, but in the meantime you can retry the update by commenting @dependabot rebase.

@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Feb 1, 2022

Looks like anchor-lang is up-to-date now, so this is no longer needed.

@dependabot dependabot bot closed this Feb 1, 2022
@dependabot dependabot bot deleted the dependabot/cargo/anchor-lang-0.20.1 branch February 1, 2022 06:19
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.

None yet

0 participants