Skip to content

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

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

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.1.0 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.1.0

Compare Source

✨ Features
  • defineVariants helper exported from ., /lite, and /config for defining typed options outside tv() and reading them with VariantProps (#​325, #​326)
⚡ Performance
  • props cache keyed strictly on variant axes and compound condition keys so pass-through props (id, aria-label, onClick, children) hit the cache instead of busting or serializing (#​327)
  • string fast path for compound variant matching
🐛 Fixes
  • cold and cached calls agree on compound matching (false/"false" match null or omitted prop with no default; 1 matches "1") and prototype-named variants
  • cached slot results copy effective props so later mutations do not leak into slot overrides
  • cache-key collisions (null/"null", NaN/"NaN", arrays/objects) and in-place compound default mutations refreshing static results

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: fb853ac2-a29e-4fe1-a04a-36e7a8003b74

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 8 times, most recently from a0607e6 to c61e68c Compare November 30, 2026 13:34
@renovate
renovate Bot force-pushed the renovate/tailwind-variants-4.x branch 4 times, most recently from dd58b8c to b4d6556 Compare December 5, 2026 00:56
@renovate
renovate Bot force-pushed the renovate/tailwind-variants-4.x branch from b4d6556 to 39ea5ed Compare December 5, 2026 00:58
@hhvrc hhvrc closed this Dec 5, 2026
@github-project-automation github-project-automation Bot moved this from Todo to Done in Roadmap Dec 5, 2026
@renovate
renovate Bot deleted the renovate/tailwind-variants-4.x branch December 5, 2026 01:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant