Armani Ferrante 4 anni fa
parent
commit
603a2c1859

+ 2 - 0
CHANGELOG.md

@@ -11,6 +11,8 @@ incremented for features.
 
 ## [Unreleased]
 
+## [0.2.1] - 2021-02-11
+
 ### Features
 
 * cli: Embed workspace programs into local validator genesis when testing ([733ec3](https://github.com/project-serum/anchor/commit/733ec300b0308e7d007873b0975585d836333fd4)).

+ 11 - 11
Cargo.lock

@@ -51,7 +51,7 @@ dependencies = [
 
 [[package]]
 name = "anchor-attribute-access-control"
-version = "0.2.0"
+version = "0.2.1"
 dependencies = [
  "anchor-syn",
  "anyhow",
@@ -63,7 +63,7 @@ dependencies = [
 
 [[package]]
 name = "anchor-attribute-account"
-version = "0.2.0"
+version = "0.2.1"
 dependencies = [
  "anchor-syn",
  "anyhow",
@@ -74,7 +74,7 @@ dependencies = [
 
 [[package]]
 name = "anchor-attribute-error"
-version = "0.2.0"
+version = "0.2.1"
 dependencies = [
  "anchor-syn",
  "proc-macro2 1.0.24",
@@ -84,7 +84,7 @@ dependencies = [
 
 [[package]]
 name = "anchor-attribute-interface"
-version = "0.2.0"
+version = "0.2.1"
 dependencies = [
  "anchor-syn",
  "anyhow",
@@ -96,7 +96,7 @@ dependencies = [
 
 [[package]]
 name = "anchor-attribute-program"
-version = "0.2.0"
+version = "0.2.1"
 dependencies = [
  "anchor-syn",
  "anyhow",
@@ -107,7 +107,7 @@ dependencies = [
 
 [[package]]
 name = "anchor-attribute-state"
-version = "0.2.0"
+version = "0.2.1"
 dependencies = [
  "anchor-syn",
  "anyhow",
@@ -142,7 +142,7 @@ dependencies = [
 
 [[package]]
 name = "anchor-client"
-version = "0.2.0"
+version = "0.2.1"
 dependencies = [
  "anchor-lang",
  "solana-client",
@@ -152,7 +152,7 @@ dependencies = [
 
 [[package]]
 name = "anchor-derive-accounts"
-version = "0.2.0"
+version = "0.2.1"
 dependencies = [
  "anchor-syn",
  "anyhow",
@@ -163,7 +163,7 @@ dependencies = [
 
 [[package]]
 name = "anchor-lang"
-version = "0.2.0"
+version = "0.2.1"
 dependencies = [
  "anchor-attribute-access-control",
  "anchor-attribute-account",
@@ -179,7 +179,7 @@ dependencies = [
 
 [[package]]
 name = "anchor-spl"
-version = "0.2.0"
+version = "0.2.1"
 dependencies = [
  "anchor-lang",
  "solana-program",
@@ -188,7 +188,7 @@ dependencies = [
 
 [[package]]
 name = "anchor-syn"
-version = "0.2.0"
+version = "0.2.1"
 dependencies = [
  "anyhow",
  "bs58",

+ 2 - 2
client/Cargo.toml

@@ -1,13 +1,13 @@
 [package]
 name = "anchor-client"
-version = "0.2.0"
+version = "0.2.1"
 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.2.0" }
+anchor-lang = { path = "../lang", version = "0.2.1" }
 solana-client = "1.5.0"
 solana-sdk = "1.5.0"
 thiserror = "1.0.20"

+ 8 - 8
lang/Cargo.toml

@@ -1,6 +1,6 @@
 [package]
 name = "anchor-lang"
-version = "0.2.0"
+version = "0.2.1"
 authors = ["Serum Foundation <foundation@projectserum.com>"]
 repository = "https://github.com/project-serum/anchor"
 edition = "2018"
@@ -12,13 +12,13 @@ derive = []
 default = []
 
 [dependencies]
-anchor-attribute-access-control = { path = "./attribute/access-control", version = "0.2.0" }
-anchor-attribute-account = { path = "./attribute/account", version = "0.2.0" }
-anchor-attribute-error = { path = "./attribute/error", version = "0.2.0" }
-anchor-attribute-program = { path = "./attribute/program", version = "0.2.0" }
-anchor-attribute-state = { path = "./attribute/state", version = "0.2.0" }
-anchor-attribute-interface = { path = "./attribute/interface", version = "0.2.0" }
-anchor-derive-accounts = { path = "./derive/accounts", version = "0.2.0" }
+anchor-attribute-access-control = { path = "./attribute/access-control", version = "0.2.1" }
+anchor-attribute-account = { path = "./attribute/account", version = "0.2.1" }
+anchor-attribute-error = { path = "./attribute/error", version = "0.2.1" }
+anchor-attribute-program = { path = "./attribute/program", version = "0.2.1" }
+anchor-attribute-state = { path = "./attribute/state", version = "0.2.1" }
+anchor-attribute-interface = { path = "./attribute/interface", version = "0.2.1" }
+anchor-derive-accounts = { path = "./derive/accounts", version = "0.2.1" }
 serum-borsh = "0.8.1-serum.1"
 solana-program = "=1.5.0"
 thiserror = "1.0.20"

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

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

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

@@ -1,6 +1,6 @@
 [package]
 name = "anchor-attribute-account"
-version = "0.2.0"
+version = "0.2.1"
 authors = ["Serum Foundation <foundation@projectserum.com>"]
 repository = "https://github.com/project-serum/anchor"
 license = "Apache-2.0"
@@ -15,4 +15,4 @@ proc-macro2 = "1.0"
 quote = "1.0"
 syn = { version = "=1.0.57", features = ["full"] }
 anyhow = "1.0.32"
-anchor-syn = { path = "../../syn", version = "0.2.0", features = ["hash"] }
+anchor-syn = { path = "../../syn", version = "0.2.1", features = ["hash"] }

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

@@ -1,6 +1,6 @@
 [package]
 name = "anchor-attribute-error"
-version = "0.2.0"
+version = "0.2.1"
 authors = ["Serum Foundation <foundation@projectserum.com>"]
 repository = "https://github.com/project-serum/anchor"
 license = "Apache-2.0"
@@ -14,4 +14,4 @@ proc-macro = true
 proc-macro2 = "1.0"
 quote = "1.0"
 syn = { version = "=1.0.57", features = ["full"] }
-anchor-syn = { path = "../../syn", version = "0.2.0" }
+anchor-syn = { path = "../../syn", version = "0.2.1" }

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

@@ -1,6 +1,6 @@
 [package]
 name = "anchor-attribute-interface"
-version = "0.2.0"
+version = "0.2.1"
 authors = ["Serum Foundation <foundation@projectserum.com>"]
 repository = "https://github.com/project-serum/anchor"
 license = "Apache-2.0"
@@ -15,5 +15,5 @@ proc-macro2 = "1.0"
 quote = "1.0"
 syn = { version = "=1.0.57", features = ["full"] }
 anyhow = "1.0.32"
-anchor-syn = { path = "../../syn", version = "0.2.0" }
+anchor-syn = { path = "../../syn", version = "0.2.1" }
 heck = "0.3.2"

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

@@ -1,6 +1,6 @@
 [package]
 name = "anchor-attribute-program"
-version = "0.2.0"
+version = "0.2.1"
 authors = ["Serum Foundation <foundation@projectserum.com>"]
 repository = "https://github.com/project-serum/anchor"
 license = "Apache-2.0"
@@ -15,4 +15,4 @@ proc-macro2 = "1.0"
 quote = "1.0"
 syn = { version = "=1.0.57", features = ["full"] }
 anyhow = "1.0.32"
-anchor-syn = { path = "../../syn", version = "0.2.0" }
+anchor-syn = { path = "../../syn", version = "0.2.1" }

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

@@ -1,6 +1,6 @@
 [package]
 name = "anchor-attribute-state"
-version = "0.2.0"
+version = "0.2.1"
 authors = ["Serum Foundation <foundation@projectserum.com>"]
 repository = "https://github.com/project-serum/anchor"
 license = "Apache-2.0"
@@ -15,4 +15,4 @@ proc-macro2 = "1.0"
 quote = "1.0"
 syn = { version = "=1.0.57", features = ["full"] }
 anyhow = "1.0.32"
-anchor-syn = { path = "../../syn", version = "0.2.0" }
+anchor-syn = { path = "../../syn", version = "0.2.1" }

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

@@ -1,6 +1,6 @@
 [package]
 name = "anchor-derive-accounts"
-version = "0.2.0"
+version = "0.2.1"
 authors = ["Serum Foundation <foundation@projectserum.com>"]
 repository = "https://github.com/project-serum/anchor"
 license = "Apache-2.0"
@@ -15,4 +15,4 @@ proc-macro2 = "1.0"
 quote = "1.0"
 syn = { version = "=1.0.57", features = ["full"] }
 anyhow = "1.0.32"
-anchor-syn = { path = "../../syn", version = "0.2.0" }
+anchor-syn = { path = "../../syn", version = "0.2.1" }

+ 1 - 1
lang/syn/Cargo.toml

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

+ 2 - 2
spl/Cargo.toml

@@ -1,12 +1,12 @@
 [package]
 name = "anchor-spl"
-version = "0.2.0"
+version = "0.2.1"
 authors = ["Serum Foundation <foundation@projectserum.com>"]
 edition = "2018"
 license = "Apache-2.0"
 description = "CPI clients for SPL programs"
 
 [dependencies]
-anchor-lang = { path = "../lang", version = "0.2.0", features = ["derive"] }
+anchor-lang = { path = "../lang", version = "0.2.1", features = ["derive"] }
 spl-token = { version = "3.0.1", features = ["no-entrypoint"] }
 solana-program = "=1.5.0"

+ 1 - 1
ts/package.json

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