Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 9, 2021

Bumps anchor-lang from 0.18.2 to 0.19.0.

Release notes

Sourced from anchor-lang's releases.

v0.19.0

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

Changelog

Sourced from anchor-lang's changelog.

[0.19.0] - 2021-12-08

Fixes

  • lang: Add deprecated attribute to ProgramAccount (#1014).
  • cli: Add version number from programs Cargo.toml into extracted IDL (#1061).
  • lang: Add deprecated attribute to Loader(#1078).
  • lang: the init_if_needed attribute now checks that given attributes (e.g. space, owner, token::authority etc.) are validated even when init is not needed (#1096).

Features

  • lang: Add ErrorCode::AccountNotInitialized error to separate the situation when the account has the wrong owner from when it does not exist (#1024).
  • lang: Called instructions now log their name by default. This can be turned off with the no-log-ix-name flag (#1057).
  • lang: ProgramData and UpgradableLoaderState can now be passed into Account as generics. see UpgradeableLoaderState. UpgradableLoaderState can also be matched on to get ProgramData, but when ProgramData is used instead, anchor does the serialization and checking that it is actually program data for you (#1095).
  • ts: Add better error msgs in the ts client if something wrong (i.e. not a pubkey or a string) is passed in as an account in an instruction accounts object (#1098).
  • ts: Add inputs postInstructions and preInstructions as a replacement for (the now deprecated) instructions (#1007).
  • ts: Add getAccountInfo helper method to account namespace/client (#1084).

Breaking

  • lang, ts: Error codes have been mapped to new numbers to allow for more errors per namespace (#1096).
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.18.2 to 0.19.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.19.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 Dec 9, 2021
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Jan 7, 2022

Superseded by #55.

@dependabot dependabot bot closed this Jan 7, 2022
@dependabot dependabot bot deleted the dependabot/cargo/anchor-lang-0.19.0 branch January 7, 2022 07:26
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