From af7d246c0ceeca7bcf91f086097315de01d8f0b0 Mon Sep 17 00:00:00 2001 From: Armani Ferrante Date: Sun, 8 Aug 2021 19:38:50 -0700 Subject: [PATCH] v0.13.0 (#587) --- CHANGELOG.md | 11 ++++++---- Cargo.lock | 26 ++++++++++++------------ cli/Cargo.toml | 4 ++-- cli/npm-package/package.json | 2 +- client/Cargo.toml | 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 +- 17 files changed, 54 insertions(+), 51 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4be9422cbc..cf2690743e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,12 +11,15 @@ incremented for features. ## [Unreleased] +## [0.13.0] - 2021-08-08 + ### Features -* cli: Adds a [registry] section in the Anchor toml ([#570](https://github.com/project-serum/anchor/pull/570)). -* cli: Adds the anchor login command ([#570](https://github.com/project-serum/anchor/pull/570)). -* cli: Adds the anchor publish command ([#570](https://github.com/project-serum/anchor/pull/570)). -* cli: Adds a root level anchor_version field to the Anchor.toml for specifying the cli version to build with for verifiable build ([#570](https://github.com/project-serum/anchor/pull/570)). +* cli: Adds a `[registry]` section in the Anchor toml ([#570](https://github.com/project-serum/anchor/pull/570)). +* cli: Adds the `anchor login ` command ([#570](https://github.com/project-serum/anchor/pull/570)). +* cli: Adds the `anchor publish ` command ([#570](https://github.com/project-serum/anchor/pull/570)). +* cli: Adds a root level `anchor_version` field to the Anchor.toml for specifying the anchor docker image to use for verifiable builds ([#570](https://github.com/project-serum/anchor/pull/570)). +* cli: Adds a root level `solana_version` field to the Anchor.toml for specifying the solana toolchain to use for verifiable builds ([#570](https://github.com/project-serum/anchor/pull/570)). * lang: Dynamically fetch rent sysvar for when using `init` ([#587](https://github.com/project-serum/anchor/pull/587)). ### Breaking diff --git a/Cargo.lock b/Cargo.lock index 4f5c4045dc..b0f60caaca 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -56,7 +56,7 @@ checksum = "6b2d54853319fd101b8dd81de382bcbf3e03410a64d8928bbee85a3e7dcde483" [[package]] name = "anchor-attribute-access-control" -version = "0.12.0" +version = "0.13.0" dependencies = [ "anchor-syn", "anyhow", @@ -68,7 +68,7 @@ dependencies = [ [[package]] name = "anchor-attribute-account" -version = "0.12.0" +version = "0.13.0" dependencies = [ "anchor-syn", "anyhow", @@ -79,7 +79,7 @@ dependencies = [ [[package]] name = "anchor-attribute-error" -version = "0.12.0" +version = "0.13.0" dependencies = [ "anchor-syn", "proc-macro2 1.0.24", @@ -89,7 +89,7 @@ dependencies = [ [[package]] name = "anchor-attribute-event" -version = "0.12.0" +version = "0.13.0" dependencies = [ "anchor-syn", "anyhow", @@ -100,7 +100,7 @@ dependencies = [ [[package]] name = "anchor-attribute-interface" -version = "0.12.0" +version = "0.13.0" dependencies = [ "anchor-syn", "anyhow", @@ -112,7 +112,7 @@ dependencies = [ [[package]] name = "anchor-attribute-program" -version = "0.12.0" +version = "0.13.0" dependencies = [ "anchor-syn", "anyhow", @@ -123,7 +123,7 @@ dependencies = [ [[package]] name = "anchor-attribute-state" -version = "0.12.0" +version = "0.13.0" dependencies = [ "anchor-syn", "anyhow", @@ -134,7 +134,7 @@ dependencies = [ [[package]] name = "anchor-cli" -version = "0.12.0" +version = "0.13.0" dependencies = [ "anchor-client", "anchor-lang", @@ -163,7 +163,7 @@ dependencies = [ [[package]] name = "anchor-client" -version = "0.12.0" +version = "0.13.0" dependencies = [ "anchor-lang", "anyhow", @@ -177,7 +177,7 @@ dependencies = [ [[package]] name = "anchor-derive-accounts" -version = "0.12.0" +version = "0.13.0" dependencies = [ "anchor-syn", "anyhow", @@ -188,7 +188,7 @@ dependencies = [ [[package]] name = "anchor-lang" -version = "0.12.0" +version = "0.13.0" dependencies = [ "anchor-attribute-access-control", "anchor-attribute-account", @@ -207,7 +207,7 @@ dependencies = [ [[package]] name = "anchor-spl" -version = "0.12.0" +version = "0.13.0" dependencies = [ "anchor-lang", "lazy_static", @@ -218,7 +218,7 @@ dependencies = [ [[package]] name = "anchor-syn" -version = "0.12.0" +version = "0.13.0" dependencies = [ "anyhow", "bs58", diff --git a/cli/Cargo.toml b/cli/Cargo.toml index c9e8dfa671..faf2f27f7b 100644 --- a/cli/Cargo.toml +++ b/cli/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "anchor-cli" -version = "0.12.0" +version = "0.13.0" authors = ["armaniferrante "] edition = "2018" @@ -35,4 +35,4 @@ tar = "0.4.35" reqwest = { version = "0.11.4", features = ["multipart", "blocking"] } tokio = "1.0" pathdiff = "0.2.0" -cargo_toml = "0.9.2" \ No newline at end of file +cargo_toml = "0.9.2" diff --git a/cli/npm-package/package.json b/cli/npm-package/package.json index 013d50bd11..449cd4b83a 100644 --- a/cli/npm-package/package.json +++ b/cli/npm-package/package.json @@ -1,6 +1,6 @@ { "name": "@project-serum/anchor-cli", - "version": "0.11.1", + "version": "0.13.0", "description": "Anchor CLI tool", "homepage": "https://github.com/project-serum/anchor#readme", "bugs": { diff --git a/client/Cargo.toml b/client/Cargo.toml index 368267449f..5782e6c71b 100644 --- a/client/Cargo.toml +++ b/client/Cargo.toml @@ -1,13 +1,13 @@ [package] name = "anchor-client" -version = "0.12.0" +version = "0.13.0" authors = ["Serum Foundation "] edition = "2018" license = "Apache-2.0" description = "Rust client for Anchor programs" [dependencies] -anchor-lang = { path = "../lang", version = "0.12.0" } +anchor-lang = { path = "../lang", version = "0.13.0" } anyhow = "1.0.32" regex = "1.4.5" serde = { version = "1.0.122", features = ["derive"] } diff --git a/lang/Cargo.toml b/lang/Cargo.toml index faa12045d8..bee2836d95 100644 --- a/lang/Cargo.toml +++ b/lang/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "anchor-lang" -version = "0.12.0" +version = "0.13.0" 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.12.0" } -anchor-attribute-account = { path = "./attribute/account", version = "0.12.0" } -anchor-attribute-error = { path = "./attribute/error", version = "0.12.0" } -anchor-attribute-program = { path = "./attribute/program", version = "0.12.0" } -anchor-attribute-state = { path = "./attribute/state", version = "0.12.0" } -anchor-attribute-interface = { path = "./attribute/interface", version = "0.12.0" } -anchor-attribute-event = { path = "./attribute/event", version = "0.12.0" } -anchor-derive-accounts = { path = "./derive/accounts", version = "0.12.0" } +anchor-attribute-access-control = { path = "./attribute/access-control", version = "0.13.0" } +anchor-attribute-account = { path = "./attribute/account", version = "0.13.0" } +anchor-attribute-error = { path = "./attribute/error", version = "0.13.0" } +anchor-attribute-program = { path = "./attribute/program", version = "0.13.0" } +anchor-attribute-state = { path = "./attribute/state", version = "0.13.0" } +anchor-attribute-interface = { path = "./attribute/interface", version = "0.13.0" } +anchor-attribute-event = { path = "./attribute/event", version = "0.13.0" } +anchor-derive-accounts = { path = "./derive/accounts", version = "0.13.0" } 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 4c3d382e07..edf894dc8b 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.12.0" +version = "0.13.0" 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.12.0" } +anchor-syn = { path = "../../syn", version = "0.13.0" } regex = "1.0" diff --git a/lang/attribute/account/Cargo.toml b/lang/attribute/account/Cargo.toml index 8202e7771d..e2d331bb4a 100644 --- a/lang/attribute/account/Cargo.toml +++ b/lang/attribute/account/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "anchor-attribute-account" -version = "0.12.0" +version = "0.13.0" 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.12.0", features = ["hash"] } +anchor-syn = { path = "../../syn", version = "0.13.0", features = ["hash"] } diff --git a/lang/attribute/error/Cargo.toml b/lang/attribute/error/Cargo.toml index caf72b7712..172b4f3f6d 100644 --- a/lang/attribute/error/Cargo.toml +++ b/lang/attribute/error/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "anchor-attribute-error" -version = "0.12.0" +version = "0.13.0" 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.12.0" } \ No newline at end of file +anchor-syn = { path = "../../syn", version = "0.13.0" } \ No newline at end of file diff --git a/lang/attribute/event/Cargo.toml b/lang/attribute/event/Cargo.toml index 36161d8085..58e688a630 100644 --- a/lang/attribute/event/Cargo.toml +++ b/lang/attribute/event/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "anchor-attribute-event" -version = "0.12.0" +version = "0.13.0" 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.12.0", features = ["hash"] } +anchor-syn = { path = "../../syn", version = "0.13.0", features = ["hash"] } diff --git a/lang/attribute/interface/Cargo.toml b/lang/attribute/interface/Cargo.toml index c943e57e06..6b3eae1c2e 100644 --- a/lang/attribute/interface/Cargo.toml +++ b/lang/attribute/interface/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "anchor-attribute-interface" -version = "0.12.0" +version = "0.13.0" 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.12.0" } +anchor-syn = { path = "../../syn", version = "0.13.0" } heck = "0.3.2" diff --git a/lang/attribute/program/Cargo.toml b/lang/attribute/program/Cargo.toml index 16a3e65b3e..7d75b69744 100644 --- a/lang/attribute/program/Cargo.toml +++ b/lang/attribute/program/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "anchor-attribute-program" -version = "0.12.0" +version = "0.13.0" 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.12.0" } +anchor-syn = { path = "../../syn", version = "0.13.0" } diff --git a/lang/attribute/state/Cargo.toml b/lang/attribute/state/Cargo.toml index 59cbc4307b..5be7bca9a8 100644 --- a/lang/attribute/state/Cargo.toml +++ b/lang/attribute/state/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "anchor-attribute-state" -version = "0.12.0" +version = "0.13.0" 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.12.0" } +anchor-syn = { path = "../../syn", version = "0.13.0" } diff --git a/lang/derive/accounts/Cargo.toml b/lang/derive/accounts/Cargo.toml index c7d8705689..d48424c82e 100644 --- a/lang/derive/accounts/Cargo.toml +++ b/lang/derive/accounts/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "anchor-derive-accounts" -version = "0.12.0" +version = "0.13.0" 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.12.0" } +anchor-syn = { path = "../../syn", version = "0.13.0" } diff --git a/lang/syn/Cargo.toml b/lang/syn/Cargo.toml index 6f884864f1..df80183b39 100644 --- a/lang/syn/Cargo.toml +++ b/lang/syn/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "anchor-syn" -version = "0.12.0" +version = "0.13.0" 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 218d4c5e88..c81bcd6ae9 100644 --- a/spl/Cargo.toml +++ b/spl/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "anchor-spl" -version = "0.12.0" +version = "0.13.0" 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.12.0", features = ["derive"] } +anchor-lang = { path = "../lang", version = "0.13.0", 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 4d88a4452a..0b82c0f710 100644 --- a/ts/package.json +++ b/ts/package.json @@ -1,6 +1,6 @@ { "name": "@project-serum/anchor", - "version": "0.12.0", + "version": "0.13.0", "description": "Anchor client", "main": "dist/cjs/index.js", "module": "dist/esm/index.js",