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
Removing source files for never released v2 tokens #640
Conversation
|
Hey @rezrah are you using the tokens or the scripts related to Are you using anything from the |
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.
V2 tokens were never really released so they don't need to be deprecated.
Yeah, we never "officially released" the v2 tokens. But we already started to use them in PVC, PCSS and even on dotcom.
It should be fine to remove the v2 tokens, since hopefully all cases have a fallback (e.g. hard coded 1px
). Although if feels more correct to:
- Release v8 tokens
- Replace all v2 with v8 tokens
- Remove v2 tokens from Primitives.
/cc @langermank
@simurai @lukasoppermann I already removed all references to v2 in dotcom/PCSS/PVC/PRC and pointed them to v8 (the secret pre-release) 😄 the only thing holding this back is Brand, but we haven't heard back from Reza yet if that's an issue. |
I actually talked to @rezrah and they are using v2 tokens. So I think we need to do it like this:
Alternatively they may be able to just pull in a specific |
EDIT after seeing @lukasoppermann' closely-timed update above. That plan looks good to me, thanks 🙇 Thanks for the ping, and sorry for the late response. I'm likely missing some background on this change, could I ask why these need to be removed right now? V2 tokens are still a core dependency for Primer Brand, so I'm a little worried that removing this will effectively cut the library off from future updates. I'd also speculate that migration effort from v2 to v8 is quite substantial, which we haven't factored in this quarter. If you need to go-ahead with this, no worries.. we can look to prioritise upgrading with urgency 👍 ... alternatively, you could leave them in for now and I can remove these files after the Primer Brand upgrade is complete. |
@rezrah I think we don't need to rip it out immediately. How about this:
This gives you some time to update brand and once you have it updated we can remove the tokens & pipeline. |
Summary
V2 tokens were never really released so they don't need to be deprecated.
Todo before merging