Packages

@tailwindcss/oxide

4.3.4 · 2 Nov 2026MIT112.9M / weekRepositorynpmAtom feed

Your version

4.3.1

12 Jun 2026Where it was published

4.3.4 is the newest release of 4.x.

In short

1 new22 fixed2 changed

Release note

Added

Fixed

  • Remove deprecation warnings by using Module#registerHooks instead of Module#register on Node 26+

  • Canonicalization: Don't crash when plugin utilities throw for unsupported values

  • Allow @apply to be used with CSS mixins

  • Ensure not-* correctly negates @container queries, including style(…) queries

  • Ensure drop-shadow-* color utilities work with custom shadow values containing calc(…)

  • Fix 'Sourcemap is likely to be incorrect' warnings when using @tailwindcss/vite

  • Ensure @tailwindcss/webpack can be installed in Rspack projects without requiring webpack as a peer dependency

  • Canonicalization: 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], not left-24999.75)

  • Ensure @tailwindcss/cli in --watch mode recovers when a tracked dependency is deleted and restored

  • Ensure standalone @tailwindcss/cli binaries are ignored when scanning for class candidates

  • Ensure class candidates are extracted from Twig addClass(…) and removeClass(…) calls

  • Don't crash in the Ruby or Vue preprocessors when scanning files containing invalid UTF-8 bytes

  • Allow @variant to be used inside addBase

  • Ensure @source globs with symlinks are preserved

  • Ensure later @source rules can re-include files excluded by earlier @source not rules

  • Upgrade: Don't migrate empty class rules to invalid @utility rules

  • Ensure transitions between inset-shadow-none and other inset shadows work correctly

  • Ensure explicitly referenced @source directories are scanned even when ignored by git

  • Ensure @source globs ending in **/* preserve dynamic path segments to avoid scanning too many files

  • Canonicalization: Don't fold calc(…) divisions when the result would require high precision (e.g. w-[calc(100%/3.5)] → w-[calc(100%/3.5)], not w-[28.571428571428573%])

  • Serve ESM type declarations to ESM importers of @tailwindcss/postcss

Changed

  • Generate 0 instead of calc(var(--spacing) * 0) for spacing utilities like m-0 and left-0

  • Generate var(--spacing) instead of calc(var(--spacing) * 1) for spacing utilities like m-1 and left-1