chore(deps): jotai 3 (major) - #83
Merged
Merged
Conversation
jotai 3.0.0 is ESM-only, requires Node >= 22.12, React 18+, TS 5.5+, moves atomFamily to jotai-family and removes loadable and jotai/babel. Nothing in src/, scripts/ or tests/ imports jotai and no other dependency depends on it, so no code changes; consider removing the dependency instead. Claude-Session: https://claude.ai/code/session_01KLWmWU1KLE2diUH14ryqv1
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
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.
One sentence
Major bump of
jotaifrom 2 to 3 (left open for review because it is a major; the package is currently unused, so removing it is the other option).Bumps
Breaking changes (3.0.0)
Source: https://github.com/pmndrs/jotai/blob/main/docs/guides/migrating-to-v3.mdx
atomFamilymoved to thejotai-familypackage;loadableremoved;jotai/babelmoved out of the core package.src/,scripts/ortests/importsjotai, and no other dependency in the lockfile depends on it, so no code changes. If the template does not intend to ship jotai, dropping the dependency is the cleaner move.Verification
pnpm typecheckcleanpnpm test: 4 files, 16 tests greenpnpm exec vitest run --config vitest.config.node.ts: 3 files, 21 tests greenpnpm buildpassesnext startsmoke:/200,/changelog200,/changelog/nope-xyz404,/faq200,/nope-404404Installed with
--ignore-scripts(isolated-vm postinstall fails under Node 26 locally; matches how Vercel builds).https://claude.ai/code/session_01KLWmWU1KLE2diUH14ryqv1