Skip to content

chore(deps): update dependency tailwind-variants to v4 - #583

Open
renovate[bot] wants to merge 1 commit into
developfrom
renovate/tailwind-variants-4.x
Open

renovate[bot] wants to merge 1 commit into
developfrom
renovate/tailwind-variants-4.x

Conversation

@renovate

@renovate renovate Bot commented Nov 27, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
tailwind-variants 3.3.1 → 4.0.2 age confidence

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

heroui-inc/tailwind-variants (tailwind-variants)

v4.0.2

Compare Source

🐛 Fixes
  • types: compoundVariants checks stay linear on TS 5.7+ with many entries (#​322)

v4.0.1

Compare Source

🐛 Fixes
  • numeric variant keys accepted as numbers in props and VariantProps (#​318)
  • benchmark: released lite-inject comparison

v4.0.0

Compare Source

✨ Features
  • compiled merge tables; default entry exports twMerge, twJoin, and clsx
  • tailwind-variants/merge: merger without tv
  • tailwind-variants/config: twMergeConfig and extendTailwindMerge / createTailwindMerge / createTwMerge / fromTheme / validators / mergeConfigs / getDefaultConfig
  • multi-extend via extend: [a, b, c] (#​297)
  • empty class lists return "" (#​289)
  • array compound / variant classes apply to the base slot (#​263)
  • experimental debug mode
  • inject twMerge from tailwind-variants/lite (#​307)
  • cacheSize and prefix on the default tables
⚡ Performance
  • hot tv() about 3.5× vs 3.3.1, over 6× with compound variants
  • cn() about 2× vs 3.3.1 on join-and-merge, over 7× on interpolated arguments, about 2× on unique arbitrary values
  • pre-merged static core; class / className cached by text
  • compound variants kept out of cache keys (#​317)
🐛 Fixes
  • unlabeled font-[Inter] is family, font-[700] is weight
  • contain-*, bg-gradient-to-*, bg-conic, columns-auto, max-h-none, extra size scales
  • debug reporter stripped when NODE_ENV is production
  • compoundSlots no longer widens variant inference (#​316)
🚨 Breaking Changes
  • twMergeConfig: tailwind-variants/config only; default entry throws
  • experimentalParseClassName: removed
  • cn: cn("a", 0) → "a"; cn(0) → "0"
  • empty lists: "" instead of undefined
  • types: unknown variant / slot keys error
  • peers: tailwind-merge and tailwindcss removed
  • lite: function twMerge is called (3.3.1 treated it as true)
  • twMerge: false: cx join; whitespace normalized at compile
🛠 Chores
  • pnpm compile-tables
  • isolated benchmark suites
  • pkg.pr.new
  • toolchain on Vitest 5, tsup 9, Biome 2.6, pnpm 12; audit clean (#​315)

See .docs/migrations/v3-to-v4.md.

3.3.1 (2026-08-03)

Bug Fixes

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • Between 12:00 AM and 03:59 AM, only on Monday (* 0-3 * * 1)
  • Automerge
    • At any time (no schedule defined)

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

♻ Rebasing: Whenever PR is behind base branch, 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, check this box

This PR was generated by Mend Renovate. View the repository job log.

@coderabbitai

coderabbitai Bot commented Nov 27, 2026 •

Copy link
Copy Markdown
Contributor

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 3046375f-11d9-4c6a-9871-fc85875b0eae

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@github-actions

Copy link
Copy Markdown
Contributor

Change file check

⚠️ Missing: this PR does not add a change file under .changes/.

If this change should show up in the release notes, add one with release-tool new "<title>" --kind <added|changed|deprecated|removed|fixed|security|safety|chore>. Otherwise add the no-changelog label.

@renovate
renovate Bot force-pushed the renovate/tailwind-variants-4.x branch from 67a5078 to 4e36153 Compare November 27, 2026 08:47

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Todo

Development

Successfully merging this pull request may close these issues.

0 participants