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
16 changes: 8 additions & 8 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.5.4",
"packages/ai-providers/server-ai-openai": "0.5.4",
"packages/ai-providers/server-ai-vercel": "0.5.4",
"packages/ai-providers/server-ai-langchain": "0.5.5",
"packages/ai-providers/server-ai-openai": "0.5.5",
"packages/ai-providers/server-ai-vercel": "0.5.5",
"packages/sdk/akamai-base": "3.0.19",
"packages/sdk/akamai-edgekv": "1.4.21",
"packages/sdk/browser": "4.6.0",
"packages/sdk/browser": "4.6.1",
"packages/sdk/cloudflare": "2.7.20",
"packages/sdk/combined-browser": "0.1.15",
"packages/sdk/combined-browser": "0.1.16",
"packages/sdk/fastly": "0.2.10",
"packages/sdk/react-native": "10.16.0",
"packages/sdk/server-ai": "0.16.8",
"packages/sdk/server-ai": "0.17.0",
"packages/sdk/server-node": "9.10.11",
"packages/sdk/vercel": "1.3.43",
"packages/shared/akamai-edgeworker-sdk": "2.0.18",
Expand All @@ -19,9 +19,9 @@
"packages/shared/sdk-server-edge": "2.6.17",
"packages/store/node-server-sdk-dynamodb": "6.2.23",
"packages/store/node-server-sdk-redis": "4.2.23",
"packages/telemetry/browser-telemetry": "1.0.31",
"packages/telemetry/browser-telemetry": "1.0.32",
"packages/telemetry/node-server-sdk-otel": "1.3.11",
"packages/tooling/jest": "1.0.10",
"packages/sdk/shopify-oxygen": "0.1.8",
"packages/sdk/react": "0.2.1"
"packages/sdk/react": "0.2.2"
}
11 changes: 11 additions & 0 deletions packages/ai-providers/server-ai-langchain/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# Changelog

## [0.5.5](https://github.com/launchdarkly/js-core/compare/server-sdk-ai-langchain-v0.5.4...server-sdk-ai-langchain-v0.5.5) (2026-04-21)


### Dependencies

* The following workspace dependencies were updated
* devDependencies
* @launchdarkly/server-sdk-ai bumped from ^0.16.8 to ^0.17.0
* peerDependencies
* @launchdarkly/server-sdk-ai bumped from ^0.15.0 || ^0.16.0 to ^0.17.0

## [0.5.4](https://github.com/launchdarkly/js-core/compare/server-sdk-ai-langchain-v0.5.3...server-sdk-ai-langchain-v0.5.4) (2026-04-14)


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.5.4",
"version": "0.5.5",
"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 @@ -45,7 +45,7 @@
"devDependencies": {
"@langchain/community": "^0.3.0",
"@langchain/core": "^0.3.0",
"@launchdarkly/server-sdk-ai": "^0.16.8",
"@launchdarkly/server-sdk-ai": "^0.17.0",
Comment thread
cursor[bot] marked this conversation as resolved.
"@opentelemetry/api": "^1.9.0",
"@traceloop/instrumentation-langchain": "^0.22.0",
"@trivago/prettier-plugin-sort-imports": "^4.1.1",
Expand All @@ -67,7 +67,7 @@
"peerDependencies": {
"@langchain/community": "^0.2.0 || ^0.3.0",
"@langchain/core": "^0.2.0 || ^0.3.0",
"@launchdarkly/server-sdk-ai": "^0.15.0 || ^0.16.0",
"@launchdarkly/server-sdk-ai": "^0.17.0",
"@opentelemetry/api": "^1.0.0",
"@traceloop/instrumentation-langchain": "^0.22.0",
"langchain": "^0.2.0 || ^0.3.0"
Expand Down
11 changes: 11 additions & 0 deletions packages/ai-providers/server-ai-openai/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# Changelog

## [0.5.5](https://github.com/launchdarkly/js-core/compare/server-sdk-ai-openai-v0.5.4...server-sdk-ai-openai-v0.5.5) (2026-04-21)


### Dependencies

* The following workspace dependencies were updated
* devDependencies
* @launchdarkly/server-sdk-ai bumped from ^0.16.8 to ^0.17.0
* peerDependencies
* @launchdarkly/server-sdk-ai bumped from ^0.15.0 || ^0.16.0 to ^0.17.0

## [0.5.4](https://github.com/launchdarkly/js-core/compare/server-sdk-ai-openai-v0.5.3...server-sdk-ai-openai-v0.5.4) (2026-04-14)


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.4",
"version": "0.5.5",
"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 @@ -44,7 +44,7 @@
"license": "Apache-2.0",
"devDependencies": {
"@launchdarkly/js-server-sdk-common": "2.18.4",
"@launchdarkly/server-sdk-ai": "^0.16.8",
"@launchdarkly/server-sdk-ai": "^0.17.0",
"@opentelemetry/api": "^1.9.0",
"@traceloop/instrumentation-openai": "^0.22.0",
"@trivago/prettier-plugin-sort-imports": "^4.1.1",
Expand All @@ -64,7 +64,7 @@
"typescript": "5.1.6"
},
"peerDependencies": {
"@launchdarkly/server-sdk-ai": "^0.15.0 || ^0.16.0",
"@launchdarkly/server-sdk-ai": "^0.17.0",
"@opentelemetry/api": "^1.0.0",
"@traceloop/instrumentation-openai": "^0.22.0",
"openai": ">= 4 < 6"
Expand Down
11 changes: 11 additions & 0 deletions packages/ai-providers/server-ai-vercel/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# Changelog

## [0.5.5](https://github.com/launchdarkly/js-core/compare/server-sdk-ai-vercel-v0.5.4...server-sdk-ai-vercel-v0.5.5) (2026-04-21)


### Dependencies

* The following workspace dependencies were updated
* devDependencies
* @launchdarkly/server-sdk-ai bumped from ^0.16.8 to ^0.17.0
* peerDependencies
* @launchdarkly/server-sdk-ai bumped from ^0.15.0 || ^0.16.0 to ^0.17.0

## [0.5.4](https://github.com/launchdarkly/js-core/compare/server-sdk-ai-vercel-v0.5.3...server-sdk-ai-vercel-v0.5.4) (2026-04-14)


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.4",
"version": "0.5.5",
"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 @@ -48,7 +48,7 @@
"@ai-sdk/google": "^2.0.0",
"@ai-sdk/mistral": "^2.0.0",
"@ai-sdk/openai": "^2.0.0",
"@launchdarkly/server-sdk-ai": "^0.16.8",
"@launchdarkly/server-sdk-ai": "^0.17.0",
"@trivago/prettier-plugin-sort-imports": "^4.1.1",
"@types/jest": "^29.5.3",
"@typescript-eslint/eslint-plugin": "^6.20.0",
Expand All @@ -71,7 +71,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.15.0 || ^0.16.0",
"@launchdarkly/server-sdk-ai": "^0.17.0",
"ai": "^4.0.0 || ^5.0.0 || ^6.0.0"
},
"peerDependenciesMeta": {
Expand Down
8 changes: 8 additions & 0 deletions packages/sdk/browser/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## [4.6.1](https://github.com/launchdarkly/js-core/compare/js-client-sdk-v4.6.0...js-client-sdk-v4.6.1) (2026-04-21)


### Bug Fixes

* correct typeof comparisons in browser SDK ([#1301](https://github.com/launchdarkly/js-core/issues/1301)) ([f4bd636](https://github.com/launchdarkly/js-core/commit/f4bd6369e03353f38abfdf1b4b8ef90aa7c79ffb))
* **js-client-sdk:** better `undefined` handling ([#1303](https://github.com/launchdarkly/js-core/issues/1303)) ([4818678](https://github.com/launchdarkly/js-core/commit/4818678282bc6aa54aca00c2d1cb02d2a6b14bf8))

## [4.6.0](https://github.com/launchdarkly/js-core/compare/js-client-sdk-v4.5.0...js-client-sdk-v4.6.0) (2026-04-17)


Expand Down
2 changes: 1 addition & 1 deletion packages/sdk/browser/example-fdv2/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"test": "playwright test"
},
"dependencies": {
"@launchdarkly/js-client-sdk": "4.6.0"
"@launchdarkly/js-client-sdk": "4.6.1"
},
"devDependencies": {
"@playwright/test": "^1.49.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/sdk/browser/example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"test": "playwright test"
},
"dependencies": {
"@launchdarkly/js-client-sdk": "4.6.0"
"@launchdarkly/js-client-sdk": "4.6.1"
},
"devDependencies": {
"@playwright/test": "^1.49.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/sdk/browser/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@launchdarkly/js-client-sdk",
"version": "4.6.0",
"version": "4.6.1",
"description": "LaunchDarkly SDK for JavaScript in Browsers",
"homepage": "https://github.com/launchdarkly/js-core/tree/main/packages/sdk/browser",
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion packages/sdk/browser/src/platform/BrowserInfo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export default class BrowserInfo implements Info {
sdkData(): SdkData {
const data: SdkData = {
name: '@launchdarkly/js-client-sdk',
version: '4.6.0', // x-release-please-version
version: '4.6.1', // x-release-please-version
userAgentBase: 'JSClient',
};

Expand Down
9 changes: 9 additions & 0 deletions packages/sdk/combined-browser/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# Changelog

## [0.1.16](https://github.com/launchdarkly/js-core/compare/browser-v0.1.15...browser-v0.1.16) (2026-04-21)


### Dependencies

* The following workspace dependencies were updated
* dependencies
* @launchdarkly/js-client-sdk bumped from 4.6.0 to 4.6.1

## [0.1.15](https://github.com/launchdarkly/js-core/compare/browser-v0.1.14...browser-v0.1.15) (2026-04-17)


Expand Down
4 changes: 2 additions & 2 deletions packages/sdk/combined-browser/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@launchdarkly/browser",
"version": "0.1.15",
"version": "0.1.16",
"description": "LaunchDarkly SDK for JavaScript in Browsers with Observability",
"homepage": "https://github.com/launchdarkly/js-core/tree/main/packages/sdk/combined-browser",
"repository": {
Expand Down Expand Up @@ -45,7 +45,7 @@
"check": "yarn prettier && yarn lint && yarn build && yarn test"
},
"dependencies": {
"@launchdarkly/js-client-sdk": "4.6.0",
"@launchdarkly/js-client-sdk": "4.6.1",
"@launchdarkly/observability": "0.2.0",
"@launchdarkly/session-replay": "0.2.0"
},
Expand Down
9 changes: 9 additions & 0 deletions packages/sdk/react/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# Changelog

## [0.2.2](https://github.com/launchdarkly/js-core/compare/react-sdk-v0.2.1...react-sdk-v0.2.2) (2026-04-21)


### Dependencies

* The following workspace dependencies were updated
* dependencies
* @launchdarkly/js-client-sdk bumped from ^4.6.0 to ^4.6.1

## [0.2.1](https://github.com/launchdarkly/js-core/compare/react-sdk-v0.2.0...react-sdk-v0.2.1) (2026-04-17)


Expand Down
2 changes: 1 addition & 1 deletion packages/sdk/react/examples/hello-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "0.1.0",
"private": true,
"dependencies": {
"@launchdarkly/react-sdk": "0.2.1",
"@launchdarkly/react-sdk": "0.2.2",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
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.11",
"@launchdarkly/react-sdk": "0.2.1",
"@launchdarkly/react-sdk": "0.2.2",
"next": "^16",
"react": "^19",
"react-dom": "^19"
Expand Down
2 changes: 1 addition & 1 deletion packages/sdk/react/examples/vercel-edge/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"test": "playwright test"
},
"dependencies": {
"@launchdarkly/react-sdk": "0.2.1",
"@launchdarkly/react-sdk": "0.2.2",
"@launchdarkly/vercel-server-sdk": "1.3.43",
"@vercel/edge-config": "^1.1.0",
"next": "^16",
Expand Down
4 changes: 2 additions & 2 deletions packages/sdk/react/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@launchdarkly/react-sdk",
"version": "0.2.1",
"version": "0.2.2",
"description": "LaunchDarkly SDK for React frameworks",
"homepage": "https://github.com/launchdarkly/js-core/tree/main/packages/sdk/react",
"repository": {
Expand Down Expand Up @@ -67,7 +67,7 @@
"typescript": "5.1.6"
},
"dependencies": {
"@launchdarkly/js-client-sdk": "^4.6.0",
"@launchdarkly/js-client-sdk": "^4.6.1",
"@launchdarkly/js-server-sdk-common": "^2.18.4"
},
"peerDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/sdk/react/src/client/LDReactClient.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export function createClient(
const baseClientOptions: LDOptions = {
...ldOptions,
wrapperName: ldOptions?.wrapperName ?? 'react-client-sdk',
wrapperVersion: ldOptions?.wrapperVersion ?? '0.2.1', // x-release-please-version
wrapperVersion: ldOptions?.wrapperVersion ?? '0.2.2', // x-release-please-version
};

const baseClient = createBaseClient(clientSideID, context, baseClientOptions);
Expand Down
27 changes: 27 additions & 0 deletions packages/sdk/server-ai/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,32 @@
# Changelog

## [0.17.0](https://github.com/launchdarkly/js-core/compare/server-sdk-ai-v0.16.8...server-sdk-ai-v0.17.0) (2026-04-21)


### ⚠ BREAKING CHANGES

* Flatten JudgeResponse and EvalScore into new LDJudgeResult ([#1284](https://github.com/launchdarkly/js-core/issues/1284))
* `LDAIConfigTracker.trackJudgeResponse()` and `trackEvalScores()` methods removed; replaced by `trackJudgeResult()` ([#1284](https://github.com/launchdarkly/js-core/issues/1284))
* `Judge.evaluate()` and `Judge.evaluateMessages()` now always return `LDJudgeResult` (never `undefined`); check `result.sampled` to determine if evaluation was performed ([#1284](https://github.com/launchdarkly/js-core/issues/1284))
* Add per-execution runId, at-most-once tracking, and cross-process tracker resumption ([#1270](https://github.com/launchdarkly/js-core/issues/1270))
* `config.tracker` property on AI config objects replaced with `config.createTracker()` factory function ([#1270](https://github.com/launchdarkly/js-core/issues/1270))
* `TrackedChat` and `Judge` constructors no longer accept a tracker parameter; tracker is now created on-demand via `createTracker()` ([#1270](https://github.com/launchdarkly/js-core/issues/1270))
* `TrackedChat.getTracker()` and `Judge.getTracker()` methods removed ([#1270](https://github.com/launchdarkly/js-core/issues/1270))

### Features

* Add per-execution runId, at-most-once tracking, and cross-process tracker resumption ([#1270](https://github.com/launchdarkly/js-core/issues/1270)) ([fc25ab7](https://github.com/launchdarkly/js-core/commit/fc25ab7bd9577dbd1ea9826547793366a4e6814b))
* Flatten JudgeResponse and EvalScore into new LDJudgeResult ([#1284](https://github.com/launchdarkly/js-core/issues/1284)) ([aba1221](https://github.com/launchdarkly/js-core/commit/aba1221d3b3d9f4eff44d805ed1c5e9f4d088e4a))
* Implement agent graph definitions ([#1282](https://github.com/launchdarkly/js-core/issues/1282)) ([e7d08e5](https://github.com/launchdarkly/js-core/commit/e7d08e5e3b84020e543fd54d40a8530ddc514f20))
* simplify evaluation schema to flat score/reasoning shape ([#1286](https://github.com/launchdarkly/js-core/issues/1286)) ([c132e9f](https://github.com/launchdarkly/js-core/commit/c132e9f44c8113cc5b795edfa6330f26c38081a6))
* Add `LDAIClient.createTracker()` and `createGraphTracker()` methods to continue tracking a run from a separate process ([#1270](https://github.com/launchdarkly/js-core/issues/1270)) ([fc25ab7](https://github.com/launchdarkly/js-core/commit/fc25ab7bd9577dbd1ea9826547793366a4e6814b))
* Add `LDAIConfigTracker.trackToolCall()` and `trackToolCalls()` methods ([#1270](https://github.com/launchdarkly/js-core/issues/1270)) ([fc25ab7](https://github.com/launchdarkly/js-core/commit/fc25ab7bd9577dbd1ea9826547793366a4e6814b))


### Bug Fixes

* Add support for graph metric tracking ([#1269](https://github.com/launchdarkly/js-core/issues/1269)) ([034a89d](https://github.com/launchdarkly/js-core/commit/034a89d3a8d8b718aecb459190f94f6e2ab14a3d))

## [0.16.8](https://github.com/launchdarkly/js-core/compare/server-sdk-ai-v0.16.7...server-sdk-ai-v0.16.8) (2026-04-14)


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.11",
"@launchdarkly/server-sdk-ai": "0.16.8"
"@launchdarkly/server-sdk-ai": "0.17.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 @@ -24,7 +24,7 @@
"dependencies": {
"@aws-sdk/client-bedrock-runtime": "^3.679.0",
"@launchdarkly/node-server-sdk": "9.10.11",
"@launchdarkly/server-sdk-ai": "0.16.8"
"@launchdarkly/server-sdk-ai": "0.17.0"
},
"devDependencies": {
"@trivago/prettier-plugin-sort-imports": "^4.1.1",
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 @@ -11,10 +11,10 @@
},
"dependencies": {
"@launchdarkly/node-server-sdk": "9.10.11",
"@launchdarkly/server-sdk-ai": "0.16.8",
"@launchdarkly/server-sdk-ai-langchain": "0.5.4",
"@launchdarkly/server-sdk-ai-openai": "0.5.4",
"@launchdarkly/server-sdk-ai-vercel": "0.5.4",
"@launchdarkly/server-sdk-ai": "0.17.0",
"@launchdarkly/server-sdk-ai-langchain": "0.5.5",
"@launchdarkly/server-sdk-ai-openai": "0.5.5",
"@launchdarkly/server-sdk-ai-vercel": "0.5.5",
"dotenv": "^16.0.0"
},
"devDependencies": {
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.11",
"@launchdarkly/observability-node": "^1.0.0",
"@launchdarkly/server-sdk-ai": "0.16.8",
"@launchdarkly/server-sdk-ai-openai": "0.5.4",
"@launchdarkly/server-sdk-ai": "0.17.0",
"@launchdarkly/server-sdk-ai-openai": "0.5.5",
"dotenv": "^16.0.0",
"openai": "^5.12.2"
},
Expand Down
Loading
Loading