Skip to content

chore: bump tracked-chat example to LangChain 1.x#1328

Merged
jsonbailey merged 2 commits into
mainfrom
jb/aic-1311/update-tracked-chat-langchain-1x
Apr 27, 2026
Merged

chore: bump tracked-chat example to LangChain 1.x#1328
jsonbailey merged 2 commits into
mainfrom
jb/aic-1311/update-tracked-chat-langchain-1x

Conversation

@jsonbailey

@jsonbailey jsonbailey commented Apr 27, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Bumps @langchain/core from ^0.3.78 to ^1.1.42
  • Bumps @langchain/google-genai from ^0.2.18 to ^1.0.3
  • Bumps langchain from ^0.1.0 to ^1.3.5

Follow-up to #1311 which updated @launchdarkly/server-sdk-ai-langchain to require LangChain 1.x peer deps. The tracked-chat example was still pinned to pre-1.x versions.

Test plan

  • Ran yarn start in tracked-chat example — SDK initialized and completed successfully

🤖 Generated with Claude Code


Note

Low Risk
Low risk dependency-only changes limited to example package.json files; main risk is install/build breakage if peer-dep expectations differ.

Overview
Updates server AI SDK examples to use LangChain 1.x dependencies.

tracked-chat bumps @langchain/core, @langchain/google-genai, and langchain to 1.x versions, and chat-judge/direct-judge add explicit @langchain/core and langchain 1.x deps to satisfy the @launchdarkly/server-sdk-ai-langchain peer requirements.

Reviewed by Cursor Bugbot for commit 5f2e5d7. Bugbot is set up for automated code reviews on this repo. Configure here.

Updates @langchain/core, @langchain/google-genai, and langchain to 1.x
to align with the peer dependency requirements introduced in
@launchdarkly/server-sdk-ai-langchain.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@jsonbailey jsonbailey marked this pull request as ready for review April 27, 2026 22:12
@jsonbailey jsonbailey requested a review from a team as a code owner April 27, 2026 22:12
@github-actions

Copy link
Copy Markdown
Contributor

@launchdarkly/js-sdk-common size report
This is the brotli compressed size of the ESM build.
Compressed size: 25623 bytes
Compressed size limit: 29000
Uncompressed size: 125843 bytes

@github-actions

Copy link
Copy Markdown
Contributor

@launchdarkly/browser size report
This is the brotli compressed size of the ESM build.
Compressed size: 179547 bytes
Compressed size limit: 200000
Uncompressed size: 830815 bytes

@github-actions

Copy link
Copy Markdown
Contributor

@launchdarkly/js-client-sdk size report
This is the brotli compressed size of the ESM build.
Compressed size: 31840 bytes
Compressed size limit: 34000
Uncompressed size: 113634 bytes

@github-actions

Copy link
Copy Markdown
Contributor

@launchdarkly/js-client-sdk-common size report
This is the brotli compressed size of the ESM build.
Compressed size: 38473 bytes
Compressed size limit: 39000
Uncompressed size: 211104 bytes

…judge examples

Both examples depend on server-sdk-ai-langchain which requires
@langchain/core and langchain as peer deps. Best practice for app
code is to list all runtime dependencies explicitly.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@jsonbailey jsonbailey merged commit bd9da10 into main Apr 27, 2026
42 checks passed
@jsonbailey jsonbailey deleted the jb/aic-1311/update-tracked-chat-langchain-1x branch April 27, 2026 22:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants