Repository: solana-labs/solana-program-library
Pull request #6636 (2024-04-25 23:28:17)

token-client: Bump for token-cli release
#### Problem

We want to publish a new token-cli, but token-client had a breaking change with the new `ComputeUnitLimit` enum.

#### Solution

Bump to 0.10.0 for the next release.


Patch:
diff --git a/Cargo.lock b/Cargo.lock
index ced9df059..7cf21564a 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -7639,7 +7639,7 @@ dependencies = [
 
 [[package]]
 name = "spl-token-client"
-version = "0.9.2"
+version = "0.10.0"
 dependencies = [
  "async-trait",
  "curve25519-dalek",
diff --git a/single-pool/cli/Cargo.toml b/single-pool/cli/Cargo.toml
index a521b8ef5..ac493b1dd 100644
--- a/single-pool/cli/Cargo.toml
+++ b/single-pool/cli/Cargo.toml
@@ -30,7 +30,7 @@ solana-vote-program = ">=1.18.11,<=2"
 spl-token = { version = "4.0", path = "../../token/program", features = [
   "no-entrypoint",
 ] }
-spl-token-client = { version = "0.9.2", path = "../../token/client" }
+spl-token-client = { version = "0.10.0", path = "../../token/client" }
 spl-associated-token-account = { version = "3.0.2", path = "../../associated-token-account/program", features = [
   "no-entrypoint",
 ] }
diff --git a/token-collection/program/Cargo.toml b/token-collection/program/Cargo.toml
index 961b0be88..9799aa97a 100644
--- a/token-collection/program/Cargo.toml
+++ b/token-collection/program/Cargo.toml
@@ -25,7 +25,7 @@ spl-type-length-value = { version = "0.4.3", path = "../../libraries/type-length
 solana-program-test = ">=1.18.11,<=2"
 solana-sdk = ">=1.18.11,<=2"
 spl-discriminator = { version = "0.2.2", path = "../../libraries/discriminator" }
-spl-token-client = { version = "0.9.2", path = "../../token/client" }
+spl-token-client = { version = "0.10.0", path = "../../token/client" }
 
 [lib]
 crate-type = ["cdylib", "lib"]
diff --git a/token-group/example/Cargo.toml b/token-group/example/Cargo.toml
index a48418645..9c4d5d0a2 100644
--- a/token-group/example/Cargo.toml
+++ b/token-group/example/Cargo.toml
@@ -22,7 +22,7 @@ spl-type-length-value = { version = "0.4.3", path = "../../libraries/type-length
 solana-program-test = ">=1.18.11,<=2"
 solana-sdk = ">=1.18.11,<=2"
 spl-discriminator = { version = "0.2.2", path = "../../libraries/discriminator" }
-spl-token-client = { version = "0.9.2", path = "../../token/client" }
+spl-token-client = { version = "0.10.0", path = "../../token/client" }
 spl-token-metadata-interface = { version = "0.3.3", path = "../../token-metadata/interface" }
 
 [lib]
diff --git a/token-metadata/example/Cargo.toml b/token-metadata/example/Cargo.toml
index 8908953c1..175ebdb2d 100644
--- a/token-metadata/example/Cargo.toml
+++ b/token-metadata/example/Cargo.toml
@@ -21,7 +21,7 @@ spl-pod = { version = "0.2.2", path = "../../libraries/pod" }
 [dev-dependencies]
 solana-program-test = ">=1.18.11,<=2"
 solana-sdk = ">=1.18.11,<=2"
-spl-token-client = { version = "0.9.2", path = "../../token/client" }
+spl-token-client = { version = "0.10.0", path = "../../token/client" }
 test-case = "3.3"
 
 [lib]
diff --git a/token-upgrade/cli/Cargo.toml b/token-upgrade/cli/Cargo.toml
index 55c0f2957..5887dceb9 100644
--- a/token-upgrade/cli/Cargo.toml
+++ b/token-upgrade/cli/Cargo.toml
@@ -22,7 +22,7 @@ solana-sdk = ">=1.18.11,<=2"
 spl-associated-token-account = { version = "3.0.2", path = "../../associated-token-account/program", features = ["no-entrypoint"] }
 spl-token = { version = "4.0", path = "../../token/program", features = ["no-entrypoint"] }
 spl-token-2022 = { version = "3.0.2", path = "../../token/program-2022", features = ["no-entrypoint"] }
-spl-token-client = { version = "0.9.2", path = "../../token/client" }
+spl-token-client = { version = "0.10.0", 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 e516224ab..b24acb973 100644
--- a/token-upgrade/program/Cargo.toml
+++ b/token-upgrade/program/Cargo.toml
@@ -23,7 +23,7 @@ thiserror = "1.0"
 solana-program-test = ">=1.18.11,<=2"
 solana-sdk = ">=1.18.11,<=2"
 spl-token = { version = "4.0", path = "../../token/program", features = ["no-entrypoint"] }
-spl-token-client = { version = "0.9.2", path = "../../token/client" }
+spl-token-client = { version = "0.10.0", path = "../../token/client" }
 test-case = "3.3"
 
 [lib]
diff --git a/token/cli/Cargo.toml b/token/cli/Cargo.toml
index 0ca758b1e..ee1a6197d 100644
--- a/token/cli/Cargo.toml
+++ b/token/cli/Cargo.toml
@@ -34,7 +34,7 @@ spl-token = { version = "4.0", path = "../program", features = [
 spl-token-2022 = { version = "3.0.2", path = "../program-2022", features = [
   "no-entrypoint",
 ] }
-spl-token-client = { version = "0.9.2", path = "../client" }
+spl-token-client = { version = "0.10.0", path = "../client" }
 spl-token-metadata-interface = { version = "0.3.3", path = "../../token-metadata/interface" }
 spl-token-group-interface = { version = "0.2.3", path = "../../token-group/interface" }
 spl-associated-token-account = { version = "3.0.2", path = "../../associated-token-account/program", features = [
diff --git a/token/client/Cargo.toml b/token/client/Cargo.toml
index db24f5f43..2d58adb00 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.9.2"
+version = "0.10.0"
 
 [dependencies]
 async-trait = "0.1"
diff --git a/token/transfer-hook/cli/Cargo.toml b/token/transfer-hook/cli/Cargo.toml
index 02e916f81..9e2deb5c6 100644
--- a/token/transfer-hook/cli/Cargo.toml
+++ b/token/transfer-hook/cli/Cargo.toml
@@ -29,7 +29,7 @@ serde_yaml = "0.9.34"
 [dev-dependencies]
 solana-test-validator = ">=1.18.11,<=2"
 spl-token-2022 = { version = "3.0.2", path = "../../program-2022", features = ["no-entrypoint"] }
-spl-token-client = { version = "0.9.2", path = "../../client" }
+spl-token-client = { version = "0.10.0", 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 4c04f5210..31880a8fd 100644
--- a/token/program-2022-test/Cargo.toml
+++ b/token/program-2022-test/Cargo.toml
@@ -34,7 +34,7 @@ spl-instruction-padding = { version = "0.1.1", path = "../../instruction-padding
   "no-entrypoint",
 ] }
 spl-tlv-account-resolution = { version = "0.6.3", path = "../../libraries/tlv-account-resolution" }
-spl-token-client = { version = "0.9.2", path = "../client" }
+spl-token-client = { version = "0.10.0", path = "../client" }
 spl-token-group-interface = { version = "0.2.3", path = "../../token-group/interface" }
 spl-token-metadata-interface = { version = "0.3.3", path = "../../token-metadata/interface" }
 spl-transfer-hook-example = { version = "0.6", path = "../transfer-hook/example", features = [