Packages

@tailwindcss/postcss

4.3.4 · 2 Nov 2026MIT59.4M / weekRepositoryHomepagenpmAtom feed

Your version

4.2.3

20 Apr 2026Where it was published

4.3.4 is the newest release of 4.x.

In short

1 new20 fixed

Release note

Fixed

  • Canonicalization: Improve canonicalizations for tracking-* utilities by preferring non-negative utilities (e.g. -tracking-tighter → tracking-wider)

  • Fix crash due to invalid characters in candidate (exceeding valid unicode code point range)

  • Ensure query params in imports are considered unique resources when using @tailwindcss/webpack

  • Canonicalization: Collapse arbitrary values into shorthand utilities (e.g. px-[1.2rem] py-[1.2rem] → p-[1.2rem])

  • Canonicalization: Collapse border-{t,b}-* into border-y-*, border-{l,r}-* into border-x-*, and border-{t,r,b,l}-* into border-*

  • Canonicalization: Collapse scroll-m{t,b}-* into scroll-my-*, scroll-m{l,r}-* into scroll-mx-*, and scroll-m{t,r,b,l}-* into scroll-m-*

  • Canonicalization: Collapse scroll-p{t,b}-* into scroll-py-*, scroll-p{l,r}-* into scroll-px-*, and scroll-p{t,r,b,l}-* into scroll-p-*

  • Canonicalization: Collapse overflow-{x,y}-* into overflow-*

  • Canonicalization: Collapse overscroll-{x,y}-* into overscroll-*

  • Read from --placeholder-color instead of --background-color for placeholder-* utilities

  • Upgrade: Ensure files are not emptied out when killing the upgrade process while it's running

  • Upgrade: Use config.content when migrating from Tailwind CSS v3 to Tailwind CSS v4

  • Upgrade: Never migrate files that are ignored by git

  • Add .env and .env.* to default ignored content files

  • Canonicalization: Migrate overflow-ellipsis into text-ellipsis

  • Canonicalization: Migrate start-full → inset-s-full, start-auto → inset-s-auto, start-px → inset-s-px, and start-<number> → inset-s-<number> as well as negative versions

  • Canonicalization: Migrate end-full → inset-e-full, end-auto → inset-e-auto, end-px → inset-e-px, and end-<number> → inset-e-<number> as well as negative versions

  • Canonicalization: Move the - sign inside the arbitrary value -left-[9rem] → left-[-9rem]

  • Canonicalization: Move the - sign outside the arbitrary value ml-[calc(-1*var(--width))] → -ml-(--width)

  • Improve performance when scanning JSONL / NDJSON files

  • Support NODE_PATH environment variable in standalone CLI