diff --git a/CHANGELOG.md b/CHANGELOG.md index 27957313f..c2156b3d6 100644 --- a/CHANGELOG.md +++ b/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 diff --git a/cli/Cargo.toml b/cli/Cargo.toml index 9d28bcd79..90da60111 100644 --- a/cli/Cargo.toml +++ b/cli/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "anchor-cli" -version = "0.1.0" +version = "0.3.0" authors = ["armaniferrante "] edition = "2018" diff --git a/cli/src/template.rs b/cli/src/template.rs index ebda57cf9..cbd531233 100644 --- a/cli/src/template.rs +++ b/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(), diff --git a/client/Cargo.toml b/client/Cargo.toml index 2cfc5be9c..ac0f2be56 100644 --- a/client/Cargo.toml +++ b/client/Cargo.toml @@ -1,13 +1,13 @@ [package] name = "anchor-client" -version = "0.2.1" +version = "0.3.0" authors = ["Serum Foundation "] 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" diff --git a/lang/Cargo.toml b/lang/Cargo.toml index 3e8a2be90..c52c0bd0f 100644 --- a/lang/Cargo.toml +++ b/lang/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "anchor-lang" -version = "0.2.1" +version = "0.3.0" authors = ["Serum Foundation "] 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" diff --git a/lang/attribute/access-control/Cargo.toml b/lang/attribute/access-control/Cargo.toml index 94a469779..8eaf28936 100644 --- a/lang/attribute/access-control/Cargo.toml +++ b/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 "] 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" \ No newline at end of file diff --git a/lang/attribute/account/Cargo.toml b/lang/attribute/account/Cargo.toml index 082da4508..baac6656d 100644 --- a/lang/attribute/account/Cargo.toml +++ b/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 "] 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"] } diff --git a/lang/attribute/error/Cargo.toml b/lang/attribute/error/Cargo.toml index 8995b6c6d..4258c681b 100644 --- a/lang/attribute/error/Cargo.toml +++ b/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 "] 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" } \ No newline at end of file +anchor-syn = { path = "../../syn", version = "0.3.0" } \ No newline at end of file diff --git a/lang/attribute/interface/Cargo.toml b/lang/attribute/interface/Cargo.toml index 463d23285..1c743c1f5 100644 --- a/lang/attribute/interface/Cargo.toml +++ b/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 "] 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" diff --git a/lang/attribute/program/Cargo.toml b/lang/attribute/program/Cargo.toml index d1f63fa8c..c9322980f 100644 --- a/lang/attribute/program/Cargo.toml +++ b/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 "] 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" } diff --git a/lang/attribute/state/Cargo.toml b/lang/attribute/state/Cargo.toml index 3a47801fb..d3f25f83c 100644 --- a/lang/attribute/state/Cargo.toml +++ b/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 "] 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" } diff --git a/lang/derive/accounts/Cargo.toml b/lang/derive/accounts/Cargo.toml index dc130d585..c947afa19 100644 --- a/lang/derive/accounts/Cargo.toml +++ b/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 "] 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" } diff --git a/lang/syn/Cargo.toml b/lang/syn/Cargo.toml index 7cc46fa17..5539544cc 100644 --- a/lang/syn/Cargo.toml +++ b/lang/syn/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "anchor-syn" -version = "0.2.1" +version = "0.3.0" authors = ["Serum Foundation "] repository = "https://github.com/project-serum/anchor" license = "Apache-2.0" diff --git a/spl/Cargo.toml b/spl/Cargo.toml index 39ac0be47..5fa38a208 100644 --- a/spl/Cargo.toml +++ b/spl/Cargo.toml @@ -1,12 +1,12 @@ [package] name = "anchor-spl" -version = "0.2.1" +version = "0.3.0" authors = ["Serum Foundation "] 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" diff --git a/ts/package.json b/ts/package.json index bd68baa21..166def001 100644 --- a/ts/package.json +++ b/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",