Skip to content

Commit

Permalink
v0.27.0 (#2428)
Browse files Browse the repository at this point in the history
  • Loading branch information
Henry-E committed Mar 8, 2023
1 parent 30083bd commit 3b45144
Show file tree
Hide file tree
Showing 84 changed files with 203 additions and 136 deletions.
12 changes: 10 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,14 @@ The minor version will be incremented upon a breaking change and the patch versi

### 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)).
- 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)).
Expand All @@ -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)).
- 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)).
- 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)).
- 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
Expand Down
26 changes: 13 additions & 13 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ publish:
sleep 25
cd lang/derive/accounts/ && cargo publish && cd ../../../
sleep 25
cd lang/derive/space/ && cargo publish && cd ../../../
sleep 25
cd lang/attribute/access-control/ && cargo publish && cd ../../../
sleep 25
cd lang/attribute/account/ && cargo publish && cd ../../../
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.26.0
0.27.0
2 changes: 1 addition & 1 deletion avm/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion avm/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "avm"
version = "0.26.0"
version = "0.27.0"
rust-version = "1.60"
edition = "2021"

Expand Down
8 changes: 4 additions & 4 deletions cli/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "anchor-cli"
version = "0.26.0"
version = "0.27.0"
authors = ["armaniferrante <armaniferrante@gmail.com>"]
rust-version = "1.60"
edition = "2021"
Expand All @@ -20,9 +20,9 @@ default = []
clap = { version = "4.0.26", features = ["derive"] }
anyhow = "1.0.32"
syn = { version = "1.0.60", features = ["full", "extra-traits"] }
anchor-lang = { path = "../lang", version = "0.26.0" }
anchor-client = { path = "../client", version = "0.26.0" }
anchor-syn = { path = "../lang/syn", features = ["idl", "init-if-needed"], version = "0.26.0" }
anchor-lang = { path = "../lang", version = "0.27.0" }
anchor-client = { path = "../client", version = "0.27.0" }
anchor-syn = { path = "../lang/syn", features = ["idl", "init-if-needed"], version = "0.27.0" }
serde_json = "1.0"
shellexpand = "2.1.0"
toml = "0.5.8"
Expand Down
2 changes: 1 addition & 1 deletion cli/npm-package/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@coral-xyz/anchor-cli",
"version": "0.26.0",
"version": "0.27.0",
"description": "Anchor CLI tool",
"homepage": "https://github.com/coral-xyz/anchor#readme",
"bugs": {
Expand Down
4 changes: 2 additions & 2 deletions client/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "anchor-client"
version = "0.26.0"
version = "0.27.0"
authors = ["Serum Foundation <foundation@projectserum.com>"]
rust-version = "1.60"
edition = "2021"
Expand All @@ -11,7 +11,7 @@ description = "Rust client for Anchor programs"
debug = []

[dependencies]
anchor-lang = { path = "../lang", version = "0.26.0" }
anchor-lang = { path = "../lang", version = "0.27.0" }
anyhow = "1.0.32"
regex = "1.4.5"
serde = { version = "1.0.122", features = ["derive"] }
Expand Down
4 changes: 2 additions & 2 deletions docker/Makefile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
WORKDIR=$(PWD)
#
# Extract anchor version from the Cargo.toml.
# Anchor version.
#
ANCHOR_CLI=v0.26.0
ANCHOR_CLI=v0.27.0
#
# Solana toolchain.
#
Expand Down
2 changes: 1 addition & 1 deletion docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"autoprefixer": "^10.4.7",
"clsx": "^1.2.1",
"focus-visible": "^5.2.0",
"gh-pages": "^4.0.0",
"gh-pages": "^5.0.0",
"next": "12.2.1",
"next-plausible": "^3.2.0",
"postcss-focus-visible": "^6.0.4",
Expand Down
22 changes: 11 additions & 11 deletions docs/programs/tic-tac-toe/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/programs/tic-tac-toe/programs/tic-tac-toe/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ cpi = ["no-entrypoint"]
default = []

[dependencies]
anchor-lang = "=0.26.0"
anchor-lang = "=0.27.0"
num-traits = "0.2"
num-derive = "0.3"
2 changes: 1 addition & 1 deletion docs/src/pages/docs/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -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).

```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,
Expand Down
2 changes: 1 addition & 1 deletion docs/src/pages/docs/publishing-source.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ have an `Anchor.toml` to define the build.
An example `Anchor.toml` config looks as follows,

```toml
anchor_version = "0.26.0"
anchor_version = "0.27.0"

[workspace]
members = ["programs/multisig"]
Expand Down
Loading

1 comment on commit 3b45144

@vercel
Copy link

@vercel vercel bot commented on 3b45144 Mar 8, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

anchor-docs – ./

www.anchor-lang.com
anchor-docs-200ms.vercel.app
anchor-docs-git-master-200ms.vercel.app
anchor-lang.com

Please sign in to comment.