This commit is contained in:
Henry-E 2023-03-08 13:28:23 +00:00 committed by GitHub
parent 30083bd83c
commit 3b45144787
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
84 changed files with 203 additions and 136 deletions

View File

@ -12,6 +12,14 @@ The minor version will be incremented upon a breaking change and the patch versi
### Features ### Features
### Fixes
### Breaking
## [0.27.0] - 2023-03-08
### Features
- spl: Add `MasterEditionAccount` account deserialization to spl metadata ([#2393](https://github.com/coral-xyz/anchor/pull/2393)). - spl: Add `MasterEditionAccount` account deserialization to spl metadata ([#2393](https://github.com/coral-xyz/anchor/pull/2393)).
- lang: Add the `InitSpace` derive macro to automatically calculate the space at the initialization of an account ([#2346](https://github.com/coral-xyz/anchor/pull/2346)). - lang: Add the `InitSpace` derive macro to automatically calculate the space at the initialization of an account ([#2346](https://github.com/coral-xyz/anchor/pull/2346)).
- cli: Add `env` option to verifiable builds ([#2325](https://github.com/coral-xyz/anchor/pull/2325)). - cli: Add `env` option to verifiable builds ([#2325](https://github.com/coral-xyz/anchor/pull/2325)).
@ -21,9 +29,9 @@ The minor version will be incremented upon a breaking change and the patch versi
- spl: Add `approve_checked` function ([#2401](https://github.com/coral-xyz/anchor/pull/2401)). - spl: Add `approve_checked` function ([#2401](https://github.com/coral-xyz/anchor/pull/2401)).
- cli: Add `--skip-build` option to the verify command ([#2387](https://github.com/coral-xyz/anchor/pull/2387)). - cli: Add `--skip-build` option to the verify command ([#2387](https://github.com/coral-xyz/anchor/pull/2387)).
- client: Add support for multithreading to the rust client: use flag `--multithreaded` ([#2321](https://github.com/coral-xyz/anchor/pull/2321)). - client: Add support for multithreading to the rust client: use flag `--multithreaded` ([#2321](https://github.com/coral-xyz/anchor/pull/2321)).
- client: Add `async_rpc` a method which returns a nonblocking solana rpc client ([2322](https://github.com/coral-xyz/anchor/pull/2322)). - client: Add `async_rpc` a method which returns a nonblocking solana rpc client ([#2322](https://github.com/coral-xyz/anchor/pull/2322)).
- avm, cli: Use the `rustls-tls` feature of `reqwest` so that users don't need OpenSSL installed ([#2385](https://github.com/coral-xyz/anchor/pull/2385)). - avm, cli: Use the `rustls-tls` feature of `reqwest` so that users don't need OpenSSL installed ([#2385](https://github.com/coral-xyz/anchor/pull/2385)).
- ts: Add `VersionedTransaction` support. Methods in the `Provider` class and `Wallet` interface now use the argument `tx: Transaction | VersionedTransaction` ([2427](https://github.com/coral-xyz/anchor/pull/2427)). - ts: Add `VersionedTransaction` support. Methods in the `Provider` class and `Wallet` interface now use the argument `tx: Transaction | VersionedTransaction` ([#2427](https://github.com/coral-xyz/anchor/pull/2427)).
- cli: Add `--arch sbf` option to compile programs using `cargo build-sbf` ([#2398](https://github.com/coral-xyz/anchor/pull/2398)). - cli: Add `--arch sbf` option to compile programs using `cargo build-sbf` ([#2398](https://github.com/coral-xyz/anchor/pull/2398)).
### Fixes ### Fixes

26
Cargo.lock generated
View File

@ -97,7 +97,7 @@ checksum = "6b2d54853319fd101b8dd81de382bcbf3e03410a64d8928bbee85a3e7dcde483"
[[package]] [[package]]
name = "anchor-attribute-access-control" name = "anchor-attribute-access-control"
version = "0.26.0" version = "0.27.0"
dependencies = [ dependencies = [
"anchor-syn", "anchor-syn",
"anyhow", "anyhow",
@ -109,7 +109,7 @@ dependencies = [
[[package]] [[package]]
name = "anchor-attribute-account" name = "anchor-attribute-account"
version = "0.26.0" version = "0.27.0"
dependencies = [ dependencies = [
"anchor-syn", "anchor-syn",
"anyhow", "anyhow",
@ -122,7 +122,7 @@ dependencies = [
[[package]] [[package]]
name = "anchor-attribute-constant" name = "anchor-attribute-constant"
version = "0.26.0" version = "0.27.0"
dependencies = [ dependencies = [
"anchor-syn", "anchor-syn",
"proc-macro2 1.0.47", "proc-macro2 1.0.47",
@ -131,7 +131,7 @@ dependencies = [
[[package]] [[package]]
name = "anchor-attribute-error" name = "anchor-attribute-error"
version = "0.26.0" version = "0.27.0"
dependencies = [ dependencies = [
"anchor-syn", "anchor-syn",
"proc-macro2 1.0.47", "proc-macro2 1.0.47",
@ -141,7 +141,7 @@ dependencies = [
[[package]] [[package]]
name = "anchor-attribute-event" name = "anchor-attribute-event"
version = "0.26.0" version = "0.27.0"
dependencies = [ dependencies = [
"anchor-syn", "anchor-syn",
"anyhow", "anyhow",
@ -152,7 +152,7 @@ dependencies = [
[[package]] [[package]]
name = "anchor-attribute-program" name = "anchor-attribute-program"
version = "0.26.0" version = "0.27.0"
dependencies = [ dependencies = [
"anchor-syn", "anchor-syn",
"anyhow", "anyhow",
@ -163,7 +163,7 @@ dependencies = [
[[package]] [[package]]
name = "anchor-cli" name = "anchor-cli"
version = "0.26.0" version = "0.27.0"
dependencies = [ dependencies = [
"anchor-client", "anchor-client",
"anchor-lang", "anchor-lang",
@ -196,7 +196,7 @@ dependencies = [
[[package]] [[package]]
name = "anchor-client" name = "anchor-client"
version = "0.26.0" version = "0.27.0"
dependencies = [ dependencies = [
"anchor-lang", "anchor-lang",
"anyhow", "anyhow",
@ -211,7 +211,7 @@ dependencies = [
[[package]] [[package]]
name = "anchor-derive-accounts" name = "anchor-derive-accounts"
version = "0.26.0" version = "0.27.0"
dependencies = [ dependencies = [
"anchor-syn", "anchor-syn",
"anyhow", "anyhow",
@ -222,7 +222,7 @@ dependencies = [
[[package]] [[package]]
name = "anchor-derive-space" name = "anchor-derive-space"
version = "0.26.0" version = "0.27.0"
dependencies = [ dependencies = [
"proc-macro2 1.0.47", "proc-macro2 1.0.47",
"quote 1.0.21", "quote 1.0.21",
@ -231,7 +231,7 @@ dependencies = [
[[package]] [[package]]
name = "anchor-lang" name = "anchor-lang"
version = "0.26.0" version = "0.27.0"
dependencies = [ dependencies = [
"anchor-attribute-access-control", "anchor-attribute-access-control",
"anchor-attribute-account", "anchor-attribute-account",
@ -252,7 +252,7 @@ dependencies = [
[[package]] [[package]]
name = "anchor-spl" name = "anchor-spl"
version = "0.26.0" version = "0.27.0"
dependencies = [ dependencies = [
"anchor-lang", "anchor-lang",
"borsh", "borsh",
@ -266,7 +266,7 @@ dependencies = [
[[package]] [[package]]
name = "anchor-syn" name = "anchor-syn"
version = "0.26.0" version = "0.27.0"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"bs58 0.3.1", "bs58 0.3.1",

View File

@ -15,6 +15,8 @@ publish:
sleep 25 sleep 25
cd lang/derive/accounts/ && cargo publish && cd ../../../ cd lang/derive/accounts/ && cargo publish && cd ../../../
sleep 25 sleep 25
cd lang/derive/space/ && cargo publish && cd ../../../
sleep 25
cd lang/attribute/access-control/ && cargo publish && cd ../../../ cd lang/attribute/access-control/ && cargo publish && cd ../../../
sleep 25 sleep 25
cd lang/attribute/account/ && cargo publish && cd ../../../ cd lang/attribute/account/ && cargo publish && cd ../../../

View File

@ -1 +1 @@
0.26.0 0.27.0

2
avm/Cargo.lock generated
View File

@ -27,7 +27,7 @@ checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa"
[[package]] [[package]]
name = "avm" name = "avm"
version = "0.26.0" version = "0.27.0"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"cfg-if", "cfg-if",

View File

@ -1,6 +1,6 @@
[package] [package]
name = "avm" name = "avm"
version = "0.26.0" version = "0.27.0"
rust-version = "1.60" rust-version = "1.60"
edition = "2021" edition = "2021"

View File

@ -1,6 +1,6 @@
[package] [package]
name = "anchor-cli" name = "anchor-cli"
version = "0.26.0" version = "0.27.0"
authors = ["armaniferrante <armaniferrante@gmail.com>"] authors = ["armaniferrante <armaniferrante@gmail.com>"]
rust-version = "1.60" rust-version = "1.60"
edition = "2021" edition = "2021"
@ -20,9 +20,9 @@ default = []
clap = { version = "4.0.26", features = ["derive"] } clap = { version = "4.0.26", features = ["derive"] }
anyhow = "1.0.32" anyhow = "1.0.32"
syn = { version = "1.0.60", features = ["full", "extra-traits"] } syn = { version = "1.0.60", features = ["full", "extra-traits"] }
anchor-lang = { path = "../lang", version = "0.26.0" } anchor-lang = { path = "../lang", version = "0.27.0" }
anchor-client = { path = "../client", version = "0.26.0" } anchor-client = { path = "../client", version = "0.27.0" }
anchor-syn = { path = "../lang/syn", features = ["idl", "init-if-needed"], version = "0.26.0" } anchor-syn = { path = "../lang/syn", features = ["idl", "init-if-needed"], version = "0.27.0" }
serde_json = "1.0" serde_json = "1.0"
shellexpand = "2.1.0" shellexpand = "2.1.0"
toml = "0.5.8" toml = "0.5.8"

View File

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

View File

@ -1,6 +1,6 @@
[package] [package]
name = "anchor-client" name = "anchor-client"
version = "0.26.0" version = "0.27.0"
authors = ["Serum Foundation <foundation@projectserum.com>"] authors = ["Serum Foundation <foundation@projectserum.com>"]
rust-version = "1.60" rust-version = "1.60"
edition = "2021" edition = "2021"
@ -11,7 +11,7 @@ description = "Rust client for Anchor programs"
debug = [] debug = []
[dependencies] [dependencies]
anchor-lang = { path = "../lang", version = "0.26.0" } anchor-lang = { path = "../lang", version = "0.27.0" }
anyhow = "1.0.32" anyhow = "1.0.32"
regex = "1.4.5" regex = "1.4.5"
serde = { version = "1.0.122", features = ["derive"] } serde = { version = "1.0.122", features = ["derive"] }

View File

@ -1,8 +1,8 @@
WORKDIR=$(PWD) WORKDIR=$(PWD)
# #
# Extract anchor version from the Cargo.toml. # Anchor version.
# #
ANCHOR_CLI=v0.26.0 ANCHOR_CLI=v0.27.0
# #
# Solana toolchain. # Solana toolchain.
# #

View File

@ -20,7 +20,7 @@
"autoprefixer": "^10.4.7", "autoprefixer": "^10.4.7",
"clsx": "^1.2.1", "clsx": "^1.2.1",
"focus-visible": "^5.2.0", "focus-visible": "^5.2.0",
"gh-pages": "^4.0.0", "gh-pages": "^5.0.0",
"next": "12.2.1", "next": "12.2.1",
"next-plausible": "^3.2.0", "next-plausible": "^3.2.0",
"postcss-focus-visible": "^6.0.4", "postcss-focus-visible": "^6.0.4",

View File

@ -24,7 +24,7 @@ dependencies = [
[[package]] [[package]]
name = "anchor-attribute-access-control" name = "anchor-attribute-access-control"
version = "0.26.0" version = "0.27.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "cf7d535e1381be3de2c0716c0a1c1e32ad9df1042cddcf7bc18d743569e53319" checksum = "cf7d535e1381be3de2c0716c0a1c1e32ad9df1042cddcf7bc18d743569e53319"
dependencies = [ dependencies = [
@ -38,7 +38,7 @@ dependencies = [
[[package]] [[package]]
name = "anchor-attribute-account" name = "anchor-attribute-account"
version = "0.26.0" version = "0.27.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c3bcd731f21048a032be27c7791701120e44f3f6371358fc4261a7f716283d29" checksum = "c3bcd731f21048a032be27c7791701120e44f3f6371358fc4261a7f716283d29"
dependencies = [ dependencies = [
@ -53,7 +53,7 @@ dependencies = [
[[package]] [[package]]
name = "anchor-attribute-constant" name = "anchor-attribute-constant"
version = "0.26.0" version = "0.27.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e1be64a48e395fe00b8217287f226078be2cf32dae42fdf8a885b997945c3d28" checksum = "e1be64a48e395fe00b8217287f226078be2cf32dae42fdf8a885b997945c3d28"
dependencies = [ dependencies = [
@ -64,7 +64,7 @@ dependencies = [
[[package]] [[package]]
name = "anchor-attribute-error" name = "anchor-attribute-error"
version = "0.26.0" version = "0.27.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "38ea6713d1938c0da03656ff8a693b17dc0396da66d1ba320557f07e86eca0d4" checksum = "38ea6713d1938c0da03656ff8a693b17dc0396da66d1ba320557f07e86eca0d4"
dependencies = [ dependencies = [
@ -76,7 +76,7 @@ dependencies = [
[[package]] [[package]]
name = "anchor-attribute-event" name = "anchor-attribute-event"
version = "0.26.0" version = "0.27.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d401f11efb3644285685f8339829a9786d43ed7490bb1699f33c478d04d5a582" checksum = "d401f11efb3644285685f8339829a9786d43ed7490bb1699f33c478d04d5a582"
dependencies = [ dependencies = [
@ -89,7 +89,7 @@ dependencies = [
[[package]] [[package]]
name = "anchor-attribute-interface" name = "anchor-attribute-interface"
version = "0.26.0" version = "0.27.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c6700a6f5c888a9c33fe8afc0c64fd8575fa28d05446037306d0f96102ae4480" checksum = "c6700a6f5c888a9c33fe8afc0c64fd8575fa28d05446037306d0f96102ae4480"
dependencies = [ dependencies = [
@ -103,7 +103,7 @@ dependencies = [
[[package]] [[package]]
name = "anchor-attribute-program" name = "anchor-attribute-program"
version = "0.26.0" version = "0.27.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6ad769993b5266714e8939e47fbdede90e5c030333c7522d99a4d4748cf26712" checksum = "6ad769993b5266714e8939e47fbdede90e5c030333c7522d99a4d4748cf26712"
dependencies = [ dependencies = [
@ -116,7 +116,7 @@ dependencies = [
[[package]] [[package]]
name = "anchor-attribute-state" name = "anchor-attribute-state"
version = "0.26.0" version = "0.27.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4e677fae4a016a554acdd0e3b7f178d3acafaa7e7ffac6b8690cf4e171f1c116" checksum = "4e677fae4a016a554acdd0e3b7f178d3acafaa7e7ffac6b8690cf4e171f1c116"
dependencies = [ dependencies = [
@ -129,7 +129,7 @@ dependencies = [
[[package]] [[package]]
name = "anchor-derive-accounts" name = "anchor-derive-accounts"
version = "0.26.0" version = "0.27.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "340beef6809d1c3fcc7ae219153d981e95a8a277ff31985bd7050e32645dc9a8" checksum = "340beef6809d1c3fcc7ae219153d981e95a8a277ff31985bd7050e32645dc9a8"
dependencies = [ dependencies = [
@ -142,7 +142,7 @@ dependencies = [
[[package]] [[package]]
name = "anchor-lang" name = "anchor-lang"
version = "0.26.0" version = "0.27.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "662ceafe667448ee4199a4be2ee83b6bb76da28566eee5cea05f96ab38255af8" checksum = "662ceafe667448ee4199a4be2ee83b6bb76da28566eee5cea05f96ab38255af8"
dependencies = [ dependencies = [
@ -166,7 +166,7 @@ dependencies = [
[[package]] [[package]]
name = "anchor-syn" name = "anchor-syn"
version = "0.26.0" version = "0.27.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0418bcb5daac3b8cb1b60d8fdb1d468ca36f5509f31fb51179326fae1028fdcc" checksum = "0418bcb5daac3b8cb1b60d8fdb1d468ca36f5509f31fb51179326fae1028fdcc"
dependencies = [ dependencies = [

View File

@ -16,6 +16,6 @@ cpi = ["no-entrypoint"]
default = [] default = []
[dependencies] [dependencies]
anchor-lang = "=0.26.0" anchor-lang = "=0.27.0"
num-traits = "0.2" num-traits = "0.2"
num-derive = "0.3" num-derive = "0.3"

View File

@ -63,7 +63,7 @@ Anchor binaries are available via an NPM package [`@coral-xyz/anchor-cli`](https
We can also use Cargo to install the CLI directly. Make sure that the `--tag` argument uses the version you want (the version here is just an example). We can also use Cargo to install the CLI directly. Make sure that the `--tag` argument uses the version you want (the version here is just an example).
```shell ```shell
cargo install --git https://github.com/coral-xyz/anchor --tag v0.26.0 anchor-cli --locked cargo install --git https://github.com/coral-xyz/anchor --tag v0.27.0 anchor-cli --locked
``` ```
On Linux systems you may need to install additional dependencies if cargo install fails. On Ubuntu, On Linux systems you may need to install additional dependencies if cargo install fails. On Ubuntu,

View File

@ -34,7 +34,7 @@ have an `Anchor.toml` to define the build.
An example `Anchor.toml` config looks as follows, An example `Anchor.toml` config looks as follows,
```toml ```toml
anchor_version = "0.26.0" anchor_version = "0.27.0"
[workspace] [workspace]
members = ["programs/multisig"] members = ["programs/multisig"]

View File

@ -8,6 +8,42 @@ The minor version will be incremented upon a breaking change and the patch versi
--- ---
## [0.27.0] - 2023-03-08
### Features
- spl: Add `MasterEditionAccount` account deserialization to spl metadata ([#2393](https://github.com/coral-xyz/anchor/pull/2393)).
- lang: Add the `InitSpace` derive macro to automatically calculate the space at the initialization of an account ([#2346](https://github.com/coral-xyz/anchor/pull/2346)).
- cli: Add `env` option to verifiable builds ([#2325](https://github.com/coral-xyz/anchor/pull/2325)).
- cli: Add `idl close` command to close a program's IDL account ([#2329](https://github.com/coral-xyz/anchor/pull/2329)).
- cli: `idl init` now supports very large IDL files ([#2329](https://github.com/coral-xyz/anchor/pull/2329)).
- spl: Add `transfer_checked` function ([#2353](https://github.com/coral-xyz/anchor/pull/2353)).
- spl: Add `approve_checked` function ([#2401](https://github.com/coral-xyz/anchor/pull/2401)).
- cli: Add `--skip-build` option to the verify command ([#2387](https://github.com/coral-xyz/anchor/pull/2387)).
- client: Add support for multithreading to the rust client: use flag `--multithreaded` ([#2321](https://github.com/coral-xyz/anchor/pull/2321)).
- client: Add `async_rpc` a method which returns a nonblocking solana rpc client ([2322](https://github.com/coral-xyz/anchor/pull/2322)).
- avm, cli: Use the `rustls-tls` feature of `reqwest` so that users don't need OpenSSL installed ([#2385](https://github.com/coral-xyz/anchor/pull/2385)).
- ts: Add `VersionedTransaction` support. Methods in the `Provider` class and `Wallet` interface now use the argument `tx: Transaction | VersionedTransaction` ([2427](https://github.com/coral-xyz/anchor/pull/2427)).
- cli: Add `--arch sbf` option to compile programs using `cargo build-sbf` ([#2398](https://github.com/coral-xyz/anchor/pull/2398)).
### Fixes
- ts: Make the return type of `AccountClient.fetchMultiple` match the account type being fetched ([#2390](https://github.com/coral-xyz/anchor/pull/2390))
- cli: Don't regenerate idl in read_all_programs(). ([#2332](https://github.com/coral-xyz/anchor/pull/2332)).
- ts: `provider.simulate` will send the transaction with `sigVerify: false` if no `signers` are present ([#2331](https://github.com/coral-xyz/anchor/pull/2331)).
- cli: Failing commands will return the correct exit status. ([#2370](https://github.com/coral-xyz/anchor/pull/2370)).
- idl: Update the IDL program to use non-deprecated account types ([#2365](https://github.com/coral-xyz/anchor/pull/2365)).
- ts: Enum fields weren't being converted from snake_case to camelCase ([#2378](https://github.com/coral-xyz/anchor/pull/2378)).
- lang/cli: Update to solana-program version 1.14.16 and rust version 1.60, appears to still be incompatible with 1.15 CLI ([#2420](https://github.com/coral-xyz/anchor/pull/2420)).
### Breaking
- lang: Remove deprecated account types: `CpiAccount`, `Loader` and `ProgramAccount` ([#2375](https://github.com/coral-xyz/anchor/pull/2375)).
- lang: Remove `state` and `interface` attributes ([#2285](https://github.com/coral-xyz/anchor/pull/2285)).
- lang: Remove deprecated literal constraint which has been replaced by `#[account(constraint = {})]` ([#2379](https://github.com/coral-xyz/anchor/pull/2379)).
- lang: `account(zero_copy)` and `zero_copy` attributes now derive the `bytemuck::Pod` and `bytemuck::Zeroable` traits instead of using `unsafe impl` ([#2330](https://github.com/coral-xyz/anchor/pull/2330)). This imposes useful restrictions on the type, like not having padding bytes and all fields being `Pod` themselves. See [bytemuck::Pod](https://docs.rs/bytemuck/latest/bytemuck/trait.Pod.html) for details. This change requires adding `bytemuck = { version = "1.4.0", features = ["derive", "min_const_generics"]}` to your `cargo.toml`. Legacy applications can still use `#[account(zero_copy(unsafe))]` and `#[zero_copy(unsafe)]` for the old behavior.
- ts: Remove `createProgramAddressSync`, `findProgramAddressSync` (now available in `@solana/web3.js`) and update `associatedAddress` to be synchronous ([#2357](https://github.com/coral-xyz/anchor/pull/2357)).
## [0.26.0] - 2022-12-15 ## [0.26.0] - 2022-12-15
### Features ### Features

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -17,9 +17,9 @@
regenerator-runtime "^0.13.11" regenerator-runtime "^0.13.11"
"@coral-xyz/anchor@file:../../ts/packages/anchor": "@coral-xyz/anchor@file:../../ts/packages/anchor":
version "0.26.0" version "0.27.0"
dependencies: dependencies:
"@coral-xyz/borsh" "^0.26.0" "@coral-xyz/borsh" "^0.27.0"
"@solana/web3.js" "^1.68.0" "@solana/web3.js" "^1.68.0"
base64-js "^1.5.1" base64-js "^1.5.1"
bn.js "^5.1.2" bn.js "^5.1.2"
@ -35,7 +35,7 @@
superstruct "^0.15.4" superstruct "^0.15.4"
toml "^3.0.0" toml "^3.0.0"
"@coral-xyz/borsh@^0.26.0": "@coral-xyz/borsh@^0.27.0":
version "0.26.0" version "0.26.0"
resolved "https://registry.yarnpkg.com/@coral-xyz/borsh/-/borsh-0.26.0.tgz#d054f64536d824634969e74138f9f7c52bbbc0d5" resolved "https://registry.yarnpkg.com/@coral-xyz/borsh/-/borsh-0.26.0.tgz#d054f64536d824634969e74138f9f7c52bbbc0d5"
integrity sha512-uCZ0xus0CszQPHYfWAqKS5swS1UxvePu83oOF+TWpUkedsNlg6p2p4azxZNSSqwXb9uXMFgxhuMBX9r3Xoi0vQ== integrity sha512-uCZ0xus0CszQPHYfWAqKS5swS1UxvePu83oOF+TWpUkedsNlg6p2p4azxZNSSqwXb9uXMFgxhuMBX9r3Xoi0vQ==

View File

@ -1,6 +1,6 @@
[package] [package]
name = "anchor-lang" name = "anchor-lang"
version = "0.26.0" version = "0.27.0"
authors = ["Serum Foundation <foundation@projectserum.com>"] authors = ["Serum Foundation <foundation@projectserum.com>"]
repository = "https://github.com/coral-xyz/anchor" repository = "https://github.com/coral-xyz/anchor"
rust-version = "1.60" rust-version = "1.60"
@ -25,14 +25,14 @@ anchor-debug = [
] ]
[dependencies] [dependencies]
anchor-attribute-access-control = { path = "./attribute/access-control", version = "0.26.0" } anchor-attribute-access-control = { path = "./attribute/access-control", version = "0.27.0" }
anchor-attribute-account = { path = "./attribute/account", version = "0.26.0" } anchor-attribute-account = { path = "./attribute/account", version = "0.27.0" }
anchor-attribute-constant = { path = "./attribute/constant", version = "0.26.0" } anchor-attribute-constant = { path = "./attribute/constant", version = "0.27.0" }
anchor-attribute-error = { path = "./attribute/error", version = "0.26.0" } anchor-attribute-error = { path = "./attribute/error", version = "0.27.0" }
anchor-attribute-program = { path = "./attribute/program", version = "0.26.0" } anchor-attribute-program = { path = "./attribute/program", version = "0.27.0" }
anchor-attribute-event = { path = "./attribute/event", version = "0.26.0" } anchor-attribute-event = { path = "./attribute/event", version = "0.27.0" }
anchor-derive-accounts = { path = "./derive/accounts", version = "0.26.0" } anchor-derive-accounts = { path = "./derive/accounts", version = "0.27.0" }
anchor-derive-space = { path = "./derive/space", version = "0.26.0" } anchor-derive-space = { path = "./derive/space", version = "0.27.0" }
arrayref = "0.3.6" arrayref = "0.3.6"
base64 = "0.13.0" base64 = "0.13.0"
borsh = "0.9" borsh = "0.9"

View File

@ -1,6 +1,6 @@
[package] [package]
name = "anchor-attribute-access-control" name = "anchor-attribute-access-control"
version = "0.26.0" version = "0.27.0"
authors = ["Serum Foundation <foundation@projectserum.com>"] authors = ["Serum Foundation <foundation@projectserum.com>"]
repository = "https://github.com/coral-xyz/anchor" repository = "https://github.com/coral-xyz/anchor"
license = "Apache-2.0" license = "Apache-2.0"
@ -19,5 +19,5 @@ proc-macro2 = "1.0"
quote = "1.0" quote = "1.0"
syn = { version = "1.0.60", features = ["full"] } syn = { version = "1.0.60", features = ["full"] }
anyhow = "1.0.32" anyhow = "1.0.32"
anchor-syn = { path = "../../syn", version = "0.26.0" } anchor-syn = { path = "../../syn", version = "0.27.0" }
regex = "1.0" regex = "1.0"

View File

@ -1,6 +1,6 @@
[package] [package]
name = "anchor-attribute-account" name = "anchor-attribute-account"
version = "0.26.0" version = "0.27.0"
authors = ["Serum Foundation <foundation@projectserum.com>"] authors = ["Serum Foundation <foundation@projectserum.com>"]
repository = "https://github.com/coral-xyz/anchor" repository = "https://github.com/coral-xyz/anchor"
license = "Apache-2.0" license = "Apache-2.0"
@ -19,6 +19,6 @@ proc-macro2 = "1.0"
quote = "1.0" quote = "1.0"
syn = { version = "1.0.60", features = ["full"] } syn = { version = "1.0.60", features = ["full"] }
anyhow = "1.0.32" anyhow = "1.0.32"
anchor-syn = { path = "../../syn", version = "0.26.0", features = ["hash"] } anchor-syn = { path = "../../syn", version = "0.27.0", features = ["hash"] }
rustversion = "1.0.3" rustversion = "1.0.3"
bs58 = "0.4.0" bs58 = "0.4.0"

View File

@ -1,6 +1,6 @@
[package] [package]
name = "anchor-attribute-constant" name = "anchor-attribute-constant"
version = "0.26.0" version = "0.27.0"
authors = ["Serum Foundation <foundation@projectserum.com>"] authors = ["Serum Foundation <foundation@projectserum.com>"]
repository = "https://github.com/coral-xyz/anchor" repository = "https://github.com/coral-xyz/anchor"
license = "Apache-2.0" license = "Apache-2.0"
@ -17,4 +17,4 @@ anchor-debug = ["anchor-syn/anchor-debug"]
[dependencies] [dependencies]
proc-macro2 = "1.0" proc-macro2 = "1.0"
syn = { version = "1.0.60", features = ["full"] } syn = { version = "1.0.60", features = ["full"] }
anchor-syn = { path = "../../syn", version = "0.26.0" } anchor-syn = { path = "../../syn", version = "0.27.0" }

View File

@ -1,6 +1,6 @@
[package] [package]
name = "anchor-attribute-error" name = "anchor-attribute-error"
version = "0.26.0" version = "0.27.0"
authors = ["Serum Foundation <foundation@projectserum.com>"] authors = ["Serum Foundation <foundation@projectserum.com>"]
repository = "https://github.com/coral-xyz/anchor" repository = "https://github.com/coral-xyz/anchor"
license = "Apache-2.0" license = "Apache-2.0"
@ -18,4 +18,4 @@ anchor-debug = ["anchor-syn/anchor-debug"]
proc-macro2 = "1.0" proc-macro2 = "1.0"
quote = "1.0" quote = "1.0"
syn = { version = "1.0.60", features = ["full"] } syn = { version = "1.0.60", features = ["full"] }
anchor-syn = { path = "../../syn", version = "0.26.0" } anchor-syn = { path = "../../syn", version = "0.27.0" }

View File

@ -1,6 +1,6 @@
[package] [package]
name = "anchor-attribute-event" name = "anchor-attribute-event"
version = "0.26.0" version = "0.27.0"
authors = ["Serum Foundation <foundation@projectserum.com>"] authors = ["Serum Foundation <foundation@projectserum.com>"]
repository = "https://github.com/coral-xyz/anchor" repository = "https://github.com/coral-xyz/anchor"
license = "Apache-2.0" license = "Apache-2.0"
@ -19,4 +19,4 @@ proc-macro2 = "1.0"
quote = "1.0" quote = "1.0"
syn = { version = "1.0.60", features = ["full"] } syn = { version = "1.0.60", features = ["full"] }
anyhow = "1.0.32" anyhow = "1.0.32"
anchor-syn = { path = "../../syn", version = "0.26.0", features = ["hash"] } anchor-syn = { path = "../../syn", version = "0.27.0", features = ["hash"] }

View File

@ -1,6 +1,6 @@
[package] [package]
name = "anchor-attribute-program" name = "anchor-attribute-program"
version = "0.26.0" version = "0.27.0"
authors = ["Serum Foundation <foundation@projectserum.com>"] authors = ["Serum Foundation <foundation@projectserum.com>"]
repository = "https://github.com/coral-xyz/anchor" repository = "https://github.com/coral-xyz/anchor"
license = "Apache-2.0" license = "Apache-2.0"
@ -19,4 +19,4 @@ proc-macro2 = "1.0"
quote = "1.0" quote = "1.0"
syn = { version = "1.0.60", features = ["full"] } syn = { version = "1.0.60", features = ["full"] }
anyhow = "1.0.32" anyhow = "1.0.32"
anchor-syn = { path = "../../syn", version = "0.26.0" } anchor-syn = { path = "../../syn", version = "0.27.0" }

View File

@ -1,6 +1,6 @@
[package] [package]
name = "anchor-derive-accounts" name = "anchor-derive-accounts"
version = "0.26.0" version = "0.27.0"
authors = ["Serum Foundation <foundation@projectserum.com>"] authors = ["Serum Foundation <foundation@projectserum.com>"]
repository = "https://github.com/coral-xyz/anchor" repository = "https://github.com/coral-xyz/anchor"
license = "Apache-2.0" license = "Apache-2.0"
@ -22,4 +22,4 @@ proc-macro2 = "1.0"
quote = "1.0" quote = "1.0"
syn = { version = "1.0.60", features = ["full"] } syn = { version = "1.0.60", features = ["full"] }
anyhow = "1.0.32" anyhow = "1.0.32"
anchor-syn = { path = "../../syn", version = "0.26.0" } anchor-syn = { path = "../../syn", version = "0.27.0" }

View File

@ -1,6 +1,6 @@
[package] [package]
name = "anchor-derive-space" name = "anchor-derive-space"
version = "0.26.0" version = "0.27.0"
authors = ["Serum Foundation <foundation@projectserum.com>"] authors = ["Serum Foundation <foundation@projectserum.com>"]
repository = "https://github.com/coral-xyz/anchor" repository = "https://github.com/coral-xyz/anchor"
license = "Apache-2.0" license = "Apache-2.0"
@ -14,4 +14,4 @@ proc-macro = true
[dependencies] [dependencies]
proc-macro2 = "1.0" proc-macro2 = "1.0"
quote = "1.0" quote = "1.0"
syn = "1.0" syn = { version = "1.0", features = ["extra-traits"]}

View File

@ -1,6 +1,6 @@
[package] [package]
name = "anchor-syn" name = "anchor-syn"
version = "0.26.0" version = "0.27.0"
authors = ["Serum Foundation <foundation@projectserum.com>"] authors = ["Serum Foundation <foundation@projectserum.com>"]
repository = "https://github.com/coral-xyz/anchor" repository = "https://github.com/coral-xyz/anchor"
license = "Apache-2.0" license = "Apache-2.0"

View File

@ -1,6 +1,6 @@
[package] [package]
name = "anchor-spl" name = "anchor-spl"
version = "0.26.0" version = "0.27.0"
authors = ["Serum Foundation <foundation@projectserum.com>"] authors = ["Serum Foundation <foundation@projectserum.com>"]
rust-version = "1.60" rust-version = "1.60"
edition = "2021" edition = "2021"
@ -21,7 +21,7 @@ metadata = ["mpl-token-metadata"]
dex = ["serum_dex"] dex = ["serum_dex"]
[dependencies] [dependencies]
anchor-lang = { path = "../lang", version = "0.26.0", features = ["derive"] } anchor-lang = { path = "../lang", version = "0.27.0", features = ["derive"] }
borsh = { version = "^0.9", optional = true } borsh = { version = "^0.9", optional = true }
serum_dex = { git = "https://github.com/openbook-dex/program/", rev = "1be91f2", version = "0.4.0", features = ["no-entrypoint"], optional = true } serum_dex = { git = "https://github.com/openbook-dex/program/", rev = "1be91f2", version = "0.4.0", features = ["no-entrypoint"], optional = true }
solana-program = "1.14.16" solana-program = "1.14.16"

View File

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

View File

@ -16,4 +16,4 @@ cpi = ["no-entrypoint"]
default = [] default = []
[dependencies] [dependencies]
anchor-lang = "0.26.0" anchor-lang = "0.27.0"

View File

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

View File

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

View File

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

View File

@ -195,7 +195,7 @@ pub mod cfo {
let expiry_ts = 1853942400; // 9/30/2028. let expiry_ts = 1853942400; // 9/30/2028.
let expiry_receiver = *ctx.accounts.officer.to_account_info().key; let expiry_receiver = *ctx.accounts.officer.to_account_info().key;
let locked_kind = { let locked_kind = {
let start_ts = 1633017600; // 9/30.26.0. let start_ts = 1633017600; // 9/30.27.0.
let end_ts = 1822320000; // 9/30/2027. let end_ts = 1822320000; // 9/30/2027.
let period_count = 2191; let period_count = 2191;
RewardVendorKind::Locked { RewardVendorKind::Locked {

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -16,8 +16,10 @@
dependencies: dependencies:
regenerator-runtime "^0.13.4" regenerator-runtime "^0.13.4"
"@coral-xyz/anchor@=0.26.0", "@coral-xyz/anchor@file:../ts/packages/anchor": "@coral-xyz/anchor@=0.27.0":
version "0.26.0" version "0.26.0"
resolved "https://registry.yarnpkg.com/@coral-xyz/anchor/-/anchor-0.26.0.tgz#c8e4f7177e93441afd030f22d777d54d0194d7d1"
integrity sha512-PxRl+wu5YyptWiR9F2MBHOLLibm87Z4IMUBPreX+DYBtPM+xggvcPi0KAN7+kIL4IrIhXI8ma5V0MCXxSN1pHg==
dependencies: dependencies:
"@coral-xyz/borsh" "^0.26.0" "@coral-xyz/borsh" "^0.26.0"
"@solana/web3.js" "^1.68.0" "@solana/web3.js" "^1.68.0"
@ -35,7 +37,26 @@
superstruct "^0.15.4" superstruct "^0.15.4"
toml "^3.0.0" toml "^3.0.0"
"@coral-xyz/borsh@^0.26.0": "@coral-xyz/anchor@file:../ts/packages/anchor":
version "0.27.0"
dependencies:
"@coral-xyz/borsh" "^0.27.0"
"@solana/web3.js" "^1.68.0"
base64-js "^1.5.1"
bn.js "^5.1.2"
bs58 "^4.0.1"
buffer-layout "^1.2.2"
camelcase "^6.3.0"
cross-fetch "^3.1.5"
crypto-hash "^1.3.0"
eventemitter3 "^4.0.7"
js-sha256 "^0.9.0"
pako "^2.0.3"
snake-case "^3.0.4"
superstruct "^0.15.4"
toml "^3.0.0"
"@coral-xyz/borsh@^0.26.0", "@coral-xyz/borsh@^0.27.0":
version "0.26.0" version "0.26.0"
resolved "https://registry.yarnpkg.com/@coral-xyz/borsh/-/borsh-0.26.0.tgz#d054f64536d824634969e74138f9f7c52bbbc0d5" resolved "https://registry.yarnpkg.com/@coral-xyz/borsh/-/borsh-0.26.0.tgz#d054f64536d824634969e74138f9f7c52bbbc0d5"
integrity sha512-uCZ0xus0CszQPHYfWAqKS5swS1UxvePu83oOF+TWpUkedsNlg6p2p4azxZNSSqwXb9uXMFgxhuMBX9r3Xoi0vQ== integrity sha512-uCZ0xus0CszQPHYfWAqKS5swS1UxvePu83oOF+TWpUkedsNlg6p2p4azxZNSSqwXb9uXMFgxhuMBX9r3Xoi0vQ==
@ -46,13 +67,13 @@
"@coral-xyz/spl-associated-token-account@file:../ts/packages/spl-associated-token-account": "@coral-xyz/spl-associated-token-account@file:../ts/packages/spl-associated-token-account":
version "1.1.1" version "1.1.1"
dependencies: dependencies:
"@coral-xyz/anchor" "=0.26.0" "@coral-xyz/anchor" "=0.27.0"
"@native-to-anchor/buffer-layout" "=0.1.0" "@native-to-anchor/buffer-layout" "=0.1.0"
"@coral-xyz/spl-token@file:../ts/packages/spl-token": "@coral-xyz/spl-token@file:../ts/packages/spl-token":
version "0.26.0" version "0.27.0"
dependencies: dependencies:
"@coral-xyz/anchor" "=0.26.0" "@coral-xyz/anchor" "=0.27.0"
"@native-to-anchor/buffer-layout" "=0.1.0" "@native-to-anchor/buffer-layout" "=0.1.0"
"@native-to-anchor/buffer-layout@=0.1.0": "@native-to-anchor/buffer-layout@=0.1.0":

View File

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

View File

@ -1,6 +1,6 @@
{ {
"name": "@coral-xyz/anchor", "name": "@coral-xyz/anchor",
"version": "0.26.0", "version": "0.27.0",
"description": "Anchor client", "description": "Anchor client",
"module": "./dist/esm/index.js", "module": "./dist/esm/index.js",
"main": "./dist/cjs/index.js", "main": "./dist/cjs/index.js",
@ -33,7 +33,7 @@
"test": "jest tests --detectOpenHandles" "test": "jest tests --detectOpenHandles"
}, },
"dependencies": { "dependencies": {
"@coral-xyz/borsh": "^0.26.0", "@coral-xyz/borsh": "^0.27.0",
"@solana/web3.js": "^1.68.0", "@solana/web3.js": "^1.68.0",
"base64-js": "^1.5.1", "base64-js": "^1.5.1",
"bn.js": "^5.1.2", "bn.js": "^5.1.2",

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -1,7 +1,7 @@
{ {
"name": "@coral-xyz/spl-token", "name": "@coral-xyz/spl-token",
"description": "Anchor client for Solana Program Library Token", "description": "Anchor client for Solana Program Library Token",
"version": "0.26.0", "version": "0.27.0",
"author": "acheron <acheroncrypto@gmail.com>", "author": "acheron <acheroncrypto@gmail.com>",
"license": "Apache-2.0", "license": "Apache-2.0",
"repository": { "repository": {
@ -27,7 +27,7 @@
"watch": "tsc -p tsconfig.cjs.json --watch" "watch": "tsc -p tsconfig.cjs.json --watch"
}, },
"dependencies": { "dependencies": {
"@coral-xyz/anchor": "=0.26.0", "@coral-xyz/anchor": "=0.27.0",
"@native-to-anchor/buffer-layout": "=0.1.0" "@native-to-anchor/buffer-layout": "=0.1.0"
}, },
"devDependencies": { "devDependencies": {