[Snyk] Upgrade tailwindcss from 3.4.17 to 4.0.12 #96
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.0.12.
ℹ️ 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 59 versions ahead of your current version.
The recommended version was released 25 days ago.
Release notes
Package name: tailwindcss
-
4.0.12 - 2025-03-07
- Vite: Fix
- PostCSS: Rebase
- Ensure utilities are sorted based on their actual property order (#16995)
- Ensure strings in Pug and Slim templates are handled correctly (#17000)
- Ensure classes between
- Fix
- Ensure extracting candidates from JS embedded in a PHP string works as expected (#17031)
-
4.0.11 - 2025-03-06
- Ensure classes containing
- Ensure classes containing numbers followed by dash or underscore are extracted correctly (#16980)
- Ensure arbitrary container queries are extracted correctly (#16984)
- Ensure classes ending in
- Ensure arbitrary variables with data types are extracted correctly (#16986)
-
4.0.10 - 2025-03-05
- Add
- Ensure
- Ensure
- Don't swallow
- Ensure
- Allow
- Vite: Do not crash when encountering an
- Ensure utilities are properly detected within square brackets (#16306)
- Ensure utilities are properly detected using Angular's conditional class binding syntax (#16306)
- Ensure utilities starting with numbers are properly extracted from Slim templates (#16306)
- Discard arbitrary property candidates that have guaranteed-invalid property names (#16306)
- Removed
- Replaced the existing candidate extractor with a brand new extractor to improve maintainability, correctness, and performance (#16306)
-
4.0.9 - 2025-02-25
- Make JS APIs available to plugins and configs in the Standalone CLI (#15934)
- Vite: Don't crash when importing a virtual module from JavaScript that ends in
- Fix an issue where
- Ensure
- Read UTF-8 CSS files that start with a byte-order mark (BOM) (#16800)
- Ensure nested functions in selectors used with JavaScript plugins are not truncated (#16802)
- Emit variable fallbacks when using
-
4.0.8 - 2025-02-21
- Allow
- Don't add
- Vite: Ignore files and directories specified in your
- Vite: Don't rely on the module graph for detecting candidates to ensure setups with multiple Vite builds work as expected (#16631)
- Vite: Ensure Astro production builds always contain classes used in client-only components (#16631)
- Vite: Always scan raw file contents for utility classes before any other transforms have been applied to ensure utility classes are scanned without any additional escaping (#16631)
- Ensure utilities with more declarations are always sorted before utilities with fewer declarations when utilities only define CSS variables (#16715)
- Only include
- Don't include theme variables that aren't used in compiled CSS (#16211, #16676)
-
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 notesFixed
url(…)rebasing in transitively imported CSS files (#16965)url(…)s in imported CSS files (#16965)}and{are properly extracted (#17001)razor/cshtmlpre-processing (#17027)Fixed
--are extracted correctly (#16972)[are extracted in Slim templating language (#16985)Added
col-<number>androw-<number>utilities forgrid-columnandgrid-row(#15183)Fixed
not-*does not remove:is(…)from variants (#16825)@ keyframesare correctly emitted when using a prefix (#16850)@ utilitydeclarations when@ applyis used in nested rules (#16940)outline-hiddenbehaves likeoutline-noneoutside of forced colors mode (#16943)!importanton CSS variables again (#16873).svgfile with#or?in the filename (#16957)Changed
max-w-autoandmax-h-autoutilities as they generate invalid CSS (#16917)Fixed
.css(#16780)@ reference "…"would sometimes omit keyframe animations (#16774)z-*!utilities are properly marked as!important(#16795)Changed
@ reference "…"instead of duplicate CSS variable declarations (#16774)Added
@ importwiththeme(…)options for stylesheets that contain more than just@ themerules (#16514)Fixed
!importantto CSS variable declarations when using the important modifier (#16668).gitignorefile when using automatic source detection(#16631)translate-z-pxutilities once in compiled CSS (#16718)Changed
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 from version 3.4.17 to 4.0.12, a major version upgrade with potential breaking changes
New Features:
Enhancements:
Chores: