Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependency tailwindcss to v3 #26

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Mar 26, 2022

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
tailwindcss (source) ^2.0.4 -> ^3.0.0 age adoption passing confidence

Release Notes

tailwindlabs/tailwindcss

v3.0.23

Compare Source

Fixed
  • Remove opacity variables from :visited pseudo class (#​7458)
  • Support arbitrary values + calc + theme with quotes (#​7462)
  • Don't duplicate layer output when scanning content with variants + wildcards (#​7478)
  • Implement getClassOrder instead of sortClassList (#​7459)

v3.0.22

Compare Source

Fixed
  • Temporarily move postcss to dependencies (#​7424)

v3.0.21

Compare Source

Fixed
  • Move prettier plugin to dev dependencies (#​7418)

v3.0.20

Compare Source

Added
  • Expose context.sortClassList(classes) (#​7412)

v3.0.19

Compare Source

Fixed
  • Fix preflight border color fallback (#​7288)
  • Correctly parse shadow lengths without a leading zero (#​7289)
  • Don't crash when scanning extremely long class candidates (#​7331)
  • Use less hacky fix for URLs detected as custom properties (#​7275)
  • Correctly generate negative utilities when dash is before the prefix (#​7295)
  • Detect prefixed negative utilities in the safelist (#​7295)

v3.0.18

Compare Source

Fixed
  • Fix @apply order regression (in addComponents, addUtilities, ...) (#​7232)
  • Quick fix for incorrect arbitrary properties when using URLs (#​7252)

v3.0.17

Compare Source

Fixed
  • Remove false positive warning in CLI when using the --content option (#​7220)

v3.0.16

Compare Source

Fixed
  • Ensure to transpile the PostCSS Nesting plugin (tailwindcss/nesting) (#​7080)
  • Improve various warnings (#​7118)
  • Fix grammatical mistake (cca5a38)

v3.0.15

Compare Source

Fixed
  • Temporarily remove optional chaining in nesting plugin (#​7077)

v3.0.14

Compare Source

Added
  • Show warnings for invalid content config (#​7065)
Fixed
  • Only emit utility/component variants when those layers exist (#​7066)
  • Ensure nesting plugins can receive options (#​7016)

v3.0.13

Compare Source

Fixed
  • Fix consecutive builds with at apply producing different CSS (#​6999)

v3.0.12

Compare Source

Fixed
  • Allow use of falsy values in theme config (#​6917)
  • Ensure we can apply classes that are grouped with non-class selectors (#​6922)
  • Improve standalone CLI compatibility on Linux by switching to the linuxstatic build target (#​6914)
  • Ensure @apply works consistently with or without @layer (#​6938)
  • Only emit defaults when using base layer (#​6926)
  • Emit plugin defaults regardless of usage (#​6926)
  • Move default border color back to preflight (#​6926)
  • Change experimental.optimizeUniversalDefaults to only work with @tailwind base (#​6926)

v3.0.11

Compare Source

Fixed
  • Preserve casing of CSS variables added by plugins (#​6888)
  • Ignore content paths that are passed in but don't actually exist (#​6901)
  • Revert change that applies Tailwind's defaults in isolated environments like CSS modules (9fdc391)

v3.0.10

Compare Source

Fixed
  • Fix @apply in files without @tailwind directives (#​6580, #​6875)
  • CLI: avoid unnecessary writes to output files (#​6550)
Added
  • Allow piping data into the CLI (#​6876)

v3.0.9

Compare Source

Fixed
  • Improve DEBUG flag (#​6797, #​6804)
  • Ensure we can use < and > characters in modifiers (#​6851)
  • Validate theme() works in arbitrary values (#​6852)
  • Properly detect theme() value usage in arbitrary properties (#​6854)
  • Improve collapsing of duplicate declarations (#​6856)
  • Remove support for TAILWIND_MODE=watch (#​6858)

v3.0.8

Compare Source

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

Compare Source

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

Compare Source

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

v3.0.5

Compare Source

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

v3.0.4

Compare Source

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

v3.0.3

Compare Source

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

Compare Source

Fixed
  • Remove opacity variables from :visited pseudo class (#​7458)
  • Support arbitrary values + calc + theme with quotes (#​7462)
  • Don't duplicate layer output when scanning content with variants + wildcards (#​7478)
  • Implement getClassOrder instead of sortClassList (#​7459)

v3.0.1

Compare Source

Fixed
  • Fix preflight border color fallback (#​7288)
  • Correctly parse shadow lengths without a leading zero (#​7289)
  • Don't crash when scanning extremely long class candidates (#​7331)
  • Use less hacky fix for URLs detected as custom properties (#​7275)
  • Correctly generate negative utilities when dash is before the prefix (#​7295)
  • Detect prefixed negative utilities in the safelist (#​7295)

v3.0.0

Compare Source

Fixed
  • Enforce the order of some variants (like before and after) (#​6018)
Added
  • Add placeholder variant (#​6106)
  • Add composable touch-action utilities (#​6115)
  • Add support for "arbitrary properties" (#​6161)
  • Add portrait and landscape variants (#​6046)
  • Add text-decoration-style, text-decoration-thickness, and text-underline-offset utilities (#​6004)
  • Add menu reset to preflight (#​6213)
  • Allow 0 as a valid length value (#​6233, #​6259)
  • Add CSS functions to data types (#​6258)
  • Support negative values for scale-* utilities (c48e629)
  • Improve length data type, by validating each value individually (#​6283)
Changed
  • Deprecate decoration-slice and decoration-break in favor box-decoration-slice and box-decoration-break (non-breaking) (#​6004)

v2.2.19

Compare Source

Fixed
  • Ensure corePlugins order is consisent in AOT mode (#​5928)

v2.2.18

Compare Source

Fixed
  • Bump versions for security vulnerabilities (#​5924)

v2.2.17

Compare Source

Fixed
  • Configure chokidar's awaitWriteFinish setting to avoid occasional stale builds on Windows (#​5758)

v2.2.16

Compare Source

Fixed
  • JIT: Properly handle animations that use CSS custom properties (#​5602)

v2.2.15

Compare Source

Fixed
  • Ensure using CLI without -i for input file continues to work even though deprecated (#​5464)

v2.2.14

Compare Source

Fixed
  • Only use @defaults in JIT, switch back to clean-css in case there's any meaningful differences in the output (bf248cb)

v2.2.13

Compare Source

Fixed
  • Replace clean-css with cssnano for CDN builds to fix minified builds (75cc3ca)

v2.2.12

Compare Source

Fixed
  • Ensure that divide utilities inject a default border color (#​5438)

v2.2.11

Compare Source

Fixed
  • Rebundle to fix missing CLI peer dependencies

v2.2.10

Compare Source

Fixed
  • Fix build error when using presets: [] in config file (#​4903)
Added
  • Reintroduce universal selector optimizations under experimental optimizeUniversalDefaults flag (a9e160c)

v2.2.9

Compare Source

Fixed
  • JIT: Fix @applying utilities that contain variants + the important modifier (#​4854)
  • JIT: Don't strip "null" when parsing tracked file paths (#​5008)
  • Pin clean-css to v5.1.4 to fix empty CSS variables in CDN builds (#​5338)

v2.2.8

Compare Source

Fixed
  • Improve accessibility of default link focus styles in Firefox (#​5082)
  • JIT: Fix animation variants corrupting keyframes rules (#​5223)
  • JIT: Ignore escaped commas when splitting selectors to apply prefixes (#​5239)
  • Nesting: Maintain PostCSS node sources when handling @apply (#​5249)
  • JIT: Fix support for animation lists (#​5252)
  • JIT: Fix arbitrary value support for object-position utilities (#​5245)
  • CLI: Abort watcher if stdin is closed to avoid zombie processes (#​4997)
  • JIT: Ignore arbitrary values with unbalanced brackets (#​5293)

v2.2.7

Compare Source

Fixed
  • Temporarily revert runtime performance optimizations introduced in v2.2.5, use universal selector again (#​5060)

v2.2.6

Compare Source

Fixed
  • Fix issue where base styles not generated for translate transforms in JIT (#​5038)

v2.2.5

Compare Source

Added
  • Added self-baseline utility (I know this is a patch release, no one's going to die relax) (#​5000)
Changed
  • JIT: Optimize universal selector usage by inlining only the relevant selectors (#​4850))

    This provides a very significant performance boost on pages with a huge number of DOM nodes, but there's a chance it could be a breaking change in very rare edge cases we haven't thought of. Please open an issue if anything related to shadows, rings, transforms, filters, or backdrop-filters seems to be behaving differently after upgrading.

Fixed
  • Fix support for step-start and step-end in animation utilities (#​4795))
  • JIT: Prevent presence of !* in templates from ruining everything (#​4816))
  • JIT: Improve support for quotes in arbitrary values (#​4817))
  • Fix filter/backdrop-filter/transform utilities being inserted into the wrong position if not all core plugins are enabled (#​4852))
  • JIT: Fix @layer rules being mistakenly inserted during incremental rebuilds (#​4853))
  • Improve build performance for projects with many small non-Tailwind stylesheets (#​4644)
  • Ensure [hidden] works as expected on elements where we override the default display value in Preflight (#​4873)
  • Fix variant configuration not being applied to backdropOpacity utilities (#​4892)

v2.2.4

Compare Source

Fixed
  • Remove postinstall script that was preventing people from installing the library (1eacfb9)

v2.2.3

Compare Source

Added
  • Pass extended color palette to theme closures so it can be used without installing Tailwind when using npx tailwindcss (359252c)
Fixed
  • JIT: Explicitly error when - is used as a custom separator (#​4704)
  • JIT: Don't add multiple ~ when stacking peer-* variants (#​4757)
  • Remove outdated focus style fix in Preflight (#​4780)
  • Enable purge if provided on the CLI (#​4772)
  • JIT: Fix error when not using a config file with postcss-cli (#​4773)
  • Fix issue with resolveConfig not being importable in Next.js pags (#​4725)

v2.2.2

Compare Source

Fixed
  • JIT: Reintroduce transform, filter, and backdrop-filter classes purely to create stacking contexts to minimize the impact of the breaking change (#​4700)

v2.2.1

Compare Source

Fixed
  • Ensure corePlugins order is consisent in AOT mode (#​5928)

v2.2.0

Compare Source

Changed
  • JIT: Use "tracking" context by default instead of "watching" context for improved reliability with most bundlers (#​4514)

    Depending on which tooling you use, you may need to explicitly set TAILWIND_MODE=watch until your build runner has been updated to support PostCSS's dir-dependency message type.

Added
  • Add background-origin utilities (#​4117)
  • Improve @apply performance in projects that process many CSS sources (#​3178)
  • JIT: Don't use CSS variables for color utilities if color opacity utilities are disabled (#​3984)
  • JIT: Redesign matchUtilities API to make it more suitable for third-party use (#​4232)
  • JIT: Support applying important utility variants (#​4260)
  • JIT: Support coercing arbitrary values when the type isn't detectable (#​4263)
  • JIT: Support for raw syntax in purge config (#​4272)
  • Add empty variant (#​3298)
  • Update modern-normalize to v1.1 (#​4287)
  • Implement theme function internally, remove postcss-functions dependency (#​4317)
  • Add screen function to improve nesting plugin compatibility (#​4318)
  • JIT: Add universal shorthand color opacity syntax (#​4348)
  • JIT: Add @tailwind variants directive to replace @tailwind screens (#​4356)
  • JIT: Add support for PostCSS dir-dependency messages in TAILWIND_DISABLE_TOUCH mode (#​4388)
  • JIT: Add per-side border color utilities (#​4404)
  • JIT: Add support for before and after pseudo-element variants and content utilities (#​4461)
  • Add new transform and extract APIs to simplify PurgeCSS/JIT customization (#​4469)
  • JIT: Add exhaustive pseudo-class and pseudo-element variant support (#​4482)
  • JIT: Add caret-color utilities (#​4499)
  • Rename lightBlue to sky, emit console warning when using deprecated name (#​4513)
  • New CLI with improved JIT support, --watch mode, and more (#​4526, 4558)
  • JIT: Add new peer-* variants for styling based on sibling state (#​4556)
  • Expose safelist as a top-level option under purge for both JIT and classic engines (#​4580)
  • JIT: Remove need for transform class when using classes like scale-*, rotate-*, etc. (#​4604)
  • JIT: Remove need for filter and backdrop-filter classes when using classes like contrast-*, backdrop-blur-*, etc. (#​4614)
  • Support passing a custom path for your PostCSS configuration in the Tailwind CLI (#​4607)
  • Add blur-none by default with intent to deprecate blur-0 (#​4614)
Fixed
  • JIT: Improve support for Svelte class bindings (#​4187)
  • JIT: Improve support for calc and var in arbitrary values (#​4147)
  • Convert hsl colors to hsla when transforming for opacity support instead of rgba (#​3850)
  • Fix backdropBlur variants not being generated (#​4188)
  • Improve animation value parsing (#​4250)
  • Ignore unknown object types when hashing config (82f4eaa)
  • Ensure variants are grouped properly for plugins with order-dependent utilities (#​4273)
  • JIT: Fix temp file storage when node temp directories are kept on a different drive than the project itself (#​4044)
  • Support border-opacity utilities alongside default border utility (#​4277)
  • JIT: Fix source maps for expanded @tailwind directives (2f15411)
  • JIT: Ignore whitespace when collapsing adjacent rules (15642fb)
  • JIT: Generate group parent classes correctly when using custom separator (#​4508)
  • JIT: Fix incorrect stacking of multiple group variants (#​4551)
  • JIT: Fix memory leak due to holding on to unused contexts (#​4571)
Internals
  • Add integration tests for popular build runners (#​4354)

v2.1.4

Compare Source

Fixed
  • Skip raw PurgeCSS sources when registering template dependencies (#​4542)

v2.1.3

Compare Source

Fixed
  • Register PurgeCSS paths as PostCSS dependencies to guarantee proper cache-busting in webpack 5 (#​4530)

v2.1.2

Compare Source

Fixed
  • Fix issue where JIT engine would generate the wrong CSS when using PostCSS 7 (#​4078)

v2.1.1

Compare Source

Fixed
  • Fix issue where JIT engine would fail to compile when a source path isn't provided by the build runner for the current input file (#​3978)

v2.1.0

Compare Source

Added
  • Add alternate JIT engine (in preview) (#​3905)
  • Add new mix-blend-mode and background-blend-mode utilities (#​3920)
  • Add new box-decoration-break utilities (#​3911)
  • Add new isolation utilities (#​3914)
  • Add inline-table display utility (#​3563)
  • Add list-item display utility (#​3929)
  • Add new filter and backdrop-filter utilities (#​3923)

Configuration

📅 Schedule: At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, click this checkbox.

This PR has been generated by WhiteSource Renovate. View repository job log here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant