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 .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
{
"packages/ai-providers/server-ai-langchain": "0.2.0",
"packages/ai-providers/server-ai-openai": "0.2.0",
"packages/ai-providers/server-ai-vercel": "0.2.0",
"packages/ai-providers/server-ai-langchain": "0.3.0",
"packages/ai-providers/server-ai-openai": "0.3.0",
"packages/ai-providers/server-ai-vercel": "0.3.0",
"packages/sdk/akamai-base": "3.0.10",
"packages/sdk/akamai-edgekv": "1.4.12",
"packages/sdk/browser": "0.8.1",
"packages/sdk/cloudflare": "2.7.10",
"packages/sdk/combined-browser": "0.0.0",
"packages/sdk/fastly": "0.2.1",
"packages/sdk/react-native": "10.12.0",
"packages/sdk/server-ai": "0.13.0",
"packages/sdk/server-ai": "0.14.0",
"packages/sdk/server-node": "9.10.2",
"packages/sdk/vercel": "1.3.34",
"packages/shared/akamai-edgeworker-sdk": "2.0.10",
Expand Down
20 changes: 20 additions & 0 deletions packages/ai-providers/server-ai-langchain/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,25 @@
# Changelog

## [0.3.0](https://github.com/launchdarkly/js-core/compare/server-sdk-ai-langchain-v0.2.0...server-sdk-ai-langchain-v0.3.0) (2025-11-05)


### ⚠ BREAKING CHANGES

* Support invoke with structured output in LangChain provider ([#970](https://github.com/launchdarkly/js-core/issues/970))

### Features

* Support invoke with structured output in LangChain provider ([#970](https://github.com/launchdarkly/js-core/issues/970)) ([0427908](https://github.com/launchdarkly/js-core/commit/0427908cdd410d1f7fefd405bf08945b559070f5))


### Dependencies

* The following workspace dependencies were updated
* devDependencies
* @launchdarkly/server-sdk-ai bumped from ^0.13.0 to ^0.14.0
* peerDependencies
* @launchdarkly/server-sdk-ai bumped from ^0.12.2 to ^0.14.0

## [0.2.0](https://github.com/launchdarkly/js-core/compare/server-sdk-ai-langchain-v0.1.3...server-sdk-ai-langchain-v0.2.0) (2025-11-04)


Expand Down
4 changes: 2 additions & 2 deletions packages/ai-providers/server-ai-langchain/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@launchdarkly/server-sdk-ai-langchain",
"version": "0.2.0",
"version": "0.3.0",
"description": "LaunchDarkly AI SDK LangChain Provider for Server-Side JavaScript",
"homepage": "https://github.com/launchdarkly/js-core/tree/main/packages/ai-providers/server-ai-langchain",
"repository": {
Expand Down Expand Up @@ -28,7 +28,7 @@
"license": "Apache-2.0",
"devDependencies": {
"@langchain/core": "^0.3.0",
"@launchdarkly/server-sdk-ai": "^0.13.0",
"@launchdarkly/server-sdk-ai": "^0.14.0",
Copy link

Choose a reason for hiding this comment

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

Bug: Dependency version mismatch between dev and peer ranges

The devDependencies for @launchdarkly/server-sdk-ai was updated to ^0.14.0, but the peerDependencies still specifies ^0.12.2. According to the CHANGELOG, peerDependencies should also have been bumped to ^0.14.0. This mismatch will cause version conflicts where the package requires ^0.12.2 as a peer dependency but uses ^0.14.0 for development, potentially leading to runtime errors when consumers install incompatible versions.

Fix in Cursor Fix in Web

"@trivago/prettier-plugin-sort-imports": "^4.1.1",
"@types/jest": "^29.5.3",
"@typescript-eslint/eslint-plugin": "^6.20.0",
Expand Down
20 changes: 20 additions & 0 deletions packages/ai-providers/server-ai-openai/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,25 @@
# Changelog

## [0.3.0](https://github.com/launchdarkly/js-core/compare/server-sdk-ai-openai-v0.2.0...server-sdk-ai-openai-v0.3.0) (2025-11-05)


### ⚠ BREAKING CHANGES

* Support invoke with structured output in OpenAI provider ([#980](https://github.com/launchdarkly/js-core/issues/980))

### Features

* Support invoke with structured output in OpenAI provider ([#980](https://github.com/launchdarkly/js-core/issues/980)) ([515dbdf](https://github.com/launchdarkly/js-core/commit/515dbdf996de92e87d9accec461c0ac9b7e599cd))


### Dependencies

* The following workspace dependencies were updated
* devDependencies
* @launchdarkly/server-sdk-ai bumped from ^0.13.0 to ^0.14.0
* peerDependencies
* @launchdarkly/server-sdk-ai bumped from ^0.12.2 to ^0.14.0

## [0.2.0](https://github.com/launchdarkly/js-core/compare/server-sdk-ai-openai-v0.1.2...server-sdk-ai-openai-v0.2.0) (2025-11-04)


Expand Down
4 changes: 2 additions & 2 deletions packages/ai-providers/server-ai-openai/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@launchdarkly/server-sdk-ai-openai",
"version": "0.2.0",
"version": "0.3.0",
"description": "LaunchDarkly AI SDK OpenAI Provider for Server-Side JavaScript",
"homepage": "https://github.com/launchdarkly/js-core/tree/main/packages/ai-providers/server-ai-openai",
"repository": {
Expand Down Expand Up @@ -28,7 +28,7 @@
"license": "Apache-2.0",
"devDependencies": {
"@launchdarkly/js-server-sdk-common": "2.16.2",
"@launchdarkly/server-sdk-ai": "^0.13.0",
"@launchdarkly/server-sdk-ai": "^0.14.0",
Copy link

Choose a reason for hiding this comment

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

Bug: Dependency mismatch: dev vs peer versions cause conflicts

The devDependencies for @launchdarkly/server-sdk-ai was updated to ^0.14.0, but the peerDependencies still specifies ^0.12.2. According to the CHANGELOG, peerDependencies should also have been bumped to ^0.14.0. This mismatch will cause version conflicts where the package requires ^0.12.2 as a peer dependency but uses ^0.14.0 for development, potentially leading to runtime errors when consumers install incompatible versions.

Fix in Cursor Fix in Web

"@trivago/prettier-plugin-sort-imports": "^4.1.1",
"@types/jest": "^29.5.3",
"@typescript-eslint/eslint-plugin": "^6.20.0",
Expand Down
20 changes: 20 additions & 0 deletions packages/ai-providers/server-ai-vercel/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,25 @@
# Changelog

## [0.3.0](https://github.com/launchdarkly/js-core/compare/server-sdk-ai-vercel-v0.2.0...server-sdk-ai-vercel-v0.3.0) (2025-11-05)


### ⚠ BREAKING CHANGES

* Support invoke with structured output in VercelAI provider ([#981](https://github.com/launchdarkly/js-core/issues/981))

### Features

* Support invoke with structured output in VercelAI provider ([#981](https://github.com/launchdarkly/js-core/issues/981)) ([d0cb41d](https://github.com/launchdarkly/js-core/commit/d0cb41d3a06d6216daac76a516949f0243244417))


### Dependencies

* The following workspace dependencies were updated
* devDependencies
* @launchdarkly/server-sdk-ai bumped from ^0.13.0 to ^0.14.0
* peerDependencies
* @launchdarkly/server-sdk-ai bumped from ^0.12.2 to ^0.14.0

## [0.2.0](https://github.com/launchdarkly/js-core/compare/server-sdk-ai-vercel-v0.1.2...server-sdk-ai-vercel-v0.2.0) (2025-11-04)


Expand Down
4 changes: 2 additions & 2 deletions packages/ai-providers/server-ai-vercel/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@launchdarkly/server-sdk-ai-vercel",
"version": "0.2.0",
"version": "0.3.0",
"description": "LaunchDarkly AI SDK Vercel Provider for Server-Side JavaScript",
"homepage": "https://github.com/launchdarkly/js-core/tree/main/packages/ai-providers/server-ai-vercel",
"repository": {
Expand Down Expand Up @@ -32,7 +32,7 @@
"@ai-sdk/google": "^2.0.0",
"@ai-sdk/mistral": "^2.0.0",
"@ai-sdk/openai": "^2.0.0",
"@launchdarkly/server-sdk-ai": "^0.13.0",
"@launchdarkly/server-sdk-ai": "^0.14.0",
Copy link

Choose a reason for hiding this comment

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

Bug: Peer Dependency Mismatch After Version Bump

The devDependencies for @launchdarkly/server-sdk-ai was updated to ^0.14.0, but the peerDependencies still specifies ^0.12.2. According to the CHANGELOG, peerDependencies should also have been bumped to ^0.14.0. This mismatch will cause version conflicts where the package requires ^0.12.2 as a peer dependency but uses ^0.14.0 for development, potentially leading to runtime errors when consumers install incompatible versions.

Fix in Cursor Fix in Web

"@trivago/prettier-plugin-sort-imports": "^4.1.1",
"@types/jest": "^29.5.3",
"@typescript-eslint/eslint-plugin": "^6.20.0",
Expand Down
29 changes: 29 additions & 0 deletions packages/sdk/server-ai/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,34 @@
# Changelog

## [0.14.0](https://github.com/launchdarkly/js-core/compare/server-sdk-ai-v0.13.0...server-sdk-ai-v0.14.0) (2025-11-05)


### ⚠ BREAKING CHANGES

* Add support for real time judge evals ([#969](https://github.com/launchdarkly/js-core/issues/969))
* AI Config defaults require the "enabled" attribute
* Renamed LDAIAgentConfig to LDAIAgentConfigRequest for clarity
* Renamed LDAIAgent to LDAIAgentConfig *note the previous use of this name
* Renamed LDAIAgentDefault to LDAIAgentConfigDefault for clarity
* Renamed LDAIDefaults to LDAICompletionConfigDefault for clarity

### Features

* Add support for real time judge evals ([#969](https://github.com/launchdarkly/js-core/issues/969)) ([6ecd9ab](https://github.com/launchdarkly/js-core/commit/6ecd9ab4d97f6445adfd377709f14d7f3b420363))
* Added createJudge method ([6ecd9ab](https://github.com/launchdarkly/js-core/commit/6ecd9ab4d97f6445adfd377709f14d7f3b420363))
* Added judgeConfig method to AI SDK to retrieve an AI Judge Config ([6ecd9ab](https://github.com/launchdarkly/js-core/commit/6ecd9ab4d97f6445adfd377709f14d7f3b420363))
* Added trackEvalScores method to config tracker ([6ecd9ab](https://github.com/launchdarkly/js-core/commit/6ecd9ab4d97f6445adfd377709f14d7f3b420363))
* Chat will evaluate responses with configured judges ([6ecd9ab](https://github.com/launchdarkly/js-core/commit/6ecd9ab4d97f6445adfd377709f14d7f3b420363))


### Bug Fixes

* AI Config defaults require the "enabled" attribute ([6ecd9ab](https://github.com/launchdarkly/js-core/commit/6ecd9ab4d97f6445adfd377709f14d7f3b420363))
* Renamed LDAIAgent to LDAIAgentConfig *note the previous use of this name ([6ecd9ab](https://github.com/launchdarkly/js-core/commit/6ecd9ab4d97f6445adfd377709f14d7f3b420363))
* Renamed LDAIAgentConfig to LDAIAgentConfigRequest for clarity ([6ecd9ab](https://github.com/launchdarkly/js-core/commit/6ecd9ab4d97f6445adfd377709f14d7f3b420363))
* Renamed LDAIAgentDefault to LDAIAgentConfigDefault for clarity ([6ecd9ab](https://github.com/launchdarkly/js-core/commit/6ecd9ab4d97f6445adfd377709f14d7f3b420363))
* Renamed LDAIDefaults to LDAICompletionConfigDefault for clarity ([6ecd9ab](https://github.com/launchdarkly/js-core/commit/6ecd9ab4d97f6445adfd377709f14d7f3b420363))

## [0.13.0](https://github.com/launchdarkly/js-core/compare/server-sdk-ai-v0.12.3...server-sdk-ai-v0.13.0) (2025-11-04)


Expand Down
2 changes: 1 addition & 1 deletion packages/sdk/server-ai/examples/bedrock/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"dependencies": {
"@aws-sdk/client-bedrock-runtime": "^3.679.0",
"@launchdarkly/node-server-sdk": "^9.7.1",
"@launchdarkly/server-sdk-ai": "0.13.0"
"@launchdarkly/server-sdk-ai": "0.14.0"
},
"devDependencies": {
"@trivago/prettier-plugin-sort-imports": "^4.1.1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
},
"dependencies": {
"@launchdarkly/node-server-sdk": "^9.0.0",
"@launchdarkly/server-sdk-ai": "^0.12.3",
"@launchdarkly/server-sdk-ai": "^0.14.0",
"@launchdarkly/server-sdk-ai-langchain": "^0.1.0",
"@launchdarkly/server-sdk-ai-openai": "^0.1.0",
"@launchdarkly/server-sdk-ai-vercel": "^0.1.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/sdk/server-ai/examples/openai/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"license": "Apache-2.0",
"dependencies": {
"@launchdarkly/node-server-sdk": "^9.7.1",
"@launchdarkly/server-sdk-ai": "0.13.0",
"@launchdarkly/server-sdk-ai": "0.14.0",
"@launchdarkly/server-sdk-ai-openai": "^0.1.0",
"openai": "^4.58.1"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"@langchain/core": "^0.3.78",
"@langchain/google-genai": "^0.2.18",
"@launchdarkly/node-server-sdk": "^9.0.0",
"@launchdarkly/server-sdk-ai": "0.13.0",
"@launchdarkly/server-sdk-ai": "0.14.0",
"@launchdarkly/server-sdk-ai-langchain": "^0.2.0",
"@launchdarkly/server-sdk-ai-openai": "^0.2.0",
"@launchdarkly/server-sdk-ai-vercel": "^0.2.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/sdk/server-ai/examples/vercel-ai/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"dependencies": {
"@ai-sdk/openai": "^2.0.30",
"@launchdarkly/node-server-sdk": "^9.7.1",
"@launchdarkly/server-sdk-ai": "^0.13.0",
"@launchdarkly/server-sdk-ai": "^0.14.0",
"@launchdarkly/server-sdk-ai-vercel": "^0.2.0",
"ai": "5.0.0",
"zod": "^3.23.8"
Expand Down
2 changes: 1 addition & 1 deletion packages/sdk/server-ai/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@launchdarkly/server-sdk-ai",
"version": "0.13.0",
"version": "0.14.0",
"description": "LaunchDarkly AI SDK for Server-Side JavaScript",
"homepage": "https://github.com/launchdarkly/js-core/tree/main/packages/sdk/server-ai",
"repository": {
Expand Down