From 8e4870d370a09910786508e32fe00442532f994c Mon Sep 17 00:00:00 2001 From: Armani Ferrante Date: Wed, 11 Aug 2021 01:13:38 -0700 Subject: [PATCH] v0.13.2 (#599) --- CHANGELOG.md | 6 ++++++ Cargo.lock | 26 ++++++++++++------------ cli/Cargo.toml | 2 +- cli/npm-package/package.json | 2 +- client/Cargo.toml | 4 ++-- docs/src/getting-started/installation.md | 2 +- docs/src/getting-started/publishing.md | 2 +- docs/src/getting-started/verification.md | 4 ++-- lang/Cargo.toml | 18 ++++++++-------- lang/attribute/access-control/Cargo.toml | 4 ++-- lang/attribute/account/Cargo.toml | 4 ++-- lang/attribute/error/Cargo.toml | 4 ++-- lang/attribute/event/Cargo.toml | 4 ++-- lang/attribute/interface/Cargo.toml | 4 ++-- lang/attribute/program/Cargo.toml | 4 ++-- lang/attribute/state/Cargo.toml | 4 ++-- lang/derive/accounts/Cargo.toml | 4 ++-- lang/syn/Cargo.toml | 2 +- spl/Cargo.toml | 4 ++-- ts/package.json | 2 +- 20 files changed, 56 insertions(+), 50 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index df13b4bda..a14079928 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,12 @@ incremented for features. ## [Unreleased] +## [0.13.2] - 2021-08-11 + +### Fixes + +* cli: Fix `anchor init` command "Workspace not found" regression ([#598](https://github.com/project-serum/anchor/pull/598)). + ## [0.13.1] - 2021-08-10 ### Features diff --git a/Cargo.lock b/Cargo.lock index 25f67bb48..b1ae46185 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -56,7 +56,7 @@ checksum = "6b2d54853319fd101b8dd81de382bcbf3e03410a64d8928bbee85a3e7dcde483" [[package]] name = "anchor-attribute-access-control" -version = "0.13.1" +version = "0.13.2" dependencies = [ "anchor-syn", "anyhow", @@ -68,7 +68,7 @@ dependencies = [ [[package]] name = "anchor-attribute-account" -version = "0.13.1" +version = "0.13.2" dependencies = [ "anchor-syn", "anyhow", @@ -79,7 +79,7 @@ dependencies = [ [[package]] name = "anchor-attribute-error" -version = "0.13.1" +version = "0.13.2" dependencies = [ "anchor-syn", "proc-macro2 1.0.24", @@ -89,7 +89,7 @@ dependencies = [ [[package]] name = "anchor-attribute-event" -version = "0.13.1" +version = "0.13.2" dependencies = [ "anchor-syn", "anyhow", @@ -100,7 +100,7 @@ dependencies = [ [[package]] name = "anchor-attribute-interface" -version = "0.13.1" +version = "0.13.2" dependencies = [ "anchor-syn", "anyhow", @@ -112,7 +112,7 @@ dependencies = [ [[package]] name = "anchor-attribute-program" -version = "0.13.1" +version = "0.13.2" dependencies = [ "anchor-syn", "anyhow", @@ -123,7 +123,7 @@ dependencies = [ [[package]] name = "anchor-attribute-state" -version = "0.13.1" +version = "0.13.2" dependencies = [ "anchor-syn", "anyhow", @@ -134,7 +134,7 @@ dependencies = [ [[package]] name = "anchor-cli" -version = "0.13.1" +version = "0.13.2" dependencies = [ "anchor-client", "anchor-lang", @@ -164,7 +164,7 @@ dependencies = [ [[package]] name = "anchor-client" -version = "0.13.1" +version = "0.13.2" dependencies = [ "anchor-lang", "anyhow", @@ -178,7 +178,7 @@ dependencies = [ [[package]] name = "anchor-derive-accounts" -version = "0.13.1" +version = "0.13.2" dependencies = [ "anchor-syn", "anyhow", @@ -189,7 +189,7 @@ dependencies = [ [[package]] name = "anchor-lang" -version = "0.13.1" +version = "0.13.2" dependencies = [ "anchor-attribute-access-control", "anchor-attribute-account", @@ -208,7 +208,7 @@ dependencies = [ [[package]] name = "anchor-spl" -version = "0.13.1" +version = "0.13.2" dependencies = [ "anchor-lang", "lazy_static", @@ -219,7 +219,7 @@ dependencies = [ [[package]] name = "anchor-syn" -version = "0.13.1" +version = "0.13.2" dependencies = [ "anyhow", "bs58", diff --git a/cli/Cargo.toml b/cli/Cargo.toml index 484619062..05df2d0e4 100644 --- a/cli/Cargo.toml +++ b/cli/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "anchor-cli" -version = "0.13.1" +version = "0.13.2" authors = ["armaniferrante "] edition = "2018" diff --git a/cli/npm-package/package.json b/cli/npm-package/package.json index 09b50cd9f..8966c623a 100644 --- a/cli/npm-package/package.json +++ b/cli/npm-package/package.json @@ -1,6 +1,6 @@ { "name": "@project-serum/anchor-cli", - "version": "0.13.1", + "version": "0.13.2", "description": "Anchor CLI tool", "homepage": "https://github.com/project-serum/anchor#readme", "bugs": { diff --git a/client/Cargo.toml b/client/Cargo.toml index e1a3194b6..37826a1cc 100644 --- a/client/Cargo.toml +++ b/client/Cargo.toml @@ -1,13 +1,13 @@ [package] name = "anchor-client" -version = "0.13.1" +version = "0.13.2" authors = ["Serum Foundation "] edition = "2018" license = "Apache-2.0" description = "Rust client for Anchor programs" [dependencies] -anchor-lang = { path = "../lang", version = "0.13.1" } +anchor-lang = { path = "../lang", version = "0.13.2" } anyhow = "1.0.32" regex = "1.4.5" serde = { version = "1.0.122", features = ["derive"] } diff --git a/docs/src/getting-started/installation.md b/docs/src/getting-started/installation.md index 76acfc462..2b926685a 100644 --- a/docs/src/getting-started/installation.md +++ b/docs/src/getting-started/installation.md @@ -34,7 +34,7 @@ npm install -g mocha For now, we can use Cargo to install the CLI. ```bash -cargo install --git https://github.com/project-serum/anchor --tag v0.13.1 anchor-cli --locked +cargo install --git https://github.com/project-serum/anchor --tag v0.13.2 anchor-cli --locked ``` On Linux systems you may need to install additional dependencies if `cargo install` fails. On Ubuntu, diff --git a/docs/src/getting-started/publishing.md b/docs/src/getting-started/publishing.md index 43e7f6dbb..c7bf78324 100644 --- a/docs/src/getting-started/publishing.md +++ b/docs/src/getting-started/publishing.md @@ -30,7 +30,7 @@ have an `Anchor.toml` to define the build. An example `Anchor.toml` config looks as follows, ```toml -anchor_version = "0.13.0" +anchor_version = "0.13.2" [workspace] members = ["programs/multisig"] diff --git a/docs/src/getting-started/verification.md b/docs/src/getting-started/verification.md index 4d52f2023..fcd9291f3 100644 --- a/docs/src/getting-started/verification.md +++ b/docs/src/getting-started/verification.md @@ -32,10 +32,10 @@ If the program has an IDL, it will also check the IDL deployed on chain matches. ## 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:`. For example, to get the image for Anchor `v0.13.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:`. For example, to get the image for Anchor `v0.13.2` one can run ``` -docker pull projectserum/build:v0.13.0 +docker pull projectserum/build:v0.13.2 ``` ## Removing an Image diff --git a/lang/Cargo.toml b/lang/Cargo.toml index 092d88360..0a5db774e 100644 --- a/lang/Cargo.toml +++ b/lang/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "anchor-lang" -version = "0.13.1" +version = "0.13.2" authors = ["Serum Foundation "] repository = "https://github.com/project-serum/anchor" edition = "2018" @@ -23,14 +23,14 @@ anchor-debug = [ ] [dependencies] -anchor-attribute-access-control = { path = "./attribute/access-control", version = "0.13.1" } -anchor-attribute-account = { path = "./attribute/account", version = "0.13.1" } -anchor-attribute-error = { path = "./attribute/error", version = "0.13.1" } -anchor-attribute-program = { path = "./attribute/program", version = "0.13.1" } -anchor-attribute-state = { path = "./attribute/state", version = "0.13.1" } -anchor-attribute-interface = { path = "./attribute/interface", version = "0.13.1" } -anchor-attribute-event = { path = "./attribute/event", version = "0.13.1" } -anchor-derive-accounts = { path = "./derive/accounts", version = "0.13.1" } +anchor-attribute-access-control = { path = "./attribute/access-control", version = "0.13.2" } +anchor-attribute-account = { path = "./attribute/account", version = "0.13.2" } +anchor-attribute-error = { path = "./attribute/error", version = "0.13.2" } +anchor-attribute-program = { path = "./attribute/program", version = "0.13.2" } +anchor-attribute-state = { path = "./attribute/state", version = "0.13.2" } +anchor-attribute-interface = { path = "./attribute/interface", version = "0.13.2" } +anchor-attribute-event = { path = "./attribute/event", version = "0.13.2" } +anchor-derive-accounts = { path = "./derive/accounts", version = "0.13.2" } base64 = "0.13.0" borsh = "0.9" bytemuck = "1.4.0" diff --git a/lang/attribute/access-control/Cargo.toml b/lang/attribute/access-control/Cargo.toml index f6b0ccf91..b043935b9 100644 --- a/lang/attribute/access-control/Cargo.toml +++ b/lang/attribute/access-control/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "anchor-attribute-access-control" -version = "0.13.1" +version = "0.13.2" authors = ["Serum Foundation "] repository = "https://github.com/project-serum/anchor" license = "Apache-2.0" @@ -18,5 +18,5 @@ proc-macro2 = "1.0" quote = "1.0" syn = { version = "1.0.60", features = ["full"] } anyhow = "1.0.32" -anchor-syn = { path = "../../syn", version = "0.13.1" } +anchor-syn = { path = "../../syn", version = "0.13.2" } regex = "1.0" diff --git a/lang/attribute/account/Cargo.toml b/lang/attribute/account/Cargo.toml index f5bc55f1f..7e7108084 100644 --- a/lang/attribute/account/Cargo.toml +++ b/lang/attribute/account/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "anchor-attribute-account" -version = "0.13.1" +version = "0.13.2" authors = ["Serum Foundation "] repository = "https://github.com/project-serum/anchor" license = "Apache-2.0" @@ -18,4 +18,4 @@ proc-macro2 = "1.0" quote = "1.0" syn = { version = "1.0.60", features = ["full"] } anyhow = "1.0.32" -anchor-syn = { path = "../../syn", version = "0.13.1", features = ["hash"] } +anchor-syn = { path = "../../syn", version = "0.13.2", features = ["hash"] } diff --git a/lang/attribute/error/Cargo.toml b/lang/attribute/error/Cargo.toml index f67733e74..ebd1690c6 100644 --- a/lang/attribute/error/Cargo.toml +++ b/lang/attribute/error/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "anchor-attribute-error" -version = "0.13.1" +version = "0.13.2" authors = ["Serum Foundation "] repository = "https://github.com/project-serum/anchor" license = "Apache-2.0" @@ -17,4 +17,4 @@ anchor-debug = ["anchor-syn/anchor-debug"] proc-macro2 = "1.0" quote = "1.0" syn = { version = "1.0.60", features = ["full"] } -anchor-syn = { path = "../../syn", version = "0.13.1" } \ No newline at end of file +anchor-syn = { path = "../../syn", version = "0.13.2" } \ No newline at end of file diff --git a/lang/attribute/event/Cargo.toml b/lang/attribute/event/Cargo.toml index d18943639..aa65f840e 100644 --- a/lang/attribute/event/Cargo.toml +++ b/lang/attribute/event/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "anchor-attribute-event" -version = "0.13.1" +version = "0.13.2" authors = ["Serum Foundation "] repository = "https://github.com/project-serum/anchor" license = "Apache-2.0" @@ -18,4 +18,4 @@ proc-macro2 = "1.0" quote = "1.0" syn = { version = "1.0.60", features = ["full"] } anyhow = "1.0.32" -anchor-syn = { path = "../../syn", version = "0.13.1", features = ["hash"] } +anchor-syn = { path = "../../syn", version = "0.13.2", features = ["hash"] } diff --git a/lang/attribute/interface/Cargo.toml b/lang/attribute/interface/Cargo.toml index 9880849a2..34174c866 100644 --- a/lang/attribute/interface/Cargo.toml +++ b/lang/attribute/interface/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "anchor-attribute-interface" -version = "0.13.1" +version = "0.13.2" authors = ["Serum Foundation "] repository = "https://github.com/project-serum/anchor" license = "Apache-2.0" @@ -18,5 +18,5 @@ proc-macro2 = "1.0" quote = "1.0" syn = { version = "1.0.60", features = ["full"] } anyhow = "1.0.32" -anchor-syn = { path = "../../syn", version = "0.13.1" } +anchor-syn = { path = "../../syn", version = "0.13.2" } heck = "0.3.2" diff --git a/lang/attribute/program/Cargo.toml b/lang/attribute/program/Cargo.toml index 8331168d0..554ccf996 100644 --- a/lang/attribute/program/Cargo.toml +++ b/lang/attribute/program/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "anchor-attribute-program" -version = "0.13.1" +version = "0.13.2" authors = ["Serum Foundation "] repository = "https://github.com/project-serum/anchor" license = "Apache-2.0" @@ -18,4 +18,4 @@ proc-macro2 = "1.0" quote = "1.0" syn = { version = "1.0.60", features = ["full"] } anyhow = "1.0.32" -anchor-syn = { path = "../../syn", version = "0.13.1" } +anchor-syn = { path = "../../syn", version = "0.13.2" } diff --git a/lang/attribute/state/Cargo.toml b/lang/attribute/state/Cargo.toml index beda229a6..a0b5b969a 100644 --- a/lang/attribute/state/Cargo.toml +++ b/lang/attribute/state/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "anchor-attribute-state" -version = "0.13.1" +version = "0.13.2" authors = ["Serum Foundation "] repository = "https://github.com/project-serum/anchor" license = "Apache-2.0" @@ -18,4 +18,4 @@ proc-macro2 = "1.0" quote = "1.0" syn = { version = "1.0.60", features = ["full"] } anyhow = "1.0.32" -anchor-syn = { path = "../../syn", version = "0.13.1" } +anchor-syn = { path = "../../syn", version = "0.13.2" } diff --git a/lang/derive/accounts/Cargo.toml b/lang/derive/accounts/Cargo.toml index 9e029a541..1888a18b1 100644 --- a/lang/derive/accounts/Cargo.toml +++ b/lang/derive/accounts/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "anchor-derive-accounts" -version = "0.13.1" +version = "0.13.2" authors = ["Serum Foundation "] repository = "https://github.com/project-serum/anchor" license = "Apache-2.0" @@ -19,4 +19,4 @@ proc-macro2 = "1.0" quote = "1.0" syn = { version = "1.0.60", features = ["full"] } anyhow = "1.0.32" -anchor-syn = { path = "../../syn", version = "0.13.1" } +anchor-syn = { path = "../../syn", version = "0.13.2" } diff --git a/lang/syn/Cargo.toml b/lang/syn/Cargo.toml index 7f376f826..bc809fb2c 100644 --- a/lang/syn/Cargo.toml +++ b/lang/syn/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "anchor-syn" -version = "0.13.1" +version = "0.13.2" authors = ["Serum Foundation "] repository = "https://github.com/project-serum/anchor" license = "Apache-2.0" diff --git a/spl/Cargo.toml b/spl/Cargo.toml index 82ad0c56f..dd86f20c0 100644 --- a/spl/Cargo.toml +++ b/spl/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "anchor-spl" -version = "0.13.1" +version = "0.13.2" authors = ["Serum Foundation "] edition = "2018" license = "Apache-2.0" @@ -10,7 +10,7 @@ description = "CPI clients for SPL programs" devnet = [] [dependencies] -anchor-lang = { path = "../lang", version = "0.13.1", features = ["derive"] } +anchor-lang = { path = "../lang", version = "0.13.2", features = ["derive"] } lazy_static = "1.4.0" serum_dex = { git = "https://github.com/project-serum/serum-dex", version = "0.4.0", features = ["no-entrypoint"] } solana-program = "=1.7.8" diff --git a/ts/package.json b/ts/package.json index e3922ca38..e2202e055 100644 --- a/ts/package.json +++ b/ts/package.json @@ -1,6 +1,6 @@ { "name": "@project-serum/anchor", - "version": "0.13.1", + "version": "0.13.2", "description": "Anchor client", "main": "dist/cjs/index.js", "module": "dist/esm/index.js",