Skip to content

Conversation

@matticbot
Copy link
Contributor

@matticbot matticbot commented Nov 3, 2025

This PR contains the following updates:

Package Change Age Confidence
scssphp/scssphp (source) 1.13.0 -> 2.0.1 age confidence

Release Notes

scssphp/scssphp (scssphp/scssphp)

v2.0.1: 2.0.1

Compare Source

Fixed

v2.0.0: 2.0.0

Compare 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

  • The Compiler class is now final
  • The LoggerInterface now expects more argument in its method signatures
  • \ScssPhp\ScssPhp\OutputStyle is now an enum instead of a class with string constants.
  • Compiler::setOutputStyle now expects an instance of the OutputStyle enum instead of a string.
  • Deprecated methods of the compiler have been removed.

Deprecated

  • Deprecate passing a path as string as the Compiler::compileString second argument. Either pass
    a URL or use Compiler::compileFile instead. (@​stof)

Removed

  • Remove support for color math in Sass expressions (@​stof)
  • Remove the CLI shipped in the package (@​stof)
  • Remove the scss.inc.php file. Use the autoloader generated by Composer instead. (@​stof)
  • Remove the cache system integrated in the compiler (@​stof)
  • Remove support for PHP < 8.1 (@​stof)

Added

  • Add support for PHP 8.4 (@​stof)
  • Add support for the Sass indented syntax (@​stof)
  • Add a representation of Sass values using PHP value objects (@​stof)
  • Add the Importer extension point for custom importers (@​stof)
  • Add support for configuring the reporting of deprecation with Compiler::setSilencedDeprecations,
    Compiler::setFutureDeprecations and Compiler::setActiveDeprecations (@​stof)
  • Add support for silencing deprecations from dependencies with Compiler::setQuietDeps (@​stof)
  • Add support for configuring verbosity of deprecation warnings with Compiler::setVerbose (@​stof)

Fixed

  • Thanks to the rewrite, scssphp is now spec-compliant, fixing many issues (@​stof)

Changed

  • The message received by loggers no longer contains the location and stack trace. Loggers
    need to include them based on the provided argument depending on their formatting needs. (@​stof)
  • Custom functions can now be defined using the new representation of Sass values by using
    \ScssPhp\ScssPhp\Value\Value as return type. Untyped functions will still receive legacy
    values. (@​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.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

@matticbot matticbot added [Status] Needs Review This PR is ready for review. [Type] Janitorial labels Nov 3, 2025
@matticbot matticbot requested a review from a team November 3, 2025 18:41
@matticbot
Copy link
Contributor Author

matticbot commented Nov 3, 2025

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: undefined
Command failed: /tmp/monorepo/.github/files/renovate-post-upgrade-run.sh renovate/scssphp-scssphp-2.x
warning: unable to access '/home/ubuntu/.config/git/attributes': Permission denied
warning: unable to access '/home/ubuntu/.config/git/ignore': Permission denied
 WARN  Issue while reading "/home/ubuntu/.npmrc". EACCES: permission denied, open '/home/ubuntu/.npmrc'
 WARN  Issue while reading "/home/ubuntu/.config/pnpm/rc". EACCES: permission denied, open '/home/ubuntu/.config/pnpm/rc'
warning: unable to access '/home/ubuntu/.config/git/attributes': Permission denied
Loading composer repositories with package information
Cannot create cache directory /home/ubuntu/.composer/cache/repo/https---repo.packagist.org/, or directory is not writable. Proceeding without cache. See also cache-read-only config if your filesystem is read-only.
Updating dependencies
Lock file operations: 38 installs, 0 updates, 0 removals
  - Locking automattic/phpunit-select-config (dev-trunk)
  - Locking myclabs/deep-copy (1.13.4)
  - Locking nikic/php-parser (v5.6.2)
  - Locking phar-io/manifest (2.0.4)
  - Locking phar-io/version (3.2.1)
  - Locking phpunit/php-code-coverage (12.4.0)
  - Locking phpunit/php-file-iterator (6.0.0)
  - Locking phpunit/php-invoker (6.0.0)
  - Locking phpunit/php-text-template (5.0.0)
  - Locking phpunit/php-timer (8.0.0)
  - Locking phpunit/phpunit (12.4.3)
  - Locking psr/container (2.0.2)
  - Locking sebastian/cli-parser (4.2.0)
  - Locking sebastian/comparator (7.1.3)
  - Locking sebastian/complexity (5.0.0)
  - Locking sebastian/diff (7.0.0)
  - Locking sebastian/environment (8.0.3)
  - Locking sebastian/exporter (7.0.2)
  - Locking sebastian/global-state (8.0.2)
  - Locking sebastian/lines-of-code (4.0.0)
  - Locking sebastian/object-enumerator (7.0.0)
  - Locking sebastian/object-reflector (5.0.0)
  - Locking sebastian/recursion-context (7.0.1)
  - Locking sebastian/type (6.0.3)
  - Locking sebastian/version (6.0.0)
  - Locking staabm/side-effects-detector (1.0.5)
  - Locking symfony/console (v7.3.6)
  - Locking symfony/deprecation-contracts (v3.6.0)
  - Locking symfony/polyfill-ctype (v1.33.0)
  - Locking symfony/polyfill-intl-grapheme (v1.33.0)
  - Locking symfony/polyfill-intl-normalizer (v1.33.0)
  - Locking symfony/polyfill-mbstring (v1.33.0)
  - Locking symfony/process (v7.3.4)
  - Locking symfony/service-contracts (v3.6.1)
  - Locking symfony/string (v7.3.4)
  - Locking theseer/tokenizer (1.3.1)
  - Locking wikimedia/testing-access-wrapper (3.0.0)
  - Locking yoast/phpunit-polyfills (4.0.0)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 38 installs, 0 updates, 0 removals
Cannot create cache directory /home/ubuntu/.composer/cache/files/, or directory is not writable. Proceeding without cache. See also cache-read-only config if your filesystem is read-only.
  - Downloading staabm/side-effects-detector (1.0.5)
  - Downloading sebastian/version (6.0.0)
  - Downloading sebastian/type (6.0.3)
  - Downloading sebastian/recursion-context (7.0.1)
  - Downloading sebastian/object-reflector (5.0.0)
  - Downloading sebastian/object-enumerator (7.0.0)
  - Downloading sebastian/global-state (8.0.2)
  - Downloading symfony/polyfill-mbstring (v1.33.0)
  - Downloading sebastian/exporter (7.0.2)
  - Downloading sebastian/environment (8.0.3)
  - Downloading sebastian/diff (7.0.0)
  - Downloading sebastian/comparator (7.1.3)
  - Downloading sebastian/cli-parser (4.2.0)
  - Downloading phpunit/php-timer (8.0.0)
  - Downloading phpunit/php-text-template (5.0.0)
  - Downloading phpunit/php-invoker (6.0.0)
  - Downloading phpunit/php-file-iterator (6.0.0)
  - Downloading theseer/tokenizer (1.3.1)
  - Downloading symfony/polyfill-ctype (v1.33.0)
  - Downloading nikic/php-parser (v5.6.2)
  - Downloading sebastian/lines-of-code (4.0.0)
  - Downloading sebastian/complexity (5.0.0)
  - Downloading phpunit/php-code-coverage (12.4.0)
  - Downloading phar-io/version (3.2.1)
  - Downloading phar-io/manifest (2.0.4)
  - Downloading myclabs/deep-copy (1.13.4)
  - Downloading phpunit/phpunit (12.4.3)
  - Downloading symfony/polyfill-intl-normalizer (v1.33.0)
  - Downloading symfony/polyfill-intl-grapheme (v1.33.0)
  - Downloading symfony/string (v7.3.4)
  - Downloading symfony/deprecation-contracts (v3.6.0)
  - Downloading psr/container (2.0.2)
  - Downloading symfony/service-contracts (v3.6.1)
  - Downloading symfony/console (v7.3.6)
  - Downloading symfony/process (v7.3.4)
  - Downloading wikimedia/testing-access-wrapper (3.0.0)
  - Downloading yoast/phpunit-polyfills (4.0.0)
  - Installing staabm/side-effects-detector (1.0.5): Extracting archive
  - Installing sebastian/version (6.0.0): Extracting archive
  - Installing sebastian/type (6.0.3): Extracting archive
  - Installing sebastian/recursion-context (7.0.1): Extracting archive
  - Installing sebastian/object-reflector (5.0.0): Extracting archive
  - Installing sebastian/object-enumerator (7.0.0): Extracting archive
  - Installing sebastian/global-state (8.0.2): Extracting archive
  - Installing symfony/polyfill-mbstring (v1.33.0): Extracting archive
  - Installing sebastian/exporter (7.0.2): Extracting archive
  - Installing sebastian/environment (8.0.3): Extracting archive
  - Installing sebastian/diff (7.0.0): Extracting archive
  - Installing sebastian/comparator (7.1.3): Extracting archive
  - Installing sebastian/cli-parser (4.2.0): Extracting archive
  - Installing phpunit/php-timer (8.0.0): Extracting archive
  - Installing phpunit/php-text-template (5.0.0): Extracting archive
  - Installing phpunit/php-invoker (6.0.0): Extracting archive
  - Installing phpunit/php-file-iterator (6.0.0): Extracting archive
  - Installing theseer/tokenizer (1.3.1): Extracting archive
  - Installing symfony/polyfill-ctype (v1.33.0): Extracting archive
  - Installing nikic/php-parser (v5.6.2): Extracting archive
  - Installing sebastian/lines-of-code (4.0.0): Extracting archive
  - Installing sebastian/complexity (5.0.0): Extracting archive
  - Installing phpunit/php-code-coverage (12.4.0): Extracting archive
  - Installing phar-io/version (3.2.1): Extracting archive
  - Installing phar-io/manifest (2.0.4): Extracting archive
  - Installing myclabs/deep-copy (1.13.4): Extracting archive
  - Installing phpunit/phpunit (12.4.3): Extracting archive
  - Installing automattic/phpunit-select-config (dev-trunk): Symlinking from ../phpunit-select-config
  - Installing symfony/polyfill-intl-normalizer (v1.33.0): Extracting archive
  - Installing symfony/polyfill-intl-grapheme (v1.33.0): Extracting archive
  - Installing symfony/string (v7.3.4): Extracting archive
  - Installing symfony/deprecation-contracts (v3.6.0): Extracting archive
  - Installing psr/container (2.0.2): Extracting archive
  - Installing symfony/service-contracts (v3.6.1): Extracting archive
  - Installing symfony/console (v7.3.6): Extracting archive
  - Installing symfony/process (v7.3.4): Extracting archive
  - Installing wikimedia/testing-access-wrapper (3.0.0): Extracting archive
  - Installing yoast/phpunit-polyfills (4.0.0): Extracting archive
Generating autoload files
32 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
> rm -f vendor/bin/changelogger && ln -s ../../bin/local-changelogger vendor/bin/changelogger
No security vulnerability advisories found.
warning: unable to access '/home/ubuntu/.config/git/ignore': Permission denied
warning: unable to access '/home/ubuntu/.config/git/attributes': Permission denied
warning: unable to access '/home/ubuntu/.config/git/ignore': Permission denied
warning: unable to access '/home/ubuntu/.config/git/attributes': Permission denied
 WARN  Issue while reading "/home/ubuntu/.npmrc". EACCES: permission denied, open '/home/ubuntu/.npmrc'
 WARN  Issue while reading "/home/ubuntu/.config/pnpm/rc". EACCES: permission denied, open '/home/ubuntu/.config/pnpm/rc'
 WARN  Issue while reading "/home/ubuntu/.npmrc". EACCES: permission denied, open '/home/ubuntu/.npmrc'
 WARN  Issue while reading "/home/ubuntu/.config/pnpm/rc". EACCES: permission denied, open '/home/ubuntu/.config/pnpm/rc'
Cannot create cache directory /home/ubuntu/.composer/cache/files/, or directory is not writable. Proceeding without cache. See also cache-read-only config if your filesystem is read-only.

In Filesystem.php line 261:
                                                                             
  /home/ubuntu/.composer/cache/vcs does not exist and could not be created:  
                                                                             

update [--with WITH] [--prefer-source] [--prefer-dist] [--prefer-install PREFER-INSTALL] [--dry-run] [--dev] [--no-dev] [--lock] [--no-install] [--no-audit] [--audit-format AUDIT-FORMAT] [--no-autoloader] [--no-suggest] [--no-progress] [-w|--with-dependencies] [-W|--with-all-dependencies] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--apcu-autoloader-prefix APCU-AUTOLOADER-PREFIX] [--ignore-platform-req IGNORE-PLATFORM-REQ] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [-m|--minimal-changes] [--patch-only] [-i|--interactive] [--root-reqs] [--bump-after-update [BUMP-AFTER-UPDATE]] [--] [<packages>...]

Failed to update plugins/wpcomsh composer.lock
Your requirements could not be resolved to an installable set of packages.
Failed to update plugins/mu-wpcom-plugin composer.lock
warning: unable to access '/home/ubuntu/.config/git/ignore': Permission denied

@github-actions
Copy link
Contributor

github-actions bot commented Nov 3, 2025

Are you an Automattician? Please test your changes on all WordPress.com environments to help mitigate accidental explosions.

  • To test on WoA, go to the Plugins menu on a WoA dev site. Click on the "Upload" button and follow the upgrade flow to be able to upload, install, and activate the Jetpack Beta plugin. Once the plugin is active, go to Jetpack > Jetpack Beta, select your plugin (Jetpack or WordPress.com Site Helper), and enable the renovate/scssphp-scssphp-2.x branch.
  • To test on Simple, run the following command on your sandbox:
bin/jetpack-downloader test jetpack renovate/scssphp-scssphp-2.x
bin/jetpack-downloader test jetpack-mu-wpcom-plugin renovate/scssphp-scssphp-2.x

Interested in more tips and information?

  • In your local development environment, use the jetpack rsync command to sync your changes to a WoA dev blog.
  • Read more about our development workflow here: PCYsg-eg0-p2
  • Figure out when your changes will be shipped to customers here: PCYsg-eg5-p2

@github-actions github-actions bot added the [Package] Jetpack mu wpcom WordPress.com Features label Nov 3, 2025
@tbradsha
Copy link
Contributor

tbradsha commented Nov 3, 2025

Renovate failure aside, I realized too late that this requires PHP 8.1+. 😢

@tbradsha tbradsha closed this Nov 3, 2025
@tbradsha tbradsha changed the title Update dependency scssphp/scssphp to v2 Update dependency scssphp/scssphp to v2 (abandoned) Nov 3, 2025
@jp-launch-control
Copy link

jp-launch-control bot commented Nov 3, 2025

Code Coverage Summary

This 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. 🤷

Full summary · PHP report · JS report

@github-actions github-actions bot removed the [Status] Needs Review This PR is ready for review. label Nov 3, 2025
@anomiex
Copy link
Contributor

anomiex commented Nov 17, 2025

Renovate failure aside, I realized too late that this requires PHP 8.1+. 😢

We may be able to do this. While projects/plugins/jetpack/composer.json has a dependency, the actual use of the package seems to have been removed in #38865. We should be able drop the dependency.

And as for projects/packages/jetpack-mu-wpcom/composer.json, that's fine with 8.1+.

"require": {
"php": ">=8.1",

@anomiex anomiex reopened this Nov 18, 2025
@matticbot matticbot force-pushed the renovate/scssphp-scssphp-2.x branch from 6069946 to c6aaa11 Compare November 18, 2025 16:35
@matticbot matticbot changed the title Update dependency scssphp/scssphp to v2 (abandoned) Update dependency scssphp/scssphp to v2 Nov 18, 2025
@github-actions github-actions bot added [Plugin] Jetpack Issues about the Jetpack plugin. https://wordpress.org/plugins/jetpack/ [Plugin] mu wpcom jetpack-mu-wpcom plugin labels Nov 18, 2025
@matticbot
Copy link
Contributor Author

Edited/Blocked Notification

Renovate 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.

⚠️ Warning: custom changes will be lost.

Copy link
Contributor

@tbradsha tbradsha left a 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 on lines +6 to +8
"_comment": [
"Dependency on symfony/filesystem is so scssphp/scssphp doesn't bring in 7.x which requires PHP 8.2."
],
Copy link
Contributor

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.

Copy link
Contributor

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.

@anomiex anomiex merged commit 1801e2c into trunk Nov 18, 2025
69 checks passed
@anomiex anomiex deleted the renovate/scssphp-scssphp-2.x branch November 18, 2025 19:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

[Package] Jetpack mu wpcom WordPress.com Features [Plugin] Jetpack Issues about the Jetpack plugin. https://wordpress.org/plugins/jetpack/ [Plugin] mu wpcom jetpack-mu-wpcom plugin [Plugin] Wpcomsh [Type] Janitorial

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants