-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Conversation
There was a problem hiding this 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)
|
||
[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] |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok sgtm!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎉
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.