Repository navigation
chore(main): release launchdarkly-java-server-sdk 7.20.0 - #296
kinyoklion merged 1 commit into
Conversation
There was a problem hiding this comment.
Stale comment
Risk: low.
Automated risk review (dry run): Low
This PR would be automatically approved. Because it was authored by a bot, a human approving review would also be required.
Why: This change only bumps launchdarkly-java-server-sdk from 7.19.2 to 7.19.3 in Version.java, gradle.properties, the release-please manifest, and CHANGELOG.md.
If you disagree with this review, share this PR in #feedback-agent-approvals or submit a changes-requested review explaining why.
Sent by Cursor Approval Agent: Dry-Run PR Approver
569ae2d to
eded364
Compare
<!-- TERMAG_PR_BODY_BEGIN --> BEGIN_COMMIT_OVERRIDE feat: Add experimental support for file-based flag overrides fix: Keep flag file content out of the file data source's parse error messages fix: Prevent YAML flag files that are parsed at the same time from returning each other's data fix: Report a YAML flag file value that does not match its explicit tag as invalid data instead of an unexpected exception END_COMMIT_OVERRIDE ## Summary Brings `feat/overrides` into `main`: experimental flag overrides for the server SDK on the FDv2 data system, with a file-based override source. The branch is `feat/overrides` with `main` merged into it; `feat/overrides` itself is unchanged. Every change was reviewed and merged through its own PR against `feat/overrides`: #220, #221, #222, #223, #224, #225 and #259. The shared library changes were released from `main` as `launchdarkly-java-sdk-common` 2.6.0 (#298) and `launchdarkly-java-sdk-internal` 1.15.0 (#299), and the server pins those versions. This PR adds nothing of its own; its diff against `main` is the server SDK only. ## Technical design decisions - The merge of `main` takes `main`'s `lib/shared`, which is the released code. Git merged `EventSummarizerInterface` without a conflict, but into the shape of #219, which breaks summarizers outside the library; the merge keeps the shape of #299. - The changelog entries come from the override block above: the feature, and three fixes to the existing file data source that came with the reload infrastructure in #220. ## Needs your attention - Release Please takes the entries from the override block, not from the title. Edit the block to change them. - The new public APIs say `@since 7.20.0`. The open release PR #296 (7.19.3) becomes 7.20.0 once this merges. <details><summary>Details</summary> - Tested: the server tree is identical to the last #259 head. That head builds against the Maven Central artifacts of common 2.6.0 and internal 1.15.0, its server unit tests pass (2348, with the 72 existing skips), and its CI passed, including the v3.2.0-alpha.21 contract tests. CI on `feat/overrides` after the stack merged passed too. - Merge conflicts: `AggregatedEventSummarizer`, `PerContextEventSummarizer`, `DefaultEventProcessorOutputTest` and `EventSummarizerTest` in `lib/shared/internal`, all resolved to `main`'s version. - The fixes to the existing file data source: parse failures no longer quote file lines or values in the log or the data source status; each YAML parse has its own SnakeYAML instance instead of a shared static one; and a value that SnakeYAML cannot convert to its explicit tag is a parse failure, where it escaped the loader before. [SDK-3246](https://launchdarkly.atlassian.net/browse/SDK-3246) </details> <!-- TERMAG_PR_BODY_END --> <!-- termag: box=i-0575d1c54853058d7 project=java-core task=feature --> <sub>Opened from termag</sub> [SDK-3246]: https://launchdarkly.atlassian.net/browse/SDK-3246?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ <!-- CURSOR_SUMMARY --> --- > [!NOTE] > **Overview** > Adds **experimental file-based flag overrides** on the FDv2 data system: operators can configure `DataSystemBuilder.overrides(FileOverrides.source()...)` so local JSON/YAML files supply flag and segment definitions that **take precedence** over LaunchDarkly data at read time, without affecting client initialization or data-source status. > > The implementation introduces an **override layer** (`OverrideLayer`, `OverrideOverlayStore`, `OverrideSinkImpl`) wired from `FDv2DataSystem`, a pluggable **`OverrideSource` / `OverrideSink`** API, and a **file override source** with polling or filesystem watching, debounced reloads, duplicate-key handling, and safer JSON/YAML parsing (extension-based format choice, improved error messages, per-parse YAML, tag-mismatch handling). > > **Evaluation and analytics behavior** changes: flags/segments from overrides carry a transient marker; the evaluator propagates **override-affected** through prerequisites and segment reads; `EvalResult` / `EvaluationReason` expose the marker; **individual evaluation events are suppressed** for override-affected results (while summaries can still account for them via the new `EventProcessor` parameter); `allFlagsState` and `isFlagKnown` can use overrides **before the store is initialized**. **Dependency tracking** now merges LaunchDarkly and override-layer edges so flag-change listeners fire when LD updates affect overridden definitions. > > Contract tests register the **`flag-overrides`** capability and map override config in `SdkClientEntity`. Build pins bump `launchdarklyJavaSdkCommon` / `Internal` versions. > > <sup>Reviewed by [Cursor Bugbot](https://cursor.com/bugbot) for commit 763827f. Bugbot is set up for automated code reviews on this repo. Configure [here](https://www.cursor.com/dashboard/bugbot).</sup> <!-- /CURSOR_SUMMARY -->
eded364 to
6284b29
Compare
There was a problem hiding this comment.
Risk: low.
Automated risk review (dry run): Low
This PR would be automatically approved. Because it was authored by a bot, a human approving review would also be required.
Why: This change only bumps launchdarkly-java-server-sdk from 7.19.2 to 7.20.0 in Version.java, gradle.properties, the release-please manifest, and CHANGELOG.md.
If you disagree with this review, share this PR in #feedback-agent-approvals or submit a changes-requested review explaining why.
Sent by Cursor Approval Agent: Dry-Run PR Approver
|
🤖 Created releases: 🌻 |


🤖 I have created a release beep boop
7.20.0 (2026-12-03)
Features
Bug Fixes
This PR was generated with Release Please. See documentation.
Note
Overview
This is a Release Please cut that publishes launchdarkly-java-server-sdk 7.20.0. The diff only bumps version metadata (
.release-please-manifest.json,gradle.properties, andVersion.SDK_VERSION) and adds the 7.20.0 section toCHANGELOG.md.That release (already landed on
main) includes experimental file-based flag overrides, several file/YAMLFileDatasource fixes (no flag content in parse errors, concurrent YAML isolation, clearer invalid-tag handling), and FDv1 fallback TTL behavior aligned with server headers/goodbye ([#278]).Reviewed by Cursor Bugbot for commit 6284b29. Bugbot is set up for automated code reviews on this repo. Configure here.