Skip to content

Upgrading tailwindcss 0.3 to 0.4

Review needed0.3.0 → 0.4.3New2Changed4Fixed2Other1

Review neededUpgrade verdict

4 behavior changes.

  • Styles using @apply should build faster.
  • The built-in sans-serif font list is updated so it works better with the CSS font shorthand and is less likely to break in the future.
  • When you @apply a class that has important styles, those styles are no longer copied as important, so utilities can still override them.
  • Some default colors changed slightly: dark greys are more spread out and the darkest shades of most colors are less saturated.
Nothing to change

No breaking, platform, security or deprecated items in this range.

Adds perfectionist ^2.4.0.

Drops stylefmt.

Installs 256 packages in all (was 535).

Also installs comment-regex, defined, string.prototype.repeat, vendors.

No longer installs JSONStream, ajv, ajv-keywords, amdefine, argparse, array-differ, array-find-index, array-union, array-uniq, arrify, autoprefixer, bluebird, browserslist, camelcase-keys, caniuse-db and 143 more.

Moves arr-diff 2.0.0, 4.0.0 → 4.0.0, array-unique 0.2.1, 0.3.2 → 0.3.2, balanced-match 0.4.2, 1.0.2 → 1.0.2, braces 1.8.5, 2.3.2 → 2.3.2, camelcase 2.1.1, 4.1.0 → 4.1.0, expand-brackets 0.1.5, 2.1.4 → 2.1.4, extglob 0.3.2, 2.0.4 → 2.0.4, fill-range 2.2.4, 4.0.0 → 4.0.0, glob-parent 2.0.0, 3.1.0 → 3.1.0, is-extglob 1.0.0, 2.1.1 → 2.1.1, is-fullwidth-code-point 1.0.0, 2.0.0 → 2.0.0, is-glob 2.0.1, 3.1.0, 4.0.3 → 3.1.0, 4.0.3, is-number 2.1.0, 3.0.0, 4.0.0 → 3.0.0, isarray 0.0.1, 1.0.0 → 1.0.0, lru-cache 3.2.0, 4.1.5 → 4.1.5 and 7 more. Your build may pick other versions.

Nothing in this upgrade needs a code or configuration change.