[Snyk] Upgrade tailwindcss from 3.4.17 to 4.1.7 #154
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Snyk has created this PR to upgrade tailwindcss from 3.4.17 to 4.1.7.
ℹ️ 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 72 versions ahead of your current version.
The recommended version was released a month ago.
Issues fixed by the recommended upgrade:
SNYK-JS-SUPABASEAUTHJS-10255365
Release notes
Package name: tailwindcss
-
4.1.7 - 2025-05-15
- Upgrade: Migrate bare values to named values (#18000)
- Upgrade: Added cache to improve template migration performance (#18025)
- Allow
- Prevent duplicate suggestions when using
- Ensure that media queries within
- Ensure that the standalone CLI does not leave temporary files behind (#17981)
- Ensure
- Ignore custom variants using
- Ensure classes containing
- Upgrade: Fix error when using
- Upgrade: Change casing of utilities with named values to kebab-case to match updated theme variables (#18017)
- Upgrade: Don't migrate strings that match utility names in Vue attribute bindings other than
-
4.1.6 - 2025-05-09
- Upgrade: Automatically convert arbitrary values to named values when possible (e.g.
- Upgrade: Update dependencies in parallel for improved performance (#17898)
- Add detailed logging about
- Add support for generating source maps in development (#17775)
- Ensure negative arbitrary
- Fix HAML extraction with embedded Ruby (#17846)
- Don't scan files for utilities when using
- Fix incorrectly replacing
- Don't scan
- Ensure that custom utilities applying other custom utilities don't swallow nested
- Download platform specific package if
-
4.1.5 - 2025-04-30
- Support using
- Add
- Transition
- Don't scan
- Hide default shadow suggestions when missing default shadow theme keys (#17743)
- Replace
- Skip
- PostCSS: Ensure that errors in imported stylesheets are recoverable (#17754)
- Upgrade: Bump all Tailwind CSS related dependencies during upgrade (#17763)
- Upgrade: Don't add
- Upgrade: Don't format stylesheets that didn't change when upgrading (#17824)
-
4.1.4 - 2025-04-14
- Add experimental
- Ensure
- Ensure
- Fix brace expansion in declining ranges like
- Work around a Chrome rendering bug when using the
- Ensure container query variant names can contain hyphens (#17628)
- Ensure
- Ensure compatibility with array tuples used in
- Ensure folders with binary file extensions in their names are scanned for utilities (#17595)
- Upgrade: Convert
-
4.1.3 - 2025-04-04
- Show warning when using unsupported bare value data type in
- PostCSS: Ensure changes to the input CSS file don't generate stale output when using Turbopack (#17554)
- Ensure classes are detected in Ruby's
-
4.1.2 - 2025-04-03
- Don't rely on the presence of
- Support setting multiple inset shadows as arbitrary values (#17523)
- Fix
- PostCSS: Fix race condition when two changes are queued concurrently (#17514)
- PostCSS: Ensure files containing
- Ensure the
- Fix slow incremental builds with
- Vite: Fix missing CSS file in Qwik setups (#17533)
-
4.1.1 - 2025-04-02
- Disable padding in
- Inject polyfills after
- Ensure
-
4.1.0 - 2025-04-01
- Add
- Add
- Add
- Add
- Add
- Add
- Add safe alignment utilities (#14607)
- Add
- Add
- Add
- Add
- Add
- Add
- Add
- Add
- Add
- Improve compatibility with older versions of Safari and Firefox (#17435)
- Follow symlinks when resolving
- Don't scan ignored files for classes when changing an ignored file triggers a rebuild using
- Support negated
- Interpret syntax like
- Disallow top-level braces, top-level semicolons, and unbalanced parentheses and brackets in arbitrary values (#17361)
- Ensure the
- Detect used theme variables in CSS module files (#17433, #17467)
- Ignore
- Deprecate
- Deprecate
-
4.0.17 - 2025-03-26
- Fix an issue causing the CLI to hang when processing Ruby files (#17383)
-
4.0.16 - 2025-03-25
-
4.0.15 - 2025-03-20
-
4.0.14 - 2025-03-13
-
4.0.13 - 2025-03-11
-
4.0.12 - 2025-03-07
-
4.0.11 - 2025-03-06
-
4.0.10 - 2025-03-05
-
4.0.9 - 2025-02-25
-
4.0.8 - 2025-02-21
-
4.0.7 - 2025-02-18
-
4.0.6 - 2025-02-10
-
4.0.5 - 2025-02-08
-
4.0.4 - 2025-02-06
-
4.0.3 - 2025-02-01
-
4.0.2 - 2025-01-31
-
4.0.1 - 2025-01-29
-
4.0.0 - 2025-01-21
-
4.0.0-beta.10 - 2025-01-21
-
4.0.0-beta.9 - 2025-01-09
-
4.0.0-beta.8 - 2024-12-17
-
4.0.0-beta.7 - 2024-12-13
-
4.0.0-beta.6 - 2024-12-06
-
4.0.0-beta.5 - 2024-12-04
-
4.0.0-beta.4 - 2024-11-29
-
4.0.0-beta.3 - 2024-11-27
-
4.0.0-beta.2 - 2024-11-22
-
4.0.0-beta.1 - 2024-11-21
-
4.0.0-alpha.36 - 2024-11-21
-
4.0.0-alpha.35 - 2024-11-20
-
4.0.0-alpha.34 - 2024-11-14
-
4.0.0-alpha.33 - 2024-11-12
-
4.0.0-alpha.32 - 2024-11-11
-
4.0.0-alpha.31 - 2024-10-30
-
4.0.0-alpha.30 - 2024-10-24
-
4.0.0-alpha.29 - 2024-10-23
-
4.0.0-alpha.28 - 2024-10-17
-
4.0.0-alpha.27 - 2024-10-15
-
4.0.0-alpha.26 - 2024-10-03
-
4.0.0-alpha.25 - 2024-09-24
-
4.0.0-alpha.24 - 2024-09-12
-
4.0.0-alpha.23 - 2024-09-05
-
4.0.0-alpha.22 - 2024-09-05
-
4.0.0-alpha.21 - 2024-09-02
-
4.0.0-alpha.20 - 2024-08-23
-
4.0.0-alpha.19 - 2024-08-09
-
4.0.0-alpha.18 - 2024-07-25
-
4.0.0-alpha.17 - 2024-07-04
-
4.0.0-alpha.16 - 2024-06-07
-
4.0.0-alpha.15 - 2024-05-08
-
4.0.0-alpha.14 - 2024-04-09
-
4.0.0-alpha.13 - 2024-04-04
-
4.0.0-alpha.12 - 2024-04-04
-
4.0.0-alpha.11 - 2024-03-27
-
4.0.0-alpha.10 - 2024-03-21
-
4.0.0-alpha.9 - 2024-03-13
-
4.0.0-alpha.8 - 2024-03-11
-
4.0.0-alpha.7 - 2024-03-08
-
4.0.0-alpha.6 - 2024-03-07
-
4.0.0-alpha.5 - 2024-03-06
-
4.0.0-alpha.4 - 2024-03-06
-
4.0.0-alpha.3 - 2024-03-06
-
4.0.0-alpha.2 - 2024-03-06
-
4.0.0-alpha.1 - 2024-03-05
-
3.4.17 - 2024-12-17
from tailwindcss GitHub release notesAdded
Fixed
_before numbers during candidate extraction (#17961)@ themeand@ utilitytogether (#17675)::beforeand::afterpseudo selectors create valid CSS rules in production builds (#17979)-rotate-*utilities properly negate arbitrary values (#18014):merge(…)selectors in legacy JS plugins (#18020).are properly extracted from Clojure files (#18038)@ import … source(…)(#17963)class(#18025)Added
h-[1lh]toh-lh) (#17831, #17854)@ sourcedirectives, discovered files and scanned files when usingDEBUG=*(#17906, #17952)Fixed
scalevalues generate negative values (#17831)@ reference(#17836)_within arbitrary modifier shorthandbg-red-500/(--my_opacity)(#17889).logfiles for classes by default (#17906)@ applyrules (#17925)optionalDependenciesare skipped (#17929)Added
@ tailwindcss/upgradeto upgrade between versions of v4.* (#17717)h-lh/min-h-lh/max-h-lhutilities (#17790)display,visibility,content-visibility,overlay, andpointer-eventswhen usingtransitionto simplify@ starting-styleusage (#17812)Fixed
.geojsonor.dbfiles for classes by default (#17700, #17711)_with.in theme suggestions for@ utilityif surrounded by digits (#17733)color-mix(…)when opacity is100%(#17815)-to variants starting with@(#17814)Added
@ tailwindcss/oxide-wasm32-wasitarget for running Tailwind in browser environments like StackBlitz (#17558)Fixed
color-mix(…)polyfills do not cause used CSS variables to be removed (#17555)color-mix(…)polyfills create fallbacks for theme variables that reference other theme variables (#17562){10..0..5}and{0..10..-5}(#17591)skew-*utilities (#17627)shadow-inherit,inset-shadow-inherit,drop-shadow-inherit, andtext-shadow-inheritinherit the shadow color (#17647)fontSizeJS theme keys (#17630)fontSizearray tuple syntax to CSS theme variables (#17630)Fixed
--value(…)(#17464)%wsyntax in Slim templates (#17557)Fixed
@ layer baseto polyfill@ property(#17506)drop-shadow-*utilities that are defined with multiple shadows (#17515)@ tailwind utilitiesare processed (#17514)color-mix(…)polyfill creates fallbacks even when using colors that cannot be statically analyzed (#17513)@ tailwindcss/viteand@ tailwindcss/postscss(especially on Windows) (#17511)Fixed
@ source inline(…)brace expansion (#17491)@ importand body-less@ layer(#17493)@ tailwindcss/clidoes not contain an import forjiti(#17502)Added
details-contentvariant (#15319)inverted-colorsvariant (#11693)noscriptvariant (#11929, #17431)items-baseline-lastandself-baseline-lastutilities (#13888, #17476)pointer-none,pointer-coarse, andpointer-finevariants (#16946)any-pointer-none,any-pointer-coarse, andany-pointer-finevariants (#16941)user-validanduser-invalidvariants (#12370)wrap-anywhere,wrap-break-word, andwrap-normalutilities (#12128)@ source inline(…)and@ source not inline(…)(#17147)@ source not "…"(#17255)text-shadow-*utilities (#17389)mask-*utilities (#17134)bg-{position,size}-*utilities for arbitrary values (#17432)shadow-*/<alpha>,inset-shadow-*/<alpha>,drop-shadow-*/<alpha>, andtext-shadow-*/<alpha>utilities to control shadow opacity (#17398, #17434)drop-shadow-<color>utilities (#17434)Fixed
@ sourcedirectives (#17391)@ tailwindcss/cli(#17255)contentrules in legacy JavaScript configuration (#17255)@("@")md:…as@ md:…in Razor files (#17427)--theme(…)function still resolves to the CSS variables when using legacy JS plugins (#17458)Changed
node_modulesby default (can be overridden by@ source …rules) (#17255)@ sourcerules that include file extensions or point insidenode_modules/folders no longer consider your.gitignorerules (#17255)bg-{left,right}-{top,bottom}in favor ofbg-{top,bottom}-{left,right}utilities (#17378)object-{left,right}-{top,bottom}in favor ofobject-{top,bottom}-{left,right}utilities (#17437)Fixed
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
Upgrade Tailwind CSS dependency to the latest v4.1.7 release to incorporate upstream fixes and improvements and resolve a known security vulnerability.
Bug Fixes:
Enhancements: