diff --git a/CHANGELOG.md b/CHANGELOG.md index 426e9520c..d40c28ae9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,10 +13,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Update lodash to latest to silence security warnings ## [1.7.4] - 2020-08-26 -### Added +### Added - Add new -p flag to CLI to quickly scaffold a postcss.config.js file + ### Changed - Make @apply insensitive to whitespace in the new applyComplexClasses experiment + ### Fixed - Fix bug where the new applyComplexClasses experiment didn't behave as expected with rules with multiple selectors, like .foo, .bar { color: red } @@ -24,12 +26,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed - Log feature flag notices to stderr instead of stdout to preserve compatibility with pipe-based build systems - Add missing bg-none utility for disabling background images + ### Fixed - Fix bug that prevented defining colors as closures when the gradientColorStops plugin was enabled -### Security ## [1.7.2] - 2020-08-19 -### Added +### Added - Reuse generated CSS as much as possible in long-running processes instead of needlessly recalculating ## [1.7.1] - 2020-08-28 @@ -37,7 +39,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Don't issue duplicate flag notices in long-running build processes ## [1.7.0] - 2020-08-28 -### Added +### Added - Gradients - New background-clip utilities - New ``contents`` display utility @@ -50,6 +52,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Extended spacing scale (experimental) - Default line-heights per font-size by default - Extended font size scale + ### Deprecated - Deprecated gap utilities @@ -66,12 +69,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Fixes an issue where animation keyframes weren't included in the build without @tailwind base (#2108) ## [1.6.0] - 2020-07-28 -### Added +### Added - Animation support - New ``prefers-reduced-motion`` variants - New ``overscroll-behaviour`` utilities - Generate CSS without an input file - + ## [1.5.2] - 2020-07-21 ### Fixed - Fixes issue where you could no longer use ``@apply`` with unprefixed class names if you had configured a prefix @@ -81,17 +84,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Fixes accidental breaking change where adding component variants using the old manual syntax (as recommended in the docs) stopped working ## [1.5.0] - 2020-07-15 -### Added +### Added - Component ``variants`` support - Responsive ``container`` variants - New ``focus-visible`` variant - New ``checked`` variant ## [v0.0.0-658250a96] - 2020-07-12 [YANKED] +No release notes ## [1.4.6] - 2020-05-08 ### Changed -- Explicitly error when using a class as the important config option instead of just generating the wrong CSS +- Explicitly error when using a class as the important config option instead of just generating the wrong CSS ## [1.4.5] - 2020-05-06 ### Fixed @@ -99,11 +103,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [1.4.4] - 2020-05-01 ### Fixed -- Fix bug where target: 'browserslist' didn't work, only ``target: ['browserslist', {...}]`` did +- Fix bug where target: 'browserslist' didn't work, only ``target: ['browserslist', {...}]`` did ## [1.4.3] - 2020-05-01 ### Changed -- Don't generate unnecessary CSS in color plugins when color opacity utilities are disabled +- Don't generate unnecessary CSS in color plugins when color opacity utilities are disabled ## [1.4.2] - 2020-05-01 ### Fixed @@ -111,10 +115,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [1.4.1] - 2020-04-30 ### Changed -- Improve built-in PurgeCSS extractor to better support Haml and Slim templates +- Improve built-in PurgeCSS extractor to better support Haml and Slim templates ## [1.4.0] - 2020-04-29 -### Added +### Added - New color opacity utilities - Built-in PurgeCSS - IE 11 target mode (experimental) @@ -122,6 +126,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [1.3.5] - 2020-04-23 ### Removed - Drop ``fs-extra`` dependency to ``^8.0.0`` to preserve Node 8 compatibility until Tailwind 2.0 + ### Fixed - Fix missing unit in calc bug in space plugin (``space-x-0`` didn't work for example) @@ -130,7 +135,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Fix bug where ``divide-{x/y}-0`` utilities didn't work due to missing unit in ``calc`` call ## [1.3.3] - 2020-04-21 -### Added +### Added - Add forgotten responsive variants for ``space``, ``divideWidth``, and ``divideColor`` utilities ## [1.3.1] - 2020-04-21 @@ -138,7 +143,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Fix bug where the ``space-x`` utilities were not being applied correctly due to referencing ``--space-y-reverse`` instead of ``--space-x-reverse`` ## [1.3.0] - 2020-04-21 -### Added +### Added - New ``space`` and ``divide`` layout utilities - New ``transition-delay`` utilities - New ``group-focus`` variant @@ -150,7 +155,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - New ``clear-none`` utility ## [1.2.0] - 2020-02-05 -### Added +### Added - CSS Transition support - CSS Transform support - CSS Grid support @@ -166,37 +171,39 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Added clear utilities - Config file dependencies are now watchable - Added new ``plugin`` and ``plugin.withOptions`` APIs + ### Changed - Allow plugins to extend the user's config ## [1.2.0-canary.8] - 2020-02-05 -### Added -- Add additional fixed-size line-height utilities +### Added +- Add additional fixed-size line-height utilities ## [1.2.0-canary.7] - 2020-02-04 ### Removed - Remove Inter from font-sans, plan to add later under new class ## [1.2.0-canary.6] - 2020-02-03 -### Added -- Add system-ui to default font stack +### Added +- Add system-ui to default font stack - Add shadow-xs, increase shadow-sm alpha to 0.05 - Support import syntax even without postcss-import -- Alias tailwind bin to tailwindcss -- Add fill/stroke to transition-colors +- Alias tailwind bin to tailwindcss +- Add fill/stroke to transition-colors - Add transition-shadow, add box-shadow to default transition - Combine gap/columnGap/rowGap - Add grid row utilities - Add skew utilities + ### Changed - Use font-sans as default font ## [1.2.0-canary.5] - 2020-01-08 -### Added +### Added - Adds missing dependency ``resolve`` which is required for making config dependencies watchable ## [1.2.0-canary.4] - 2020-01-08 -### Added +### Added - CSS Transition support - CSS Transform support - CSS Grid support @@ -214,41 +221,45 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Add new ``plugin`` and ``plugin.withOptions`` APIs ## [v1.2.0-canary.3] - 2020-01-08 [YANKED] +No release notes ## [1.1.4] - 2019-11-25 ### Changed - Note: Although this is a bugfix it could affect your site if you were working around the bug in your own code by not prefixing the ``.group`` class. I'm sorry 😞 + ### Fixed -- Fixes a bug where the ``.group`` class was not receiving the user's configured prefix when using the ``prefix`` option +- Fixes a bug where the ``.group`` class was not receiving the user's configured prefix when using the ``prefix`` option ## [1.2.0-canary.1] - 2019-10-22 ### Changed - Don't watch ``node_modules`` files for changes + ### Fixed - Fixes significant build performance regression in ``v1.2.0-canary.0 `` ## [1.1.3] - 2019-10-22 ### Fixed -- Fixes an issue where in some cases function properties in the user's ``theme`` config didn't receive the second utils argument +- Fixes an issue where in some cases function properties in the user's ``theme`` config didn't receive the second utils argument ## [1.2.0-canary.0] - 2019-10-14 -### Added -- Automatically watch all config file dependencies (plugins, design tokens imported from other files, etc.) for changes when build watcher is running -- Add ``justify-evenly`` utility +### Added +- Automatically watch all config file dependencies (plugins, design tokens imported from other files, etc.) for changes when build watcher is running +- Add ``justify-evenly`` utility + ### Changed -- Allow plugins to add their own config file to be resolved with the user's custom config +- Allow plugins to add their own config file to be resolved with the user's custom config ## [1.1.2] - 2019-08-14 ### Fixed - Fixes a bug with horizontal rules where they were displayed with a 2px border instead of a 1px border -- Fixes a bug with horizontal rules where they were rendered with default top/bottom margin +- Fixes a bug with horizontal rules where they were rendered with default top/bottom margin ## [1.1.1] - 2019-08-09 ### Fixed -- Fixes issue where values like ``auto`` would fail to make it through the default negative margin config +- Fixes issue where values like ``auto`` would fail to make it through the default negative margin config ## [1.1.0] - 2019-08-06 -### Added +### Added - Added utilities for screenreader visibility - Added utilities for placeholder color - First, last, even, and odd child variants @@ -259,6 +270,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Added ``border-double`` utility - Support negative prefix for boxShadow and letterSpacing plugins - Support passing config path via object + ### Fixed - Placeholders no longer have a default opacity - Make horizontal rules visible by default @@ -266,17 +278,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [1.0.6] - 2019-08-01 ### Fixed -- Fixes issue where modifiers would mutate nested rules +- Fixes issue where modifiers would mutate nested rules ## [1.0.5] - 2019-07-11 -### Added -- Support built-in variants for utilities that include pseudo-elements +### Added +- Support built-in variants for utilities that include pseudo-elements + ### Changed - Update several dependencies, including postcss-js which fixes an issue with using ``!important`` directly in Tailwind utility plugins ## [1.0.4] - 2019-06-11 ### Changed -- Increase precision of percentage width values to avoid 1px rounding issues in grid layouts +- Increase precision of percentage width values to avoid 1px rounding issues in grid layouts ## [1.0.3] - 2019-06-01 ### Changed @@ -284,42 +297,45 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [1.0.2] - 2019-05-27 ### Fixed -- Fixes a bug where ``@screen`` rules weren't bubbled properly when nested in plugins +- Fixes a bug where ``@screen`` rules weren't bubbled properly when nested in plugins ## [1.0.1] - 2019-05-13 ### Fixed -- Fixes a bug where global variants weren't properly merged +- Fixes a bug where global variants weren't properly merged ## [1.0.0] - 2019-05-13 No release notes ## [1.0.0-beta.10] - 2019-05-12 ### Changed -- Use ``9999`` and ``-9999`` for ``order-last`` and ``order-first`` utilities respectively +- Use ``9999`` and ``-9999`` for ``order-last`` and ``order-first`` utilities respectively ## [1.0.0-beta.9] - 2019-05-12 -### Added +### Added - Add ``bg-repeat-round`` and ``bg-repeat-space`` utilities - Add ``select-all`` and ``select-auto`` utilities + ### Changed -- Make all utilities responsive by default +- Make all utilities responsive by default ## [1.0.0-beta.8] - 2019-04-28 -### Added +### Added - Adds ``responsive`` variants for the new order utilities by default, should have been there all along ## [1.0.0-beta.7] - 2019-04-27 ### Fixed -- Fixes a bug where you couldn't extend the margin config +- Fixes a bug where you couldn't extend the margin config ## [1.0.0-beta.6] - 2019-04-27 -### Added +### Added - Added support for negative inset (``-top-6``, ``-right-4``) and z-index (``-z-10``) utilities, using the same negative key syntax supported by the margin plugin - Add missing fractions as well as x/12 fractions to width scale - Add ``order`` utilities -- Add ``cursor-text`` class by default +- Add ``cursor-text`` class by default + ### Changed -- Make it possible to access your fully merged config file in JS +- Make it possible to access your fully merged config file in JS + ### Removed - Removed ``negativeMargin`` plugin, now the regular ``margin`` plugin supports generating negative classes (like ``-mx-6``) by using negative keys in the config, like ``-6`` @@ -328,41 +344,48 @@ No release notes - Make it possible to disable all core plugins using ``corePlugins: false`` - Make it possible to configure a single list of variants that applies to all utility plugins - Make it possible to whitelist which core plugins should be enabled + ### Fixed -- Fix a bug where stroke and fill plugins didn't properly handle the next object syntax for color definitions +- Fix a bug where stroke and fill plugins didn't properly handle the next object syntax for color definitions - Fix a bug where you couldn't have comments near ``@apply`` directives ## [1.0.0-beta.4] - 2019-03-29 -### Added -- Add the ``container`` key to the scaffolded config file when generated with ``--full`` +### Added +- Add the ``container`` key to the scaffolded config file when generated with ``--full`` + ### Changed - Bumps node dependency to 8.9.0 so we can keep our default config file clean, 6.9.0 is EOL next month anyways + ### Removed -- Removes ``SFMono-Regular`` from the beginning of the default monospace font stack, it has no italic support and Menlo looks better anyways +- Removes ``SFMono-Regular`` from the beginning of the default monospace font stack, it has no italic support and Menlo looks better anyways + ### Fixed - Fixes an issue where the user's config object was being mutated during processing (only affects @bradlc 😅) -- Fixes an issue where you couldn't use a closure to define theme sections under ``extend`` +- Fixes an issue where you couldn't use a closure to define theme sections under ``extend`` ## [1.0.0-beta.3] - 2019-03-18 -### Added +### Added - Support lazy evaluation in ``theme.extend`` + ### Changed - Use lighter default border color - Revert #745 and use ``bolder`` for strong tags by default instead of ``fontWeight.bold`` ## [1.0.0-beta.2] - 2019-03-17 ### Changed -- Closures in the ``theme`` section of the config file are now passed a ``theme`` function instead of an object +- Closures in the ``theme`` section of the config file are now passed a ``theme`` function instead of an object + ### Fixed - Fix issue where ``@screen`` didn't work at all 🙃 ## [1.0.0-beta.1] - 2019-03-17 -### Added +### Added - New config file structure - New expanded default color palette - New default ``maxWidth`` scale - Added utilities for ``list-style-type`` and ``list-style-position`` - Added ``break-all`` utility + ### Changed - ``object-position`` utilities are now customizable under ``theme.objectPosition`` - ``cursor`` utilities are now customizable under ``theme.cursors`` @@ -373,24 +396,25 @@ No release notes ## [0.7.4] - 2019-01-23 ### Changed -- Update our PostCSS related dependencies +- Update our PostCSS related dependencies + ### Fixed -- Fix bug where class names containing a ``.``character had the responsive prefix added in the wrong place +- Fix bug where class names containing a ``.``character had the responsive prefix added in the wrong place ## [0.7.3] - 2018-12-03 ### Changed -- Update Normalize to v8.0.1 +- Update Normalize to v8.0.1 ## [0.7.2] - 2018-11-05 -### Added -- Add ``--no-autoprefixer`` option to CLI ``build`` command +### Added +- Add ``--no-autoprefixer`` option to CLI ``build`` command ## [0.7.1] - 2018-11-05 ### Changed -- Update autoprefixer dependency +- Update autoprefixer dependency ## [0.7.0] - 2018-10-31 -### Added +### Added - Registering new variants from plugins - Variant order can be customized per module - Added focus-within variant @@ -398,6 +422,7 @@ No release notes - Option to generate config without comments - Make configured prefix optional when using @apply - Improve Flexbox behavior in IE 10/11 + ### Changed - Variant order in modules is now significant - Normalize.css updated to v8.0.0 @@ -409,37 +434,39 @@ No release notes ## [0.6.5] - 2018-08-18 ### Fixed -- Fixes an issue where units were stripped from zero value properties +- Fixes an issue where units were stripped from zero value properties ## [0.6.4] - 2018-07-16 ### Fixed -- Fixes an issue where changes to your configuration file were ignored when using ``webpack --watch`` +- Fixes an issue where changes to your configuration file were ignored when using ``webpack --watch`` ## [0.6.3] - 2018-07-11 ### Fixed -- Fixes an issue where ``@tailwind utilities`` generated no output +- Fixes an issue where ``@tailwind utilities`` generated no output ## [0.6.2] - 2018-03-11 -### Added +### Added - Added table layout utilities for styling tables - Configuration can now be passed as an object - Registering new variants from plugins (experimental) - Allow ``@apply``-ing classes that aren't defined but would be generated (experimental) + ### Changed - Default config file changes ## [0.6.1] - 2018-06-22 ### Fixed -- Fix incorrect box-shadow syntax for the ``.shadow-outline`` utility 🤦‍♂️ +- Fix incorrect box-shadow syntax for the ``.shadow-outline`` utility 🤦‍♂️ ## [0.6.0] - 2018-06-21 -### Added +### Added - Added border collapse utilities for styling tables - Added more axis-specific overflow utilities - Added ``.outline-none`` utility for suppressing focus styles - Added ``.shadow-outline`` utility as an alternative to default browser focus styles - Extended default padding, margin, negative margin, width, and height scales - Enable focus and hover variants for more modules by default + ### Changed - Removed default ``outline: none !important`` styles from focusable but keyboard-inaccessible elements - Moved screen prefix for responsive ``group-hover`` variants @@ -448,6 +475,7 @@ No release notes ## [0.5.3] - 2018-05-07 ### Changed - Improve sourcemaps for replaced styles like ``preflight`` + ### Fixed - Fix bug where informational messages were being logged to stdout during build, preventing the ability to use Tailwind's output in Unix pipelines @@ -460,7 +488,7 @@ No release notes - Reverts a change that renamed the ``.roman`` class to ``.not-italic`` due to the fact that it breaks compatibility with cssnext: [postcss/postcss-selector-not#10](https://github.com/postcss/postcss-selector-not/issues/10). We'll stick with ``.roman`` for now with a plan to switch to ``.not-italic`` in another breaking version should that issue get resolved in postcss-selector-not. ## [0.5.0] - 2018-03-13 -### Added +### Added - Plugin system - Added ``.sticky position`` utility - Added ``.cursor-wait`` and ``.cursor-move`` utilities @@ -469,6 +497,7 @@ No release notes - Support for active variants - Better postcss-import support - Configuration options for the ``.container`` component + ### Changed - The ``.container`` component is now a built-in plugin - State variant precedence changes @@ -478,15 +507,17 @@ No release notes ## [0.4.3] - 2018-03-13 ### Changed -- Use ``global.Object`` to avoid issues with polyfills when importing the Tailwind config into other JS +- Use ``global.Object`` to avoid issues with polyfills when importing the Tailwind config into other JS ## [0.4.2] - 2018-03-01 -### Added -- Add support for using a function to define class prefixes in addition to a simple string +### Added +- Add support for using a function to define class prefixes in addition to a simple string + ### Changed -- Improve the performance of @apply by using a lookup table instead of searching +- Improve the performance of @apply by using a lookup table instead of searching + ### Fixed -- Fix an issue where borders couldn't be applied to ``img`` tags without specifying a border style +- Fix an issue where borders couldn't be applied to ``img`` tags without specifying a border style ## [0.4.1] - 2018-01-22 ### Changed @@ -494,14 +525,15 @@ No release notes - Replace stylefmt with Perfectionist to avoid weird stylelint conflicts ## [0.4.0] - 2017-12-15 -### Added +### Added - ``@apply``'d classes can now be made ``!important`` explicitly + ### Changed - ``@apply`` now strips ``!important`` from any mixed in classes - Default color palette tweaks ## [0.3.0] - 2017-12-01 -### Added +### Added - Enable/disable modules and control which variants are generated for each - Focus variants - Group hover variants @@ -509,6 +541,7 @@ No release notes - Customize the separator character - Missing config keys now fallback to their default values - New utilities + ### Changed - Lists now have no margins by default - ``.pin`` no longer sets width and height to 100% @@ -523,11 +556,12 @@ No release notes - Fix overly specific border-radius reset for Chrome 62 button styles ## [0.2.0] - 2017-11-17 -### Added +### Added - Add a custom prefix to all utilities - Optionally make all utilities ``!important`` - Round element corners independently - Cascading border colors and styles + ### Changed - ``auto`` is no longer a hard-coded margin value - The ``defaultConfig`` function is now a separate module @@ -543,31 +577,35 @@ No release notes ## [0.1.5] - 2017-11-08 ### Changed -- Apply the same default placeholder styling that's applied to inputs to textareas +- Apply the same default placeholder styling that's applied to inputs to textareas + ### Fixed -- Fix CLI tool not loading config files properly +- Fix CLI tool not loading config files properly ## [0.1.4] - 2017-11-06 -### Added +### Added - Autoprefix dist assets for quick hacking and prototyping - Add ``my-auto``, ``mt-auto``, and ``mb-auto`` margin utilities - Add ``sans-serif`` to end of default ``sans`` font stack + ### Changed - If using Webpack, it will now watch your config file changes -- When running ``tailwind init [filename]``, automatically append ``.js`` to filename if not present +- When running ``tailwind init [filename]``, automatically append ``.js`` to filename if not present - Support default fallback value in ``config(...)`` function, ie. ``config('colors.blue', #0000ff)`` - Don't output empty media queries if Tailwind processes a file that doesn't use Tailwind + ### Fixed - Move list utilities earlier in stylesheet to allow overriding with spacing utilities ## [0.1.3] - 2017-11-02 -### Added +### Added - Add new ``.scrolling-touch`` and ``.scrolling-auto`` utilities for controlling inertial scroll behavior on WebKit touch devices - Generate separate dist files for preflight, utilities, and tailwind for CDN usage ## [0.1.2] - 2017-11-01 ### Changed - Target Node 6.9.0 explicitly (instead of 8.6 implicitly) to support more users + ### Fixed - Fix issue with config option not being respected in ``tailwind build``