Armani Ferrante 4 vuotta sitten
vanhempi
sitoutus
808d0542a5

+ 2 - 0
CHANGELOG.md

@@ -11,6 +11,8 @@ incremented for features.
 
 ## [Unreleased]
 
+## [0.4.2] - 2021-04-10
+
 ## Features
 
 * cli: Fund Anchor.toml configured wallet when testing ([#164](https://github.com/project-serum/anchor/pull/164)).

+ 13 - 13
Cargo.lock

@@ -44,7 +44,7 @@ dependencies = [
 
 [[package]]
 name = "anchor-attribute-access-control"
-version = "0.4.1"
+version = "0.4.2"
 dependencies = [
  "anchor-syn",
  "anyhow",
@@ -56,7 +56,7 @@ dependencies = [
 
 [[package]]
 name = "anchor-attribute-account"
-version = "0.4.1"
+version = "0.4.2"
 dependencies = [
  "anchor-syn",
  "anyhow",
@@ -67,7 +67,7 @@ dependencies = [
 
 [[package]]
 name = "anchor-attribute-error"
-version = "0.4.1"
+version = "0.4.2"
 dependencies = [
  "anchor-syn",
  "proc-macro2 1.0.24",
@@ -77,7 +77,7 @@ dependencies = [
 
 [[package]]
 name = "anchor-attribute-event"
-version = "0.4.1"
+version = "0.4.2"
 dependencies = [
  "anchor-syn",
  "anyhow",
@@ -88,7 +88,7 @@ dependencies = [
 
 [[package]]
 name = "anchor-attribute-interface"
-version = "0.4.1"
+version = "0.4.2"
 dependencies = [
  "anchor-syn",
  "anyhow",
@@ -100,7 +100,7 @@ dependencies = [
 
 [[package]]
 name = "anchor-attribute-program"
-version = "0.4.1"
+version = "0.4.2"
 dependencies = [
  "anchor-syn",
  "anyhow",
@@ -111,7 +111,7 @@ dependencies = [
 
 [[package]]
 name = "anchor-attribute-state"
-version = "0.4.1"
+version = "0.4.2"
 dependencies = [
  "anchor-syn",
  "anyhow",
@@ -122,7 +122,7 @@ dependencies = [
 
 [[package]]
 name = "anchor-cli"
-version = "0.4.1"
+version = "0.4.2"
 dependencies = [
  "anchor-lang",
  "anchor-syn",
@@ -146,7 +146,7 @@ dependencies = [
 
 [[package]]
 name = "anchor-client"
-version = "0.4.1"
+version = "0.4.2"
 dependencies = [
  "anchor-lang",
  "anyhow",
@@ -158,7 +158,7 @@ dependencies = [
 
 [[package]]
 name = "anchor-derive-accounts"
-version = "0.4.1"
+version = "0.4.2"
 dependencies = [
  "anchor-syn",
  "anyhow",
@@ -169,7 +169,7 @@ dependencies = [
 
 [[package]]
 name = "anchor-lang"
-version = "0.4.1"
+version = "0.4.2"
 dependencies = [
  "anchor-attribute-access-control",
  "anchor-attribute-account",
@@ -187,7 +187,7 @@ dependencies = [
 
 [[package]]
 name = "anchor-spl"
-version = "0.4.1"
+version = "0.4.2"
 dependencies = [
  "anchor-lang",
  "solana-program",
@@ -196,7 +196,7 @@ dependencies = [
 
 [[package]]
 name = "anchor-syn"
-version = "0.4.1"
+version = "0.4.2"
 dependencies = [
  "anyhow",
  "bs58",

+ 1 - 1
cli/Cargo.toml

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

+ 2 - 2
client/Cargo.toml

@@ -1,13 +1,13 @@
 [package]
 name = "anchor-client"
-version = "0.4.1"
+version = "0.4.2"
 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.4.1" }
+anchor-lang = { path = "../lang", version = "0.4.2" }
 anyhow = "1.0.32"
 regex = "1.4.5"
 solana-client = "1.6.3"

+ 9 - 9
lang/Cargo.toml

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

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

@@ -1,6 +1,6 @@
 [package]
 name = "anchor-attribute-access-control"
-version = "0.4.1"
+version = "0.4.2"
 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.60", features = ["full"] }
 anyhow = "1.0.32"
-anchor-syn = { path = "../../syn", version = "0.4.1" }
+anchor-syn = { path = "../../syn", version = "0.4.2" }
 regex = "1.0"

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

@@ -1,6 +1,6 @@
 [package]
 name = "anchor-attribute-account"
-version = "0.4.1"
+version = "0.4.2"
 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.60", features = ["full"] }
 anyhow = "1.0.32"
-anchor-syn = { path = "../../syn", version = "0.4.1", features = ["hash"] }
+anchor-syn = { path = "../../syn", version = "0.4.2", features = ["hash"] }

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

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

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

@@ -1,6 +1,6 @@
 [package]
 name = "anchor-attribute-event"
-version = "0.4.1"
+version = "0.4.2"
 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.60", features = ["full"] }
 anyhow = "1.0.32"
-anchor-syn = { path = "../../syn", version = "0.4.1", features = ["hash"] }
+anchor-syn = { path = "../../syn", version = "0.4.2", features = ["hash"] }

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

@@ -1,6 +1,6 @@
 [package]
 name = "anchor-attribute-interface"
-version = "0.4.1"
+version = "0.4.2"
 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.60", features = ["full"] }
 anyhow = "1.0.32"
-anchor-syn = { path = "../../syn", version = "0.4.1" }
+anchor-syn = { path = "../../syn", version = "0.4.2" }
 heck = "0.3.2"

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

@@ -1,6 +1,6 @@
 [package]
 name = "anchor-attribute-program"
-version = "0.4.1"
+version = "0.4.2"
 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.60", features = ["full"] }
 anyhow = "1.0.32"
-anchor-syn = { path = "../../syn", version = "0.4.1" }
+anchor-syn = { path = "../../syn", version = "0.4.2" }

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

@@ -1,6 +1,6 @@
 [package]
 name = "anchor-attribute-state"
-version = "0.4.1"
+version = "0.4.2"
 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.60", features = ["full"] }
 anyhow = "1.0.32"
-anchor-syn = { path = "../../syn", version = "0.4.1" }
+anchor-syn = { path = "../../syn", version = "0.4.2" }

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

@@ -1,6 +1,6 @@
 [package]
 name = "anchor-derive-accounts"
-version = "0.4.1"
+version = "0.4.2"
 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.60", features = ["full"] }
 anyhow = "1.0.32"
-anchor-syn = { path = "../../syn", version = "0.4.1" }
+anchor-syn = { path = "../../syn", version = "0.4.2" }

+ 1 - 1
lang/syn/Cargo.toml

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

+ 1 - 1
ts/package.json

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