Skip to content

Add support for the Sass Deprecations API (fixes #671)#673

Merged
larsgrefer merged 1 commit intolarsgrefer:4.xfrom
jbb01:feature/671-sass-deprecation-api
Jun 7, 2025
Merged

Add support for the Sass Deprecations API (fixes #671)#673
larsgrefer merged 1 commit intolarsgrefer:4.xfrom
jbb01:feature/671-sass-deprecation-api

Conversation

@jbb01
Copy link
Copy Markdown
Contributor

@jbb01 jbb01 commented Jun 5, 2025

This PR adds support for the Sass Deprecation API.

It's inherently difficult to add test cases for this API as the test cases might break as soon as the deprecated feature gets removed.
Even though, I've added test cases for fatalDeprecations and silenceDeprecations based on the deprecation global-builtin, scheduled to be removed in dart-sass 3.0. As of now, there are no futureDeprecations so testing those seems impossible.

@larsgrefer larsgrefer self-assigned this Jun 6, 2025
@codecov
Copy link
Copy Markdown

codecov bot commented Jun 6, 2025

Codecov Report

Attention: Patch coverage is 66.66667% with 5 lines in your changes missing coverage. Please review.

Please upload report for BASE (4.x@0350343). Learn more about missing BASE report.

Files with missing lines Patch % Lines
...java/de/larsgrefer/sass/embedded/SassCompiler.java 66.66% 3 Missing and 2 partials ⚠️
Additional details and impacted files
@@          Coverage Diff           @@
##             4.x     #673   +/-   ##
======================================
  Coverage       ?   64.81%           
  Complexity     ?      314           
======================================
  Files          ?       51           
  Lines          ?     1421           
  Branches       ?      208           
======================================
  Hits           ?      921           
  Misses         ?      355           
  Partials       ?      145           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@larsgrefer larsgrefer merged commit 65611e1 into larsgrefer:4.x Jun 7, 2025
12 checks passed
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.

2 participants