-
Notifications
You must be signed in to change notification settings - Fork 842
Update dependency scssphp/scssphp to v2 #45757
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
Conversation
|
|
Are you an Automattician? Please test your changes on all WordPress.com environments to help mitigate accidental explosions.
Interested in more tips and information?
|
|
Renovate failure aside, I realized too late that this requires PHP 8.1+. 😢 |
Code Coverage SummaryThis PR did not change code coverage! That could be good or bad, depending on the situation. Everything covered before, and still is? Great! Nothing was covered before? Not so great. 🤷 |
We may be able to do this. While And as for jetpack/projects/packages/jetpack-mu-wpcom/composer.json Lines 6 to 7 in 9bf43b4
|
6069946 to
c6aaa11
Compare
Edited/Blocked NotificationRenovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR. You can manually request rebase by checking the rebase/retry box above. |
tbradsha
left a comment
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.
Seems to work on WoW and Simple for me. As mentioned inline, I don't think we need to keep it at PHP 8.1 unless you want to.
| "_comment": [ | ||
| "Dependency on symfony/filesystem is so scssphp/scssphp doesn't bring in 7.x which requires PHP 8.2." | ||
| ], |
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 think we should be safe to switch to >= PHP 8.2 for this specific feature.
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 asked the Atomic team, and they weren't sure that some of the remaining 8.1 sites in the "internal" group weren't using wpcomsh. So to be safe, let's stick with 8.1 for now until they give the all-clear.
This PR contains the following updates:
1.13.0->2.0.1Release Notes
scssphp/scssphp (scssphp/scssphp)
v2.0.1: 2.0.1Compare Source
Fixed
v2.0.0: 2.0.0Compare Source
This release is a full rewrite of the compiler. The new implementation is a port of dart-sass,
making it spec-compliant and easier to update to support new Sass features. However this release
does not implement Sass modules yet.
BC breaks
Compilerclass is now finalLoggerInterfacenow expects more argument in its method signatures\ScssPhp\ScssPhp\OutputStyleis now an enum instead of a class with string constants.Compiler::setOutputStylenow expects an instance of theOutputStyleenum instead of a string.Deprecated
Compiler::compileStringsecond argument. Either passa URL or use
Compiler::compileFileinstead. (@stof)Removed
scss.inc.phpfile. Use the autoloader generated by Composer instead. (@stof)Added
Importerextension point for custom importers (@stof)Compiler::setSilencedDeprecations,Compiler::setFutureDeprecationsandCompiler::setActiveDeprecations(@stof)Compiler::setQuietDeps(@stof)Compiler::setVerbose(@stof)Fixed
Changed
need to include them based on the provided argument depending on their formatting needs. (@stof)
\ScssPhp\ScssPhp\Value\Valueas return type. Untyped functions will still receive legacyvalues. (@stof)
Configuration
📅 Schedule: Branch creation - Between 12:00 AM and 02:59 AM, on day 1 of the month ( * 0-2 1 * * ) in timezone UTC, Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot.