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 to Tailwind CSS v3.1.3 #174

Merged
merged 1 commit into from Jun 18, 2022
Merged

Conversation

cover
Copy link
Contributor

@cover cover commented Jun 9, 2022

Changelog

[3.1.3] - 2022-06-14

Fixed

  • Fix extraction of multi-word utilities with arbitrary values and quotes (#8604)
  • Fix casing of import of corePluginList type definition (#8587)
  • Ignore PostCSS nodes returned by addVariant (#8608)
  • Fix missing spaces around arithmetic operators (#8615)
  • Detect alpha value in CSS theme() function when using quotes (#8625)
  • Fix "Maximum call stack size exceeded" bug (#8636)
  • Allow functions returning parallel variants to mutate the container (#8622)
  • Remove text opacity CSS variables from ::marker (#8622)

[3.1.2] - 2022-06-10

Fixed

  • Ensure \ is a valid arbitrary variant token (#8576)
  • Enable postcss-import in the CLI by default in watch mode (#8574, #8580)

[3.1.1] - 2022-06-09

Fixed

  • Fix candidate extractor regression (#8558)
  • Split ::backdrop into separate defaults group (#8567)
  • Fix postcss plugin type (#8564)
  • Fix class detection in markdown code fences and slim templates (#8569)

[3.1.0] - 2022-06-08

Fixed

  • Types: allow for arbitrary theme values (for 3rd party plugins) (#7926)
  • Don’t split vars with numbers in them inside arbitrary values (#8091)
  • Require matching prefix when detecting negatives (#8121)
  • Handle duplicate At Rules without children (#8122)
  • Allow arbitrary values with commas in @apply (#8125)
  • Fix intellisense for plugins with multiple @apply rules (#8213)
  • Improve type detection for arbitrary color values (#8201)
  • Support PostCSS config options in config file in CLI (#8226)
  • Remove default [hidden] style in preflight (#8248)
  • Only check selectors containing base apply candidates for circular dependencies (#8222)
  • Rewrite default class extractor (#8204)
  • Move important selector to the front when @apply-ing selector-modifying variants in custom utilities (#8313)
  • Error when registering an invalid custom variant (#8345)
  • Create tailwind.config.cjs file in ESM package when running init (#8363)
  • Fix matchVariants that use at-rules and placeholders (#8392)
  • Improve types of the tailwindcss/plugin (#8400)
  • Allow returning parallel variants from addVariant or matchVariant callback functions (#8455)
  • Try using local postcss installation first in the CLI (#8270)
  • Allow default ring color to be a function (#7587)
  • Don't inherit to value from parent gradients (#8489)
  • Remove process dependency from log functions (#8530)
  • Ensure we can use @import 'tailwindcss/...' without node_modules (#8537)

Changed

  • Only apply hover styles when supported (future) (#8394)
  • Respect default ring color opacity (future) (#8448, 3f4005e)

Added

  • Support PostCSS Document nodes (#7291)
  • Add text-start and text-end utilities (#6656)
  • Support customizing class name when using darkMode: 'class' (#5800)
  • Add --poll option to the CLI (#7725)
  • Add new border-spacing utilities (#7102)
  • Add enabled variant (#7905)
  • Add TypeScript types for the tailwind.config.js file (#7891)
  • Add backdrop variant (#7924, #8526)
  • Add grid-flow-dense utility (#8193)
  • Add mix-blend-plus-lighter utility (#8288)
  • Add arbitrary variants (#8299)
  • Add experimental matchVariant API (#8310, 34fd0fb8)
  • Add prefers-contrast media query variants (#8410)
  • Add opacity support when referencing colors with theme function (#8416)
  • Add postcss-import support to the CLI (#8437)
  • Add optional variant (#8486)
  • Add <alpha-value> placeholder support for custom colors (#8501)

[3.0.24] - 2022-04-12

Fixed

  • Prevent nesting plugin from breaking other plugins (#7563)
  • Recursively collapse adjacent rules (#7565)
  • Preserve source maps for generated CSS (#7588)
  • Split box shadows on top-level commas only (#7479)
  • Use local user CSS cache for @apply (#7524)
  • Invalidate context when main CSS changes (#7626)
  • Only add ! to selector class matching template candidate when using important modifier with mutli-class selectors (#7664)
  • Correctly parse and prefix animation names with dots (#7163)
  • Fix extraction from template literal/function with array (#7481)
  • Don't output unparsable arbitrary values (#7789)
  • Fix generation of div:not(.foo) if .foo is never defined (#7815)
  • Allow for custom properties in rgb, rgba, hsl and hsla colors (#7933)
  • Remove autoprefixer as explicit peer-dependency to avoid invalid warnings in situations where it isn't actually needed (#7949)
  • Ensure the percentage data type is validated correctly (#8015)
  • Make sure font-weight is inherited by form controls in all browsers (#8078)

Changed

  • Replace chalk with picocolors (#6039)
  • Replace cosmiconfig with lilconfig (#6039)
  • Update cssnano to avoid removing empty variables when minifying (#7818)

Fixes #175

@cover cover force-pushed the upgrade-upstream-to-3-1-1 branch from ec94c83 to 0d1f66c Compare June 10, 2022 11:53
@cover cover changed the title Update to Tailwind CSS v3.1.1 Update to Tailwind CSS v3.1.2 Jun 10, 2022
@dixpac
Copy link
Contributor

dixpac commented Jun 10, 2022

Awesome. Thank you 👏🏽

@dixpac
Copy link
Contributor

dixpac commented Jun 11, 2022

@dhh when you have some time lets get this merged...most beneficial feature here for us is that postcss is now embedded inside the binary. So, few open issues around splitting css into multiple files should be fixed with this PR/upgrade.

@cover cover force-pushed the upgrade-upstream-to-3-1-1 branch from 0d1f66c to c448ce4 Compare June 16, 2022 22:37
@cover cover changed the title Update to Tailwind CSS v3.1.2 Update to Tailwind CSS v3.1.3 Jun 16, 2022
@gobijan
Copy link

gobijan commented Jun 17, 2022

Just analysed the code and wanted to open the same pull request. Seems like @dhh just needs to trigger the new release task with the bumped version. Anything else that blocks here?

@dhh dhh merged commit bd748d6 into rails:main Jun 18, 2022
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.

Update to Tailwind CLI 3.1
4 participants