-
Notifications
You must be signed in to change notification settings - Fork 40
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
Reconsider asterisk-versioning of @csstools/normalize.css and sanitize.css #63
Comments
I think pinning the version is reasonable. We would need to coordinate releases of sanitize.css, normalize.css, and postcss-normalize. But since I run all of them, the coordination is more logistical than organizational. |
I'm not clear on why you would need more coordination with a pinned version. The entire purpose of pinning to a specific version (or range of versions) is to prevent issues in one package from impacting another. Currently, the package seems to be broken due to the latest version of |
I tried breaking this down. Looking for critical feedback on the below: What Happened, When
At the time of it's release, the following versions of
Steps Taken To Resolve So Far
Risks That Still RemainWhile all of the above was happening, From the changelog:
This is fine in and of itself, but not when it is also We don't know the impact of this auto-upgrade through breaking changes, it didn't break as loudly as Current State
AnalysisWe generally cannot make many assumptions about what users in the wild have downloaded when resolving Users experiencing issues on v9 likely are using the Pinning to an earlier version is problematic because you cannot undo a semver violation with another one. Why? Teams might have mitigated the changes from an auto-upgrade, only for a good-natured patch fix changing it back. Two wrongs don't make a right with semver. Proposed PlanGiven the timeframes involved and the likely need to support both postcss7 and postcss8 ecosystem, I'd suggest the following: v9/postcss7
v10/postcss8
v11/postcss8
What About
|
Seems fair. I've released version 13 with pinned versions. |
Context
[email protected]
introduced support for normalize and sanitze.css via #43.This generous version range broke v10 and v9 ecosystems when
sanitize.css
removed a file thatpostcss-normalize
imported.#60 resolved the issue for v10, but this is not addressing the root cause, only fixing the problem until it breaks again. The changelog even alludes to the uncomfortable position we are in.
Question
Are you in theory amenable to work to remove asterisk-based versioning for direct dependencies, whether done yourself or contributed from the community? Previous comments linked above in #58 seem to indicate yes.
sanitize.css
to12.x
versioning #59 takes steps in this directionThe text was updated successfully, but these errors were encountered: