Skip to content

Commit

Permalink
release: Bump token-2022 and all dependencies (#5189)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
joncinque authored Sep 1, 2023
1 parent cfaabb5 commit f35dc5f
Show file tree
Hide file tree
Showing 24 changed files with 101 additions and 101 deletions.
70 changes: 35 additions & 35 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions associated-token-account/program-test/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"] }
4 changes: 2 additions & 2 deletions associated-token-account/program/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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 <[email protected]>"]
repository = "https://github.com/solana-labs/solana-program-library"
Expand All @@ -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]
Expand Down
2 changes: 1 addition & 1 deletion libraries/pod/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
6 changes: 3 additions & 3 deletions libraries/program-error/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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 <[email protected]>"]
repository = "https://github.com/solana-labs/solana-program-library"
Expand All @@ -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]
Expand All @@ -23,4 +23,4 @@ solana-sdk = "1.16.3"
crate-type = ["cdylib", "lib"]

[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
targets = ["x86_64-unknown-linux-gnu"]
2 changes: 1 addition & 1 deletion libraries/program-error/derive/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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 <[email protected]>"]
repository = "https://github.com/solana-labs/solana-program-library"
Expand Down
8 changes: 4 additions & 4 deletions libraries/tlv-account-resolution/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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 <[email protected]>"]
repository = "https://github.com/solana-labs/solana-program-library"
Expand All @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion libraries/type-length-value-derive-test/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"] }
spl-type-length-value = { version = "0.3.0", path = "../type-length-value", features = ["derive"] }
10 changes: 5 additions & 5 deletions libraries/type-length-value/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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 <[email protected]>"]
repository = "https://github.com/solana-labs/solana-program-library"
Expand All @@ -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"]
Expand Down
Loading

0 comments on commit f35dc5f

Please sign in to comment.