Skip to content

Update tailwind-merge 1.8.0 → 1.13.2 (minor)#698

Closed
depfu[bot] wants to merge 1 commit into
mainfrom
depfu/update/yarn/tailwind-merge-1.13.2
Closed

Update tailwind-merge 1.8.0 → 1.13.2 (minor)#698
depfu[bot] wants to merge 1 commit into
mainfrom
depfu/update/yarn/tailwind-merge-1.13.2

Conversation

@depfu

@depfu depfu Bot commented Jun 16, 2023

Copy link
Copy Markdown
Contributor

Here is everything you need to know about this update. Please take a good look at what changed and the test results before merging this pull request.

What changed?

✳️ tailwind-merge (1.8.0 → 1.13.2) · Repo

Release Notes

1.13.2

Bug Fixes

Other

Full Changelog: v1.13.1...v1.13.2

Thanks to @bluetch for sponsoring tailwind-merge! ❤️

1.13.1

Bug Fixes

Full Changelog: v1.13.0...v1.13.1

1.13.0

This release focuses on improvements to the docs.

New Features

  • Add intro video from Simon Vrachliotis to docs by @dcastil in #239
    • @simonswiss made an intro video to tailwind-merge which I added to the docs. Check it out here!
  • Add docs about when to use tailwind-merge by @dcastil in #230
    • I added a new page to the docs about when and how to use tailwind-merge which should help you to decide whether you should use it and what alternative approaches exist.
  • Make it clearer in docs that tailwind-merge supports composition of class strings by @dcastil in #229
  • Add npm package provenance by @dcastil in #219
    • GitHub introduced a new security feature to verify which source commit and build file were used for a specific npm package version. tailwind-merge now publishes provenance signatures alongside all releases on npm. Read more on the GitHub blog.

Bug Fixes

Full Changelog: v1.12.0...v1.13.0

1.12.0

With this release tailwind-merge supports all features introduced in Tailwind CSS v3.3.

New Features

  • Add support for postfix modifier by @dcastil in #214
    • This adds support for line-height modifiers in font-size utilities like text-lg/7 and more potential postfix modifiers in the future (learn more).
    • All classes are checked for postfix modifiers since there will be more in the future and they'll be configurable with plugins.
    • tailwind-merge can't know from the class syntax alone whether something is a modifier or not. E.g. there is w-1/2 which doesn't contain a modifier. So tailwind-merge always checks whether class without potential modifier exists and if it doesn't it checks for full class. This behavior might get reversed in the next major version as a breaking change (learn more).
    • Added conflictingClassGroupModifiers object to tailwind-merge config (learn more).

Full Changelog: v1.11.0...v1.12.0

1.11.0

New Features

  • Add support for Tailwind CSS v3.3 except line-height shorthand by @dcastil in #210
    • The line-height shorthand in font-size utilities (text-lg/7) introduced in Tailwind CSS v3.3 is not yet supported in tailwind-merge because that feature is a bit more involved. I'll add support for it in a future release. More info in #211.
    • Added new validator isPercent which is needed internally for the default scale of color stop positions.
    • New theme key gradientColorStopPositions supported in tailwind-merge.
    • New logical properties like ps-0 (padding-inline-start: 0px;) are de-duplicated away when using the matching property for all sides afterwards like in this case p-0, but not when using single axis sides like px-0 because padding-inline-start can also be the top or bottom padding depending on writing mode.
      • Basically twMerge('ps-0 p-0') === 'p-0' && twMerge('ps-0 px-0') === 'ps-0 px-0'.
      • If you want to use logical properties and know which writing modes your app is limited to, add the right conflicts yourself to your tailwind-merge config.

Full Changelog: v1.10.0...v1.11.0

Thanks to @brandonmcconnell for sponsoring tailwind-merge! ❤️

1.10.0

New Features

  • Add support for container query length units in arbitrary values by @LesnoyPudge in #204

Full Changelog: v1.9.1...v1.10.0

1.9.1

Bug Fixes

  • Fix arbitrary floats not supported in opacity, scale, etc. by @dcastil in #196
    • Up until now classes like opacity-50 opacity-[.025] weren't merged correctly. You might not have noticed since classes with arbitrary values are defined after the default ones in the output stylesheet, but merging it the other way around (opacity-[.025] opacity-50) would have led to a styling bug.
    • This fix led to a new validator isNumber.
  • Fix arbitrary border color value being merged incorrectly by @dcastil in #195

Full Changelog: v1.9.0...v1.9.1

1.9.0

New Features

Bug Fixes

Other

Full Changelog: v1.8.1...v1.9.0

1.8.1

Bug Fixes

  • Fix incorrect class group conflicts in grid-related classes by @dcastil in #177

Full Changelog: v1.8.0...v1.8.1

Thanks to @aniravi24 for sponsoring tailwind-merge! ❤️

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by more commits than we can show here.


Depfu Status

Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with @depfu rebase.

All Depfu comment commands
@​depfu rebase
Rebases against your default branch and redoes this update
@​depfu recreate
Recreates this PR, overwriting any edits that you've made to it
@​depfu merge
Merges this PR once your tests are passing and conflicts are resolved
@​depfu cancel merge
Cancels automatic merging of this PR
@​depfu close
Closes this PR and deletes the branch
@​depfu reopen
Restores the branch and reopens this PR (if it's closed)
@​depfu pause
Ignores all future updates for this dependency and closes this PR
@​depfu pause [minor|major]
Ignores all future minor/major updates for this dependency and closes this PR
@​depfu resume
Future versions of this dependency will create PRs again (leaves this PR as is)

@depfu depfu Bot added the depfu label Jun 16, 2023
@depfu depfu Bot assigned LordRonz Jun 16, 2023
@vercel

vercel Bot commented Jun 16, 2023

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
ronz-nextjs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 16, 2023 11:41pm

@depfu
depfu Bot requested a review from LordRonz June 16, 2023 23:40
@sonarqubecloud

Copy link
Copy Markdown

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: 2cd5bca
Status: ✅  Deploy successful!
Preview URL: https://cf4ccf4f.ronz-nextjs.pages.dev
Branch Preview URL: https://depfu-update-yarn-tailwind-m-nk66.ronz-nextjs.pages.dev

View logs

@depfu

depfu Bot commented Jul 17, 2023

Copy link
Copy Markdown
Contributor Author

Closed in favor of #707.

@depfu depfu Bot closed this Jul 17, 2023
@depfu
depfu Bot deleted the depfu/update/yarn/tailwind-merge-1.13.2 branch July 17, 2023 16:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant