-
Notifications
You must be signed in to change notification settings - Fork 0
chore: upgrade dependencies #37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -3,6 +3,9 @@ | |
| "version": "0.1.0", | ||
| "private": true, | ||
| "type": "module", | ||
| "engines": { | ||
| "node": ">=20.9.0" | ||
| }, | ||
| "scripts": { | ||
| "dev": "next dev --experimental-https", | ||
| "build": "next build", | ||
|
|
@@ -14,15 +17,15 @@ | |
| "format:check": "dprint check" | ||
| }, | ||
| "dependencies": { | ||
| "@ai-sdk/anthropic": "^2.0.44", | ||
| "@ai-sdk/react": "^2.0.92", | ||
| "@ai-sdk/anthropic": "^2.0.45", | ||
| "@ai-sdk/react": "^2.0.95", | ||
| "@apollo/client": "4.0.9", | ||
| "@apollo/client-integration-nextjs": "^0.14.1", | ||
| "@bprogress/next": "^3.2.12", | ||
| "@codemirror/lang-sql": "^6.10.0", | ||
| "@graphql-codegen/client-preset": "^5.1.1", | ||
| "@graphql-codegen/client-preset": "^5.1.3", | ||
| "@hookform/resolvers": "^5.2.2", | ||
| "@posthog/ai": "^7.0.0", | ||
| "@posthog/ai": "^7.1.0", | ||
| "@radix-ui/react-alert-dialog": "^1.1.15", | ||
| "@radix-ui/react-avatar": "^1.1.11", | ||
| "@radix-ui/react-checkbox": "^1.3.3", | ||
|
|
@@ -38,50 +41,50 @@ | |
| "@radix-ui/react-toggle": "^1.1.10", | ||
| "@radix-ui/react-toggle-group": "^1.1.11", | ||
| "@radix-ui/react-tooltip": "^1.2.8", | ||
| "@swc-contrib/plugin-graphql-codegen-client-preset": "~0.9", | ||
| "@swc-contrib/plugin-graphql-codegen-client-preset": "~0.9.0", | ||
| "@tailwindcss/typography": "^0.5.19", | ||
| "@tanstack/react-table": "^8.21.3", | ||
| "@uiw/react-codemirror": "^4.25.3", | ||
| "ai": "^5.0.92", | ||
| "ai": "^5.0.95", | ||
| "babel-plugin-react-compiler": "19.1.0-rc.3", | ||
| "class-variance-authority": "^0.7.1", | ||
| "clsx": "^2.1.1", | ||
| "foxact": "^0.2.49", | ||
| "graphql": "^16.12.0", | ||
| "lucide-react": "^0.553.0", | ||
| "next": "16.0.2-canary.16", | ||
| "lucide-react": "^0.554.0", | ||
| "next": "16.0.3", | ||
| "next-themes": "^0.4.6", | ||
| "posthog-js": "1.290.0", | ||
| "posthog-node": "^5.11.2", | ||
| "react": "19.3.0-canary-100fc4a8-20251110", | ||
| "posthog-js": "1.296.1", | ||
| "posthog-node": "^5.12.0", | ||
| "react": "19.3.0-canary-eb89912e-20251118", | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🧩 Analysis chainBoth If the canary is intentional (e.g., for a bleeding-edge experimental project), document this decision and ensure your CI/testing is robust. Otherwise, verify if a stable version exists and consider migrating to it. Also applies to: 61-61 🏁 Script executed: #!/bin/bash
# Check if there's any README or documentation about React version choice
fd -e md -e txt | head -20 | xargs grep -l "react" -i 2>/dev/null | head -5Length of output: 0 🏁 Script executed: #!/bin/bash
# Inspect package.json to understand project context and any comments about canary
cat package.json | grep -A5 -B5 "react"Length of output: 2387 🏁 Script executed: #!/bin/bash
# Check if there are lock files indicating intentional pinning
ls -la package-lock.json yarn.lock pnpm-lock.yaml 2>/dev/null || echo "No lock file found"Length of output: 84 🌐 Web query: 💡 Result: React 19 is already stable — it was released (stable) on December 5, 2024. Since then the team published minor 19.x releases in 2025 (19.1 on March 28, 2025 and 19.2 on October 1, 2025). [1][2][3] Sources:
🌐 Web query: 💡 Result: Short answer: Usually no for general apps — use the Latest (stable) channel for production. Canary is an officially supported pre-release channel intended for framework authors, advanced adopters, and integration testing; it may include breaking changes and must be pinned and handled with extra safeguards if used in production. [1][2][3] If you still consider running a canary in production, follow these rules:
Sources: React versioning policy / canary guidance, React blog post on Canaries, React Native release-level notes. [1][3][2] Migrate from React canary to stable React 19.2. React 19 is stable and was released on December 5, 2024; React 19.2 was released October 1, 2025. The current Canary is an officially supported pre-release channel intended for framework authors, advanced adopters, and integration testing; it may include breaking changes. If running canary in production, exact version pinning is required—but should still be limited in exposure and paired with full automated testing and a rollback plan. Since stable React 19.2 exists and is more appropriate for production deployments, upgrade to that unless there is a specific technical requirement for the canary (e.g., access to experimental APIs). If canary is necessary, document the decision and ensure all guardrails (comprehensive testing, monitoring, rollback) are in place. Lines 59, 61: Update 🤖 Prompt for AI Agents |
||
| "react-codemirror-merge": "^4.25.3", | ||
| "react-dom": "19.3.0-canary-100fc4a8-20251110", | ||
| "react-hook-form": "^7.66.0", | ||
| "react-dom": "19.3.0-canary-eb89912e-20251118", | ||
| "react-hook-form": "^7.66.1", | ||
| "react-remark": "^2.1.0", | ||
| "remark": "^15.0.1", | ||
| "remark-html": "^16.0.1", | ||
| "shiki": "^3.15.0", | ||
| "sonner": "^2.0.7", | ||
| "sql-formatter": "^15.6.10", | ||
| "streamdown": "^1.4.0", | ||
| "streamdown": "^1.5.1", | ||
| "tailwind-merge": "^3.4.0", | ||
| "zod": "^4.1.12" | ||
| }, | ||
| "devDependencies": { | ||
| "@0no-co/graphqlsp": "^1.15.1", | ||
| "@eslint/eslintrc": "^3.3.1", | ||
| "@graphql-codegen/cli": "^6.0.1", | ||
| "@graphql-codegen/cli": "^6.0.2", | ||
| "@graphql-codegen/schema-ast": "^5.0.0", | ||
| "@graphql-typed-document-node/core": "^3.2.0", | ||
| "@parcel/watcher": "^2.5.1", | ||
| "@tailwindcss/postcss": "^4.1.17", | ||
| "@types/node": "^24.10.1", | ||
| "@types/react": "^19.2.3", | ||
| "@types/react": "^19.2.6", | ||
| "@types/react-dom": "^19.2.3", | ||
| "@typescript-eslint/parser": "^8.46.4", | ||
| "@typescript-eslint/parser": "^8.47.0", | ||
| "dprint": "^0.50.2", | ||
| "eslint": "^9.39.1", | ||
| "eslint-config-next": "16.0.2-canary.16", | ||
| "eslint-config-next": "16.0.3", | ||
| "eslint-plugin-better-tailwindcss": "^3.7.10", | ||
| "tailwindcss": "^4.1.17", | ||
| "tw-animate-css": "^1.4.0", | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧩 Analysis chain
Verify Next.js 16 compatibility and breaking changes.
Next.js has been bumped to version 16.0.3 (new major version). Major version upgrades typically include breaking changes and require careful testing. Ensure:
🌐 Web query:
💡 Result:
Here are the major breaking changes in Next.js 16 (summary + migration impacts):
For detailed migration instructions and codemods (e.g., async API codemod, typegen), see the official upgrade guide and release notes. [1][2]
Sources: [1] Next.js — Upgrading: Version 16 (docs) ; [2] Next.js — Next 16 release notes/blog.
🏁 Script executed:
Length of output: 3000
🏁 Script executed:
Length of output: 0
🏁 Script executed:
Length of output: 27
🏁 Script executed:
Length of output: 27
🏁 Script executed:
Length of output: 27
🏁 Script executed:
Length of output: 230
🏁 Script executed:
Length of output: 618
🏁 Script executed:
Length of output: 32
🏁 Script executed:
Length of output: 94
🏁 Script executed:
Length of output: 843
🏁 Script executed:
Length of output: 40
🏁 Script executed:
Length of output: 27
🏁 Script executed:
Length of output: 0
🏁 Script executed:
Length of output: 0
🏁 Script executed:
Length of output: 170
🏁 Script executed:
Length of output: 117
🏁 Script executed:
Length of output: 27
🏁 Script executed:
Length of output: 27
🏁 Script executed:
Length of output: 27
🏁 Script executed:
Length of output: 4
🏁 Script executed:
Length of output: 27
🏁 Script executed:
Length of output: 267
🏁 Script executed:
Length of output: 19
🏁 Script executed:
Length of output: 13
🏁 Script executed:
Length of output: 4
🏁 Script executed:
Length of output: 64
🏁 Script executed:
Length of output: 2004
🏁 Script executed:
Length of output: 837
🏁 Script executed:
Length of output: 0
🏁 Script executed:
Length of output: 0
🏁 Script executed:
Length of output: 162
🏁 Script executed:
Length of output: 21
🏁 Script executed:
Length of output: 0
🏁 Script executed:
Length of output: 27
🏁 Script executed:
Length of output: 0
🏁 Script executed:
Length of output: 230
🏁 Script executed:
Length of output: 27
🏁 Script executed:
Length of output: 27
🏁 Script executed:
Length of output: 3026
🏁 Script executed:
Length of output: 62
🏁 Script executed:
Length of output: 843
🏁 Script executed:
Length of output: 1850
🏁 Script executed:
Length of output: 0
🏁 Script executed:
Length of output: 0
🏁 Script executed:
Length of output: 3
🏁 Script executed:
Length of output: 27
🏁 Script executed:
Length of output: 27
🏁 Script executed:
Length of output: 23
🏁 Script executed:
Length of output: 0
🏁 Script executed:
Length of output: 128
🏁 Script executed:
Length of output: 49
🏁 Script executed:
Length of output: 143
🏁 Script executed:
Length of output: 873
🏁 Script executed:
Length of output: 8095
🏁 Script executed:
Length of output: 18141
Add
engines.nodefield to package.json to specify Next.js 16 compatibility.Next.js 16 requires Node.js >= 20.9.0, but package.json lacks an
enginesconstraint. This could cause deployment failures on Node 18 runtimes. Add:Additionally, review
next.config.tsline withexperimental.turbopackFileSystemCacheForDev: true—verify this config is still valid in Next.js 16's stable Turbopack release or migrate it per the upgrade guide.Positive note: The codebase already correctly uses async
paramspatterns (e.g.,./app/(app)/challenges/[id]/page.tsxproperly awaitsparams), so no migration needed there. No middleware, legacy configs, or removed features were detected.🤖 Prompt for AI Agents