Open
Conversation
Two-PR strategy: minimal Svelte 5 bump first, then bits-ui upgrade. Includes dependency compatibility analysis and migration scope.
Member
|
I asked claude some questions around the bits ui part. Got this - No, you can't reliably use bits-ui v0.x with Svelte 5. The library's peer dependencies require Svelte 4, and the internal implementation uses Svelte 4 APIs (like |
bits-ui 0.22 cannot reliably run on Svelte 5 (melt-ui 0.76.2 excludes Svelte 5, maintainer confirmed no fix), and bits-ui 2.x requires Svelte 5. The two upgrades must happen atomically.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Plan for migrating from Svelte 4 to Svelte 5 and upgrading bits-ui 0.22 → 2.x in a single PR.
Originally planned as two PRs (Svelte 5 bump first, bits-ui upgrade second), but research showed this isn't viable:
@melt-ui/svelte0.76.2 explicitly excludes Svelte 5 (>=3 <5) and has known runtime bugs^5.33.0), so upgrading bits-ui first on Svelte 4 is also not possibleThe plan is in
.claude/plans/svelte-5-upgrade.md. Includes dependency compatibility analysis, migration steps, scope estimates, and future work.Checklist:
Developed in collaboration with Claude Code