-
-
Notifications
You must be signed in to change notification settings - Fork 78.9k
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
Fix use of declarations after nested rules (deprecated in Sass 1.77.7) #40623
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👌
+1 |
🚢 |
@julien-deramond I'll wait until tomorrow for Dependabot. Then this PR should only include the fix. |
b4a3c0f
to
cd5b0fe
Compare
@julien-deramond Thank you for fixing the deprecation issue of sass! Is there any ETA when |
Unfortunately, we don't have a precise release date to communicate, as it'll depend on our availability. But it should be in a few days, hopefully 🙏 |
Is there any more news on 5.3.4 ? |
To say 'nobody needs it' is a not strictly true? There are a number of people watching this PR and also a number of issues raised for this:
This does only affect people building bootstrap Sass and I appreciate this is small fry in the grand scheme of things but it would be useful to know if/when Bootstrap v5.3.4 will be released as there does not appear to have been a release since Feb-24. |
We would appreciate a release with this fix very much. |
Any news on when Release 5.3.4 will be released? |
@julien-deramond Any updates on the release of |
Unfortunately, I don't know. I'm not the release manager. Waiting for it too :) |
Who is the release manager then? |
You can check #40656 |
(Edit: After the creation of this PR,
[email protected]
has been released, but it doesn't change anything to this PR that still can be merged as is.)Description
When using
[email protected]
, we have some warnings when runningnpm run css
. More info at Sass: Breaking Change: Mixed Declarations.If we simply move some calls to mixins in our code, the warnings are not displayed anymore. The related files are:
scss/_modal.scss
scss/_reboot.scss
scss/_type.scss
A simple way to measure the possible impact is to compare the built
bootstrap.css
from themain
branch, and this branch:As it can be seen here, there's no impact as the mixins don't apply values to some siblings CSS rules for the same selector, so the order here is not important and will produce the same CSS bundle in the end.
Target release
This change is retro-compatible as it works with
[email protected]
too. However, if we want to help folks, we might envisage to merge this PR, and then maybe release a v5.3.4 rather quickly? What do you think @twbs/css-review?Type of changes
Checklist
npm run lint
)Live previews
Related issues
Closes #40621