From f35dc5fdb6fc01d054afc51a6ea5a10307a48e3b Mon Sep 17 00:00:00 2001 From: Jon Cinque Date: Fri, 1 Sep 2023 21:55:38 +0200 Subject: [PATCH] release: Bump token-2022 and all dependencies (#5189) * release: Bump token-2022 and all dependencies In order to release a new token-2022, we need to bump its version and every local crate that it depends on. That means the following: * spl-token-2022 * spl-program-error * spl-tlv-account-resolution * spl-type-length-value * spl-token-metadata-interface * spl-token-metadata-example * spl-transfer-hook-interface * spl-transfer-hook-example * spl-token-client (this one's not needed, but it's cleaner) * Also bump spl-token-cli * Also bump associated-token-account --- Cargo.lock | 70 +++++++++---------- .../program-test/Cargo.toml | 4 +- associated-token-account/program/Cargo.toml | 4 +- libraries/pod/Cargo.toml | 2 +- libraries/program-error/Cargo.toml | 6 +- libraries/program-error/derive/Cargo.toml | 2 +- libraries/tlv-account-resolution/Cargo.toml | 8 +-- .../type-length-value-derive-test/Cargo.toml | 2 +- libraries/type-length-value/Cargo.toml | 10 +-- single-pool/cli/Cargo.toml | 2 +- stake-pool/cli/Cargo.toml | 2 +- stake-pool/program/Cargo.toml | 2 +- token-metadata/example/Cargo.toml | 10 +-- token-metadata/interface/Cargo.toml | 10 +-- token-swap/program/Cargo.toml | 2 +- token-upgrade/cli/Cargo.toml | 4 +- token-upgrade/program/Cargo.toml | 4 +- token-wrap/program/Cargo.toml | 2 +- token/cli/Cargo.toml | 8 +-- token/client/Cargo.toml | 8 +-- token/program-2022-test/Cargo.toml | 10 +-- token/program-2022/Cargo.toml | 8 +-- token/transfer-hook-example/Cargo.toml | 10 +-- token/transfer-hook-interface/Cargo.toml | 12 ++-- 24 files changed, 101 insertions(+), 101 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index c4afa47b9b7..be8f16d15ba 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -6407,7 +6407,7 @@ dependencies = [ [[package]] name = "spl-associated-token-account" -version = "2.0.0" +version = "2.1.0" dependencies = [ "assert_matches", "borsh 0.10.3", @@ -6415,7 +6415,7 @@ dependencies = [ "num-traits", "solana-program", "spl-token 4.0.0", - "spl-token-2022 0.7.0", + "spl-token-2022 0.8.0", "thiserror", ] @@ -6426,9 +6426,9 @@ dependencies = [ "solana-program", "solana-program-test", "solana-sdk", - "spl-associated-token-account 2.0.0", + "spl-associated-token-account 2.1.0", "spl-token 4.0.0", - "spl-token-2022 0.7.0", + "spl-token-2022 0.8.0", ] [[package]] @@ -6705,7 +6705,7 @@ dependencies = [ "solana-program", "solana-program-test", "solana-sdk", - "spl-associated-token-account 2.0.0", + "spl-associated-token-account 2.1.0", "spl-token 4.0.0", "thiserror", ] @@ -6781,7 +6781,7 @@ dependencies = [ [[package]] name = "spl-program-error" -version = "0.2.0" +version = "0.3.0" dependencies = [ "lazy_static", "num-derive 0.4.0", @@ -6795,7 +6795,7 @@ dependencies = [ [[package]] name = "spl-program-error-derive" -version = "0.2.0" +version = "0.3.0" dependencies = [ "proc-macro2 1.0.63", "quote 1.0.29", @@ -6850,7 +6850,7 @@ dependencies = [ "solana-test-validator", "solana-transaction-status", "solana-vote-program", - "spl-associated-token-account 2.0.0", + "spl-associated-token-account 2.1.0", "spl-single-validator-pool", "spl-token 4.0.0", "spl-token-client", @@ -6875,7 +6875,7 @@ dependencies = [ "solana-program-test", "solana-sdk", "solana-vote-program", - "spl-associated-token-account 2.0.0", + "spl-associated-token-account 2.1.0", "spl-token 4.0.0", "test-case", "thiserror", @@ -6901,7 +6901,7 @@ dependencies = [ "spl-math", "spl-pod", "spl-token 4.0.0", - "spl-token-2022 0.7.0", + "spl-token-2022 0.8.0", "test-case", "thiserror", ] @@ -6926,14 +6926,14 @@ dependencies = [ "solana-program", "solana-remote-wallet", "solana-sdk", - "spl-associated-token-account 2.0.0", + "spl-associated-token-account 2.1.0", "spl-stake-pool", "spl-token 4.0.0", ] [[package]] name = "spl-tlv-account-resolution" -version = "0.2.0" +version = "0.3.0" dependencies = [ "bytemuck", "solana-program", @@ -6998,7 +6998,7 @@ dependencies = [ [[package]] name = "spl-token-2022" -version = "0.7.0" +version = "0.8.0" dependencies = [ "arrayref", "base64 0.21.3", @@ -7035,11 +7035,11 @@ dependencies = [ "solana-program", "solana-program-test", "solana-sdk", - "spl-associated-token-account 2.0.0", + "spl-associated-token-account 2.1.0", "spl-instruction-padding", "spl-memo 4.0.0", "spl-pod", - "spl-token-2022 0.7.0", + "spl-token-2022 0.8.0", "spl-token-client", "spl-token-metadata-interface", "spl-transfer-hook-example", @@ -7050,7 +7050,7 @@ dependencies = [ [[package]] name = "spl-token-cli" -version = "3.0.0" +version = "3.1.0" dependencies = [ "assert_cmd", "clap 2.34.0", @@ -7069,10 +7069,10 @@ dependencies = [ "solana-sdk", "solana-test-validator", "solana-transaction-status", - "spl-associated-token-account 2.0.0", + "spl-associated-token-account 2.1.0", "spl-memo 4.0.0", "spl-token 4.0.0", - "spl-token-2022 0.7.0", + "spl-token-2022 0.8.0", "spl-token-client", "spl-token-metadata-interface", "strum 0.25.0", @@ -7084,7 +7084,7 @@ dependencies = [ [[package]] name = "spl-token-client" -version = "0.5.1" +version = "0.6.0" dependencies = [ "async-trait", "futures 0.3.28", @@ -7095,10 +7095,10 @@ dependencies = [ "solana-rpc-client", "solana-rpc-client-api", "solana-sdk", - "spl-associated-token-account 2.0.0", + "spl-associated-token-account 2.1.0", "spl-memo 4.0.0", "spl-token 4.0.0", - "spl-token-2022 0.7.0", + "spl-token-2022 0.8.0", "spl-token-metadata-interface", "spl-transfer-hook-interface", "thiserror", @@ -7139,13 +7139,13 @@ dependencies = [ [[package]] name = "spl-token-metadata-example" -version = "0.1.0" +version = "0.2.0" dependencies = [ "solana-program", "solana-program-test", "solana-sdk", "spl-pod", - "spl-token-2022 0.7.0", + "spl-token-2022 0.8.0", "spl-token-client", "spl-token-metadata-interface", "spl-type-length-value", @@ -7154,7 +7154,7 @@ dependencies = [ [[package]] name = "spl-token-metadata-interface" -version = "0.1.0" +version = "0.2.0" dependencies = [ "borsh 0.10.3", "serde", @@ -7181,7 +7181,7 @@ dependencies = [ "solana-sdk", "spl-math", "spl-token 4.0.0", - "spl-token-2022 0.7.0", + "spl-token-2022 0.8.0", "test-case", "thiserror", ] @@ -7209,7 +7209,7 @@ dependencies = [ "solana-program-test", "solana-sdk", "spl-token 4.0.0", - "spl-token-2022 0.7.0", + "spl-token-2022 0.8.0", "spl-token-client", "test-case", "thiserror", @@ -7228,9 +7228,9 @@ dependencies = [ "solana-remote-wallet", "solana-sdk", "solana-test-validator", - "spl-associated-token-account 2.0.0", + "spl-associated-token-account 2.1.0", "spl-token 4.0.0", - "spl-token-2022 0.7.0", + "spl-token-2022 0.8.0", "spl-token-client", "spl-token-upgrade", "tokio", @@ -7244,29 +7244,29 @@ dependencies = [ "bytemuck", "num_enum 0.7.0", "solana-program", - "spl-associated-token-account 2.0.0", + "spl-associated-token-account 2.1.0", "spl-token 4.0.0", - "spl-token-2022 0.7.0", + "spl-token-2022 0.8.0", "thiserror", ] [[package]] name = "spl-transfer-hook-example" -version = "0.1.0" +version = "0.2.0" dependencies = [ "arrayref", "solana-program", "solana-program-test", "solana-sdk", "spl-tlv-account-resolution", - "spl-token-2022 0.7.0", + "spl-token-2022 0.8.0", "spl-transfer-hook-interface", "spl-type-length-value", ] [[package]] name = "spl-transfer-hook-interface" -version = "0.1.0" +version = "0.2.0" dependencies = [ "arrayref", "bytemuck", @@ -7280,7 +7280,7 @@ dependencies = [ [[package]] name = "spl-type-length-value" -version = "0.2.0" +version = "0.3.0" dependencies = [ "bytemuck", "solana-program", @@ -7317,7 +7317,7 @@ dependencies = [ "solana-program", "solana-program-test", "solana-sdk", - "spl-associated-token-account 2.0.0", + "spl-associated-token-account 2.1.0", "spl-token 4.0.0", "thiserror", ] diff --git a/associated-token-account/program-test/Cargo.toml b/associated-token-account/program-test/Cargo.toml index 623ad462a79..f48a3a31dee 100644 --- a/associated-token-account/program-test/Cargo.toml +++ b/associated-token-account/program-test/Cargo.toml @@ -14,6 +14,6 @@ test-sbf = [] solana-program = "1.16.3" solana-program-test = "1.16.3" solana-sdk = "1.16.3" -spl-associated-token-account = { version = "2.0", path = "../program", features = ["no-entrypoint"] } +spl-associated-token-account = { version = "2", path = "../program", features = ["no-entrypoint"] } spl-token = { version = "4.0", path = "../../token/program", features = ["no-entrypoint"] } -spl-token-2022 = { version = "0.7", path = "../../token/program-2022", features = ["no-entrypoint"] } +spl-token-2022 = { version = "0.8", path = "../../token/program-2022", features = ["no-entrypoint"] } diff --git a/associated-token-account/program/Cargo.toml b/associated-token-account/program/Cargo.toml index 1ca4cde551b..565b740f127 100644 --- a/associated-token-account/program/Cargo.toml +++ b/associated-token-account/program/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "spl-associated-token-account" -version = "2.0.0" +version = "2.1.0" description = "Solana Program Library Associated Token Account" authors = ["Solana Labs Maintainers "] repository = "https://github.com/solana-labs/solana-program-library" @@ -18,7 +18,7 @@ num-derive = "0.4" num-traits = "0.2" solana-program = "1.16.3" spl-token = { version = "4.0", path = "../../token/program", features = ["no-entrypoint"] } -spl-token-2022 = { version = "0.7", path = "../../token/program-2022", features = ["no-entrypoint"] } +spl-token-2022 = { version = "0.8", path = "../../token/program-2022", features = ["no-entrypoint"] } thiserror = "1.0" [lib] diff --git a/libraries/pod/Cargo.toml b/libraries/pod/Cargo.toml index fd9346183dc..4ccfb476d1d 100644 --- a/libraries/pod/Cargo.toml +++ b/libraries/pod/Cargo.toml @@ -18,7 +18,7 @@ bytemuck = { version = "1.13.1" } serde = { version = "1.0.183", optional = true } solana-program = "1.16.3" solana-zk-token-sdk = "1.16.3" -spl-program-error = { version = "0.2.0", path = "../program-error" } +spl-program-error = { version = "0.3", path = "../program-error" } [dev-dependencies] serde_json = "1.0.105" diff --git a/libraries/program-error/Cargo.toml b/libraries/program-error/Cargo.toml index d06a9e7e4c3..9407fd89fa7 100644 --- a/libraries/program-error/Cargo.toml +++ b/libraries/program-error/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "spl-program-error" -version = "0.2.0" +version = "0.3.0" description = "Library for Solana Program error attributes and derive macro for creating them" authors = ["Solana Labs Maintainers "] repository = "https://github.com/solana-labs/solana-program-library" @@ -11,7 +11,7 @@ edition = "2021" num-derive = "0.4" num-traits = "0.2" solana-program = "1.16.3" -spl-program-error-derive = { version = "0.2.0", path = "./derive" } +spl-program-error-derive = { version = "0.3.0", path = "./derive" } thiserror = "1.0" [dev-dependencies] @@ -23,4 +23,4 @@ solana-sdk = "1.16.3" crate-type = ["cdylib", "lib"] [package.metadata.docs.rs] -targets = ["x86_64-unknown-linux-gnu"] \ No newline at end of file +targets = ["x86_64-unknown-linux-gnu"] diff --git a/libraries/program-error/derive/Cargo.toml b/libraries/program-error/derive/Cargo.toml index 4a3aaea5048..27877728007 100644 --- a/libraries/program-error/derive/Cargo.toml +++ b/libraries/program-error/derive/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "spl-program-error-derive" -version = "0.2.0" +version = "0.3.0" description = "Proc-Macro Library for Solana Program error attributes and derive macro" authors = ["Solana Labs Maintainers "] repository = "https://github.com/solana-labs/solana-program-library" diff --git a/libraries/tlv-account-resolution/Cargo.toml b/libraries/tlv-account-resolution/Cargo.toml index fad1af624de..cafb1fc1c7c 100644 --- a/libraries/tlv-account-resolution/Cargo.toml +++ b/libraries/tlv-account-resolution/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "spl-tlv-account-resolution" -version = "0.2.0" +version = "0.3.0" description = "Solana Program Library TLV Account Resolution Interface" authors = ["Solana Labs Maintainers "] repository = "https://github.com/solana-labs/solana-program-library" @@ -14,9 +14,9 @@ test-sbf = [] bytemuck = { version = "1.13.1", features = ["derive"] } solana-program = "1.16.3" spl-discriminator = { version = "0.1", path = "../discriminator" } -spl-program-error = { version = "0.2.0", path = "../program-error" } -spl-type-length-value = { version = "0.2", path = "../type-length-value" } -spl-pod = { version = "0.1.0", path = "../pod" } +spl-program-error = { version = "0.3", path = "../program-error" } +spl-type-length-value = { version = "0.3", path = "../type-length-value" } +spl-pod = { version = "0.1", path = "../pod" } [dev-dependencies] solana-program-test = "1.16.3" diff --git a/libraries/type-length-value-derive-test/Cargo.toml b/libraries/type-length-value-derive-test/Cargo.toml index 102128fe8bf..85c3a29df7b 100644 --- a/libraries/type-length-value-derive-test/Cargo.toml +++ b/libraries/type-length-value-derive-test/Cargo.toml @@ -11,4 +11,4 @@ edition = "2021" borsh = "0.10" solana-program = "1.16" spl-discriminator = { version = "0.1.0", path = "../discriminator" } -spl-type-length-value = { version = "0.2.0", path = "../type-length-value", features = ["derive"] } \ No newline at end of file +spl-type-length-value = { version = "0.3.0", path = "../type-length-value", features = ["derive"] } diff --git a/libraries/type-length-value/Cargo.toml b/libraries/type-length-value/Cargo.toml index 6a0d21c2f47..e5260c61db2 100644 --- a/libraries/type-length-value/Cargo.toml +++ b/libraries/type-length-value/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "spl-type-length-value" -version = "0.2.0" +version = "0.3.0" description = "Solana Program Library Type-Length-Value Management" authors = ["Solana Labs Maintainers "] repository = "https://github.com/solana-labs/solana-program-library" @@ -14,10 +14,10 @@ derive = ["dep:spl-type-length-value-derive"] [dependencies] bytemuck = { version = "1.13.1", features = ["derive"] } solana-program = "1.16.3" -spl-discriminator = { version = "0.1.0", path = "../discriminator" } -spl-program-error = { version = "0.2.0", path = "../program-error" } -spl-type-length-value-derive = { version = "0.1.0", path = "./derive", optional = true } -spl-pod = { version = "0.1.0", path = "../pod" } +spl-discriminator = { version = "0.1", path = "../discriminator" } +spl-program-error = { version = "0.3", path = "../program-error" } +spl-type-length-value-derive = { version = "0.1", path = "./derive", optional = true } +spl-pod = { version = "0.1", path = "../pod" } [lib] crate-type = ["cdylib", "lib"] diff --git a/single-pool/cli/Cargo.toml b/single-pool/cli/Cargo.toml index 964de72f786..c457df71ee1 100644 --- a/single-pool/cli/Cargo.toml +++ b/single-pool/cli/Cargo.toml @@ -28,7 +28,7 @@ solana-sdk = "=1.16.3" solana-transaction-status = "=1.16.3" solana-vote-program = "=1.16.3" spl-token = { version = "4.0", path="../../token/program", features = [ "no-entrypoint" ] } -spl-token-client = { version = "0.5", path="../../token/client" } +spl-token-client = { version = "0.6", path="../../token/client" } spl-associated-token-account = { version = "2.0", path="../../associated-token-account/program", features = [ "no-entrypoint" ] } spl-single-validator-pool = { version = "1.0.0", path="../program", features = [ "no-entrypoint" ] } diff --git a/stake-pool/cli/Cargo.toml b/stake-pool/cli/Cargo.toml index b269de34b71..b4cdccc3319 100644 --- a/stake-pool/cli/Cargo.toml +++ b/stake-pool/cli/Cargo.toml @@ -23,7 +23,7 @@ solana-logger = "=1.16.3" solana-program = "=1.16.3" solana-remote-wallet = "=1.16.3" solana-sdk = "=1.16.3" -spl-associated-token-account = { version = "=2.0", path="../../associated-token-account/program", features = [ "no-entrypoint" ] } +spl-associated-token-account = { version = "=2.1", path="../../associated-token-account/program", features = [ "no-entrypoint" ] } spl-stake-pool = { version = "=0.7.0", path="../program", features = [ "no-entrypoint" ] } spl-token = { version = "=4.0", path="../../token/program", features = [ "no-entrypoint" ] } bs58 = "0.4.0" diff --git a/stake-pool/program/Cargo.toml b/stake-pool/program/Cargo.toml index 4ba2812d91c..3eadc07c249 100644 --- a/stake-pool/program/Cargo.toml +++ b/stake-pool/program/Cargo.toml @@ -22,7 +22,7 @@ serde_derive = "1.0.103" solana-program = "1.16.3" spl-math = { version = "0.2", path = "../../libraries/math", features = [ "no-entrypoint" ] } spl-pod = { version = "0.1", path = "../../libraries/pod", features = ["borsh"] } -spl-token-2022 = { version = "0.7", path = "../../token/program-2022", features = [ "no-entrypoint" ] } +spl-token-2022 = { version = "0.8", path = "../../token/program-2022", features = [ "no-entrypoint" ] } thiserror = "1.0" bincode = "1.3.1" diff --git a/token-metadata/example/Cargo.toml b/token-metadata/example/Cargo.toml index d741e5dfd4b..21862798774 100644 --- a/token-metadata/example/Cargo.toml +++ b/token-metadata/example/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "spl-token-metadata-example" -version = "0.1.0" +version = "0.2.0" description = "Solana Program Library Token Metadata Example Program" authors = ["Solana Labs Maintainers "] repository = "https://github.com/solana-labs/solana-program-library" @@ -13,15 +13,15 @@ test-sbf = [] [dependencies] solana-program = "1.16.3" -spl-token-2022 = { version = "0.7", path = "../../token/program-2022" } -spl-token-metadata-interface = { version = "0.1.0", path = "../interface" } -spl-type-length-value = { version = "0.2.0" , path = "../../libraries/type-length-value" } +spl-token-2022 = { version = "0.8", path = "../../token/program-2022" } +spl-token-metadata-interface = { version = "0.2.0", path = "../interface" } +spl-type-length-value = { version = "0.3.0" , path = "../../libraries/type-length-value" } spl-pod = { version = "0.1.0", path = "../../libraries/pod" } [dev-dependencies] solana-program-test = "1.16.3" solana-sdk = "1.16.3" -spl-token-client = { version = "0.5", path = "../../token/client" } +spl-token-client = { version = "0.6", path = "../../token/client" } test-case = "3.1" [lib] diff --git a/token-metadata/interface/Cargo.toml b/token-metadata/interface/Cargo.toml index 96796e6ac21..e12ad1ea4fa 100644 --- a/token-metadata/interface/Cargo.toml +++ b/token-metadata/interface/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "spl-token-metadata-interface" -version = "0.1.0" +version = "0.2.0" description = "Solana Program Library Token Metadata Interface" authors = ["Solana Labs Maintainers "] repository = "https://github.com/solana-labs/solana-program-library" @@ -14,10 +14,10 @@ serde-traits = ["dep:serde", "spl-pod/serde-traits"] borsh = "0.10" serde = { version = "1.0.188", optional = true } solana-program = "1.16.3" -spl-discriminator = { version = "0.1.0" , path = "../../libraries/discriminator" } -spl-program-error = { version = "0.2.0" , path = "../../libraries/program-error" } -spl-type-length-value = { version = "0.2.0", path = "../../libraries/type-length-value" } -spl-pod = { version = "0.1.0", path = "../../libraries/pod", features = ["borsh"] } +spl-discriminator = { version = "0.1" , path = "../../libraries/discriminator" } +spl-program-error = { version = "0.3" , path = "../../libraries/program-error" } +spl-type-length-value = { version = "0.3", path = "../../libraries/type-length-value" } +spl-pod = { version = "0.1", path = "../../libraries/pod", features = ["borsh"] } [dev-dependencies] serde_json = "1.0.105" diff --git a/token-swap/program/Cargo.toml b/token-swap/program/Cargo.toml index d12214b2c49..fd50075a010 100644 --- a/token-swap/program/Cargo.toml +++ b/token-swap/program/Cargo.toml @@ -20,7 +20,7 @@ num-traits = "0.2" solana-program = "1.16.3" spl-math = { version = "0.2", path = "../../libraries/math", features = [ "no-entrypoint" ] } spl-token = { version = "4.0", path = "../../token/program", features = [ "no-entrypoint" ] } -spl-token-2022 = { version = "0.7", path = "../../token/program-2022", features = [ "no-entrypoint" ] } +spl-token-2022 = { version = "0.8", path = "../../token/program-2022", features = [ "no-entrypoint" ] } thiserror = "1.0" arbitrary = { version = "1.0", features = ["derive"], optional = true } roots = { version = "0.0.8", optional = true } diff --git a/token-upgrade/cli/Cargo.toml b/token-upgrade/cli/Cargo.toml index 2c52b64932f..cf05089e744 100644 --- a/token-upgrade/cli/Cargo.toml +++ b/token-upgrade/cli/Cargo.toml @@ -21,8 +21,8 @@ solana-remote-wallet = "1.16.3" solana-sdk = "1.16.3" spl-associated-token-account = { version = "2.0", path = "../../associated-token-account/program", features = ["no-entrypoint"] } spl-token = { version = "4.0", path = "../../token/program", features = ["no-entrypoint"] } -spl-token-2022 = { version = "0.7", path = "../../token/program-2022", features = ["no-entrypoint"] } -spl-token-client = { version = "0.5", path = "../../token/client" } +spl-token-2022 = { version = "0.8", path = "../../token/program-2022", features = ["no-entrypoint"] } +spl-token-client = { version = "0.6", path = "../../token/client" } spl-token-upgrade = { version = "0.1", path = "../program", features = ["no-entrypoint"] } tokio = { version = "1", features = ["full"] } diff --git a/token-upgrade/program/Cargo.toml b/token-upgrade/program/Cargo.toml index ab39c8c4692..e5303d9f7a7 100644 --- a/token-upgrade/program/Cargo.toml +++ b/token-upgrade/program/Cargo.toml @@ -16,14 +16,14 @@ num-derive = "0.4" num-traits = "0.2" num_enum = "0.7.0" solana-program = "1.16.3" -spl-token-2022 = { version = "0.7", path = "../../token/program-2022", features = ["no-entrypoint"] } +spl-token-2022 = { version = "0.8", path = "../../token/program-2022", features = ["no-entrypoint"] } thiserror = "1.0" [dev-dependencies] solana-program-test = "1.16.3" solana-sdk = "1.16.3" spl-token = { version = "4.0", path = "../../token/program", features = ["no-entrypoint"] } -spl-token-client = { version = "0.5", path = "../../token/client" } +spl-token-client = { version = "0.6", path = "../../token/client" } test-case = "3.1" [lib] diff --git a/token-wrap/program/Cargo.toml b/token-wrap/program/Cargo.toml index e0e00dc2320..7193e82ca20 100644 --- a/token-wrap/program/Cargo.toml +++ b/token-wrap/program/Cargo.toml @@ -17,7 +17,7 @@ num_enum = "0.7" solana-program = "1.16.3" spl-associated-token-account = { version = "2.0", path = "../../associated-token-account/program", features = ["no-entrypoint"] } spl-token = { version = "4.0", path = "../../token/program", features = ["no-entrypoint"] } -spl-token-2022 = { version = "0.7", path = "../../token/program-2022", features = ["no-entrypoint"] } +spl-token-2022 = { version = "0.8", path = "../../token/program-2022", features = ["no-entrypoint"] } thiserror = "1.0" [lib] diff --git a/token/cli/Cargo.toml b/token/cli/Cargo.toml index c015e6bb6ca..46b247b624f 100644 --- a/token/cli/Cargo.toml +++ b/token/cli/Cargo.toml @@ -6,7 +6,7 @@ homepage = "https://spl.solana.com/token" license = "Apache-2.0" name = "spl-token-cli" repository = "https://github.com/solana-labs/solana-program-library" -version = "3.0.0" +version = "3.1.0" [build-dependencies] walkdir = "2" @@ -27,9 +27,9 @@ solana-remote-wallet = "=1.16.3" solana-sdk = "=1.16.3" solana-transaction-status = "=1.16.3" spl-token = { version = "4.0", path="../program", features = [ "no-entrypoint" ] } -spl-token-2022 = { version = "0.7", path="../program-2022", features = [ "no-entrypoint" ] } -spl-token-client = { version = "0.5", path="../client" } -spl-token-metadata-interface = { version = "0.1", path="../../token-metadata/interface" } +spl-token-2022 = { version = "0.8", path="../program-2022", features = [ "no-entrypoint" ] } +spl-token-client = { version = "0.6", path="../client" } +spl-token-metadata-interface = { version = "0.2", path="../../token-metadata/interface" } spl-associated-token-account = { version = "2.0", path="../../associated-token-account/program", features = [ "no-entrypoint" ] } spl-memo = { version = "4.0.0", path="../../memo/program", features = ["no-entrypoint"] } strum = "0.25" diff --git a/token/client/Cargo.toml b/token/client/Cargo.toml index 38290df7e45..1397a30cbf1 100644 --- a/token/client/Cargo.toml +++ b/token/client/Cargo.toml @@ -5,7 +5,7 @@ edition = "2021" license = "Apache-2.0" name = "spl-token-client" repository = "https://github.com/solana-labs/solana-program-library" -version = "0.5.1" +version = "0.6.0" [dependencies] async-trait = "0.1" @@ -22,9 +22,9 @@ solana-sdk = "1.16.3" spl-associated-token-account = { version = "2.0", path = "../../associated-token-account/program", features = ["no-entrypoint"] } spl-memo = { version = "4.0.0", path = "../../memo/program", features = ["no-entrypoint"] } spl-token = { version = "4.0", path="../program", features = [ "no-entrypoint" ] } -spl-token-2022 = { version = "0.7", path="../program-2022" } -spl-token-metadata-interface = { version = "0.1", path="../../token-metadata/interface" } -spl-transfer-hook-interface = { version = "0.1", path="../transfer-hook-interface" } +spl-token-2022 = { version = "0.8", path="../program-2022" } +spl-token-metadata-interface = { version = "0.2", path="../../token-metadata/interface" } +spl-transfer-hook-interface = { version = "0.2", path="../transfer-hook-interface" } thiserror = "1.0" [features] diff --git a/token/program-2022-test/Cargo.toml b/token/program-2022-test/Cargo.toml index 79ffe3e64cf..e9900515c9a 100644 --- a/token/program-2022-test/Cargo.toml +++ b/token/program-2022-test/Cargo.toml @@ -26,10 +26,10 @@ solana-sdk = "=1.16.3" spl-associated-token-account = { version = "2.0", path = "../../associated-token-account/program" } spl-memo = { version = "4.0.0", path = "../../memo/program", features = ["no-entrypoint"] } spl-pod = { version = "0.1.0", path = "../../libraries/pod" } -spl-token-2022 = { version = "0.7", path="../program-2022", features = ["no-entrypoint"] } +spl-token-2022 = { version = "0.8", path="../program-2022", features = ["no-entrypoint"] } spl-instruction-padding = { version = "0.1.0", path="../../instruction-padding/program", features = ["no-entrypoint"] } -spl-token-client = { version = "0.5", path = "../client" } -spl-token-metadata-interface = { version = "0.1", path = "../../token-metadata/interface" } -spl-transfer-hook-example = { version = "0.1", path="../transfer-hook-example", features = ["no-entrypoint"] } -spl-transfer-hook-interface = { version = "0.1", path="../transfer-hook-interface" } +spl-token-client = { version = "0.6", path = "../client" } +spl-token-metadata-interface = { version = "0.2", path = "../../token-metadata/interface" } +spl-transfer-hook-example = { version = "0.2", path="../transfer-hook-example", features = ["no-entrypoint"] } +spl-transfer-hook-interface = { version = "0.2", path="../transfer-hook-interface" } test-case = "3.1" diff --git a/token/program-2022/Cargo.toml b/token/program-2022/Cargo.toml index 6d2140e1071..a2c0c7d0ea7 100644 --- a/token/program-2022/Cargo.toml +++ b/token/program-2022/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "spl-token-2022" -version = "0.7.0" +version = "0.8.0" description = "Solana Program Library Token 2022" authors = ["Solana Labs Maintainers "] repository = "https://github.com/solana-labs/solana-program-library" @@ -27,9 +27,9 @@ solana-program = "1.16.3" solana-zk-token-sdk = "1.16.3" spl-memo = { version = "4.0.0", path = "../../memo/program", features = [ "no-entrypoint" ] } spl-token = { version = "4.0", path = "../program", features = ["no-entrypoint"] } -spl-token-metadata-interface = { version = "0.1.0", path = "../../token-metadata/interface" } -spl-transfer-hook-interface = { version = "0.1.0", path = "../transfer-hook-interface" } -spl-type-length-value = { version = "0.2.0", path = "../../libraries/type-length-value" } +spl-token-metadata-interface = { version = "0.2.0", path = "../../token-metadata/interface" } +spl-transfer-hook-interface = { version = "0.2.0", path = "../transfer-hook-interface" } +spl-type-length-value = { version = "0.3.0", path = "../../libraries/type-length-value" } spl-pod = { version = "0.1.0", path = "../../libraries/pod" } thiserror = "1.0" serde = { version = "1.0.188", optional = true } diff --git a/token/transfer-hook-example/Cargo.toml b/token/transfer-hook-example/Cargo.toml index 91a609c5ead..1350b833249 100644 --- a/token/transfer-hook-example/Cargo.toml +++ b/token/transfer-hook-example/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "spl-transfer-hook-example" -version = "0.1.0" +version = "0.2.0" description = "Solana Program Library Transfer Hook Example Program" authors = ["Solana Labs Maintainers "] repository = "https://github.com/solana-labs/solana-program-library" @@ -14,10 +14,10 @@ test-sbf = [] [dependencies] arrayref = "0.3.7" solana-program = "1.16.3" -spl-tlv-account-resolution = { version = "0.2.0" , path = "../../libraries/tlv-account-resolution" } -spl-token-2022 = { version = "0.7", path = "../program-2022", features = ["no-entrypoint"] } -spl-transfer-hook-interface = { version = "0.1.0" , path = "../transfer-hook-interface" } -spl-type-length-value = { version = "0.2.0" , path = "../../libraries/type-length-value" } +spl-tlv-account-resolution = { version = "0.3" , path = "../../libraries/tlv-account-resolution" } +spl-token-2022 = { version = "0.8", path = "../program-2022", features = ["no-entrypoint"] } +spl-transfer-hook-interface = { version = "0.2" , path = "../transfer-hook-interface" } +spl-type-length-value = { version = "0.3" , path = "../../libraries/type-length-value" } [dev-dependencies] solana-program-test = "1.16.3" diff --git a/token/transfer-hook-interface/Cargo.toml b/token/transfer-hook-interface/Cargo.toml index 62e943ffd8d..650c262e42b 100644 --- a/token/transfer-hook-interface/Cargo.toml +++ b/token/transfer-hook-interface/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "spl-transfer-hook-interface" -version = "0.1.0" +version = "0.2.0" description = "Solana Program Library Transfer Hook Interface" authors = ["Solana Labs Maintainers "] repository = "https://github.com/solana-labs/solana-program-library" @@ -11,11 +11,11 @@ edition = "2021" arrayref = "0.3.7" bytemuck = { version = "1.13.1", features = ["derive"] } solana-program = "1.16.3" -spl-discriminator = { version = "0.1.0" , path = "../../libraries/discriminator" } -spl-program-error = { version = "0.2.0" , path = "../../libraries/program-error" } -spl-tlv-account-resolution = { version = "0.2.0" , path = "../../libraries/tlv-account-resolution" } -spl-type-length-value = { version = "0.2.0" , path = "../../libraries/type-length-value" } -spl-pod = { version = "0.1.0", path = "../../libraries/pod" } +spl-discriminator = { version = "0.1" , path = "../../libraries/discriminator" } +spl-program-error = { version = "0.3" , path = "../../libraries/program-error" } +spl-tlv-account-resolution = { version = "0.3" , path = "../../libraries/tlv-account-resolution" } +spl-type-length-value = { version = "0.3" , path = "../../libraries/type-length-value" } +spl-pod = { version = "0.1", path = "../../libraries/pod" } [lib] crate-type = ["cdylib", "lib"]