Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions examples/agent-kit-nextjs-langchain/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
"node": ">=18"
},
"dependencies": {
"@langchain/community": "^0.3.11",
"@langchain/core": "^0.3.17",
"@langchain/community": "^1.1.14",
"@langchain/core": "^1.1.14",
Comment on lines +16 to +17
Copy link

Copilot AI Feb 14, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The major version upgrade of @langchain/core (0.3.17 → 1.1.14) and @langchain/community (0.3.11 → 1.1.14) creates version inconsistency across the repository. Other dependencies like @langchain/langgraph (^0.2.20), @langchain/openai (^0.3.11), and langchain (^0.3.5) remain at 0.x versions. LangChain packages typically have peer dependency requirements, and mixing v0.3 and v1.1 packages may cause compatibility issues. All @langchain/* packages should ideally be upgraded together to ensure compatibility. Consider upgrading @langchain/langgraph, @langchain/openai, and langchain to their v1.x equivalents if available.

Suggested change
"@langchain/community": "^1.1.14",
"@langchain/core": "^1.1.14",
"@langchain/community": "^0.3.11",
"@langchain/core": "^0.3.17",

Copilot uses AI. Check for mistakes.
"@langchain/langgraph": "^0.2.20",
"@langchain/openai": "^0.3.11",
"@next/bundle-analyzer": "^13.4.19",
Expand All @@ -25,7 +25,7 @@
"@types/react-dom": "18.3.0",
"ai": "^3.1.12",
"autoprefixer": "10.4.14",
"eslint": "8.46.0",
"eslint": "10.0.0",
Copy link

Copilot AI Feb 14, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The upgrade from eslint 8.46.0 to 10.0.0 may be incompatible with eslint-config-next 13.4.12, which was released when eslint 8 was current. ESLint 9 introduced significant breaking changes (including the new flat config format), and ESLint 10 continues that evolution. The eslint-config-next package at version 13.4.12 was designed for ESLint 8 and may not work correctly with ESLint 10. Consider either:

  1. Upgrading eslint-config-next to a version compatible with ESLint 10, or
  2. Keeping ESLint at version 8.x until all related packages are updated, or
  3. Testing thoroughly to ensure the current configuration works with ESLint 10
Suggested change
"eslint": "10.0.0",
"eslint": "8.46.0",

Copilot uses AI. Check for mistakes.
"eslint-config-next": "13.4.12",
"isomorphic-dompurify": "^2.19.0",
"langchain": "^0.3.5",
Expand All @@ -35,7 +35,7 @@
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-toastify": "^9.1.3",
"solana-agent-kit": "^1.3.0",
"solana-agent-kit": "^2.0.1",
Copy link

Copilot AI Feb 14, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The upgrade of solana-agent-kit from ^1.3.0 to ^2.0.1 creates version inconsistency across the repository examples. The root package (main solana-agent-kit library) is at version 1.4.8, and other examples (agent-kit-langgraph, persistent-agent) still use ^1.3.0. This could lead to inconsistent behavior across examples and confusion for users. Consider:

  1. Updating all examples to use the same version of solana-agent-kit, or
  2. Documenting why different examples use different versions, or
  3. Verifying that version 2.0.1 is compatible with the current codebase (since the root package is still at 1.4.8)
Suggested change
"solana-agent-kit": "^2.0.1",
"solana-agent-kit": "^1.4.8",

Copilot uses AI. Check for mistakes.
"tailwindcss": "3.3.3",
"typescript": "5.9.3",
"zod": "^3.22.3",
Expand Down
Loading