Armani Ferrante 4 년 전
부모
커밋
bbc40ba1c0

+ 2 - 0
CHANGELOG.md

@@ -11,6 +11,8 @@ incremented for features.
 
 ## [Unreleased]
 
+## [0.11.0] - 2021-07-03
+
 ### Features
 
 * lang: Add fallback functions ([#457](https://github.com/project-serum/anchor/pull/457)).

+ 13 - 13
Cargo.lock

@@ -50,7 +50,7 @@ checksum = "6b2d54853319fd101b8dd81de382bcbf3e03410a64d8928bbee85a3e7dcde483"
 
 [[package]]
 name = "anchor-attribute-access-control"
-version = "0.10.0"
+version = "0.11.0"
 dependencies = [
  "anchor-syn",
  "anyhow",
@@ -62,7 +62,7 @@ dependencies = [
 
 [[package]]
 name = "anchor-attribute-account"
-version = "0.10.0"
+version = "0.11.0"
 dependencies = [
  "anchor-syn",
  "anyhow",
@@ -73,7 +73,7 @@ dependencies = [
 
 [[package]]
 name = "anchor-attribute-error"
-version = "0.10.0"
+version = "0.11.0"
 dependencies = [
  "anchor-syn",
  "proc-macro2 1.0.24",
@@ -83,7 +83,7 @@ dependencies = [
 
 [[package]]
 name = "anchor-attribute-event"
-version = "0.10.0"
+version = "0.11.0"
 dependencies = [
  "anchor-syn",
  "anyhow",
@@ -94,7 +94,7 @@ dependencies = [
 
 [[package]]
 name = "anchor-attribute-interface"
-version = "0.10.0"
+version = "0.11.0"
 dependencies = [
  "anchor-syn",
  "anyhow",
@@ -106,7 +106,7 @@ dependencies = [
 
 [[package]]
 name = "anchor-attribute-program"
-version = "0.10.0"
+version = "0.11.0"
 dependencies = [
  "anchor-syn",
  "anyhow",
@@ -117,7 +117,7 @@ dependencies = [
 
 [[package]]
 name = "anchor-attribute-state"
-version = "0.10.0"
+version = "0.11.0"
 dependencies = [
  "anchor-syn",
  "anyhow",
@@ -128,7 +128,7 @@ dependencies = [
 
 [[package]]
 name = "anchor-cli"
-version = "0.10.0"
+version = "0.11.0"
 dependencies = [
  "anchor-client",
  "anchor-lang",
@@ -152,7 +152,7 @@ dependencies = [
 
 [[package]]
 name = "anchor-client"
-version = "0.10.0"
+version = "0.11.0"
 dependencies = [
  "anchor-lang",
  "anyhow",
@@ -166,7 +166,7 @@ dependencies = [
 
 [[package]]
 name = "anchor-derive-accounts"
-version = "0.10.0"
+version = "0.11.0"
 dependencies = [
  "anchor-syn",
  "anyhow",
@@ -177,7 +177,7 @@ dependencies = [
 
 [[package]]
 name = "anchor-lang"
-version = "0.10.0"
+version = "0.11.0"
 dependencies = [
  "anchor-attribute-access-control",
  "anchor-attribute-account",
@@ -196,7 +196,7 @@ dependencies = [
 
 [[package]]
 name = "anchor-spl"
-version = "0.10.0"
+version = "0.11.0"
 dependencies = [
  "anchor-lang",
  "lazy_static",
@@ -207,7 +207,7 @@ dependencies = [
 
 [[package]]
 name = "anchor-syn"
-version = "0.10.0"
+version = "0.11.0"
 dependencies = [
  "anyhow",
  "bs58",

+ 1 - 1
cli/Cargo.toml

@@ -1,6 +1,6 @@
 [package]
 name = "anchor-cli"
-version = "0.10.0"
+version = "0.11.0"
 authors = ["armaniferrante <armaniferrante@gmail.com>"]
 edition = "2018"
 

+ 1 - 1
cli/npm-package/package.json

@@ -1,6 +1,6 @@
 {
   "name": "@project-serum/anchor-cli",
-  "version": "0.10.0",
+  "version": "0.11.0",
   "description": "Anchor CLI tool",
   "homepage": "https://github.com/project-serum/anchor#readme",
   "bugs": {

+ 2 - 2
client/Cargo.toml

@@ -1,13 +1,13 @@
 [package]
 name = "anchor-client"
-version = "0.10.0"
+version = "0.11.0"
 authors = ["Serum Foundation <foundation@projectserum.com>"]
 edition = "2018"
 license = "Apache-2.0"
 description = "Rust client for Anchor programs"
 
 [dependencies]
-anchor-lang = { path = "../lang", version = "0.10.0" }
+anchor-lang = { path = "../lang", version = "0.11.0" }
 anyhow = "1.0.32"
 regex = "1.4.5"
 serde = { version = "1.0.122", features = ["derive"] }

+ 1 - 1
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.10.0 anchor-cli --locked
+cargo install --git https://github.com/project-serum/anchor --tag v0.11.0 anchor-cli --locked
 ```
 
 On Linux systems you may need to install additional dependencies if `cargo install` fails. On Ubuntu,

+ 9 - 9
lang/Cargo.toml

@@ -1,6 +1,6 @@
 [package]
 name = "anchor-lang"
-version = "0.10.0"
+version = "0.11.0"
 authors = ["Serum Foundation <foundation@projectserum.com>"]
 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.10.0" }
-anchor-attribute-account = { path = "./attribute/account", version = "0.10.0" }
-anchor-attribute-error = { path = "./attribute/error", version = "0.10.0" }
-anchor-attribute-program = { path = "./attribute/program", version = "0.10.0" }
-anchor-attribute-state = { path = "./attribute/state", version = "0.10.0" }
-anchor-attribute-interface = { path = "./attribute/interface", version = "0.10.0" }
-anchor-attribute-event = { path = "./attribute/event", version = "0.10.0" }
-anchor-derive-accounts = { path = "./derive/accounts", version = "0.10.0" }
+anchor-attribute-access-control = { path = "./attribute/access-control", version = "0.11.0" }
+anchor-attribute-account = { path = "./attribute/account", version = "0.11.0" }
+anchor-attribute-error = { path = "./attribute/error", version = "0.11.0" }
+anchor-attribute-program = { path = "./attribute/program", version = "0.11.0" }
+anchor-attribute-state = { path = "./attribute/state", version = "0.11.0" }
+anchor-attribute-interface = { path = "./attribute/interface", version = "0.11.0" }
+anchor-attribute-event = { path = "./attribute/event", version = "0.11.0" }
+anchor-derive-accounts = { path = "./derive/accounts", version = "0.11.0" }
 base64 = "0.13.0"
 borsh = "0.9"
 bytemuck = "1.4.0"

+ 2 - 2
lang/attribute/access-control/Cargo.toml

@@ -1,6 +1,6 @@
 [package]
 name = "anchor-attribute-access-control"
-version = "0.10.0"
+version = "0.11.0"
 authors = ["Serum Foundation <foundation@projectserum.com>"]
 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.10.0" }
+anchor-syn = { path = "../../syn", version = "0.11.0" }
 regex = "1.0"

+ 2 - 2
lang/attribute/account/Cargo.toml

@@ -1,6 +1,6 @@
 [package]
 name = "anchor-attribute-account"
-version = "0.10.0"
+version = "0.11.0"
 authors = ["Serum Foundation <foundation@projectserum.com>"]
 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.10.0", features = ["hash"] }
+anchor-syn = { path = "../../syn", version = "0.11.0", features = ["hash"] }

+ 2 - 2
lang/attribute/error/Cargo.toml

@@ -1,6 +1,6 @@
 [package]
 name = "anchor-attribute-error"
-version = "0.10.0"
+version = "0.11.0"
 authors = ["Serum Foundation <foundation@projectserum.com>"]
 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.10.0" }
+anchor-syn = { path = "../../syn", version = "0.11.0" }

+ 2 - 2
lang/attribute/event/Cargo.toml

@@ -1,6 +1,6 @@
 [package]
 name = "anchor-attribute-event"
-version = "0.10.0"
+version = "0.11.0"
 authors = ["Serum Foundation <foundation@projectserum.com>"]
 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.10.0", features = ["hash"] }
+anchor-syn = { path = "../../syn", version = "0.11.0", features = ["hash"] }

+ 2 - 2
lang/attribute/interface/Cargo.toml

@@ -1,6 +1,6 @@
 [package]
 name = "anchor-attribute-interface"
-version = "0.10.0"
+version = "0.11.0"
 authors = ["Serum Foundation <foundation@projectserum.com>"]
 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.10.0" }
+anchor-syn = { path = "../../syn", version = "0.11.0" }
 heck = "0.3.2"

+ 2 - 2
lang/attribute/program/Cargo.toml

@@ -1,6 +1,6 @@
 [package]
 name = "anchor-attribute-program"
-version = "0.10.0"
+version = "0.11.0"
 authors = ["Serum Foundation <foundation@projectserum.com>"]
 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.10.0" }
+anchor-syn = { path = "../../syn", version = "0.11.0" }

+ 2 - 2
lang/attribute/state/Cargo.toml

@@ -1,6 +1,6 @@
 [package]
 name = "anchor-attribute-state"
-version = "0.10.0"
+version = "0.11.0"
 authors = ["Serum Foundation <foundation@projectserum.com>"]
 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.10.0" }
+anchor-syn = { path = "../../syn", version = "0.11.0" }

+ 2 - 2
lang/derive/accounts/Cargo.toml

@@ -1,6 +1,6 @@
 [package]
 name = "anchor-derive-accounts"
-version = "0.10.0"
+version = "0.11.0"
 authors = ["Serum Foundation <foundation@projectserum.com>"]
 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.10.0" }
+anchor-syn = { path = "../../syn", version = "0.11.0" }

+ 1 - 1
lang/syn/Cargo.toml

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

+ 2 - 2
spl/Cargo.toml

@@ -1,6 +1,6 @@
 [package]
 name = "anchor-spl"
-version = "0.10.0"
+version = "0.11.0"
 authors = ["Serum Foundation <foundation@projectserum.com>"]
 edition = "2018"
 license = "Apache-2.0"
@@ -10,7 +10,7 @@ description = "CPI clients for SPL programs"
 devnet = []
 
 [dependencies]
-anchor-lang = { path = "../lang", version = "0.10.0", features = ["derive"] }
+anchor-lang = { path = "../lang", version = "0.11.0", features = ["derive"] }
 lazy_static = "1.4.0"
 serum_dex = { git = "https://github.com/project-serum/serum-dex", tag = "v0.3.1", version = "0.3.1", features = ["no-entrypoint"] }
 solana-program = "1.7.4"

+ 1 - 1
ts/package.json

@@ -1,6 +1,6 @@
 {
   "name": "@project-serum/anchor",
-  "version": "0.10.0",
+  "version": "0.11.0",
   "description": "Anchor client",
   "main": "dist/cjs/index.js",
   "module": "dist/esm/index.js",