@tailwindcss/oxide
4.3.4 · 2 Nov 2026MIT112.9M / weekRepositorynpmAtom feed
4.3.4 is the newest release of 4.x.
In short
1 new22 fixed2 changed
Release note
Added
Add
--silentoption to suppress output in@tailwindcss/cli
Fixed
Remove deprecation warnings by using
Module#registerHooksinstead ofModule#registeron Node 26+Canonicalization: Don't crash when plugin utilities throw for unsupported values
Allow
@applyto be used with CSS mixinsEnsure
not-*correctly negates@containerqueries, includingstyle(…)queriesEnsure
drop-shadow-*color utilities work with custom shadow values containingcalc(…)Fix 'Sourcemap is likely to be incorrect' warnings when using
@tailwindcss/viteEnsure
@tailwindcss/webpackcan be installed in Rspack projects without requiringwebpackas a peer dependencyCanonicalization: Don't suggest invalid
calc(…)expressions (e.g.px-[calc(1rem+0px)]→px-[calc(1rem+0)])Canonicalization: Avoid suggesting large spacing-scale values for arbitrary lengths (e.g.
left-[99999px]→left-[99999px], notleft-24999.75)Ensure
@tailwindcss/cliin--watchmode recovers when a tracked dependency is deleted and restoredEnsure standalone
@tailwindcss/clibinaries are ignored when scanning for class candidatesEnsure class candidates are extracted from Twig
addClass(…)andremoveClass(…)callsDon't crash in the Ruby or Vue preprocessors when scanning files containing invalid UTF-8 bytes
Allow
@variantto be used insideaddBaseEnsure
@sourceglobs with symlinks are preservedEnsure later
@sourcerules can re-include files excluded by earlier@source notrulesUpgrade: Don't migrate empty class rules to invalid
@utilityrulesEnsure transitions between
inset-shadow-noneand other inset shadows work correctlyEnsure explicitly referenced
@sourcedirectories are scanned even when ignored by gitEnsure
@sourceglobs ending in**/*preserve dynamic path segments to avoid scanning too many filesCanonicalization: Don't fold
calc(…)divisions when the result would require high precision (e.g.w-[calc(100%/3.5)]→w-[calc(100%/3.5)], notw-[28.571428571428573%])Serve ESM type declarations to ESM importers of
@tailwindcss/postcss
Changed
Generate
0instead ofcalc(var(--spacing) * 0)for spacing utilities likem-0andleft-0Generate
var(--spacing)instead ofcalc(var(--spacing) * 1)for spacing utilities likem-1andleft-1