Repository: solana-labs/solana-program-library
Pull request #5689 (2023-10-29 12:54:00)

token-cli{,ent}: Bump version for release
#### Problem

The token-cli supports confidential operations, but it hasn't been released yet!

#### Solution

Bump it (and spl-token-client` to new minor versions for the next release.

Note: this should land after #5688


Patch:
diff --git a/Cargo.lock b/Cargo.lock
index d773ad0bf..b6a7649fe 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -7285,7 +7285,7 @@ dependencies = [
 
 [[package]]
 name = "spl-token-cli"
-version = "3.2.0"
+version = "3.3.0"
 dependencies = [
  "assert_cmd",
  "base64 0.21.5",
@@ -7321,7 +7321,7 @@ dependencies = [
 
 [[package]]
 name = "spl-token-client"
-version = "0.7.1"
+version = "0.8.0"
 dependencies = [
  "async-trait",
  "curve25519-dalek",
diff --git a/single-pool/cli/Cargo.toml b/single-pool/cli/Cargo.toml
index 4f7cf74e9..71d5efdf4 100644
--- a/single-pool/cli/Cargo.toml
+++ b/single-pool/cli/Cargo.toml
@@ -28,7 +28,7 @@ solana-sdk = "=1.17.2"
 solana-transaction-status = "=1.17.2"
 solana-vote-program = "=1.17.2"
 spl-token = { version = "4.0", path="../../token/program", features = [ "no-entrypoint" ] }
-spl-token-client = { version = "0.7", path="../../token/client" }
+spl-token-client = { version = "0.8", path="../../token/client" }
 spl-associated-token-account = { version = "2.0", path="../../associated-token-account/program", features = [ "no-entrypoint" ] }
 spl-single-pool = { version = "1.0.0", path="../program", features = [ "no-entrypoint" ] }
 
diff --git a/token-collection/program/Cargo.toml b/token-collection/program/Cargo.toml
index 33f2c54ee..17dc059c9 100644
--- a/token-collection/program/Cargo.toml
+++ b/token-collection/program/Cargo.toml
@@ -25,10 +25,10 @@ spl-type-length-value = { version = "0.3.0", path = "../../libraries/type-length
 solana-program-test = "1.17.2"
 solana-sdk = "1.17.2"
 spl-discriminator = { version = "0.1.0", path = "../../libraries/discriminator" }
-spl-token-client = { version = "0.7", path = "../../token/client" }
+spl-token-client = { version = "0.8", path = "../../token/client" }
 
 [lib]
 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/token-group/example/Cargo.toml b/token-group/example/Cargo.toml
index a1c1849ed..e970c2d0b 100644
--- a/token-group/example/Cargo.toml
+++ b/token-group/example/Cargo.toml
@@ -22,11 +22,11 @@ spl-type-length-value = { version = "0.3.0", path = "../../libraries/type-length
 solana-program-test = "1.17.2"
 solana-sdk = "1.17.2"
 spl-discriminator = { version = "0.1.0", path = "../../libraries/discriminator" }
-spl-token-client = { version = "0.7", path = "../../token/client" }
+spl-token-client = { version = "0.8", path = "../../token/client" }
 spl-token-metadata-interface = { version = "0.2", path = "../../token-metadata/interface" }
 
 [lib]
 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/token-metadata/example/Cargo.toml b/token-metadata/example/Cargo.toml
index 429eb40ac..acc64649b 100644
--- a/token-metadata/example/Cargo.toml
+++ b/token-metadata/example/Cargo.toml
@@ -21,7 +21,7 @@ spl-pod = { version = "0.1.0", path = "../../libraries/pod" }
 [dev-dependencies]
 solana-program-test = "1.17.2"
 solana-sdk = "1.17.2"
-spl-token-client = { version = "0.7", path = "../../token/client" }
+spl-token-client = { version = "0.8", path = "../../token/client" }
 test-case = "3.2"
 
 [lib]
diff --git a/token-upgrade/cli/Cargo.toml b/token-upgrade/cli/Cargo.toml
index 3f326f391..64e3edc16 100644
--- a/token-upgrade/cli/Cargo.toml
+++ b/token-upgrade/cli/Cargo.toml
@@ -22,7 +22,7 @@ solana-sdk = "1.17.2"
 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.9", path = "../../token/program-2022", features = ["no-entrypoint"] }
-spl-token-client = { version = "0.7", path = "../../token/client" }
+spl-token-client = { version = "0.8", 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 7c8f3d366..315bbe403 100644
--- a/token-upgrade/program/Cargo.toml
+++ b/token-upgrade/program/Cargo.toml
@@ -23,7 +23,7 @@ thiserror = "1.0"
 solana-program-test = "1.17.2"
 solana-sdk = "1.17.2"
 spl-token = { version = "4.0", path = "../../token/program", features = ["no-entrypoint"] }
-spl-token-client = { version = "0.7", path = "../../token/client" }
+spl-token-client = { version = "0.8", path = "../../token/client" }
 test-case = "3.2"
 
 [lib]
diff --git a/token/cli/Cargo.toml b/token/cli/Cargo.toml
index 9a87eba34..62c485ee0 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.2.0"
+version = "3.3.0"
 
 [build-dependencies]
 walkdir = "2"
@@ -34,7 +34,7 @@ spl-token = { version = "4.0", path = "../program", features = [
 spl-token-2022 = { version = "0.9", path = "../program-2022", features = [
   "no-entrypoint",
 ] }
-spl-token-client = { version = "0.7", path = "../client" }
+spl-token-client = { version = "0.8", 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",
diff --git a/token/cli/src/main.rs b/token/cli/src/main.rs
index ed00d7612..7a8bac38d 100644
--- a/token/cli/src/main.rs
+++ b/token/cli/src/main.rs
@@ -5306,7 +5306,6 @@ fn app<'a, 'b>(
                         .validator(is_valid_pubkey)
                         .value_name("TOKEN_ACCOUNT_ADDRESS")
                         .takes_value(true)
-                        .conflicts_with("token")
                         .help("The address of the token account to configure confidential transfers for \
                             [default: owner's associated token account]")
                 )
@@ -5374,7 +5373,6 @@ fn app<'a, 'b>(
                         .validator(is_valid_pubkey)
                         .value_name("TOKEN_ACCOUNT_ADDRESS")
                         .takes_value(true)
-                        .conflicts_with("token")
                         .help("The address of the token account to configure confidential transfers for \
                             [default: owner's associated token account]")
                 )
diff --git a/token/cli/src/output.rs b/token/cli/src/output.rs
index b57d87121..2d0d0d9d5 100644
--- a/token/cli/src/output.rs
+++ b/token/cli/src/output.rs
@@ -759,7 +759,7 @@ fn display_ui_extension(
             writeln!(
                 f,
                 "    {}: {}",
-                style("Authority:").bold(),
+                style("Authority").bold(),
                 if let Some(authority) = authority.as_ref() {
                     authority
                 } else {
@@ -779,7 +779,7 @@ fn display_ui_extension(
             writeln!(
                 f,
                 "    {}: {}",
-                style("Audit key:").bold(),
+                style("Audit key").bold(),
                 if let Some(auditor_pubkey) = auditor_elgamal_pubkey.as_ref() {
                     auditor_pubkey
                 } else {
diff --git a/token/client/Cargo.toml b/token/client/Cargo.toml
index 9544e25e6..3d8975a58 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.7.1"
+version = "0.8.0"
 
 [dependencies]
 async-trait = "0.1"
diff --git a/token/transfer-hook/cli/Cargo.toml b/token/transfer-hook/cli/Cargo.toml
index b9f155024..7bb6efd4f 100644
--- a/token/transfer-hook/cli/Cargo.toml
+++ b/token/transfer-hook/cli/Cargo.toml
@@ -26,7 +26,7 @@ tokio = { version = "1", features = ["full"] }
 [dev-dependencies]
 solana-test-validator = "=1.17.2"
 spl-token-2022 = { version = "0.9", path = "../../program-2022", features = ["no-entrypoint"] }
-spl-token-client = { version = "0.7", path = "../../client" }
+spl-token-client = { version = "0.8", path = "../../client" }
 
 [[bin]]
 name = "spl-transfer-hook"


Test patch:
diff --git a/token/program-2022-test/Cargo.toml b/token/program-2022-test/Cargo.toml
index 3ecd10c68..ec702843f 100644
--- a/token/program-2022-test/Cargo.toml
+++ b/token/program-2022-test/Cargo.toml
@@ -28,7 +28,7 @@ spl-memo = { version = "4.0.0", path = "../../memo/program", features = ["no-ent
 spl-pod = { version = "0.1.0", path = "../../libraries/pod" }
 spl-token-2022 = { version = "0.9", 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.7", path = "../client" }
+spl-token-client = { version = "0.8", path = "../client" }
 spl-token-metadata-interface = { version = "0.2", path = "../../token-metadata/interface" }
 spl-transfer-hook-example = { version = "0.3", path="../transfer-hook/example", features = ["no-entrypoint"] }
 spl-transfer-hook-interface = { version = "0.3", path="../transfer-hook/interface" }