Skip to content

Releases: tailwindlabs/tailwindcss

v3.0.8

28 Dec 21:16

Choose a tag to compare

Fixed

  • Reduce specificity of abbr rule in preflight (#6671)
  • Support HSL with hue units in arbitrary values (#6726)
  • Add node16-linux-arm64 target for standalone CLI (#6693)

v3.0.7

17 Dec 17:49
0c10621

Choose a tag to compare

Fixed

  • Don't mutate custom color palette when overriding per-plugin colors (#6546)
  • Improve circular dependency detection when using @apply (#6588)
  • Only generate variants for non-user layers (#6589)
  • Properly extract classes with arbitrary values in arrays and classes followed by escaped quotes (#6590)
  • Improve jsx interpolation candidate matching (#6593)
  • Ensure @apply of a rule inside an AtRule works (#6594)

v3.0.6

16 Dec 19:11
4a5ba37

Choose a tag to compare

Fixed

  • Support square bracket notation in paths (#6519)
  • Ensure all plugins are executed for a given candidate (#6540)

v3.0.5

15 Dec 12:08
3c93379

Choose a tag to compare

Fixed

  • Revert: add li to list-style reset (9777562d)

v3.0.4

15 Dec 11:40
ee55770

Choose a tag to compare

Fixed

  • Insert always-on defaults layer in correct spot (#6526)

v3.0.3

15 Dec 09:33
6bfde07

Choose a tag to compare

Added

  • Warn about invalid globs in content (#6449)
  • Add standalone tailwindcss CLI (#6506)
  • Add li to list-style reset (00f60e6)

Fixed

  • Don't output unparsable values (#6469)
  • Fix text decoration utilities from overriding the new text decoration color/style/thickness utilities when used with a modifier (#6378)
  • Move defaults to their own always-on layer (#6500)
  • Support negative values in safelist patterns (6480)

v3.0.2

13 Dec 21:04
d07553b

Choose a tag to compare

Fixed

  • Temporarily disable optimize universal defaults, fixes issue with transforms/filters/rings not being @apply-able in CSS modules/Svelte components/Vue components (#6461)

v3.0.1

11 Dec 01:29

Choose a tag to compare

Fixed

  • Ensure complex variants with multiple classes work (#6311)
  • Re-add default interop to public available functions (#6348)
  • Detect circular dependencies when using @apply (#6365)
  • Fix defaults optimization when vendor prefixes are involved (#6369)

v3.0.0

09 Dec 18:28
99baa6e

Choose a tag to compare

Tailwind CSS v3.0 is here — bringing incredible performance gains, huge workflow improvements, and a seriously ridiculous number of new features.

Read the announcement post for all the details.

Added

  • Add colored box shadow utilities (#5979)
  • Add native aspect-ratio utilities (#5359)
  • Add column utilities (#5457)
  • Add break-before, break-inside and break-after utilities (#5530)
  • Add text-indent utilities (#5449)
  • Add text-decoration-{color/style/thickness/offset} utilities (#5760, #6004)
  • Add outline-style, outline-color, outline-width and outline-offset utilities (#5887)
  • Add align-sub and align-super vertical-align utilities (#5486)
  • Add accent-color utilities (#5387)
  • Add scroll-snap utilities (#5637)
  • Add scroll-behavior utilities (#5388)
  • Add touch-action utilities (#5603, #6115)
  • Add flex-basis utilities (#5671)
  • Add grow-* and shrink-* utilities, deprecate flex-grow-* and flex-shrink-* (#5733)
  • Add border-x and border-y width and color utilities (#5639)
  • Add border-hidden utility (#5485)
  • Add overflow-clip, overflow-x-clip and overflow-y-clip utilities (#5630)
  • Add inherit to default color palette (#5597)
  • Add full color palette for fill-* and stroke-* utilities (#5933)
  • Add fit-content values for min/max-width/height utilities (#5638)
  • Add min/max-content values for min/max-height utilities (#5729)
  • Add will-change utilities (#5448)
  • Add all standard cursor-* values by default (#5734)
  • Add print variant for targeting printed media (#5885)
  • Add placeholder variant (#6106)
  • Add file variant for ::file-selector-button pseudo element (#4936)
  • Add [open] variant (#5627)
  • Add portrait and landscape variants (#6046)
  • Add menu reset to preflight (#6213)
  • Add comprehensive "arbitrary value" support (#5568, #6233, #6259, #6258, #6283)
  • Add "arbitrary properties" support (#6161)
  • Add first-class negative value support (#5709, c48e629)
  • Add new declarative addVariant API (#5809)

Changed

  • Remove AOT engine, make JIT the default (#5340)
  • Enable extended color palette by default with updated color names (#5384)
  • Rename overflow-clip to text-clip and overflow-ellipsis to text-ellipsis (#5630)
  • Deprecate decoration-slice and decoration-break in favor box-decoration-slice and box-decoration-break (#6004)
  • Move vertical-align values to config file instead of hard-coding (#5487)
  • Throw when trying to @apply the group class (#4666)
  • Remove dependency on modern-normalize, inline and consolidate with Preflight (#5358)
  • Remove prefix as a function (#5829)
  • Don't use pointer cursor on disabled buttons by default (#5772)
  • Set default content value in preflight instead of within each before/after utility (#5820)
  • Preserve original color format when adding opacity whenever possible (#5154)
  • Unify config callback helpers into single object (#5382)

Thanks to everyone who contributed to this release: @95jonpet, @AviAvinav, @DavydeVries, @DoctorDerek, @MatteoGauthier, @MichaelAllenWarner, @RobinMalfait, @TCatinaud, @adamwathan, @bradlc, @bytedance, @codytooker, @dance2die, @dcastil, @ericbf, @geshii, @hardfist, @htunnicliff, @iksaku, @innocenzi, @kwaa, @lukewarlow, @nifte, @reinink, @sachinraja, @seanpdoyle, @xiBread, @xzfd1010

v3.0.0-alpha.2

08 Nov 17:01

Choose a tag to compare

v3.0.0-alpha.2 Pre-release
Pre-release

To upgrade, install tailwindcss@next:

npm install -D tailwindcss@next

If you're using @tailwindcss/typography or @tailwindcss/forms, you'll want to update those packages as well:

npm install -D @tailwindcss/typography@next
npm install -D @tailwindcss/forms@next

Remember this is an alpha release, so some things might be broken. I don't know about them otherwise I would have fixed them, but you are gonna find them! So try it, break it, and tell me about it when you do so we can get this thing really battle-tested for a proper v3.0 release in a few weeks.


Changed

  • Don't use pointer cursor on disabled buttons by default (#5772)
  • Set default content value in preflight instead of within each before/after utility (#5820)
  • Remove prefix as a function (#5829)

Added

  • Add flex-basis utilities (#5671)
  • Make negative values a first-class feature (#5709)
  • Add fit-content values for min/max-width/height utilities (#5638)
  • Add min/max-content values for min/max-height utilities (#5729)
  • Add all standard cursor-* values by default (#5734)
  • Add grow-* and shrink-* utilities, deprecate flex-grow-* and flex-shrink-* (#5733)
  • Add text-decoration-color utilities (#5760)
  • Add new declarative addVariant API (#5809)
  • Add first-class print variant for targeting printed media (#5885)
  • Add full color palette for fill-* and stroke-* utilities (#5933)
  • Add composable API for colored box shadows (#5979)

Fixed

  • Configure chokidar's awaitWriteFinish setting to avoid occasional stale builds on Windows (#5774)
  • Fix CLI --content option (#5775)
  • Fix before/after utilities overriding custom content values at larger breakpoints (#5820)
  • Cleanup duplicate properties (#5830)
  • Allow _ inside url() when using arbitrary values (#5853)
  • Prevent crashes when using comments in @layer AtRules (#5854)
  • Handle color transformations properly with theme(...) for all relevant plugins (#4533, #5871)
  • Ensure @apply-ing a utility with multiple definitions works (#5870)

Thanks to everyone who contributed to this release: @adamwathan, @bradlc, @dance2die, @dcastil, @DoctorDerek, @hardfist, @lukewarlow, @MatteoGauthier, @MichaelAllenWarner, @nifte, @reinink, @RobinMalfait, @sachinraja, @xzfd1010 ❤️