Skip to content

Commit da0c9c6

Browse files
github-actions[bot]jsonbaileyclaude
authored
chore: release main (#136)
🤖 I have created a release *beep* *boop* --- <details><summary>launchdarkly-server-sdk-ai: 0.18.0</summary> ## [0.18.0](launchdarkly-server-sdk-ai-0.17.0...launchdarkly-server-sdk-ai-0.18.0) (2026-04-21) ### ⚠ BREAKING CHANGES * Add per-execution runId, at-most-once tracking, and cross-process tracker resumption ([#133](#133)) * rename track_latency to track_duration on AIGraphTracker ([#138](#138)) * Move graph_key to AIConfigTracker instantiation ([#134](#134)) * Flatten JudgeResponse and EvalScore into new JudgeResult ([#132](#132)) ### Features * Add per-execution runId, at-most-once tracking, and cross-process tracker resumption ([#133](#133)) ([68685cd](68685cd)) * Flatten JudgeResponse and EvalScore into new JudgeResult ([#132](#132)) ([af4e463](af4e463)) * Move graph_key to AIConfigTracker instantiation ([#134](#134)) ([20fff24](20fff24)) * rename track_latency to track_duration on AIGraphTracker ([#138](#138)) ([05758a7](05758a7)) </details> <details><summary>launchdarkly-server-sdk-ai-langchain: 0.5.0</summary> ## [0.5.0](launchdarkly-server-sdk-ai-langchain-0.4.1...launchdarkly-server-sdk-ai-langchain-0.5.0) (2026-04-21) ### ⚠ BREAKING CHANGES * Add per-execution runId, at-most-once tracking, and cross-process tracker resumption ([#133](#133)) * rename track_latency to track_duration on AIGraphTracker ([#138](#138)) * Move graph_key to AIConfigTracker instantiation ([#134](#134)) ### Features * Add per-execution runId, at-most-once tracking, and cross-process tracker resumption ([#133](#133)) ([68685cd](68685cd)) * Move graph_key to AIConfigTracker instantiation ([#134](#134)) ([20fff24](20fff24)) * rename track_latency to track_duration on AIGraphTracker ([#138](#138)) ([05758a7](05758a7)) </details> <details><summary>launchdarkly-server-sdk-ai-openai: 0.4.0</summary> ## [0.4.0](launchdarkly-server-sdk-ai-openai-0.3.0...launchdarkly-server-sdk-ai-openai-0.4.0) (2026-04-21) ### ⚠ BREAKING CHANGES * Add per-execution runId, at-most-once tracking, and cross-process tracker resumption ([#133](#133)) * rename track_latency to track_duration on AIGraphTracker ([#138](#138)) * Move graph_key to AIConfigTracker instantiation ([#134](#134)) ### Features * Add per-execution runId, at-most-once tracking, and cross-process tracker resumption ([#133](#133)) ([68685cd](68685cd)) * Move graph_key to AIConfigTracker instantiation ([#134](#134)) ([20fff24](20fff24)) * rename track_latency to track_duration on AIGraphTracker ([#138](#138)) ([05758a7](05758a7)) </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] > **Medium Risk** > Release-only changes, but they publish new versions that include breaking API updates (tracker lifecycle changes, `track_latency` rename, judge result flattening) that can impact downstream consumers. > > **Overview** > Publishes new releases for `launchdarkly-server-sdk-ai` (**0.18.0**) and the LangChain/OpenAI provider packages (**0.5.0** / **0.4.0**), updating the release manifest, package versions, and changelogs. > > Updates provider dependencies to require `launchdarkly-server-sdk-ai>=0.18.0`, and refreshes release documentation (`PROVENANCE.md`) and `ldai.__version__` to match the new SDK version. > > <sup>Reviewed by [Cursor Bugbot](https://cursor.com/bugbot) for commit eecee01. Bugbot is set up for automated code reviews on this repo. Configure [here](https://www.cursor.com/dashboard/bugbot).</sup> <!-- /CURSOR_SUMMARY --> --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: jsonbailey <jbailey@launchdarkly.com> Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 68685cd commit da0c9c6

9 files changed

Lines changed: 62 additions & 10 deletions

File tree

.release-please-manifest.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"packages/sdk/server-ai": "0.17.0",
3-
"packages/ai-providers/server-ai-langchain": "0.4.1",
4-
"packages/ai-providers/server-ai-openai": "0.3.0",
2+
"packages/sdk/server-ai": "0.18.0",
3+
"packages/ai-providers/server-ai-langchain": "0.5.0",
4+
"packages/ai-providers/server-ai-openai": "0.4.0",
55
"packages/optimization": "0.1.0"
66
}

packages/ai-providers/server-ai-langchain/CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,20 @@
22

33
All notable changes to the LaunchDarkly Python AI LangChain provider package will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org).
44

5+
## [0.5.0](https://github.com/launchdarkly/python-server-sdk-ai/compare/launchdarkly-server-sdk-ai-langchain-0.4.1...launchdarkly-server-sdk-ai-langchain-0.5.0) (2026-04-21)
6+
7+
8+
### Features
9+
10+
* Updated to use per-execution tracker lifecycle via `create_tracker()` instead of static tracker instances
11+
* Renamed graph metrics method from `track_latency()` to `track_duration()` for consistency
12+
* Moved graph_key configuration from graph tracker instantiation to node tracker initialization
13+
* Removed graph_key parameter from node-level tracker methods as it is now set during tracker creation
14+
15+
### Dependencies
16+
17+
* Updated for compatibility with `launchdarkly-server-sdk-ai` 0.18.0
18+
519
## [0.4.1](https://github.com/launchdarkly/python-server-sdk-ai/compare/launchdarkly-server-sdk-ai-langchain-0.4.0...launchdarkly-server-sdk-ai-langchain-0.4.1) (2026-04-07)
620

721

packages/ai-providers/server-ai-langchain/pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "launchdarkly-server-sdk-ai-langchain"
3-
version = "0.4.1"
3+
version = "0.5.0"
44
description = "LaunchDarkly AI SDK LangChain Provider"
55
authors = [{name = "LaunchDarkly", email = "dev@launchdarkly.com"}]
66
license = {text = "Apache-2.0"}
@@ -20,7 +20,7 @@ classifiers = [
2020
"Topic :: Software Development :: Libraries",
2121
]
2222
dependencies = [
23-
"launchdarkly-server-sdk-ai>=0.17.0",
23+
"launchdarkly-server-sdk-ai>=0.18.0",
2424
"langchain-core>=1.0.0",
2525
"langchain>=1.0.0",
2626
]

packages/ai-providers/server-ai-openai/CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,20 @@
22

33
All notable changes to the LaunchDarkly Python AI OpenAI provider package will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org).
44

5+
## [0.4.0](https://github.com/launchdarkly/python-server-sdk-ai/compare/launchdarkly-server-sdk-ai-openai-0.3.0...launchdarkly-server-sdk-ai-openai-0.4.0) (2026-04-21)
6+
7+
8+
### Features
9+
10+
* Updated to use per-execution tracker lifecycle via `create_tracker()` instead of static tracker instances
11+
* Renamed graph metrics method from `track_latency()` to `track_duration()` for consistency
12+
* Moved graph_key configuration from graph tracker instantiation to node tracker initialization
13+
* Cached node trackers during graph execution to ensure consistent runId across node-level events
14+
15+
### Dependencies
16+
17+
* Updated for compatibility with `launchdarkly-server-sdk-ai` 0.18.0
18+
519
## [0.3.0](https://github.com/launchdarkly/python-server-sdk-ai/compare/launchdarkly-server-sdk-ai-openai-0.2.1...launchdarkly-server-sdk-ai-openai-0.3.0) (2026-04-02)
620

721

packages/ai-providers/server-ai-openai/pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "launchdarkly-server-sdk-ai-openai"
3-
version = "0.3.0"
3+
version = "0.4.0"
44
description = "LaunchDarkly AI SDK OpenAI Provider"
55
authors = [{name = "LaunchDarkly", email = "dev@launchdarkly.com"}]
66
license = {text = "Apache-2.0"}
@@ -20,7 +20,7 @@ classifiers = [
2020
"Topic :: Software Development :: Libraries",
2121
]
2222
dependencies = [
23-
"launchdarkly-server-sdk-ai>=0.17.0",
23+
"launchdarkly-server-sdk-ai>=0.18.0",
2424
"openai>=1.0.0",
2525
]
2626

packages/sdk/server-ai/CHANGELOG.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,30 @@
22

33
All notable changes to the LaunchDarkly Python AI package will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org).
44

5+
## [0.18.0](https://github.com/launchdarkly/python-server-sdk-ai/compare/launchdarkly-server-sdk-ai-0.17.0...launchdarkly-server-sdk-ai-0.18.0) (2026-04-21)
6+
7+
8+
### ⚠ BREAKING CHANGES
9+
10+
* Add per-execution runId, at-most-once tracking, and cross-process tracker resumption ([#133](https://github.com/launchdarkly/python-server-sdk-ai/issues/133))
11+
* `AICompletionConfig`, `AIAgentConfig`, and `AIJudgeConfig`: `tracker` field replaced with `create_tracker` factory callable ([#133](https://github.com/launchdarkly/python-server-sdk-ai/issues/133))
12+
* `ManagedModel`, `ManagedAgent`, `Judge`, and `ManagedAgentGraph` constructors no longer accept a tracker parameter; tracker is now created on-demand via `create_tracker` ([#133](https://github.com/launchdarkly/python-server-sdk-ai/issues/133))
13+
* `ManagedAgentGraph.get_tracker()` method removed ([#133](https://github.com/launchdarkly/python-server-sdk-ai/issues/133))
14+
* rename track_latency to track_duration on AIGraphTracker ([#138](https://github.com/launchdarkly/python-server-sdk-ai/issues/138))
15+
* `graph_key` keyword argument removed from all `LDAIConfigTracker.track_*()` methods; trackers retrieved via a graph definition are automatically configured with the correct graph key ([#134](https://github.com/launchdarkly/python-server-sdk-ai/issues/134))
16+
* Flatten JudgeResponse and EvalScore into new JudgeResult ([#132](https://github.com/launchdarkly/python-server-sdk-ai/issues/132))
17+
* `LDAIConfigTracker.track_eval_scores()` and `track_judge_response()` removed and consolidated into `track_judge_result()` ([#132](https://github.com/launchdarkly/python-server-sdk-ai/issues/132))
18+
* `AIGraphTracker.track_judge_response()` method removed ([#132](https://github.com/launchdarkly/python-server-sdk-ai/issues/132))
19+
* `Judge.evaluate()` and `evaluate_messages()` now always return a `JudgeResult` object; use `result.sampled` to check if evaluation was actually executed ([#132](https://github.com/launchdarkly/python-server-sdk-ai/issues/132))
20+
21+
### Features
22+
23+
* Add per-execution runId, at-most-once tracking, and cross-process tracker resumption ([#133](https://github.com/launchdarkly/python-server-sdk-ai/issues/133)) ([68685cd](https://github.com/launchdarkly/python-server-sdk-ai/commit/68685cd9623105b0b01dd57942538c047615f4f2))
24+
* Flatten JudgeResponse and EvalScore into new JudgeResult ([#132](https://github.com/launchdarkly/python-server-sdk-ai/issues/132)) ([af4e463](https://github.com/launchdarkly/python-server-sdk-ai/commit/af4e46332c5d9a668a7172012c89871d0fb90b56))
25+
* Move graph_key to AIConfigTracker instantiation ([#134](https://github.com/launchdarkly/python-server-sdk-ai/issues/134)) ([20fff24](https://github.com/launchdarkly/python-server-sdk-ai/commit/20fff24fcd02aa101d7f9a6c21dc6a25e7916a1c))
26+
* rename track_latency to track_duration on AIGraphTracker ([#138](https://github.com/launchdarkly/python-server-sdk-ai/issues/138)) ([05758a7](https://github.com/launchdarkly/python-server-sdk-ai/commit/05758a735db0c2defc4e08d02282a46f559220e5))
27+
* Add `LDAIConfigTracker.resumption_token()` and `from_resumption_token()` methods to continue tracking a run from a separate process ([#133](https://github.com/launchdarkly/python-server-sdk-ai/issues/133)) ([68685cd](https://github.com/launchdarkly/python-server-sdk-ai/commit/68685cd9623105b0b01dd57942538c047615f4f2))
28+
529
## [0.17.0](https://github.com/launchdarkly/python-server-sdk-ai/compare/launchdarkly-server-sdk-ai-0.16.1...launchdarkly-server-sdk-ai-0.17.0) (2026-04-02)
630

731

packages/sdk/server-ai/PROVENANCE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ To verify build provenance attestations, we recommend using the [GitHub CLI `att
99
<!-- x-release-please-start-version -->
1010
```
1111
# Set the version of the library to verify
12-
VERSION=0.17.0
12+
VERSION=0.18.0
1313
```
1414
<!-- x-release-please-end -->
1515

packages/sdk/server-ai/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "launchdarkly-server-sdk-ai"
3-
version = "0.17.0" # x-release-please-version
3+
version = "0.18.0" # x-release-please-version
44
description = "LaunchDarkly SDK for AI"
55
authors = [{name = "LaunchDarkly", email = "dev@launchdarkly.com"}]
66
license = {text = "Apache-2.0"}

packages/sdk/server-ai/src/ldai/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
__version__ = "0.17.0" # x-release-please-version
1+
__version__ = "0.18.0" # x-release-please-version
22

33
from ldclient import log
44

0 commit comments

Comments
 (0)