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

Division is no longer a thing!?! Please stop these deprecation warnings! #1454

Closed
ghost opened this issue Aug 28, 2021 · 1 comment
Closed

Comments

@ghost
Copy link

ghost commented Aug 28, 2021

Come on, guys, really? I have come across these deprecation warnings on countless projects. People have raised this issue again and again. They are causing a major accessibility barrier for me, as I am legally blind, and I need clean logs, especially when the error messages do not pertain to anything under my control.

I mean, really? Some genius decided that inline division is no longer acceptable because it could possibly, maybe, plausibly interfere with a future CSS spec in a FUTURE version of sass, 2.0, which may or may not ever be released, and which component libraries could take months or years to update to, if/when it is released. I mean, we are on v1.38.1 and there is no 2.0.0.alpha version on npm in sight. So why warn us over and over again NOW??? With no way to turn it off?

Please let us TURN THESE DEPRECATION WARNINGS OFF!!! At LEAST let us turn them off in any file under node_modules.

@nex3
Copy link
Contributor

nex3 commented Aug 28, 2021

Posting an angry rant with 3k lines of messages (which I've edited out) is not an appropriate way to bring up an issue anywhere, let alone on an open source repository where hard-working people do their very best to balance the needs of tends of thousands of different people, the vast majority of whom pay nothing for the privilege. This is a clear and egregious violation of the Sass Community Guidelines, and as such you are now blocked from this org.

To clear up any misconceptions for anyone else coming along this later:

  • Division certainly is still "a thing". You can write division using the math.div() function or (as soon as Add support for first-class calc() #1452 is released) within calc().

  • It's not true that /-as-division is only theoretically in conflict with CSS. / has been used as a separator in the font shorthand syntax since CSS 2.1, and has recently expanded to be used as a separator in Colors 4 and Grid Layout 3 (supported in all modern browsers).

  • It's not true that Dart Sass 2.0.0 may not ever be released. Sass has more funding and a more concrete roadmap now than it ever has before, so the release of 2.0.0 is a question of "when" not "if". The main variable that we're looking at in determining the timing is what will minimally disrupt the ecosystem.

  • There are flags available to disable deprecation warnings both in total and specifically for dependencies. The --quiet CLI flag disables all warnings, and the --quiet-deps flag specifically disables deprecation warnings in dependencies. The quietDeps option in the JS API does the same, and Define a JS API for handling debug messages and warnings sass#2979 is in progress to provide the ability to silence all warnings in the JS API as well.

@nex3 nex3 closed this as completed Aug 28, 2021
@sass sass locked as too heated and limited conversation to collaborators Aug 28, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant