Skip to content

chore(main): release launchdarkly-java-server-sdk 7.20.0 - #296

Merged
kinyoklion merged 1 commit into
mainfrom
release-please--branches--main--components--launchdarkly-java-server-sdk
Dec 3, 2026
Merged

kinyoklion merged 1 commit into
mainfrom
release-please--branches--main--components--launchdarkly-java-server-sdk

Conversation

@github-actions

@github-actions github-actions Bot commented Dec 1, 2026 •

Copy link
Copy Markdown
Contributor

🤖 I have created a release beep boop

7.20.0 (2026-12-03)

Features

  • Add experimental support for file-based flag overrides (5b3d8ea)

Bug Fixes

  • Keep flag file content out of the file data source's parse error messages (5b3d8ea)
  • Prevent YAML flag files that are parsed at the same time from returning each other's data (5b3d8ea)
  • Report a YAML flag file value that does not match its explicit tag as invalid data instead of an unexpected exception (5b3d8ea)
  • Use the server's FDv1 fallback TTL from the header and goodbye (#278) (e279d61)

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, and Version.SDK_VERSION) and adds the 7.20.0 section to CHANGELOG.md.

That release (already landed on main) includes experimental file-based flag overrides, several file/YAML FileData source 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.

@github-actions
github-actions Bot requested a review from a team as a code owner December 1, 2026 21:26
@cursor cursor Bot added the risk:low label Dec 1, 2026

@cursor cursor Bot left a comment •

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

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.

Open in Web View Automation 

Sent by Cursor Approval Agent: Dry-Run PR Approver

@github-actions
github-actions Bot force-pushed the release-please--branches--main--components--launchdarkly-java-server-sdk branch 3 times, most recently from 569ae2d to eded364 Compare December 3, 2026 17:13
kinyoklion added a commit that referenced this pull request Dec 3, 2026
<!-- 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 -->
@github-actions github-actions Bot changed the title chore(main): release launchdarkly-java-server-sdk 7.19.3 chore(main): release launchdarkly-java-server-sdk 7.20.0 Dec 3, 2026
@github-actions
github-actions Bot force-pushed the release-please--branches--main--components--launchdarkly-java-server-sdk branch from eded364 to 6284b29 Compare December 3, 2026 21:47

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

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.

Open in Web View Automation 

Sent by Cursor Approval Agent: Dry-Run PR Approver

@kinyoklion
kinyoklion merged commit 9af54e8 into main Dec 3, 2026
5 checks passed
@kinyoklion
kinyoklion deleted the release-please--branches--main--components--launchdarkly-java-server-sdk branch December 3, 2026 22:26
@github-actions

github-actions Bot commented Dec 3, 2026

Copy link
Copy Markdown
Contributor Author

🤖 Created releases:

🌻

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant