-
Notifications
You must be signed in to change notification settings - Fork 0
[Snyk] Upgrade tailwindcss from 3.4.4 to 4.0.6 #46
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
base: main
Are you sure you want to change the base?
[Snyk] Upgrade tailwindcss from 3.4.4 to 4.0.6 #46
Conversation
Snyk has created this PR to upgrade tailwindcss from 3.4.4 to 4.0.6. See this package in npm: tailwindcss See this project in Snyk: https://app.snyk.io/org/nerds-github/project/ded0d4c9-2f65-458e-91a2-4bc521804eb9?utm_source=github&utm_medium=referral&page=upgrade-pr
Reviewer's Guide by SourceryThis pull request upgrades the Updated class diagram for Tailwind CSS configurationclassDiagram
class TailwindConfig {
.. v3.4.4 ..
+ content: string[]
+ theme: object
+ plugins: any[]
.. v4.0.6 ..
+ config: string // Path to CSS config file
+ theme: CSSVariables
+ extend: CSSVariables
}
class CSSVariables {
+ --color-primary: #007bff
+ --font-size-base: 1rem
+ ...
}
note for TailwindConfig "Tailwind CSS v4.0 uses a CSS-first configuration approach, replacing the JavaScript configuration file with a CSS file."
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
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.
We have skipped reviewing this pull request. Here's why:
- It seems to have been created by a bot ('[Snyk]' found in title). We assume it knows what it's doing!
- We don't review packaging changes - Let us know if you'd like us to change this.
Snyk has created this PR to upgrade tailwindcss from 3.4.4 to 4.0.6.
ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
The recommended version is 66 versions ahead of your current version.
The recommended version was released 23 days ago.
Issues fixed by the recommended upgrade:
SNYK-JS-INFLIGHT-6095116
SNYK-JS-NANOID-8492085
Release notes
Package name: tailwindcss
Fixed
Added
@ theme static
option for always including theme variables in compiled CSS (#16211)Fixed
console.log
from@ tailwindcss/vite
(#16307)Changed
Fixed
null
(#16210)containers
JS theme key is added to the--container-*
namespace (#16169)@ keyframes
are generated even if an--animation-*
variable spans multiple lines (#16237)?commonjs-proxy
flag (#16238)order-first
andorder-last
for Firefox (#16266)NODE_PATH
is respected when resolving JavaScript and CSS files (#16274)@ variant
inside a referenced stylesheet could cause a stack overflow (#16300)Fixed
@ import url();
(#16144)Fixed
grid-cols-*
andgrid-rows-*
utilities (#16020)@ reference
or@ variant
(#16057)<style>
blocks in HTML files (#16069)@ keyframes
in@ theme reference
(#16120)@ variant
when at the top-level of a stylesheet (#16129)Added
:open
pseudo-class in existingopen
variant (#15349)Fixed
min-w/h-none
utilities (#15845)none
modifier have a line-height set e.g.text-sm/none
(#15921)--spacing
variable (#15857)@ tailwindcss/browser
does not pollute the global namespace (#15978)tailwind-merge
is not scanned when using the Vite plugin (#16005)/
directory (#15988)leading-[1]
toleading-none
(#16004)Holy shit it's actually done — we just tagged Tailwind CSS v4.0.
Tailwind CSS v4.0 is an all-new version of the framework optimized for performance and flexibility, with a reimagined configuration and customization experience, and taking full advantage of the latest advancements the web platform has to offer.
@ property
, andcolor-mix()
.color-scheme
,field-sizing
, complex shadows,inert
, and more.Start using Tailwind CSS v4.0 today by installing it in a new project, or playing with it directly in the browser on Tailwind Play.
For existing projects, we've published a comprehensive upgrade guide and built an automated upgrade tool to get you on the latest version as quickly and painlessly as possible.
For a deep-dive into everything that's new, check out the announcement post.
Important
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:
Summary by Sourcery
Bug Fixes: