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

--future-deprecation is undocumented #1016

Closed
bbrk24 opened this issue Apr 10, 2024 · 2 comments
Closed

--future-deprecation is undocumented #1016

bbrk24 opened this issue Apr 10, 2024 · 2 comments
Assignees

Comments

@bbrk24
Copy link

bbrk24 commented Apr 10, 2024

https://sass-lang.com/documentation/cli/dart-sass/ Explains --fatal-deprecation but not --future-deprecation. It's not obvious to me what should be a valid use of the --future-deprecation flag and I haven't gotten it to not give me an error.

For some context, I had been passing the current Sass version to --fatal-deprecation to make all deprecations errors, but the changelog makes it seem like that will no longer work in 1.74, unless I also add a --future-deprecation flag.

bbrk24 referenced this issue in bbrk24/Trilangle Apr 10, 2024
I might need to update the build script to work with 1.74, but due to
https://github.com/sass/dart-sass/issues/2216 it's not clear how.
@nex3 nex3 transferred this issue from sass/dart-sass Apr 10, 2024
@nex3
Copy link
Contributor

nex3 commented Apr 10, 2024

--future-deprecation opts you into new deprecations that haven't yet been enabled by default. Currently, the only such deprecation available is import, which deprecates the @import rule.

You can safely continue using --fatal-deprecation with a version number without using --future-deprecation.

@jathak
Copy link
Member

jathak commented Apr 12, 2024

Fixed by #1017.

@jathak jathak closed this as completed Apr 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants