Skip to content
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

Update dependency scssphp/scssphp to v2 (dev) #1004

Merged
merged 1 commit into from
Dec 28, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Dec 28, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
scssphp/scssphp (source) 1.13.0 -> 2.0.0 age adoption passing confidence

Release Notes

scssphp/scssphp (scssphp/scssphp)

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 - At any time (no schedule defined), 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 was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/dev-scssphp-scssphp-2.x branch 3 times, most recently from b8cd838 to 1aba213 Compare December 28, 2024 11:22
@renovate renovate bot force-pushed the renovate/dev-scssphp-scssphp-2.x branch from 1aba213 to a971c43 Compare December 28, 2024 11:27
@Apfelwurm Apfelwurm merged commit d263904 into dev Dec 28, 2024
1 check passed
@renovate renovate bot deleted the renovate/dev-scssphp-scssphp-2.x branch December 28, 2024 19:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant