-
-
Notifications
You must be signed in to change notification settings - Fork 78.8k
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
New deprecations in Sass 1.79 #40849
Comments
Hey @mbabker In the meantime, folks having these warnings have different options:
Edit with really quick analysis: Using |
Deprecation Warning: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. Deprecation Warning: red() is deprecated. Suggestion: When we can wait for update? |
Fixing deprecation warnings for usage of red, green and blue functions and using color.channel instead. Fixes: twbs#40849
I've stumbled over this issue too and started a PR - however the tests do not yet pass and any help is wanted. Meanwhile, I will just silence the deprecation warnings as described here: |
I was quite surprised to see that Bootstrap still support node-sass when it's been tagged as EOL and the repo is now archived, even if the EOL did happen this year, it was however announced a long time ago. Will that be removed only in Bootstrap 6? I don't see any mention of that in the BS6 project. I'm also assuming BS6 probably won't come for another couple years, so will node-sass really be supported that long even though it's EOL? |
That's the question indeed. The original plan was to drop I haven't fully thought through all the options, but here are the ones I'm considering:
For now, I’m inclined to try option 1. If that doesn’t work, we'll need to weigh our alternatives carefully. (/cc @twbs/css-review) |
Prerequisites
Describe the issue
In Sass 1.79, a number of color-related functions are deprecated, to include
color.red()
,color.green()
, andcolor.blue()
, with the suggested replacement being the newcolor.channel()
function.Reduced test cases
Compile Bootstrap's SCSS with Sass 1.79
What operating system(s) are you seeing the problem on?
macOS
What browser(s) are you seeing the problem on?
Chrome
What version of Bootstrap are you using?
v5.3.3
The text was updated successfully, but these errors were encountered: