Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 8, 2022

Bumps anchor-lang from 0.18.2 to 0.21.0.

Release notes

Sourced from anchor-lang's releases.

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.

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

Note: Version 0 of Semantic Versioning is handled differently from version 1 and above. The minor version will be incremented upon a breaking change and the patch version will be incremented for features.

[Unreleased]

[0.21.1] - 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

  • lang: Put init_if_needed behind a feature flag to decrease wrong usage (#1258).
  • lang: rename loader_account module to account_loader module (#1279)
  • lang: The Accounts trait's try_accounts method now has an additional bumps: &mut BTreeMap<String, u8> argument, which accumulates bump seeds (#1367).
  • lang: Providing bump = <target> targets with init will now error. On init only, it is required to use bump without a target and access the seed inside function handlers via ctx.bumps.get("<pda-account-name"). For subsequent seeds constraints (without init), it is recommended to store the bump on your account and use it as a bump = <target> target to minimize compute units used (#1380).
  • 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).
  • cli: [[test.clone]] key in Anchor.toml is renamed to [[test.validator.clone]] (#1366).

[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).

... (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.18.2 to 0.21.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.21.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 Feb 8, 2022
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Feb 21, 2022

Superseded by #120.

@dependabot dependabot bot closed this Feb 21, 2022
@dependabot dependabot bot deleted the dependabot/cargo/anchor-lang-0.21.0 branch February 21, 2022 07:30
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