Skip to content

Conversation

@dependabot
Copy link

@dependabot dependabot bot commented on behalf of github Jul 31, 2025

Bumps tailwind-variants from 0.3.0 to 2.1.0.

Release notes

Sourced from tailwind-variants's releases.

v2.1.0

   🚀 Features

    View changes on GitHub

v2.0.1

  • Update tsup configuration to enable cleaning and minification
    View changes on GitHub

Full Changelog: heroui-inc/tailwind-variants@v2.0.0...v2.0.1

v2.0.0

Breaking Changes 🚨

tailwind-merge is now an optional peer dependency

In v2, we've made tailwind-merge an optional peer dependency to reduce bundle size for users who don't need Tailwind CSS conflict resolution.

What changed?

  • tailwind-merge is no longer bundled with tailwind-variants
  • Users who want conflict resolution must install it separately
  • Users who don't need conflict resolution can save ~3KB in bundle size

Migration Steps

If you use the default configuration with twMerge: true (conflict resolution enabled):

# npm
npm install tailwind-merge
yarn
yarn add tailwind-merge
pnpm
pnpm add tailwind-merge

If you don't need conflict resolution, disable it in your config:

const button = tv(
  {
    base: "px-4 py-2 rounded",
    variants: {
      color: {
</tr></table> 

... (truncated)

Changelog

Sourced from tailwind-variants's changelog.

2.1.0 (2025-07-31)

Features

  • implement lazy loading for tailwind-merge module (#257) (e80c23a)

2.0.1 (2025-07-28)

2.0.0 (2025-07-27)

2.0.0 (2025-07-27)

Changelog

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

2.0.0 (2025-07-27)

⚠ BREAKING CHANGES

  • deps: tailwind-merge is now an optional peer dependency. Users who want Tailwind CSS conflict resolution must install it separately:
    npm install tailwind-merge

Features

  • performance: Significant performance optimizations (37-62% faster for most operations)
  • bundle: Reduced bundle size from 5.8KB to 5.2KB (10% smaller)
  • deps: Made tailwind-merge an optional peer dependency

Performance Improvements

  • Replaced array methods with for loops for better performance
  • Optimized object property checks using in operator
  • Improved isEmptyObject implementation
  • Better isEqual implementation without JSON.stringify
  • Reduced object allocations and temporary variables
  • Cached regex patterns
  • Streamlined string operations

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [tailwind-variants](https://github.com/heroui-inc/tailwind-variants) from 0.3.0 to 2.1.0.
- [Release notes](https://github.com/heroui-inc/tailwind-variants/releases)
- [Changelog](https://github.com/heroui-inc/tailwind-variants/blob/main/CHANGELOG.md)
- [Commits](heroui-inc/tailwind-variants@v0.3.0...v2.1.0)

---
updated-dependencies:
- dependency-name: tailwind-variants
  dependency-version: 2.1.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Jul 31, 2025
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Aug 26, 2025

Superseded by #515.

@dependabot dependabot bot closed this Aug 26, 2025
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/tailwind-variants-2.1.0 branch August 26, 2025 19:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant