Skip to content

Conversation

jsonbailey
Copy link
Contributor

@jsonbailey jsonbailey commented Oct 15, 2025

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.

  • Dependencies/peerDependencies:
    • @launchdarkly/server-sdk-ai bumped to ^0.12.2 across providers; SDK version to 0.12.2.
    • Move provider libs to peer deps with updated ranges:
      • server-ai-langchain: peers @langchain/core ^0.2 || ^0.3, langchain ^0.2 || ^0.3.
      • server-ai-openai: peers openai >=4 <7.
      • server-ai-vercel: peers @ai-sdk/* ^2.0.0, ai ^4 || ^5 with optional peer meta; move @ai-sdk/provider and ai to dev deps.
  • Code refactor (providers):
    • Import AIProvider from @launchdarkly/server-sdk-ai and use typed LDLogger from the same package in LangChainProvider, OpenAIProvider, and VercelProvider.
  • SDK:
    • Re-export LDLogger from @launchdarkly/js-server-sdk-common in src/index.ts.

Written by Cursor Bugbot for commit 5a1ec59. This will update automatically on new commits. Configure here.

@jsonbailey jsonbailey requested a review from a team as a code owner October 15, 2025 19:39
Copy link
Contributor

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

Copy link
Contributor

@launchdarkly/js-sdk-common size report
This is the brotli compressed size of the ESM build.
Compressed size: 24988 bytes
Compressed size limit: 26000
Uncompressed size: 122411 bytes

Copy link
Contributor

@launchdarkly/js-client-sdk size report
This is the brotli compressed size of the ESM build.
Compressed size: 21721 bytes
Compressed size limit: 25000
Uncompressed size: 74698 bytes

Copy link
Contributor

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

cursor[bot]

This comment was marked as outdated.

@jsonbailey jsonbailey merged commit 7f3da30 into main Oct 16, 2025
32 checks passed
@jsonbailey jsonbailey deleted the jb/simplify-dependencies branch October 16, 2025 13:28
@github-actions github-actions bot mentioned this pull request Oct 16, 2025
jsonbailey pushed a commit that referenced this pull request Oct 16, 2025
🤖 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>
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