Armani Ferrante 4 жил өмнө
parent
commit
531e796f77

+ 2 - 0
CHANGELOG.md

@@ -11,6 +11,8 @@ incremented for features.
 
 ## [Unreleased]
 
+## [0.4.5] - 2021-04-29
+
 * spl: Add serum DEX CPI client ([#224](https://github.com/project-serum/anchor/pull/224)).
 
 ## [0.4.4] - 2021-04-18

+ 16 - 16
Cargo.lock

@@ -50,7 +50,7 @@ checksum = "6b2d54853319fd101b8dd81de382bcbf3e03410a64d8928bbee85a3e7dcde483"
 
 [[package]]
 name = "anchor-attribute-access-control"
-version = "0.4.4"
+version = "0.4.5"
 dependencies = [
  "anchor-syn",
  "anyhow",
@@ -62,7 +62,7 @@ dependencies = [
 
 [[package]]
 name = "anchor-attribute-account"
-version = "0.4.4"
+version = "0.4.5"
 dependencies = [
  "anchor-syn",
  "anyhow",
@@ -73,7 +73,7 @@ dependencies = [
 
 [[package]]
 name = "anchor-attribute-error"
-version = "0.4.4"
+version = "0.4.5"
 dependencies = [
  "anchor-syn",
  "proc-macro2 1.0.24",
@@ -83,7 +83,7 @@ dependencies = [
 
 [[package]]
 name = "anchor-attribute-event"
-version = "0.4.4"
+version = "0.4.5"
 dependencies = [
  "anchor-syn",
  "anyhow",
@@ -94,7 +94,7 @@ dependencies = [
 
 [[package]]
 name = "anchor-attribute-interface"
-version = "0.4.4"
+version = "0.4.5"
 dependencies = [
  "anchor-syn",
  "anyhow",
@@ -106,7 +106,7 @@ dependencies = [
 
 [[package]]
 name = "anchor-attribute-program"
-version = "0.4.4"
+version = "0.4.5"
 dependencies = [
  "anchor-syn",
  "anyhow",
@@ -117,7 +117,7 @@ dependencies = [
 
 [[package]]
 name = "anchor-attribute-state"
-version = "0.4.4"
+version = "0.4.5"
 dependencies = [
  "anchor-syn",
  "anyhow",
@@ -128,7 +128,7 @@ dependencies = [
 
 [[package]]
 name = "anchor-cli"
-version = "0.4.4"
+version = "0.4.5"
 dependencies = [
  "anchor-lang",
  "anchor-syn",
@@ -152,7 +152,7 @@ dependencies = [
 
 [[package]]
 name = "anchor-client"
-version = "0.4.4"
+version = "0.4.5"
 dependencies = [
  "anchor-lang",
  "anyhow",
@@ -164,7 +164,7 @@ dependencies = [
 
 [[package]]
 name = "anchor-derive-accounts"
-version = "0.4.4"
+version = "0.4.5"
 dependencies = [
  "anchor-syn",
  "anyhow",
@@ -175,7 +175,7 @@ dependencies = [
 
 [[package]]
 name = "anchor-lang"
-version = "0.4.4"
+version = "0.4.5"
 dependencies = [
  "anchor-attribute-access-control",
  "anchor-attribute-account",
@@ -194,7 +194,7 @@ dependencies = [
 
 [[package]]
 name = "anchor-spl"
-version = "0.4.4"
+version = "0.4.5"
 dependencies = [
  "anchor-lang",
  "lazy_static",
@@ -205,7 +205,7 @@ dependencies = [
 
 [[package]]
 name = "anchor-syn"
-version = "0.4.4"
+version = "0.4.5"
 dependencies = [
  "anyhow",
  "bs58",
@@ -2761,7 +2761,7 @@ dependencies = [
 [[package]]
 name = "serum-common"
 version = "0.1.0"
-source = "git+https://github.com/project-serum/serum-dex#e264db2c9cc326f246a8fb108becb7d71bba3e72"
+source = "git+https://github.com/project-serum/serum-dex#66904088599c1a8d42623f6a6d157cec46c8da62"
 dependencies = [
  "anyhow",
  "arrayref",
@@ -2778,8 +2778,8 @@ dependencies = [
 
 [[package]]
 name = "serum_dex"
-version = "0.2.0"
-source = "git+https://github.com/project-serum/serum-dex#e264db2c9cc326f246a8fb108becb7d71bba3e72"
+version = "0.3.0"
+source = "git+https://github.com/project-serum/serum-dex#66904088599c1a8d42623f6a6d157cec46c8da62"
 dependencies = [
  "arrayref",
  "bincode",

+ 1 - 1
cli/Cargo.toml

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

+ 2 - 2
client/Cargo.toml

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

+ 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.4.4 anchor-cli --locked
+cargo install --git https://github.com/project-serum/anchor --tag v0.4.5 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.4.4"
+version = "0.4.5"
 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.4" }
-anchor-attribute-account = { path = "./attribute/account", version = "0.4.4" }
-anchor-attribute-error = { path = "./attribute/error", version = "0.4.4" }
-anchor-attribute-program = { path = "./attribute/program", version = "0.4.4" }
-anchor-attribute-state = { path = "./attribute/state", version = "0.4.4" }
-anchor-attribute-interface = { path = "./attribute/interface", version = "0.4.4" }
-anchor-attribute-event = { path = "./attribute/event", version = "0.4.4" }
-anchor-derive-accounts = { path = "./derive/accounts", version = "0.4.4" }
+anchor-attribute-access-control = { path = "./attribute/access-control", version = "0.4.5" }
+anchor-attribute-account = { path = "./attribute/account", version = "0.4.5" }
+anchor-attribute-error = { path = "./attribute/error", version = "0.4.5" }
+anchor-attribute-program = { path = "./attribute/program", version = "0.4.5" }
+anchor-attribute-state = { path = "./attribute/state", version = "0.4.5" }
+anchor-attribute-interface = { path = "./attribute/interface", version = "0.4.5" }
+anchor-attribute-event = { path = "./attribute/event", version = "0.4.5" }
+anchor-derive-accounts = { path = "./derive/accounts", version = "0.4.5" }
 base64 = "0.13.0"
 borsh = "0.8.2"
 bytemuck = "1.4.0"

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

@@ -1,6 +1,6 @@
 [package]
 name = "anchor-attribute-access-control"
-version = "0.4.4"
+version = "0.4.5"
 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.4" }
+anchor-syn = { path = "../../syn", version = "0.4.5" }
 regex = "1.0"

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

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

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

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

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

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

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

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

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

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

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

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

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

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

+ 1 - 1
lang/syn/Cargo.toml

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

+ 3 - 3
spl/Cargo.toml

@@ -1,14 +1,14 @@
 [package]
 name = "anchor-spl"
-version = "0.4.4"
+version = "0.4.5"
 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.4", features = ["derive"] }
+anchor-lang = { path = "../lang", version = "0.4.5", features = ["derive"] }
 lazy_static = "1.4.0"
-serum_dex = { git = "https://github.com/project-serum/serum-dex", features = ["no-entrypoint"] }
+serum_dex = { git = "https://github.com/project-serum/serum-dex", version = "0.3.0", features = ["no-entrypoint"] }
 solana-program = "1.6.6"
 spl-token = { version = "3.0.1", features = ["no-entrypoint"] }

+ 1 - 1
ts/package.json

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