Skip to content

Comments

Upgrade lightningcss to 1.31.0#19581

Closed
t0byman wants to merge 1 commit intotailwindlabs:mainfrom
t0byman:main
Closed

Upgrade lightningcss to 1.31.0#19581
t0byman wants to merge 1 commit intotailwindlabs:mainfrom
t0byman:main

Conversation

@t0byman
Copy link

@t0byman t0byman commented Jan 20, 2026

Summary

Upgrade lightningcss to 1.31.0, mainly to add support for scroll-state container queries

Test plan

I ran pnpm test and got 25 failed tests, that's 3 more than there were with lightningcss 1.30.2 Not sure how to proceed.

@t0byman t0byman requested a review from a team as a code owner January 20, 2026 08:46
@coderabbitai
Copy link
Contributor

coderabbitai bot commented Jan 20, 2026

Walkthrough

The changes involve updating the lightningcss dependency across the project configuration. The patch entry for lightningcss@1.30.2 is removed from the pnpm patched dependencies in package.json. Simultaneously, the pnpm-workspace.yaml catalog is updated to bump the lightningcss package family from version 1.30.2 to 1.31.0, including all platform-specific variants. The @parcel/watcher@2.5.1 patch entry remains unchanged.

🚥 Pre-merge checks | ✅ 2
✅ Passed checks (2 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly and concisely describes the main change: upgrading lightningcss to version 1.31.0, which matches the primary objective of the pull request.
Description check ✅ Passed The PR description clearly relates to the changeset: upgrading lightningcss from 1.30.2 to 1.31.0 across package.json and pnpm-workspace.yaml, with a specific motivation (scroll-state container queries support).

✏️ Tip: You can configure your own custom pre-merge checks in the settings.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@JeroenReumkens
Copy link

Nice to see there's finally a fix for this. Hoping the team can get this merged soon 🤞 Been waiting for this so long!

@gijsbotje
Copy link

This would be really nice to have merged. Currently forced to use webpack for my Next.js project to use custom scroll-state containers.

@RobinMalfait RobinMalfait mentioned this pull request Feb 2, 2026
RobinMalfait added a commit that referenced this pull request Feb 4, 2026
This PR bumps a bunch of dependencies. This also moves a few
dependencies that we use in multiple packages to the pnpm catalog.

Closes: #19603, #19604, #19576, #19575, #19573, #19565, #19547, #19546,
#19545, #19609, #19581, #19620, #19619

- #19603
- #19604
- #19576
- #19575
- #19573
- #19565
- #19547
- #19546
- #19545
- #19609
- #19581
- #19620 
- #19620
- #19619

## Test Plan

All tests in CI should still pass. [ci-all]
@RobinMalfait
Copy link
Member

Hey! Appreciate the PR. There were a few changes required for handling the Lightning CSS bump. They don't normalize whitespace anymore in custom properties to follow the spec more so that resulted in some failing tests.

Tackled this in a bigger #19608 PR. Thanks again!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants