Co-authored-by: acheron <acheroncrypto@gmail.com>
This commit is contained in:
Jacob Creech 2025-04-19 17:39:49 -05:00 committed by GitHub
parent 5913906130
commit 47284f8f0b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
104 changed files with 3532 additions and 149 deletions

View File

@ -11,13 +11,26 @@ The minor version will be incremented upon a breaking change and the patch versi
## [Unreleased]
### Features
- ts: Make `Provider` require publicKey instead of wallet in accounts resolver ([#3613](https://github.com/coral-xyz/anchor/pull/3613))
### Fixes
### Breaking
## [0.31.1] - 2025-04-19
This release uses a new docker image found at `solanafoundation/anchor` for the `anchor verify` command. New images will be pushed to this organization in the future.
Releases for anchor will also be published under the `solanafoundation` Github organization from now on.
### Features
- cli, docker: Replace `backpackapp/build` Docker image with `solanafoundation/anchor` ([#3619](https://github.com/coral-xyz/anchor/pull/3619)).
- ts: Make `Provider` require publicKey instead of wallet in accounts resolver ([#3613](https://github.com/coral-xyz/anchor/pull/3613))
### Fixes
- idl: Update `proc-macro2` usage for latest nightly ([#3663](https://github.com/solana-foundation/anchor/pull/3663))
- ts: Fix parsing IDL with multiple const generics ([#3665](https://github.com/solana-foundation/anchor/pull/3665))
- cli, docker: Replace `backpackapp/build` Docker image with `solanafoundation/anchor` ([#3619](https://github.com/coral-xyz/anchor/pull/3619)).
### Breaking

30
Cargo.lock generated
View File

@ -102,7 +102,7 @@ dependencies = [
[[package]]
name = "anchor-attribute-access-control"
version = "0.31.0"
version = "0.31.1"
dependencies = [
"anchor-syn",
"proc-macro2",
@ -112,7 +112,7 @@ dependencies = [
[[package]]
name = "anchor-attribute-account"
version = "0.31.0"
version = "0.31.1"
dependencies = [
"anchor-syn",
"bs58",
@ -123,7 +123,7 @@ dependencies = [
[[package]]
name = "anchor-attribute-constant"
version = "0.31.0"
version = "0.31.1"
dependencies = [
"anchor-syn",
"quote",
@ -132,7 +132,7 @@ dependencies = [
[[package]]
name = "anchor-attribute-error"
version = "0.31.0"
version = "0.31.1"
dependencies = [
"anchor-syn",
"quote",
@ -141,7 +141,7 @@ dependencies = [
[[package]]
name = "anchor-attribute-event"
version = "0.31.0"
version = "0.31.1"
dependencies = [
"anchor-syn",
"proc-macro2",
@ -151,7 +151,7 @@ dependencies = [
[[package]]
name = "anchor-attribute-program"
version = "0.31.0"
version = "0.31.1"
dependencies = [
"anchor-lang-idl",
"anchor-syn",
@ -166,7 +166,7 @@ dependencies = [
[[package]]
name = "anchor-cli"
version = "0.31.0"
version = "0.31.1"
dependencies = [
"anchor-client",
"anchor-lang",
@ -202,7 +202,7 @@ dependencies = [
[[package]]
name = "anchor-client"
version = "0.31.0"
version = "0.31.1"
dependencies = [
"anchor-lang",
"anyhow",
@ -219,7 +219,7 @@ dependencies = [
[[package]]
name = "anchor-derive-accounts"
version = "0.31.0"
version = "0.31.1"
dependencies = [
"anchor-syn",
"quote",
@ -228,7 +228,7 @@ dependencies = [
[[package]]
name = "anchor-derive-serde"
version = "0.31.0"
version = "0.31.1"
dependencies = [
"anchor-syn",
"borsh-derive-internal",
@ -239,7 +239,7 @@ dependencies = [
[[package]]
name = "anchor-derive-space"
version = "0.31.0"
version = "0.31.1"
dependencies = [
"proc-macro2",
"quote",
@ -248,7 +248,7 @@ dependencies = [
[[package]]
name = "anchor-lang"
version = "0.31.0"
version = "0.31.1"
dependencies = [
"anchor-attribute-access-control",
"anchor-attribute-account",
@ -291,7 +291,7 @@ dependencies = [
[[package]]
name = "anchor-spl"
version = "0.31.0"
version = "0.31.1"
dependencies = [
"anchor-lang",
"borsh 0.10.3",
@ -307,7 +307,7 @@ dependencies = [
[[package]]
name = "anchor-syn"
version = "0.31.0"
version = "0.31.1"
dependencies = [
"anyhow",
"bs58",
@ -650,7 +650,7 @@ checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa"
[[package]]
name = "avm"
version = "0.31.0"
version = "0.31.1"
dependencies = [
"anyhow",
"cargo_toml",

View File

@ -1 +1 @@
0.31.0
0.31.1

View File

@ -1,6 +1,6 @@
[package]
name = "avm"
version = "0.31.0"
version = "0.31.1"
edition = "2021"
[[bin]]

View File

@ -24,6 +24,18 @@ Solana version: 2.1.0
---
## [0.31.1]
Solana version: 2.1.0
| Program | Binary Size | - |
| ------- | ----------- | --- |
| bench | 1,041,928 | - |
### Notable changes
---
## [0.31.0]
Solana version: 2.1.0

View File

@ -110,6 +110,104 @@ Solana version: 2.1.0
---
## [0.31.1]
Solana version: 2.1.0
| Instruction | Compute Units | - |
| --------------------------- | ------------- | --- |
| accountInfo1 | 571 | - |
| accountInfo2 | 895 | - |
| accountInfo4 | 1,553 | - |
| accountInfo8 | 2,923 | - |
| accountEmptyInit1 | 5,083 | - |
| accountEmpty1 | 645 | - |
| accountEmptyInit2 | 9,301 | - |
| accountEmpty2 | 1,007 | - |
| accountEmptyInit4 | 17,764 | - |
| accountEmpty4 | 1,724 | - |
| accountEmptyInit8 | 34,723 | - |
| accountEmpty8 | 3,163 | - |
| accountSizedInit1 | 5,192 | - |
| accountSized1 | 693 | - |
| accountSizedInit2 | 9,489 | - |
| accountSized2 | 1,075 | - |
| accountSizedInit4 | 18,170 | - |
| accountSized4 | 1,848 | - |
| accountSizedInit8 | 35,433 | - |
| accountSized8 | 3,387 | - |
| accountUnsizedInit1 | 5,305 | - |
| accountUnsized1 | 746 | - |
| accountUnsizedInit2 | 9,759 | - |
| accountUnsized2 | 1,163 | - |
| accountUnsizedInit4 | 18,603 | - |
| accountUnsized4 | 2,002 | - |
| accountUnsizedInit8 | 35,993 | - |
| accountUnsized8 | 3,673 | - |
| boxedAccountEmptyInit1 | 5,175 | - |
| boxedAccountEmpty1 | 734 | - |
| boxedAccountEmptyInit2 | 9,414 | - |
| boxedAccountEmpty2 | 1,116 | - |
| boxedAccountEmptyInit4 | 17,918 | - |
| boxedAccountEmpty4 | 1,872 | - |
| boxedAccountEmptyInit8 | 34,953 | - |
| boxedAccountEmpty8 | 3,401 | - |
| boxedAccountSizedInit1 | 5,271 | - |
| boxedAccountSized1 | 783 | - |
| boxedAccountSizedInit2 | 9,583 | - |
| boxedAccountSized2 | 1,190 | - |
| boxedAccountSizedInit4 | 18,230 | - |
| boxedAccountSized4 | 1,996 | - |
| boxedAccountSizedInit8 | 35,553 | - |
| boxedAccountSized8 | 3,628 | - |
| boxedAccountUnsizedInit1 | 5,371 | - |
| boxedAccountUnsized1 | 836 | - |
| boxedAccountUnsizedInit2 | 9,759 | - |
| boxedAccountUnsized2 | 1,270 | - |
| boxedAccountUnsizedInit4 | 18,558 | - |
| boxedAccountUnsized4 | 2,132 | - |
| boxedAccountUnsizedInit8 | 36,185 | - |
| boxedAccountUnsized8 | 3,881 | - |
| boxedInterfaceAccountMint1 | 1,351 | - |
| boxedInterfaceAccountMint2 | 2,123 | - |
| boxedInterfaceAccountMint4 | 3,656 | - |
| boxedInterfaceAccountMint8 | 6,738 | - |
| boxedInterfaceAccountToken1 | 2,011 | - |
| boxedInterfaceAccountToken2 | 3,431 | - |
| boxedInterfaceAccountToken4 | 6,260 | - |
| boxedInterfaceAccountToken8 | 11,934 | - |
| interfaceAccountMint1 | 1,476 | - |
| interfaceAccountMint2 | 2,489 | - |
| interfaceAccountMint4 | 4,511 | - |
| interfaceAccountMint8 | 8,550 | - |
| interfaceAccountToken1 | 2,111 | - |
| interfaceAccountToken2 | 3,729 | - |
| interfaceAccountToken4 | 6,955 | - |
| interface1 | 769 | - |
| interface2 | 912 | - |
| interface4 | 1,189 | - |
| interface8 | 1,748 | - |
| program1 | 779 | - |
| program2 | 920 | - |
| program4 | 1,193 | - |
| program8 | 1,744 | - |
| signer1 | 774 | - |
| signer2 | 1,064 | - |
| signer4 | 1,637 | - |
| signer8 | 2,788 | - |
| systemAccount1 | 796 | - |
| systemAccount2 | 1,096 | - |
| systemAccount4 | 1,689 | - |
| systemAccount8 | 2,880 | - |
| uncheckedAccount1 | 783 | - |
| uncheckedAccount2 | 1,056 | - |
| uncheckedAccount4 | 1,594 | - |
| uncheckedAccount8 | 2,679 | - |
### Notable changes
---
## [0.31.0]
Solana version: 2.1.0

View File

@ -110,6 +110,104 @@ Solana version: 2.1.0
---
## [0.31.1]
Solana version: 2.1.0
| Instruction | Stack Memory | - |
| ------------------------------ | ------------ | --- |
| account_info1 | 46 | - |
| account_info2 | 80 | - |
| account_info4 | 80 | - |
| account_info8 | 80 | - |
| account_empty_init1 | 88 | - |
| account_empty_init2 | 88 | - |
| account_empty_init4 | 88 | - |
| account_empty_init8 | 88 | - |
| account_empty1 | 88 | - |
| account_empty2 | 88 | - |
| account_empty4 | 88 | - |
| account_empty8 | 88 | - |
| account_sized_init1 | 88 | - |
| account_sized_init2 | 88 | - |
| account_sized_init4 | 88 | - |
| account_sized_init8 | 88 | - |
| account_sized1 | 88 | - |
| account_sized2 | 88 | - |
| account_sized4 | 88 | - |
| account_sized8 | 88 | - |
| account_unsized_init1 | 88 | - |
| account_unsized_init2 | 88 | - |
| account_unsized_init4 | 88 | - |
| account_unsized_init8 | 88 | - |
| account_unsized1 | 88 | - |
| account_unsized2 | 88 | - |
| account_unsized4 | 88 | - |
| account_unsized8 | 88 | - |
| boxed_account_empty_init1 | 88 | - |
| boxed_account_empty_init2 | 88 | - |
| boxed_account_empty_init4 | 88 | - |
| boxed_account_empty_init8 | 88 | - |
| boxed_account_empty1 | 88 | - |
| boxed_account_empty2 | 88 | - |
| boxed_account_empty4 | 88 | - |
| boxed_account_empty8 | 88 | - |
| boxed_account_sized_init1 | 88 | - |
| boxed_account_sized_init2 | 88 | - |
| boxed_account_sized_init4 | 88 | - |
| boxed_account_sized_init8 | 88 | - |
| boxed_account_sized1 | 88 | - |
| boxed_account_sized2 | 88 | - |
| boxed_account_sized4 | 88 | - |
| boxed_account_sized8 | 88 | - |
| boxed_account_unsized_init1 | 88 | - |
| boxed_account_unsized_init2 | 88 | - |
| boxed_account_unsized_init4 | 88 | - |
| boxed_account_unsized_init8 | 88 | - |
| boxed_account_unsized1 | 88 | - |
| boxed_account_unsized2 | 88 | - |
| boxed_account_unsized4 | 88 | - |
| boxed_account_unsized8 | 88 | - |
| boxed_interface_account_mint1 | 88 | - |
| boxed_interface_account_mint2 | 88 | - |
| boxed_interface_account_mint4 | 88 | - |
| boxed_interface_account_mint8 | 88 | - |
| boxed_interface_account_token1 | 88 | - |
| boxed_interface_account_token2 | 88 | - |
| boxed_interface_account_token4 | 88 | - |
| boxed_interface_account_token8 | 88 | - |
| interface_account_mint1 | 88 | - |
| interface_account_mint2 | 88 | - |
| interface_account_mint4 | 88 | - |
| interface_account_mint8 | 88 | - |
| interface_account_token1 | 80 | - |
| interface_account_token2 | 80 | - |
| interface_account_token4 | 80 | - |
| interface1 | 88 | - |
| interface2 | 88 | - |
| interface4 | 88 | - |
| interface8 | 88 | - |
| program1 | 88 | - |
| program2 | 88 | - |
| program4 | 88 | - |
| program8 | 88 | - |
| signer1 | 88 | - |
| signer2 | 88 | - |
| signer4 | 88 | - |
| signer8 | 88 | - |
| system_account1 | 88 | - |
| system_account2 | 88 | - |
| system_account4 | 88 | - |
| system_account8 | 88 | - |
| unchecked_account1 | 88 | - |
| unchecked_account2 | 88 | - |
| unchecked_account4 | 88 | - |
| unchecked_account8 | 88 | - |
### Notable changes
---
## [0.31.0]
Solana version: 2.1.0

View File

@ -1,6 +1,6 @@
[package]
name = "anchor-cli"
version = "0.31.0"
version = "0.31.1"
authors = ["Anchor Maintainers <accounts@200ms.io>"]
edition = "2021"
repository = "https://github.com/coral-xyz/anchor"
@ -15,9 +15,9 @@ path = "src/bin/main.rs"
dev = []
[dependencies]
anchor-client = { path = "../client", version = "0.31.0" }
anchor-client = { path = "../client", version = "0.31.1" }
anchor-lang-idl = { path = "../idl", version = "0.1.2", features = ["build", "convert"] }
anchor-lang = { path = "../lang", version = "0.31.0" }
anchor-lang = { path = "../lang", version = "0.31.1" }
anyhow = "1.0.32"
base64 = "0.21"
bincode = "1.3.3"

View File

@ -1,6 +1,6 @@
{
"name": "@coral-xyz/anchor-cli",
"version": "0.31.0",
"version": "0.31.1",
"description": "Anchor CLI tool",
"homepage": "https://github.com/coral-xyz/anchor#readme",
"bugs": {

View File

@ -1,6 +1,6 @@
[package]
name = "anchor-client"
version = "0.31.0"
version = "0.31.1"
authors = ["Anchor Maintainers <accounts@200ms.io>"]
edition = "2021"
license = "Apache-2.0"
@ -16,7 +16,7 @@ debug = []
mock = []
[dependencies]
anchor-lang = { path = "../lang", version = "0.31.0" }
anchor-lang = { path = "../lang", version = "0.31.1" }
anyhow = "1"
futures = "0.3"
regex = "1"

View File

@ -50,7 +50,7 @@
//!
//! More examples can be found in [here].
//!
//! [here]: https://github.com/coral-xyz/anchor/tree/v0.31.0/client/example/src
//! [here]: https://github.com/coral-xyz/anchor/tree/v0.31.1/client/example/src
//!
//! # Features
//!
@ -59,7 +59,7 @@
//! The client is blocking by default. To enable asynchronous client, add `async` feature:
//!
//! ```toml
//! anchor-client = { version = "0.31.0 ", features = ["async"] }
//! anchor-client = { version = "0.31.1 ", features = ["async"] }
//! ````
//!
//! ## `mock`

View File

@ -1,5 +1,5 @@
# Anchor version.
ANCHOR_CLI=v0.31.0
ANCHOR_CLI=v0.31.1
# Solana toolchain.
SOLANA_CLI=v2.1.0
# Build version should match the Anchor cli version.

View File

@ -261,8 +261,8 @@ version = "0.1.0"
edition = "2021"
[dependencies]
anchor-client = { version = "0.31.0", features = ["async"] }
anchor-lang = "0.31.0"
anchor-client = { version = "0.31.1", features = ["async"] }
anchor-lang = "0.31.1"
anyhow = "1.0.93"
tokio = { version = "1.0", features = ["full"] }
```

View File

@ -678,8 +678,8 @@ version = "0.1.0"
edition = "2021"
[dependencies]
anchor-client = { version = "0.31.0", features = ["async"] }
anchor-lang = "0.31.0"
anchor-client = { version = "0.31.1", features = ["async"] }
anchor-lang = "0.31.1"
anyhow = "1.0.93"
tokio = { version = "1.0", features = ["full"] }
```

View File

@ -148,7 +148,7 @@ program's `Cargo.toml`:
```toml title="Cargo.toml"
[dependencies]
anchor-lang = { version = "0.31.0", features = ["event-cpi"] }
anchor-lang = { version = "0.31.1", features = ["event-cpi"] }
```
Example usage:

View File

@ -18,7 +18,7 @@ zero-copy types.
```toml title="Cargo.toml"
[dependencies]
bytemuck = { version = "1.20.0", features = ["min_const_generics"] }
anchor-lang = "0.31.0"
anchor-lang = "0.31.1"
```
### Define a Zero Copy Account

View File

@ -30,7 +30,7 @@ After installation, you should see output similar to the following:
Installed Versions:
Rust: rustc 1.85.0 (4d91de4e4 2025-02-17)
Solana CLI: solana-cli 2.1.15 (src:53545685; feat:3271415109, client:Agave)
Anchor CLI: anchor-cli 0.31.0
Anchor CLI: anchor-cli 0.31.1
Node.js: v23.9.0
Yarn: 1.22.1
@ -355,8 +355,8 @@ Alternatively, you can install a specific version of Anchor CLI by specifying
the version number:
```shell title="Terminal"
avm install 0.31.0
avm use 0.31.0
avm install 0.31.1
avm use 0.31.1
```
<Callout type="info">
@ -365,7 +365,7 @@ Don't forget to run the `avm use` command to declare which Anchor CLI version
should be used on your system.
- If you installed the `latest` version, run `avm use latest`.
- If you installed the version `0.31.0`, run `avm use 0.31.0`.
- If you installed the version `0.31.1`, run `avm use 0.31.1`.
</Callout>
@ -376,7 +376,7 @@ should be used on your system.
Install a specific version of the Anchor CLI with the following command:
```shell title="Terminal"
cargo install --git https://github.com/coral-xyz/anchor --tag v0.31.0 anchor-cli
cargo install --git https://github.com/coral-xyz/anchor --tag v0.31.1 anchor-cli
```
</Tab>
@ -391,7 +391,7 @@ anchor --version
You should see output similar to the following:
```
anchor-cli 0.31.0
anchor-cli 0.31.1
```
<Callout type="warn">

View File

@ -37,7 +37,7 @@ anchor --version
Expected output:
```shell filename="Terminal"
anchor-cli 0.31.0
anchor-cli 0.31.1
```
## Getting Started

View File

@ -218,7 +218,7 @@ Override toolchain data in the workspace similar to
```toml
[toolchain]
anchor_version = "0.31.0" # `anchor-cli` version to use(requires `avm`)
solana_version = "2.1.0" # Solana version to use(applies to all Solana tools)
anchor_version = "0.31.1" # `anchor-cli` version to use(requires `avm`)
solana_version = "2.1.21" # Solana version to use(applies to all Solana tools)
package_manager = "yarn" # JS package manager to use
```

View File

@ -39,10 +39,10 @@ If the program has an IDL, it will also check the IDL deployed on chain matches.
A docker image for each version of Anchor is published on
[Docker Hub](https://hub.docker.com/r/solanafoundation/anchor). They are tagged
in the form `solanafoundation/anchor:<version>`. For example, to get the image
for Anchor `v0.31.0` one can run
for Anchor `v0.31.1` one can run
```shell
docker pull solanafoundation/anchor:v0.31.0
docker pull solanafoundation/anchor:v0.31.1
```
## Removing an Image

View File

@ -309,7 +309,7 @@ To use the `init_if_needed` constraint, enable the `init-if-needed` feature in
```toml title="Cargo.toml"
[dependencies]
anchor-lang = { version = "0.31.0", features = ["init-if-needed"] }
anchor-lang = { version = "0.31.1", features = ["init-if-needed"] }
```
## Examples

View File

@ -40,8 +40,8 @@ idl-build = [
]
[dependencies]
anchor-lang = "0.31.0"
anchor-spl = "0.31.0"
anchor-lang = "0.31.1"
anchor-spl = "0.31.1"
```
### Core Modules

View File

@ -9,6 +9,25 @@ patch version will be incremented for features.
---
## [0.31.1] - 2025-04-19
### Features
- cli, docker: Replace `backpackapp/build` Docker image with
`solanafoundation/anchor`
([#3619](https://github.com/coral-xyz/anchor/pull/3619)).
- ts: Make `Provider` require publicKey instead of wallet in accounts resolver
([#3613](https://github.com/coral-xyz/anchor/pull/3613))
### Fixes
- idl: Update `proc-macro2` usage for latest nightly
([#3663](https://github.com/solana-foundation/anchor/pull/3663))
- ts: Fix parsing IDL with multiple const generics
([#3665](https://github.com/solana-foundation/anchor/pull/3665))
### Breaking
## [0.31.0] - 2025-03-08
### Features

View File

@ -0,0 +1,73 @@
---
title: 0.31.1
description: Anchor - Release Notes 0.31.1
---
This patch release aims to fix `proc-macro2` related IDL build errors (see
[`proc-macro2` build fix](#proc-macro2-build-fix)).
New Releases for Anchor will be published under the `solanafoundation` GitHub
organization from now on.
---
## How to upgrade
1. Update `anchor-cli`:
```sh
avm install 0.31.1
```
2. Update Anchor crate(s) to `0.31.1`.
3. Update TS package(s) to `0.31.1`.
## Recommended Solana Version
The recommended Solana version is `2.1.0`, the same as
[v0.31.0's Recommended Solana Version](./0-31-0#recommended-solana-version).
## Docker
This release uses a new docker image found at
[solanafoundation/anchor](https://hub.docker.com/r/solanafoundation/anchor). New
images will be pushed to this organization in the future.
## IDL
### `proc-macro2` build fix
`proc-macro2 1.0.95` removed the `source_file` method of `Span` due to an
underlying `nightly` compiler change
[rust-lang/rust#139671](https://github.com/rust-lang/rust/pull/139671), which
resulted in the following error for Anchor users:
```
error[E0599]: no method named `source_file` found for struct `proc_macro2::Span` in the current scope
```
This should now be fixed in this release.
## TypeScript
### Account resolver no longer requires wallet
Resolving signers had a wallet requirement, and failing to meet this requirement
resulted in the following error:
```
This function requires the `Provider` interface implementor to have a `wallet` field.
```
Now, it's only required for the `publicKey` field of `Provider` to be set.
### Multiple constant generics
An issue where having multiple constant generics would result in parsing errors
has been fixed.
---
See the full list of notable changes in the
[CHANGELOG](https://github.com/solana-foundation/anchor/blob/v0.31.1/CHANGELOG.md#0311---2025-04-19).

View File

@ -1,4 +1,4 @@
{
"title": "Release Notes",
"pages": ["0-31-0", "0-30-1", "0-30-0", "0-29-0"]
"pages": ["0-31-1", "0-31-0", "0-30-1", "0-30-0", "0-29-0"]
}

View File

@ -1,6 +1,6 @@
{
"name": "basic-0",
"version": "0.31.0",
"version": "0.31.1",
"license": "(MIT OR Apache-2.0)",
"homepage": "https://github.com/coral-xyz/anchor#readme",
"bugs": {

View File

@ -1,6 +1,6 @@
{
"name": "basic-1",
"version": "0.31.0",
"version": "0.31.1",
"license": "(MIT OR Apache-2.0)",
"homepage": "https://github.com/coral-xyz/anchor#readme",
"bugs": {

View File

@ -1,6 +1,6 @@
{
"name": "basic-2",
"version": "0.31.0",
"version": "0.31.1",
"license": "(MIT OR Apache-2.0)",
"homepage": "https://github.com/coral-xyz/anchor#readme",
"bugs": {

View File

@ -1,6 +1,6 @@
{
"name": "basic-3",
"version": "0.31.0",
"version": "0.31.1",
"license": "(MIT OR Apache-2.0)",
"homepage": "https://github.com/coral-xyz/anchor#readme",
"bugs": {

View File

@ -1,6 +1,6 @@
{
"name": "basic-4",
"version": "0.31.0",
"version": "0.31.1",
"license": "(MIT OR Apache-2.0)",
"homepage": "https://github.com/coral-xyz/anchor#readme",
"bugs": {

View File

@ -1,6 +1,6 @@
{
"name": "basic-5",
"version": "0.31.0",
"version": "0.31.1",
"license": "(MIT OR Apache-2.0)",
"homepage": "https://github.com/coral-xyz/anchor#readme",
"bugs": {

View File

@ -1,6 +1,6 @@
[package]
name = "anchor-lang"
version = "0.31.0"
version = "0.31.1"
authors = ["Anchor Maintainers <accounts@200ms.io>"]
repository = "https://github.com/coral-xyz/anchor"
edition = "2021"
@ -39,15 +39,15 @@ interface-instructions = ["anchor-attribute-program/interface-instructions"]
lazy-account = ["anchor-attribute-account/lazy-account", "anchor-derive-serde/lazy-account"]
[dependencies]
anchor-attribute-access-control = { path = "./attribute/access-control", version = "0.31.0" }
anchor-attribute-account = { path = "./attribute/account", version = "0.31.0" }
anchor-attribute-constant = { path = "./attribute/constant", version = "0.31.0" }
anchor-attribute-error = { path = "./attribute/error", version = "0.31.0" }
anchor-attribute-event = { path = "./attribute/event", version = "0.31.0" }
anchor-attribute-program = { path = "./attribute/program", version = "0.31.0" }
anchor-derive-accounts = { path = "./derive/accounts", version = "0.31.0" }
anchor-derive-serde = { path = "./derive/serde", version = "0.31.0" }
anchor-derive-space = { path = "./derive/space", version = "0.31.0" }
anchor-attribute-access-control = { path = "./attribute/access-control", version = "0.31.1" }
anchor-attribute-account = { path = "./attribute/account", version = "0.31.1" }
anchor-attribute-constant = { path = "./attribute/constant", version = "0.31.1" }
anchor-attribute-error = { path = "./attribute/error", version = "0.31.1" }
anchor-attribute-event = { path = "./attribute/event", version = "0.31.1" }
anchor-attribute-program = { path = "./attribute/program", version = "0.31.1" }
anchor-derive-accounts = { path = "./derive/accounts", version = "0.31.1" }
anchor-derive-serde = { path = "./derive/serde", version = "0.31.1" }
anchor-derive-space = { path = "./derive/space", version = "0.31.1" }
# `anchor-lang-idl` should only be included with `idl-build` feature
anchor-lang-idl = { path = "../idl", version = "0.1.2", optional = true }

View File

@ -1,6 +1,6 @@
[package]
name = "anchor-attribute-access-control"
version = "0.31.0"
version = "0.31.1"
authors = ["Anchor Maintainers <accounts@200ms.io>"]
repository = "https://github.com/coral-xyz/anchor"
license = "Apache-2.0"
@ -14,7 +14,7 @@ proc-macro = true
anchor-debug = ["anchor-syn/anchor-debug"]
[dependencies]
anchor-syn = { path = "../../syn", version = "0.31.0" }
anchor-syn = { path = "../../syn", version = "0.31.1" }
proc-macro2 = "1"
quote = "1"
syn = { version = "1", features = ["full"] }

View File

@ -1,6 +1,6 @@
[package]
name = "anchor-attribute-account"
version = "0.31.0"
version = "0.31.1"
authors = ["Anchor Maintainers <accounts@200ms.io>"]
repository = "https://github.com/coral-xyz/anchor"
license = "Apache-2.0"
@ -16,7 +16,7 @@ idl-build = ["anchor-syn/idl-build"]
lazy-account = []
[dependencies]
anchor-syn = { path = "../../syn", version = "0.31.0", features = ["hash"] }
anchor-syn = { path = "../../syn", version = "0.31.1", features = ["hash"] }
bs58 = "0.5"
proc-macro2 = "1"
quote = "1"

View File

@ -1,6 +1,6 @@
[package]
name = "anchor-attribute-constant"
version = "0.31.0"
version = "0.31.1"
authors = ["Anchor Maintainers <accounts@200ms.io>"]
repository = "https://github.com/coral-xyz/anchor"
license = "Apache-2.0"
@ -15,6 +15,6 @@ anchor-debug = ["anchor-syn/anchor-debug"]
idl-build = ["anchor-syn/idl-build"]
[dependencies]
anchor-syn = { path = "../../syn", version = "0.31.0" }
anchor-syn = { path = "../../syn", version = "0.31.1" }
quote = "1"
syn = { version = "1", features = ["full"] }

View File

@ -1,6 +1,6 @@
[package]
name = "anchor-attribute-error"
version = "0.31.0"
version = "0.31.1"
authors = ["Anchor Maintainers <accounts@200ms.io>"]
repository = "https://github.com/coral-xyz/anchor"
license = "Apache-2.0"
@ -15,6 +15,6 @@ anchor-debug = ["anchor-syn/anchor-debug"]
idl-build = ["anchor-syn/idl-build"]
[dependencies]
anchor-syn = { path = "../../syn", version = "0.31.0" }
anchor-syn = { path = "../../syn", version = "0.31.1" }
quote = "1"
syn = { version = "1", features = ["full"] }

View File

@ -1,6 +1,6 @@
[package]
name = "anchor-attribute-event"
version = "0.31.0"
version = "0.31.1"
authors = ["Anchor Maintainers <accounts@200ms.io>"]
repository = "https://github.com/coral-xyz/anchor"
license = "Apache-2.0"
@ -17,7 +17,7 @@ event-cpi = ["anchor-syn/event-cpi"]
idl-build = ["anchor-syn/idl-build"]
[dependencies]
anchor-syn = { path = "../../syn", version = "0.31.0", features = ["hash"] }
anchor-syn = { path = "../../syn", version = "0.31.1", features = ["hash"] }
proc-macro2 = "1"
quote = "1"
syn = { version = "1", features = ["full"] }

View File

@ -1,6 +1,6 @@
[package]
name = "anchor-attribute-program"
version = "0.31.0"
version = "0.31.1"
authors = ["Anchor Maintainers <accounts@200ms.io>"]
repository = "https://github.com/coral-xyz/anchor"
license = "Apache-2.0"
@ -17,7 +17,7 @@ interface-instructions = ["anchor-syn/interface-instructions"]
[dependencies]
anchor-lang-idl = { path = "../../../idl", version = "0.1.2", features = ["convert"] }
anchor-syn = { path = "../../syn", version = "0.31.0" }
anchor-syn = { path = "../../syn", version = "0.31.1" }
anyhow = "1"
bs58 = "0.5"
heck = "0.3"

View File

@ -50,7 +50,7 @@ pub fn program(
///
/// A full on-chain CPI usage example can be found [here].
///
/// [here]: https://github.com/coral-xyz/anchor/tree/v0.31.0/tests/declare-program
/// [here]: https://github.com/coral-xyz/anchor/tree/v0.31.1/tests/declare-program
#[proc_macro]
pub fn declare_program(input: proc_macro::TokenStream) -> proc_macro::TokenStream {
parse_macro_input!(input as DeclareProgram)
@ -92,9 +92,9 @@ pub fn declare_program(input: proc_macro::TokenStream) -> proc_macro::TokenStrea
/// ```
#[cfg(feature = "interface-instructions")]
#[deprecated(
since = "0.31.0",
since = "0.31.1",
note = "Use `#[instruction(discriminator = <EXPR>)]` instead.
See examples in https://github.com/coral-xyz/anchor/tree/v0.31.0/tests/spl/transfer-hook"
See examples in https://github.com/coral-xyz/anchor/tree/v0.31.1/tests/spl/transfer-hook"
)]
#[proc_macro_attribute]
pub fn interface(

View File

@ -1,6 +1,6 @@
[package]
name = "anchor-derive-accounts"
version = "0.31.0"
version = "0.31.1"
authors = ["Anchor Maintainers <accounts@200ms.io>"]
repository = "https://github.com/coral-xyz/anchor"
license = "Apache-2.0"
@ -17,6 +17,6 @@ idl-build = ["anchor-syn/idl-build"]
init-if-needed = ["anchor-syn/init-if-needed"]
[dependencies]
anchor-syn = { path = "../../syn", version = "0.31.0" }
anchor-syn = { path = "../../syn", version = "0.31.1" }
quote = "1"
syn = { version = "1", features = ["full"] }

View File

@ -1,6 +1,6 @@
[package]
name = "anchor-derive-serde"
version = "0.31.0"
version = "0.31.1"
authors = ["Anchor Maintainers <accounts@200ms.io>"]
repository = "https://github.com/coral-xyz/anchor"
license = "Apache-2.0"
@ -15,7 +15,7 @@ idl-build = ["anchor-syn/idl-build"]
lazy-account = []
[dependencies]
anchor-syn = { path = "../../syn", version = "0.31.0" }
anchor-syn = { path = "../../syn", version = "0.31.1" }
borsh-derive-internal = "0.10.3"
proc-macro2 = "1"
syn = { version = "1", features = ["full"] }

View File

@ -1,6 +1,6 @@
[package]
name = "anchor-derive-space"
version = "0.31.0"
version = "0.31.1"
authors = ["Anchor Maintainers <accounts@200ms.io>"]
repository = "https://github.com/coral-xyz/anchor"
license = "Apache-2.0"

View File

@ -1,6 +1,6 @@
[package]
name = "anchor-syn"
version = "0.31.0"
version = "0.31.1"
authors = ["Anchor Maintainers <accounts@200ms.io>"]
repository = "https://github.com/coral-xyz/anchor"
license = "Apache-2.0"

View File

@ -1,6 +1,6 @@
[package]
name = "anchor-spl"
version = "0.31.0"
version = "0.31.1"
authors = ["Anchor Maintainers <accounts@200ms.io>"]
edition = "2021"
license = "Apache-2.0"
@ -26,7 +26,7 @@ token_2022 = ["spl-token-2022"]
token_2022_extensions = ["spl-token-2022", "spl-token-group-interface", "spl-token-metadata-interface", "spl-pod"]
[dependencies]
anchor-lang = { path = "../lang", version = "0.31.0", features = ["derive"] }
anchor-lang = { path = "../lang", version = "0.31.1", features = ["derive"] }
borsh = { version = "0.10.3", optional = true }
mpl-token-metadata = { version = "5", optional = true }
spl-associated-token-account = { version = "6", features = ["no-entrypoint"], optional = true }

View File

@ -1,6 +1,6 @@
{
"name": "anchor-cli-account",
"version": "0.31.0",
"version": "0.31.1",
"license": "(MIT OR Apache-2.0)",
"homepage": "https://github.com/coral-xyz/anchor#readme",
"bugs": {

View File

@ -1,6 +1,6 @@
{
"name": "anchor-cli-idl",
"version": "0.31.0",
"version": "0.31.1",
"license": "(MIT OR Apache-2.0)",
"homepage": "https://github.com/coral-xyz/anchor#readme",
"bugs": {

View File

@ -1,6 +1,6 @@
{
"name": "auction-house",
"version": "0.31.0",
"version": "0.31.1",
"license": "(MIT OR Apache-2.0)",
"homepage": "https://github.com/coral-xyz/anchor#readme",
"bugs": {

View File

@ -1115,6 +1115,192 @@
}
}
},
"0.31.1": {
"solanaVersion": "2.1.0",
"result": {
"binarySize": {
"bench": 1041928
},
"computeUnits": {
"accountInfo1": 571,
"accountInfo2": 895,
"accountInfo4": 1553,
"accountInfo8": 2923,
"accountEmptyInit1": 5083,
"accountEmpty1": 645,
"accountEmptyInit2": 9301,
"accountEmpty2": 1007,
"accountEmptyInit4": 17764,
"accountEmpty4": 1724,
"accountEmptyInit8": 34723,
"accountEmpty8": 3163,
"accountSizedInit1": 5192,
"accountSized1": 693,
"accountSizedInit2": 9489,
"accountSized2": 1075,
"accountSizedInit4": 18170,
"accountSized4": 1848,
"accountSizedInit8": 35433,
"accountSized8": 3387,
"accountUnsizedInit1": 5305,
"accountUnsized1": 746,
"accountUnsizedInit2": 9759,
"accountUnsized2": 1163,
"accountUnsizedInit4": 18603,
"accountUnsized4": 2002,
"accountUnsizedInit8": 35993,
"accountUnsized8": 3673,
"boxedAccountEmptyInit1": 5175,
"boxedAccountEmpty1": 734,
"boxedAccountEmptyInit2": 9414,
"boxedAccountEmpty2": 1116,
"boxedAccountEmptyInit4": 17918,
"boxedAccountEmpty4": 1872,
"boxedAccountEmptyInit8": 34953,
"boxedAccountEmpty8": 3401,
"boxedAccountSizedInit1": 5271,
"boxedAccountSized1": 783,
"boxedAccountSizedInit2": 9583,
"boxedAccountSized2": 1190,
"boxedAccountSizedInit4": 18230,
"boxedAccountSized4": 1996,
"boxedAccountSizedInit8": 35553,
"boxedAccountSized8": 3628,
"boxedAccountUnsizedInit1": 5371,
"boxedAccountUnsized1": 836,
"boxedAccountUnsizedInit2": 9759,
"boxedAccountUnsized2": 1270,
"boxedAccountUnsizedInit4": 18558,
"boxedAccountUnsized4": 2132,
"boxedAccountUnsizedInit8": 36185,
"boxedAccountUnsized8": 3881,
"boxedInterfaceAccountMint1": 1351,
"boxedInterfaceAccountMint2": 2123,
"boxedInterfaceAccountMint4": 3656,
"boxedInterfaceAccountMint8": 6738,
"boxedInterfaceAccountToken1": 2011,
"boxedInterfaceAccountToken2": 3431,
"boxedInterfaceAccountToken4": 6260,
"boxedInterfaceAccountToken8": 11934,
"interfaceAccountMint1": 1476,
"interfaceAccountMint2": 2489,
"interfaceAccountMint4": 4511,
"interfaceAccountMint8": 8550,
"interfaceAccountToken1": 2111,
"interfaceAccountToken2": 3729,
"interfaceAccountToken4": 6955,
"interface1": 769,
"interface2": 912,
"interface4": 1189,
"interface8": 1748,
"program1": 779,
"program2": 920,
"program4": 1193,
"program8": 1744,
"signer1": 774,
"signer2": 1064,
"signer4": 1637,
"signer8": 2788,
"systemAccount1": 796,
"systemAccount2": 1096,
"systemAccount4": 1689,
"systemAccount8": 2880,
"uncheckedAccount1": 783,
"uncheckedAccount2": 1056,
"uncheckedAccount4": 1594,
"uncheckedAccount8": 2679
},
"stackMemory": {
"account_info1": 46,
"account_info2": 80,
"account_info4": 80,
"account_info8": 80,
"account_empty_init1": 88,
"account_empty_init2": 88,
"account_empty_init4": 88,
"account_empty_init8": 88,
"account_empty1": 88,
"account_empty2": 88,
"account_empty4": 88,
"account_empty8": 88,
"account_sized_init1": 88,
"account_sized_init2": 88,
"account_sized_init4": 88,
"account_sized_init8": 88,
"account_sized1": 88,
"account_sized2": 88,
"account_sized4": 88,
"account_sized8": 88,
"account_unsized_init1": 88,
"account_unsized_init2": 88,
"account_unsized_init4": 88,
"account_unsized_init8": 88,
"account_unsized1": 88,
"account_unsized2": 88,
"account_unsized4": 88,
"account_unsized8": 88,
"boxed_account_empty_init1": 88,
"boxed_account_empty_init2": 88,
"boxed_account_empty_init4": 88,
"boxed_account_empty_init8": 88,
"boxed_account_empty1": 88,
"boxed_account_empty2": 88,
"boxed_account_empty4": 88,
"boxed_account_empty8": 88,
"boxed_account_sized_init1": 88,
"boxed_account_sized_init2": 88,
"boxed_account_sized_init4": 88,
"boxed_account_sized_init8": 88,
"boxed_account_sized1": 88,
"boxed_account_sized2": 88,
"boxed_account_sized4": 88,
"boxed_account_sized8": 88,
"boxed_account_unsized_init1": 88,
"boxed_account_unsized_init2": 88,
"boxed_account_unsized_init4": 88,
"boxed_account_unsized_init8": 88,
"boxed_account_unsized1": 88,
"boxed_account_unsized2": 88,
"boxed_account_unsized4": 88,
"boxed_account_unsized8": 88,
"boxed_interface_account_mint1": 88,
"boxed_interface_account_mint2": 88,
"boxed_interface_account_mint4": 88,
"boxed_interface_account_mint8": 88,
"boxed_interface_account_token1": 88,
"boxed_interface_account_token2": 88,
"boxed_interface_account_token4": 88,
"boxed_interface_account_token8": 88,
"interface_account_mint1": 88,
"interface_account_mint2": 88,
"interface_account_mint4": 88,
"interface_account_mint8": 88,
"interface_account_token1": 80,
"interface_account_token2": 80,
"interface_account_token4": 80,
"interface1": 88,
"interface2": 88,
"interface4": 88,
"interface8": 88,
"program1": 88,
"program2": 88,
"program4": 88,
"program8": 88,
"signer1": 88,
"signer2": 88,
"signer4": 88,
"signer8": 88,
"system_account1": 88,
"system_account2": 88,
"system_account4": 88,
"system_account8": 88,
"unchecked_account1": 88,
"unchecked_account2": 88,
"unchecked_account4": 88,
"unchecked_account8": 88
}
}
},
"unreleased": {
"solanaVersion": "2.1.0",
"result": {

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +1,6 @@
{
"name": "bench",
"version": "0.31.0",
"version": "0.31.1",
"license": "(MIT OR Apache-2.0)",
"homepage": "https://github.com/coral-xyz/anchor#readme",
"bugs": {

View File

@ -1,6 +1,6 @@
{
"name": "cashiers-check",
"version": "0.31.0",
"version": "0.31.1",
"license": "(MIT OR Apache-2.0)",
"homepage": "https://github.com/coral-xyz/anchor#readme",
"bugs": {

View File

@ -1,6 +1,6 @@
{
"name": "cfo",
"version": "0.31.0",
"version": "0.31.1",
"license": "(MIT OR Apache-2.0)",
"homepage": "https://github.com/coral-xyz/anchor#readme",
"bugs": {

View File

@ -1,6 +1,6 @@
{
"name": "chat",
"version": "0.31.0",
"version": "0.31.1",
"license": "(MIT OR Apache-2.0)",
"homepage": "https://github.com/coral-xyz/anchor#readme",
"bugs": {

View File

@ -1,6 +1,6 @@
{
"name": "composite",
"version": "0.31.0",
"version": "0.31.1",
"license": "(MIT OR Apache-2.0)",
"homepage": "https://github.com/coral-xyz/anchor#readme",
"bugs": {

View File

@ -1,6 +1,6 @@
{
"name": "cpi-returns",
"version": "0.31.0",
"version": "0.31.1",
"license": "(MIT OR Apache-2.0)",
"homepage": "https://github.com/coral-xyz/anchor#readme",
"bugs": {

View File

@ -1,6 +1,6 @@
{
"name": "custom-coder",
"version": "0.31.0",
"version": "0.31.1",
"license": "(MIT OR Apache-2.0)",
"homepage": "https://github.com/coral-xyz/anchor#readme",
"bugs": {

View File

@ -1,6 +1,6 @@
{
"name": "custom-discriminator",
"version": "0.31.0",
"version": "0.31.1",
"license": "(MIT OR Apache-2.0)",
"homepage": "https://github.com/coral-xyz/anchor#readme",
"bugs": {

View File

@ -1,6 +1,6 @@
{
"name": "declare-id",
"version": "0.31.0",
"version": "0.31.1",
"license": "(MIT OR Apache-2.0)",
"homepage": "https://github.com/coral-xyz/anchor#readme",
"bugs": {

View File

@ -1,6 +1,6 @@
{
"name": "declare-program",
"version": "0.31.0",
"version": "0.31.1",
"license": "(MIT OR Apache-2.0)",
"homepage": "https://github.com/coral-xyz/anchor#readme",
"bugs": {

View File

@ -1,6 +1,6 @@
{
"name": "errors",
"version": "0.31.0",
"version": "0.31.1",
"license": "(MIT OR Apache-2.0)",
"homepage": "https://github.com/coral-xyz/anchor#readme",
"bugs": {

View File

@ -1,6 +1,6 @@
{
"name": "escrow",
"version": "0.31.0",
"version": "0.31.1",
"license": "(MIT OR Apache-2.0)",
"homepage": "https://github.com/coral-xyz/anchor#readme",
"bugs": {

View File

@ -1,6 +1,6 @@
{
"name": "events",
"version": "0.31.0",
"version": "0.31.1",
"license": "(MIT OR Apache-2.0)",
"homepage": "https://github.com/coral-xyz/anchor#readme",
"bugs": {

View File

@ -1,6 +1,6 @@
{
"name": "floats",
"version": "0.31.0",
"version": "0.31.1",
"license": "(MIT OR Apache-2.0)",
"homepage": "https://github.com/coral-xyz/anchor#readme",
"bugs": {

View File

@ -1,6 +1,6 @@
{
"name": "idl",
"version": "0.31.0",
"version": "0.31.1",
"license": "(MIT OR Apache-2.0)",
"homepage": "https://github.com/coral-xyz/anchor#readme",
"bugs": {

View File

@ -1,6 +1,6 @@
{
"name": "ido-pool",
"version": "0.31.0",
"version": "0.31.1",
"license": "(MIT OR Apache-2.0)",
"homepage": "https://github.com/coral-xyz/anchor#readme",
"bugs": {

View File

@ -1,6 +1,6 @@
{
"name": "lazy-account",
"version": "0.31.0",
"version": "0.31.1",
"license": "(MIT OR Apache-2.0)",
"homepage": "https://github.com/coral-xyz/anchor#readme",
"bugs": {

View File

@ -1,6 +1,6 @@
{
"name": "lockup",
"version": "0.31.0",
"version": "0.31.1",
"license": "(MIT OR Apache-2.0)",
"homepage": "https://github.com/coral-xyz/anchor#readme",
"bugs": {

View File

@ -1,6 +1,6 @@
{
"name": "misc",
"version": "0.31.0",
"version": "0.31.1",
"license": "(MIT OR Apache-2.0)",
"homepage": "https://github.com/coral-xyz/anchor#readme",
"bugs": {

View File

@ -1,6 +1,6 @@
{
"name": "multiple-suites",
"version": "0.31.0",
"version": "0.31.1",
"license": "(MIT OR Apache-2.0)",
"homepage": "https://github.com/coral-xyz/anchor#readme",
"bugs": {

View File

@ -1,6 +1,6 @@
{
"name": "multisig",
"version": "0.31.0",
"version": "0.31.1",
"license": "(MIT OR Apache-2.0)",
"homepage": "https://github.com/coral-xyz/anchor#readme",
"bugs": {

View File

@ -1,6 +1,6 @@
{
"name": "optional",
"version": "0.31.0",
"version": "0.31.1",
"license": "(MIT OR Apache-2.0)",
"homepage": "https://github.com/coral-xyz/anchor#readme",
"bugs": {

View File

@ -1,6 +1,6 @@
{
"name": "pda-derivation",
"version": "0.31.0",
"version": "0.31.1",
"license": "(MIT OR Apache-2.0)",
"homepage": "https://github.com/coral-xyz/anchor#readme",
"bugs": {

View File

@ -1,6 +1,6 @@
{
"name": "pyth",
"version": "0.31.0",
"version": "0.31.1",
"license": "(MIT OR Apache-2.0)",
"homepage": "https://github.com/coral-xyz/anchor#readme",
"bugs": {

View File

@ -1,6 +1,6 @@
{
"name": "realloc",
"version": "0.31.0",
"version": "0.31.1",
"license": "(MIT OR Apache-2.0)",
"homepage": "https://github.com/coral-xyz/anchor#readme",
"bugs": {

View File

@ -1,6 +1,6 @@
{
"name": "relations-derivation",
"version": "0.31.0",
"version": "0.31.1",
"license": "(MIT OR Apache-2.0)",
"homepage": "https://github.com/coral-xyz/anchor#readme",
"bugs": {

View File

@ -1,6 +1,6 @@
{
"name": "solang",
"version": "0.31.0",
"version": "0.31.1",
"license": "(MIT OR Apache-2.0)",
"homepage": "https://github.com/coral-xyz/anchor#readme",
"bugs": {

View File

@ -1,6 +1,6 @@
{
"name": "metadata",
"version": "0.31.0",
"version": "0.31.1",
"license": "(MIT OR Apache-2.0)",
"homepage": "https://github.com/coral-xyz/anchor#readme",
"bugs": {

View File

@ -1,6 +1,6 @@
{
"name": "token-extensions",
"version": "0.31.0",
"version": "0.31.1",
"license": "(MIT OR Apache-2.0)",
"homepage": "https://github.com/coral-xyz/anchor#readme",
"bugs": {

View File

@ -1,6 +1,6 @@
{
"name": "token-proxy",
"version": "0.31.0",
"version": "0.31.1",
"license": "(MIT OR Apache-2.0)",
"homepage": "https://github.com/coral-xyz/anchor#readme",
"bugs": {

View File

@ -1,6 +1,6 @@
{
"name": "token-wrapper",
"version": "0.31.0",
"version": "0.31.1",
"license": "(MIT OR Apache-2.0)",
"homepage": "https://github.com/coral-xyz/anchor#readme",
"bugs": {

View File

@ -1,6 +1,6 @@
{
"name": "transfer-hook",
"version": "0.31.0",
"version": "0.31.1",
"license": "(MIT OR Apache-2.0)",
"homepage": "https://github.com/coral-xyz/anchor#readme",
"bugs": {

View File

@ -1,6 +1,6 @@
{
"name": "swap",
"version": "0.31.0",
"version": "0.31.1",
"license": "(MIT OR Apache-2.0)",
"homepage": "https://github.com/coral-xyz/anchor#readme",
"bugs": {

View File

@ -1,6 +1,6 @@
{
"name": "system-accounts",
"version": "0.31.0",
"version": "0.31.1",
"license": "(MIT OR Apache-2.0)",
"homepage": "https://github.com/coral-xyz/anchor#readme",
"bugs": {

View File

@ -1,6 +1,6 @@
{
"name": "sysvars",
"version": "0.31.0",
"version": "0.31.1",
"license": "(MIT OR Apache-2.0)",
"homepage": "https://github.com/coral-xyz/anchor#readme",
"bugs": {

View File

@ -1,6 +1,6 @@
{
"name": "tictactoe",
"version": "0.31.0",
"version": "0.31.1",
"license": "(MIT OR Apache-2.0)",
"homepage": "https://github.com/coral-xyz/anchor#readme",
"bugs": {

View File

@ -1,6 +1,6 @@
{
"name": "typescript-example",
"version": "0.31.0",
"version": "0.31.1",
"license": "(MIT OR Apache-2.0)",
"homepage": "https://github.com/coral-xyz/anchor#readme",
"bugs": {

View File

@ -1,6 +1,6 @@
{
"name": "validator-clone",
"version": "0.31.0",
"version": "0.31.1",
"license": "(MIT OR Apache-2.0)",
"homepage": "https://github.com/coral-xyz/anchor#readme",
"bugs": {

View File

@ -1,6 +1,6 @@
{
"name": "zero-copy",
"version": "0.31.0",
"version": "0.31.1",
"license": "(MIT OR Apache-2.0)",
"homepage": "https://github.com/coral-xyz/anchor#readme",
"bugs": {

View File

@ -1,6 +1,6 @@
{
"name": "@coral-xyz/anchor-errors",
"version": "0.31.0",
"version": "0.31.1",
"description": "Anchor error codes",
"main": "dist/index.js",
"types": "dist/index.d.ts",

View File

@ -1,6 +1,6 @@
{
"name": "@coral-xyz/anchor",
"version": "0.31.0",
"version": "0.31.1",
"description": "Anchor client",
"module": "./dist/esm/index.js",
"main": "./dist/cjs/index.js",
@ -33,8 +33,8 @@
"test": "jest tests --detectOpenHandles"
},
"dependencies": {
"@coral-xyz/anchor-errors": "^0.31.0",
"@coral-xyz/borsh": "^0.31.0",
"@coral-xyz/anchor-errors": "^0.31.1",
"@coral-xyz/borsh": "^0.31.1",
"@noble/hashes": "^1.3.1",
"@solana/web3.js": "^1.69.0",
"bn.js": "^5.1.2",

View File

@ -1,6 +1,6 @@
{
"name": "@coral-xyz/borsh",
"version": "0.31.0",
"version": "0.31.1",
"description": "Anchor Borsh",
"main": "dist/index.js",
"types": "dist/index.d.ts",

View File

@ -27,7 +27,7 @@
"watch": "tsc -p tsconfig.cjs.json --watch"
},
"dependencies": {
"@coral-xyz/anchor": "=0.31.0",
"@coral-xyz/anchor": "=0.31.1",
"@native-to-anchor/buffer-layout": "=0.1.0"
},
"devDependencies": {

View File

@ -27,7 +27,7 @@
"watch": "tsc -p tsconfig.cjs.json --watch"
},
"dependencies": {
"@coral-xyz/anchor": "=0.31.0",
"@coral-xyz/anchor": "=0.31.1",
"@native-to-anchor/buffer-layout": "=0.1.0"
},
"devDependencies": {

View File

@ -27,7 +27,7 @@
"watch": "tsc -p tsconfig.cjs.json --watch"
},
"dependencies": {
"@coral-xyz/anchor": "=0.31.0",
"@coral-xyz/anchor": "=0.31.1",
"@native-to-anchor/buffer-layout": "=0.1.0"
},
"devDependencies": {

View File

@ -27,7 +27,7 @@
"watch": "tsc -p tsconfig.cjs.json --watch"
},
"dependencies": {
"@coral-xyz/anchor": "=0.31.0",
"@coral-xyz/anchor": "=0.31.1",
"@native-to-anchor/buffer-layout": "=0.1.0"
},
"devDependencies": {

View File

@ -27,7 +27,7 @@
"watch": "tsc -p tsconfig.cjs.json --watch"
},
"dependencies": {
"@coral-xyz/anchor": "=0.31.0",
"@coral-xyz/anchor": "=0.31.1",
"@native-to-anchor/buffer-layout": "=0.1.0"
},
"devDependencies": {

View File

@ -27,7 +27,7 @@
"watch": "tsc -p tsconfig.cjs.json --watch"
},
"dependencies": {
"@coral-xyz/anchor": "=0.31.0"
"@coral-xyz/anchor": "=0.31.1"
},
"devDependencies": {
"@rollup/plugin-commonjs": "=21.0.2",

View File

@ -27,7 +27,7 @@
"watch": "tsc -p tsconfig.cjs.json --watch"
},
"dependencies": {
"@coral-xyz/anchor": "=0.31.0",
"@coral-xyz/anchor": "=0.31.1",
"@native-to-anchor/buffer-layout": "=0.1.0"
},
"devDependencies": {

View File

@ -27,7 +27,7 @@
"watch": "tsc -p tsconfig.cjs.json --watch"
},
"dependencies": {
"@coral-xyz/anchor": "=0.31.0",
"@coral-xyz/anchor": "=0.31.1",
"@native-to-anchor/buffer-layout": "=0.1.0"
},
"devDependencies": {

View File

@ -27,7 +27,7 @@
"watch": "tsc -p tsconfig.cjs.json --watch"
},
"dependencies": {
"@coral-xyz/anchor": "=0.31.0",
"@coral-xyz/anchor": "=0.31.1",
"@native-to-anchor/buffer-layout": "=0.1.0"
},
"devDependencies": {

Some files were not shown because too many files have changed in this diff Show More