diff --git a/CHANGELOG.md b/CHANGELOG.md index 27957313f1..c2156b3d69 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 9d28bcd799..90da60111a 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 ebda57cf9b..cbd5312335 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 2cfc5be9c2..ac0f2be565 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 3e8a2be907..c52c0bd0f0 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 94a469779e..8eaf289367 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 082da45089..baac6656d9 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 8995b6c6d6..4258c681b2 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 463d232859..1c743c1f58 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 d1f63fa8c8..c9322980fb 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 3a47801fb7..d3f25f83ce 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 dc130d5858..c947afa194 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 7cc46fa178..5539544cce 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 39ac0be473..5fa38a208a 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 bd68baa211..166def001b 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",