Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

release: Bump tlv-account-resolution and dependents #5367

Merged
merged 1 commit into from
Sep 26, 2023

Conversation

joncinque
Copy link
Contributor

Problem

We want to use a new version of spl-token-2022, but its version on master depends on spl-tlv-account-resolution, which made a breaking change to support deriving PDAs from account data.

Solution

Bump tlv-account-resolution and everything that depends on it to a new minor version. The idea was to do a minor version bump on things that we want to release, and things that would break because of the change.

Copy link
Contributor

@buffalojoec buffalojoec left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Whew! Just asking for clarification on the minor bump/release plan(s)

Comment on lines 13 to 27

[dependencies]
solana-program = "1.16.13"
spl-token-2022 = { version = "0.8", path = "../../token/program-2022" }
spl-token-2022 = { version = "0.9", 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.13"
solana-sdk = "1.16.13"
spl-token-client = { version = "0.6", path = "../../token/client" }
spl-token-client = { version = "0.7", path = "../../token/client" }
test-case = "3.2"

[lib]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we want to bump the minor version of the Token Metadata example considering these dependency changes?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess I don't see you doing that in a few other libs, maybe not necessary? Like stake-pool and the swap/upgrade/wrap programs.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, pretty much I want to publish everything necessary for a new token-2022 to be used in the monorepo, which is only the core crates. We can bump all the other programs at some other point and release them separately

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok sgtm!

Copy link
Contributor

@buffalojoec buffalojoec left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎉

@joncinque joncinque merged commit dd372fd into solana-labs:master Sep 26, 2023
32 checks passed
@joncinque joncinque deleted the tlvarbump branch September 26, 2023 15:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants