Releases: tailwindlabs/tailwindcss
v3.0.8
v3.0.7
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-
userlayers (#6589) - Properly extract classes with arbitrary values in arrays and classes followed by escaped quotes (#6590)
- Improve jsx interpolation candidate matching (#6593)
- Ensure
@applyof a rule inside an AtRule works (#6594)
v3.0.6
v3.0.5
v3.0.4
v3.0.3
Added
- Warn about invalid globs in
content(#6449) - Add standalone tailwindcss CLI (#6506)
- Add
lito 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
v3.0.1
v3.0.0
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-ratioutilities (#5359) - Add
columnutilities (#5457) - Add
break-before,break-insideandbreak-afterutilities (#5530) - Add
text-indentutilities (#5449) - Add
text-decoration-{color/style/thickness/offset}utilities (#5760, #6004) - Add
outline-style,outline-color,outline-widthandoutline-offsetutilities (#5887) - Add
align-subandalign-supervertical-align utilities (#5486) - Add
accent-colorutilities (#5387) - Add
scroll-snaputilities (#5637) - Add
scroll-behaviorutilities (#5388) - Add
touch-actionutilities (#5603, #6115) - Add
flex-basisutilities (#5671) - Add
grow-*andshrink-*utilities, deprecateflex-grow-*andflex-shrink-*(#5733) - Add
border-xandborder-ywidth and color utilities (#5639) - Add
border-hiddenutility (#5485) - Add
overflow-clip,overflow-x-clipandoverflow-y-cliputilities (#5630) - Add
inheritto default color palette (#5597) - Add full color palette for
fill-*andstroke-*utilities (#5933) - Add
fit-contentvalues formin/max-width/heightutilities (#5638) - Add
min/max-contentvalues formin/max-heightutilities (#5729) - Add
will-changeutilities (#5448) - Add all standard
cursor-*values by default (#5734) - Add
printvariant for targeting printed media (#5885) - Add
placeholdervariant (#6106) - Add
filevariant for::file-selector-buttonpseudo element (#4936) - Add
[open]variant (#5627) - Add
portraitandlandscapevariants (#6046) - Add
menureset 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
addVariantAPI (#5809)
Changed
- Remove AOT engine, make JIT the default (#5340)
- Enable extended color palette by default with updated color names (#5384)
- Rename
overflow-cliptotext-clipandoverflow-ellipsistotext-ellipsis(#5630) - Deprecate
decoration-sliceanddecoration-breakin favorbox-decoration-sliceandbox-decoration-break(#6004) - Move
vertical-alignvalues to config file instead of hard-coding (#5487) - Throw when trying to
@applythegroupclass (#4666) - Remove dependency on
modern-normalize, inline and consolidate with Preflight (#5358) - Remove
prefixas 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
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
prefixas a function (#5829)
Added
- Add
flex-basisutilities (#5671) - Make negative values a first-class feature (#5709)
- Add
fit-contentvalues formin/max-width/heightutilities (#5638) - Add
min/max-contentvalues formin/max-heightutilities (#5729) - Add all standard
cursor-*values by default (#5734) - Add
grow-*andshrink-*utilities, deprecateflex-grow-*andflex-shrink-*(#5733) - Add
text-decoration-colorutilities (#5760) - Add new declarative
addVariantAPI (#5809) - Add first-class
printvariant for targeting printed media (#5885) - Add full color palette for
fill-*andstroke-*utilities (#5933) - Add composable API for colored box shadows (#5979)
Fixed
- Configure chokidar's
awaitWriteFinishsetting to avoid occasional stale builds on Windows (#5774) - Fix CLI
--contentoption (#5775) - Fix before/after utilities overriding custom content values at larger breakpoints (#5820)
- Cleanup duplicate properties (#5830)
- Allow
_insideurl()when using arbitrary values (#5853) - Prevent crashes when using comments in
@layerAtRules (#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 ❤️