-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Breaking change "/" as division with [email protected]
#12233
Comments
@DanielRuf, should I open a dedicated pull request for that to bump the current |
Which version do you want to bump? Afaik we don't use dart-sass in this project. I guess you mean a PR to migrate / update all the relevant code parts to use |
@DanielRuf Exactly. Sounds like the latest sass replace all the
|
I'm not involved in Foundation Sites anymore so @joeworkman has to do this then. |
Hey @DanielRuf, sad to hear 😿 It looks like
I am using
cc @joeworkman |
According to the note it is not supported by libsass / node-sass. https://www.npmjs.com/package/node-sass Dart Sass That makes it hard(er) to support all users. https://sass-lang.com/documentation/breaking-changes/slash-div Personally I would not bump the patch version of Foundation Sites, because this could break many setups which use |
Both |
Right, but I try to understand what the consequences for all Foundation Sites projects will be. See also our template projects: |
An update to dart-sass did reduce the number of deprecation warnings by a lot. See: https://github.com/sass/dart-sass/releases/tag/1.34.0 Might this be something to upgrade in version 7? As that would be fitting because of the major upgrade. gulp-sass does support dart-sass. Although you need some configuration changes and they still have node-sass as direct dependency in their package.json. |
Hi @pataar! Yes, I am just discovering that, thanks 😉 But the fact is that it's not acceptable to work with those kind of deprecation warnings all the time. Last Foundation version was released a year ago, and from my point of view it would be better to patch this kind of "easy issue" and move Foundation forward instead of accumulate a lot of issues/features that would increase the migration process later. Having a |
Even though I'd like to have less deprecation warnings as well, it's a breaking change IMO. As certain versions and libraries would be suddenly incompatible. Which would require a major bump according to semver. |
Ok so this should be part of Foundation v7 #11847, agree with that. |
I'm going to ask the obvious question, if this gets bumped to Foundation v7, what is the time frame for that release. It doesn't look all that imminent. Is it likely to be this year? Because having this SASS problem for another 6+ months is going to be a problem. |
cc @joeworkman |
Problem is that in that specific case, we are "stuck" to Thanks for taking the time to give a clear answer to the community 😉 |
For those running into this with dart SASS, there is a work around. They have added a flag to suppress the deprecated warnings. --quiet-deps Add that to the command line and make sure that foundation is in the load-path of the command line. Any relative paths in your SASS will cause the warnings. This is a work around of course, it would be better to have a new version of Foundation in which this is not present. |
@katie1348 I know about this flag, but it's a CLI flag, and I am running |
It's unfortunate, that there are multiple ways of running sass, but only one supports the flag. I don't know of any other solution sorry. I hope that this gets sorted out soon, as it is proving very disruptive and not being able to easily switch it off is a huge problem. I appreciate the need to provide warning about a breaking change, but this seems to be a break everyones workflow way of doing. |
Sorry for the delay. I was heads down getting a project shipped. Finally got it done last night. I think that @katie1348's suggestion is the best at this time. As I work on F7, I will ensure that the Sass side works perfectly with dart-sass. At this point, trying to get F6 warning free with dart-sass feels like a fruitless effort. I would rather put that time and energy into working on F7. |
Thanks @joeworkman! 😎 I let you close this issue or pinned to Foundation v7 Github project. |
Using Foundation for sites
6.6.3
with sass1.33.0
throw a lot of deprecation warnings in the console output.See:
The text was updated successfully, but these errors were encountered: