Skip to content
Merged
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.6.3",
"packages/ai-providers/server-ai-openai": "0.5.10",
"packages/ai-providers/server-ai-vercel": "0.5.10",
"packages/ai-providers/server-ai-langchain": "0.7.0",
"packages/ai-providers/server-ai-openai": "0.6.0",
"packages/ai-providers/server-ai-vercel": "0.6.0",
"packages/sdk/akamai-base": "3.0.22",
"packages/sdk/akamai-edgekv": "1.4.24",
"packages/sdk/browser": "4.6.5",
"packages/sdk/cloudflare": "2.7.23",
"packages/sdk/combined-browser": "0.1.20",
"packages/sdk/fastly": "0.2.13",
"packages/sdk/react-native": "10.17.4",
"packages/sdk/server-ai": "0.19.1",
"packages/sdk/server-ai": "0.20.0",
"packages/sdk/server-node": "9.10.14",
"packages/sdk/vercel": "1.3.46",
"packages/shared/akamai-edgeworker-sdk": "2.0.21",
Expand Down
29 changes: 29 additions & 0 deletions packages/ai-providers/server-ai-langchain/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,34 @@
# Changelog

## [0.7.0](https://github.com/launchdarkly/js-core/compare/server-sdk-ai-langchain-v0.6.3...server-sdk-ai-langchain-v0.7.0) (2026-05-07)


### ⚠ BREAKING CHANGES

* Rename LDAIMetrics.usage and LDAIGraphMetrics.usage to .tokens ([#1366](https://github.com/launchdarkly/js-core/issues/1366))
* Remove AIProvider deprecated methods and create*/init* aliases (AIC-2388) ([#1363](https://github.com/launchdarkly/js-core/issues/1363))
* Build judge input as string and strip legacy judge config messages ([#1364](https://github.com/launchdarkly/js-core/issues/1364))

### Features

* Remove AIProvider deprecated methods and create*/init* aliases (AIC-2388) ([#1363](https://github.com/launchdarkly/js-core/issues/1363)) ([ad66314](https://github.com/launchdarkly/js-core/commit/ad66314e403b83976987c54da9c6c70308c25078))
* Rename LDAIMetrics.usage and LDAIGraphMetrics.usage to .tokens ([#1366](https://github.com/launchdarkly/js-core/issues/1366)) ([ff932b7](https://github.com/launchdarkly/js-core/commit/ff932b74c10307519dc9f913a4330a5b7d79438d))
* Replace LangChainProvider with Runner protocol implementation (AIC-2388) ([#1338](https://github.com/launchdarkly/js-core/issues/1338)) ([113a0d2](https://github.com/launchdarkly/js-core/commit/113a0d289ce764a3301140b2b14123ce5da9b42e))


### Bug Fixes

* Build judge input as string and strip legacy judge config messages ([#1364](https://github.com/launchdarkly/js-core/issues/1364)) ([c90034b](https://github.com/launchdarkly/js-core/commit/c90034b58a3b75d92269e7c485f38f1266208f08))


### Dependencies

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

## [0.6.3](https://github.com/launchdarkly/js-core/compare/server-sdk-ai-langchain-v0.6.2...server-sdk-ai-langchain-v0.6.3) (2026-05-06)


Expand Down
6 changes: 3 additions & 3 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.6.3",
"version": "0.7.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 @@ -43,7 +43,7 @@
"license": "Apache-2.0",
"devDependencies": {
"@langchain/core": "^1.1.41",
"@launchdarkly/server-sdk-ai": "^0.19.1",
"@launchdarkly/server-sdk-ai": "^0.20.0",
"@opentelemetry/api": "^1.9.0",
"@traceloop/instrumentation-langchain": "^0.26.0",
"@types/jest": "^29.5.3",
Expand All @@ -60,7 +60,7 @@
},
"peerDependencies": {
"@langchain/core": "^1.0.0",
"@launchdarkly/server-sdk-ai": "^0.19.1",
"@launchdarkly/server-sdk-ai": "^0.20.0",
"@opentelemetry/api": "^1.0.0",
"@traceloop/instrumentation-langchain": "^0.26.0",
"langchain": "^1.0.0"
Expand Down
29 changes: 29 additions & 0 deletions packages/ai-providers/server-ai-openai/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,34 @@
# Changelog

## [0.6.0](https://github.com/launchdarkly/js-core/compare/server-sdk-ai-openai-v0.5.10...server-sdk-ai-openai-v0.6.0) (2026-05-07)


### ⚠ BREAKING CHANGES

* Rename LDAIMetrics.usage and LDAIGraphMetrics.usage to .tokens ([#1366](https://github.com/launchdarkly/js-core/issues/1366))
* Remove AIProvider deprecated methods and create*/init* aliases (AIC-2388) ([#1363](https://github.com/launchdarkly/js-core/issues/1363))
* Build judge input as string and strip legacy judge config messages ([#1364](https://github.com/launchdarkly/js-core/issues/1364))

### Features

* Remove AIProvider deprecated methods and create*/init* aliases (AIC-2388) ([#1363](https://github.com/launchdarkly/js-core/issues/1363)) ([ad66314](https://github.com/launchdarkly/js-core/commit/ad66314e403b83976987c54da9c6c70308c25078))
* Rename LDAIMetrics.usage and LDAIGraphMetrics.usage to .tokens ([#1366](https://github.com/launchdarkly/js-core/issues/1366)) ([ff932b7](https://github.com/launchdarkly/js-core/commit/ff932b74c10307519dc9f913a4330a5b7d79438d))
* Replace OpenAIProvider with Runner protocol implementation (AIC-2388) ([#1337](https://github.com/launchdarkly/js-core/issues/1337)) ([e32a955](https://github.com/launchdarkly/js-core/commit/e32a955c583db1bc382e2e0f3f459d459bc35984))


### Bug Fixes

* Build judge input as string and strip legacy judge config messages ([#1364](https://github.com/launchdarkly/js-core/issues/1364)) ([c90034b](https://github.com/launchdarkly/js-core/commit/c90034b58a3b75d92269e7c485f38f1266208f08))


### Dependencies

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

## [0.5.10](https://github.com/launchdarkly/js-core/compare/server-sdk-ai-openai-v0.5.9...server-sdk-ai-openai-v0.5.10) (2026-05-06)


Expand Down
6 changes: 3 additions & 3 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.5.10",
"version": "0.6.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 @@ -43,7 +43,7 @@
"license": "Apache-2.0",
"devDependencies": {
"@launchdarkly/js-server-sdk-common": "2.18.7",
"@launchdarkly/server-sdk-ai": "^0.19.1",
"@launchdarkly/server-sdk-ai": "^0.20.0",
"@openai/agents": "^0.9.0",
"@opentelemetry/api": "^1.9.0",
"@traceloop/instrumentation-openai": "^0.22.0",
Expand All @@ -60,7 +60,7 @@
"typescript": "5.1.6"
},
"peerDependencies": {
"@launchdarkly/server-sdk-ai": "^0.19.1",
"@launchdarkly/server-sdk-ai": "^0.20.0",
"@openai/agents": "^0.9.0",
"@opentelemetry/api": "^1.0.0",
"@traceloop/instrumentation-openai": "^0.22.0",
Expand Down
30 changes: 30 additions & 0 deletions packages/ai-providers/server-ai-vercel/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,35 @@
# Changelog

## [0.6.0](https://github.com/launchdarkly/js-core/compare/server-sdk-ai-vercel-v0.5.10...server-sdk-ai-vercel-v0.6.0) (2026-05-07)


### ⚠ BREAKING CHANGES

* Rename LDAIMetrics.usage and LDAIGraphMetrics.usage to .tokens ([#1366](https://github.com/launchdarkly/js-core/issues/1366))
* Remove AIProvider deprecated methods and create*/init* aliases (AIC-2388) ([#1363](https://github.com/launchdarkly/js-core/issues/1363))
* Build judge input as string and strip legacy judge config messages ([#1364](https://github.com/launchdarkly/js-core/issues/1364))

### Features

* Remove AIProvider deprecated methods and create*/init* aliases (AIC-2388) ([#1363](https://github.com/launchdarkly/js-core/issues/1363)) ([ad66314](https://github.com/launchdarkly/js-core/commit/ad66314e403b83976987c54da9c6c70308c25078))
* Rename LDAIMetrics.usage and LDAIGraphMetrics.usage to .tokens ([#1366](https://github.com/launchdarkly/js-core/issues/1366)) ([ff932b7](https://github.com/launchdarkly/js-core/commit/ff932b74c10307519dc9f913a4330a5b7d79438d))
* replace VercelProvider with Runner protocol implementation (AIC-2388) ([#1339](https://github.com/launchdarkly/js-core/issues/1339)) ([d5a62de](https://github.com/launchdarkly/js-core/commit/d5a62def46b683d4c2e7de0c16ee7fc82e40b66a))


### Bug Fixes

* add zod devDependency to Vercel provider (peer dep of ai v5) ([aab6226](https://github.com/launchdarkly/js-core/commit/aab62262800dfc0b9d4c3c6f9ee71a3f63519959))
* Build judge input as string and strip legacy judge config messages ([#1364](https://github.com/launchdarkly/js-core/issues/1364)) ([c90034b](https://github.com/launchdarkly/js-core/commit/c90034b58a3b75d92269e7c485f38f1266208f08))


### Dependencies

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

## [0.5.10](https://github.com/launchdarkly/js-core/compare/server-sdk-ai-vercel-v0.5.9...server-sdk-ai-vercel-v0.5.10) (2026-05-06)


Expand Down
6 changes: 3 additions & 3 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.5.10",
"version": "0.6.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 @@ -47,7 +47,7 @@
"@ai-sdk/google": "^2.0.0",
"@ai-sdk/mistral": "^2.0.0",
"@ai-sdk/openai": "^2.0.0",
"@launchdarkly/server-sdk-ai": "^0.19.1",
"@launchdarkly/server-sdk-ai": "^0.20.0",
"@types/jest": "^29.5.3",
"@typescript-eslint/eslint-plugin": "^6.20.0",
"@typescript-eslint/parser": "^6.20.0",
Expand All @@ -67,7 +67,7 @@
"@ai-sdk/google": "^2.0.0 || ^3.0.0",
"@ai-sdk/mistral": "^2.0.0 || ^3.0.0",
"@ai-sdk/openai": "^2.0.0 || ^3.0.0",
"@launchdarkly/server-sdk-ai": "^0.19.1",
"@launchdarkly/server-sdk-ai": "^0.20.0",
"ai": "^4.0.0 || ^5.0.0 || ^6.0.0"
},
"peerDependenciesMeta": {
Expand Down
26 changes: 26 additions & 0 deletions packages/sdk/server-ai/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,31 @@
# Changelog

## [0.20.0](https://github.com/launchdarkly/js-core/compare/server-sdk-ai-v0.19.1...server-sdk-ai-v0.20.0) (2026-05-07)


### ⚠ BREAKING CHANGES

* Rename LDAIMetrics.usage and LDAIGraphMetrics.usage to .tokens ([#1366](https://github.com/launchdarkly/js-core/issues/1366))
* Remove AIProvider deprecated methods and create*/init* aliases (AIC-2388) ([#1363](https://github.com/launchdarkly/js-core/issues/1363))
* Build judge input as string and strip legacy judge config messages ([#1364](https://github.com/launchdarkly/js-core/issues/1364))
* Use LDAIGraphMetricSummary for graph metric summary ([#1362](https://github.com/launchdarkly/js-core/issues/1362))

### Features

* add Evaluator class for judge orchestration ([#1331](https://github.com/launchdarkly/js-core/issues/1331)) ([54faa69](https://github.com/launchdarkly/js-core/commit/54faa69aa28333f92d943de79307611fc05e2cbe))
* add ManagedAgent with evaluations support ([#1334](https://github.com/launchdarkly/js-core/issues/1334)) ([7f09c46](https://github.com/launchdarkly/js-core/commit/7f09c46cdec808ce9ebeb6487e6a2fa4fc817cbc))
* add ManagedGraphResult, GraphMetricSummary, and ManagedAgentGraph ([#1335](https://github.com/launchdarkly/js-core/issues/1335)) ([09fa1db](https://github.com/launchdarkly/js-core/commit/09fa1dbb134ea43ab8664b5e7903eb85883a0ac2))
* introduce ManagedResult, RunnerResult, and LDAIMetricSummary ([#1332](https://github.com/launchdarkly/js-core/issues/1332)) ([5040122](https://github.com/launchdarkly/js-core/commit/5040122a5c6de88691820f02528550b983a14e58))
* Remove AIProvider deprecated methods and create*/init* aliases (AIC-2388) ([#1363](https://github.com/launchdarkly/js-core/issues/1363)) ([ad66314](https://github.com/launchdarkly/js-core/commit/ad66314e403b83976987c54da9c6c70308c25078))
* Rename LDAIMetrics.usage and LDAIGraphMetrics.usage to .tokens ([#1366](https://github.com/launchdarkly/js-core/issues/1366)) ([ff932b7](https://github.com/launchdarkly/js-core/commit/ff932b74c10307519dc9f913a4330a5b7d79438d))
* Replace OpenAIProvider with Runner protocol implementation (AIC-2388) ([#1337](https://github.com/launchdarkly/js-core/issues/1337)) ([e32a955](https://github.com/launchdarkly/js-core/commit/e32a955c583db1bc382e2e0f3f459d459bc35984))


### Bug Fixes

* Build judge input as string and strip legacy judge config messages ([#1364](https://github.com/launchdarkly/js-core/issues/1364)) ([c90034b](https://github.com/launchdarkly/js-core/commit/c90034b58a3b75d92269e7c485f38f1266208f08))
* Use LDAIGraphMetricSummary for graph metric summary ([#1362](https://github.com/launchdarkly/js-core/issues/1362)) ([76a4bf2](https://github.com/launchdarkly/js-core/commit/76a4bf278999c81b27ce1aa29a3c1cb42e113fbc))

## [0.19.1](https://github.com/launchdarkly/js-core/compare/server-sdk-ai-v0.19.0...server-sdk-ai-v0.19.1) (2026-05-06)


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
},
"dependencies": {
"@launchdarkly/node-server-sdk": "9.10.14",
"@launchdarkly/server-sdk-ai": "0.19.1"
"@launchdarkly/server-sdk-ai": "0.20.0"
},
"devDependencies": {
"@tsconfig/node20": "20.1.4",
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 @@ -23,7 +23,7 @@
"dependencies": {
"@aws-sdk/client-bedrock-runtime": "^3.679.0",
"@launchdarkly/node-server-sdk": "9.10.14",
"@launchdarkly/server-sdk-ai": "0.19.1"
"@launchdarkly/server-sdk-ai": "0.20.0"
},
"devDependencies": {
"@tsconfig/node20": "20.1.4",
Expand Down
8 changes: 4 additions & 4 deletions packages/sdk/server-ai/examples/chat-judge/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@
"dependencies": {
"@langchain/core": "^1.0.0",
"@launchdarkly/node-server-sdk": "9.10.14",
"@launchdarkly/server-sdk-ai": "0.19.1",
"@launchdarkly/server-sdk-ai-langchain": "0.6.3",
"@launchdarkly/server-sdk-ai-openai": "0.5.10",
"@launchdarkly/server-sdk-ai-vercel": "0.5.10",
"@launchdarkly/server-sdk-ai": "0.20.0",
"@launchdarkly/server-sdk-ai-langchain": "0.7.0",
"@launchdarkly/server-sdk-ai-openai": "0.6.0",
"@launchdarkly/server-sdk-ai-vercel": "0.6.0",
"dotenv": "^16.0.0",
"langchain": "^1.0.0"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
"dependencies": {
"@launchdarkly/node-server-sdk": "9.10.14",
"@launchdarkly/observability-node": "^1.0.0",
"@launchdarkly/server-sdk-ai": "0.19.1",
"@launchdarkly/server-sdk-ai-openai": "0.5.10",
"@launchdarkly/server-sdk-ai": "0.20.0",
"@launchdarkly/server-sdk-ai-openai": "0.6.0",
"dotenv": "^16.0.0",
"openai": "^5.12.2"
},
Expand Down
8 changes: 4 additions & 4 deletions packages/sdk/server-ai/examples/direct-judge/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@
"dependencies": {
"@langchain/core": "^1.0.0",
"@launchdarkly/node-server-sdk": "9.10.14",
"@launchdarkly/server-sdk-ai": "0.19.1",
"@launchdarkly/server-sdk-ai-langchain": "0.6.3",
"@launchdarkly/server-sdk-ai-openai": "0.5.10",
"@launchdarkly/server-sdk-ai-vercel": "0.5.10",
"@launchdarkly/server-sdk-ai": "0.20.0",
"@launchdarkly/server-sdk-ai-langchain": "0.7.0",
"@launchdarkly/server-sdk-ai-openai": "0.6.0",
"@launchdarkly/server-sdk-ai-vercel": "0.6.0",
"dotenv": "^16.0.0",
"langchain": "^1.0.0"
},
Expand Down
8 changes: 4 additions & 4 deletions packages/sdk/server-ai/examples/managed-agent/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@
"@langchain/google-genai": "^1.0.3",
"@langchain/openai": "^0.5.0",
"@launchdarkly/node-server-sdk": "9.10.13",
"@launchdarkly/server-sdk-ai": "0.18.1",
"@launchdarkly/server-sdk-ai-langchain": "0.6.1",
"@launchdarkly/server-sdk-ai-openai": "0.5.8",
"@launchdarkly/server-sdk-ai-vercel": "0.5.8",
"@launchdarkly/server-sdk-ai": "0.20.0",
"@launchdarkly/server-sdk-ai-langchain": "0.7.0",
"@launchdarkly/server-sdk-ai-openai": "0.6.0",
"@launchdarkly/server-sdk-ai-vercel": "0.6.0",
"@openai/agents": "^0.9.1",
"dotenv": "^16.0.0",
"langchain": "^1.3.5",
Expand Down
4 changes: 2 additions & 2 deletions packages/sdk/server-ai/examples/openai/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
"license": "Apache-2.0",
"dependencies": {
"@launchdarkly/node-server-sdk": "9.10.14",
"@launchdarkly/server-sdk-ai": "0.19.1",
"@launchdarkly/server-sdk-ai-openai": "0.5.10",
"@launchdarkly/server-sdk-ai": "0.20.0",
"@launchdarkly/server-sdk-ai-openai": "0.6.0",
"openai": "^4.58.1"
},
"devDependencies": {
Expand Down
8 changes: 4 additions & 4 deletions packages/sdk/server-ai/examples/tracked-chat/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@
"@langchain/core": "^1.1.42",
"@langchain/google-genai": "^1.0.3",
"@launchdarkly/node-server-sdk": "9.10.14",
"@launchdarkly/server-sdk-ai": "0.19.1",
"@launchdarkly/server-sdk-ai-langchain": "0.6.3",
"@launchdarkly/server-sdk-ai-openai": "0.5.10",
"@launchdarkly/server-sdk-ai-vercel": "0.5.10",
"@launchdarkly/server-sdk-ai": "0.20.0",
"@launchdarkly/server-sdk-ai-langchain": "0.7.0",
"@launchdarkly/server-sdk-ai-openai": "0.6.0",
"@launchdarkly/server-sdk-ai-vercel": "0.6.0",
"dotenv": "^16.0.0",
"langchain": "^1.3.5"
},
Expand Down
4 changes: 2 additions & 2 deletions packages/sdk/server-ai/examples/vercel-ai/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
"dependencies": {
"@ai-sdk/openai": "^2.0.30",
"@launchdarkly/node-server-sdk": "9.10.14",
"@launchdarkly/server-sdk-ai": "0.19.1",
"@launchdarkly/server-sdk-ai-vercel": "0.5.10",
"@launchdarkly/server-sdk-ai": "0.20.0",
"@launchdarkly/server-sdk-ai-vercel": "0.6.0",
"ai": "5.0.52",
"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.19.1",
"version": "0.20.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
2 changes: 1 addition & 1 deletion packages/sdk/server-ai/src/sdkInfo.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
export const aiSdkName = '@launchdarkly/server-sdk-ai';
export const aiSdkVersion = '0.19.1'; // x-release-please-version
export const aiSdkVersion = '0.20.0'; // x-release-please-version
export const aiSdkLanguage = 'javascript';