Skip to content

Bump scssphp/scssphp from 1.13.0 to 2.0.0#22

Closed
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/composer/scssphp/scssphp-2.0.0
Closed

Bump scssphp/scssphp from 1.13.0 to 2.0.0#22
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/composer/scssphp/scssphp-2.0.0

Conversation

@dependabot
Copy link

@dependabot dependabot bot commented on behalf of github Dec 24, 2024

Bumps scssphp/scssphp from 1.13.0 to 2.0.0.

Release notes

Sourced from scssphp/scssphp's releases.

2.0.0

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)
Commits
  • a70358e Merge pull request #778 from stof/prepare_release
  • 6443202 Prepare the 2.0.0 release
  • 785728d Merge pull request #777 from stof/clean_code
  • 33563f9 Modernize some code
  • 8d8511f Clean code of the Compiler
  • c6730b9 Merge pull request #776 from stof/update_signature
  • f9cb8b7 Update the signature of compileString to allow passing an importer
  • 5768c1a Merge pull request #775 from stof/clean_tests
  • cdab2a4 Remove tests for the extend logic in favor of sass-spec
  • 7196b4a Merge pull request #774 from stof/php8_4_compat
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [scssphp/scssphp](https://github.com/scssphp/scssphp) from 1.13.0 to 2.0.0.
- [Release notes](https://github.com/scssphp/scssphp/releases)
- [Commits](scssphp/scssphp@v1.13.0...v2.0.0)

---
updated-dependencies:
- dependency-name: scssphp/scssphp
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Dec 24, 2024
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Feb 3, 2025

Superseded by #23.

@dependabot dependabot bot closed this Feb 3, 2025
@dependabot dependabot bot deleted the dependabot/composer/scssphp/scssphp-2.0.0 branch February 3, 2025 05:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants