armaniferrante преди 4 години
родител
ревизия
97027d9abc

+ 3 - 1
CHANGELOG.md

@@ -11,6 +11,8 @@ incremented for features.
 
 ## [Unreleased]
 
+## [0.3.0] - 2021-03-12
+
 ## Features
 
 * ts: Allow preloading instructions for state rpc transactions ([cf9c84](https://github.com/project-serum/anchor/commit/cf9c847e4144989b5bc1936149d171e90204777b)).
@@ -27,7 +29,7 @@ incremented for features.
 
 ## Fixes
 
-* cli: Propagates mocha test exit status on error.
+* cli: Propagates mocha test exit status on error ([79b791](https://github.com/project-serum/anchor/commit/79b791ffa85ffae5b6163fa853562aa568650f21)).
 
 ## [0.2.1] - 2021-02-11
 

+ 1 - 1
cli/Cargo.toml

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

+ 1 - 1
cli/src/template.rs

@@ -28,7 +28,7 @@ cpi = ["no-entrypoint"]
 default = []
 
 [dependencies]
-anchor-lang = "0.2.1"
+anchor-lang = "0.3.0"
 "#,
         name,
         name.to_snake_case(),

+ 2 - 2
client/Cargo.toml

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

+ 8 - 8
lang/Cargo.toml

@@ -1,6 +1,6 @@
 [package]
 name = "anchor-lang"
-version = "0.2.1"
+version = "0.3.0"
 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.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" }
+anchor-attribute-access-control = { path = "./attribute/access-control", version = "0.3.0" }
+anchor-attribute-account = { path = "./attribute/account", version = "0.3.0" }
+anchor-attribute-error = { path = "./attribute/error", version = "0.3.0" }
+anchor-attribute-program = { path = "./attribute/program", version = "0.3.0" }
+anchor-attribute-state = { path = "./attribute/state", version = "0.3.0" }
+anchor-attribute-interface = { path = "./attribute/interface", version = "0.3.0" }
+anchor-derive-accounts = { path = "./derive/accounts", version = "0.3.0" }
 serum-borsh = "0.8.1-serum.1"
 solana-program = "1.5.8"
 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.1"
+version = "0.3.0"
 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.1" }
+anchor-syn = { path = "../../syn", version = "0.3.0" }
 regex = "1.0"

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

@@ -1,6 +1,6 @@
 [package]
 name = "anchor-attribute-account"
-version = "0.2.1"
+version = "0.3.0"
 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.1", features = ["hash"] }
+anchor-syn = { path = "../../syn", version = "0.3.0", features = ["hash"] }

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

@@ -1,6 +1,6 @@
 [package]
 name = "anchor-attribute-error"
-version = "0.2.1"
+version = "0.3.0"
 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.1" }
+anchor-syn = { path = "../../syn", version = "0.3.0" }

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

@@ -1,6 +1,6 @@
 [package]
 name = "anchor-attribute-interface"
-version = "0.2.1"
+version = "0.3.0"
 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.1" }
+anchor-syn = { path = "../../syn", version = "0.3.0" }
 heck = "0.3.2"

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

@@ -1,6 +1,6 @@
 [package]
 name = "anchor-attribute-program"
-version = "0.2.1"
+version = "0.3.0"
 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.1" }
+anchor-syn = { path = "../../syn", version = "0.3.0" }

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

@@ -1,6 +1,6 @@
 [package]
 name = "anchor-attribute-state"
-version = "0.2.1"
+version = "0.3.0"
 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.1" }
+anchor-syn = { path = "../../syn", version = "0.3.0" }

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

@@ -1,6 +1,6 @@
 [package]
 name = "anchor-derive-accounts"
-version = "0.2.1"
+version = "0.3.0"
 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.1" }
+anchor-syn = { path = "../../syn", version = "0.3.0" }

+ 1 - 1
lang/syn/Cargo.toml

@@ -1,6 +1,6 @@
 [package]
 name = "anchor-syn"
-version = "0.2.1"
+version = "0.3.0"
 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.1"
+version = "0.3.0"
 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.1", features = ["derive"] }
+anchor-lang = { path = "../lang", version = "0.3.0", features = ["derive"] }
 spl-token = { version = "3.0.1", features = ["no-entrypoint"] }
 solana-program = "1.5.8"

+ 1 - 1
ts/package.json

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