-
Notifications
You must be signed in to change notification settings - Fork 30
fix: Reduce dependencies and use peer dependencies when needed #963
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
Conversation
@launchdarkly/browser size report |
@launchdarkly/js-sdk-common size report |
@launchdarkly/js-client-sdk size report |
@launchdarkly/js-client-sdk-common size report |
packages/ai-providers/server-ai-langchain/src/LangChainProvider.ts
Outdated
Show resolved
Hide resolved
🤖 I have created a release *beep* *boop* --- <details><summary>server-sdk-ai: 0.12.2</summary> ## [0.12.2](server-sdk-ai-v0.12.1...server-sdk-ai-v0.12.2) (2025-10-16) ### Bug Fixes * Reduce dependencies and use peer dependencies when needed ([#963](#963)) ([7f3da30](7f3da30)) </details> <details><summary>server-sdk-ai-langchain: 0.1.2</summary> ## [0.1.2](server-sdk-ai-langchain-v0.1.1...server-sdk-ai-langchain-v0.1.2) (2025-10-16) ### Bug Fixes * Reduce dependencies and use peer dependencies when needed ([#963](#963)) ([7f3da30](7f3da30)) </details> <details><summary>server-sdk-ai-openai: 0.1.1</summary> ## [0.1.1](server-sdk-ai-openai-v0.1.0...server-sdk-ai-openai-v0.1.1) (2025-10-16) ### Bug Fixes * Reduce dependencies and use peer dependencies when needed ([#963](#963)) ([7f3da30](7f3da30)) </details> <details><summary>server-sdk-ai-vercel: 0.1.1</summary> ## [0.1.1](server-sdk-ai-vercel-v0.1.0...server-sdk-ai-vercel-v0.1.1) (2025-10-16) ### Bug Fixes * Fix metric tracking for v5 responses ([e6c42a8](e6c42a8)) * Reduce dependencies and use peer dependencies when needed ([#963](#963)) ([7f3da30](7f3da30)) * Support previous v4 of Vercel AI SDK ([#962](#962)) ([e6c42a8](e6c42a8)) </details> --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). <!-- CURSOR_SUMMARY --> --- > [!NOTE] > <sup>[Cursor Bugbot](https://cursor.com/dashboard?tab=bugbot) is generating a summary for commit ffe7807. Configure [here](https://cursor.com/dashboard?tab=bugbot).</sup> <!-- /CURSOR_SUMMARY --> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Note
Moves provider runtime deps to peerDependencies with updated ranges, updates imports to use server AI SDK types, bumps @launchdarkly/server-sdk-ai to 0.12.2, and re-exports LDLogger.
@launchdarkly/server-sdk-ai
bumped to^0.12.2
across providers; SDK version to0.12.2
.server-ai-langchain
: peers@langchain/core
^0.2 || ^0.3
,langchain
^0.2 || ^0.3
.server-ai-openai
: peersopenai
>=4 <7
.server-ai-vercel
: peers@ai-sdk/*
^2.0.0
,ai
^4 || ^5
with optional peer meta; move@ai-sdk/provider
andai
to dev deps.AIProvider
from@launchdarkly/server-sdk-ai
and use typedLDLogger
from the same package inLangChainProvider
,OpenAIProvider
, andVercelProvider
.LDLogger
from@launchdarkly/js-server-sdk-common
insrc/index.ts
.Written by Cursor Bugbot for commit 5a1ec59. This will update automatically on new commits. Configure here.