Commit a04825f
chore: Update sdk_metadata features (#120)
**Requirements**
- [x] I have added test coverage for new or changed functionality
- [x] I have followed the repository's [pull request submission
guidelines](../blob/main/CONTRIBUTING.md#submitting-pull-requests)
- [x] I have validated my changes against all supported platform
versions
N/A - This is a metadata-only change with no code changes.
**Related issues**
None
**Describe the solution you've provided**
This PR adds the `features` object to `.sdk_metadata.json` to document
all features supported by the Java Server SDK along with the version
each feature was introduced.
24 features are documented with their introduction versions, sourced
from:
- [SDK features documentation
table](https://github.com/launchdarkly/ld-docs-private/blob/587f1518865abdf4ffc3bcb9cf08c3a67b2f8540/fern/topics/sdk/index.mdx)
(server-side SDKs A-K table, Java column)
-
[CHANGELOG.md](https://github.com/launchdarkly/java-core/blob/main/lib/sdk/server/CHANGELOG.md)
for features not in the docs table
Feature keys use camelCase names from
[feature_info.json](https://github.com/launchdarkly/sdk-meta/blob/main/products/feature_info.json).
**Version sources:**
| Feature | Version | Source |
|---------|---------|--------|
| allFlags | 1.0 | [docs
table](https://github.com/launchdarkly/ld-docs-private/blob/587f1518865abdf4ffc3bcb9cf08c3a67b2f8540/fern/topics/sdk/index.mdx#L657)
|
| appMetadata | 5.8 | [docs
table](https://github.com/launchdarkly/ld-docs-private/blob/587f1518865abdf4ffc3bcb9cf08c3a67b2f8540/fern/topics/sdk/index.mdx#L577)
|
| bigSegments | 5.7 | [docs
table](https://github.com/launchdarkly/ld-docs-private/blob/587f1518865abdf4ffc3bcb9cf08c3a67b2f8540/fern/topics/sdk/index.mdx#L597)
|
| contexts | 6.0 | [docs
table](https://github.com/launchdarkly/ld-docs-private/blob/587f1518865abdf4ffc3bcb9cf08c3a67b2f8540/fern/topics/sdk/index.mdx#L617)
|
| eventCompression | 7.9 |
[CHANGELOG](https://github.com/launchdarkly/java-core/blob/main/lib/sdk/server/CHANGELOG.md#790-2025-05-23)
|
| experimentation | 5.5 | [docs
table](https://github.com/launchdarkly/ld-docs-private/blob/587f1518865abdf4ffc3bcb9cf08c3a67b2f8540/fern/topics/sdk/index.mdx#L637)
|
| fileDataSource | 4.5 | [docs
table](https://github.com/launchdarkly/ld-docs-private/blob/587f1518865abdf4ffc3bcb9cf08c3a67b2f8540/fern/topics/sdk/index.mdx#L757)
|
| flagChanges | 5.0 | [docs
table](https://github.com/launchdarkly/ld-docs-private/blob/587f1518865abdf4ffc3bcb9cf08c3a67b2f8540/fern/topics/sdk/index.mdx#L817)
|
| hooks | 7.4 | [docs
table](https://github.com/launchdarkly/ld-docs-private/blob/587f1518865abdf4ffc3bcb9cf08c3a67b2f8540/fern/topics/sdk/index.mdx#L667)
|
| inlineContextCustomEvents | 7.8 | [docs
table](https://github.com/launchdarkly/ld-docs-private/blob/587f1518865abdf4ffc3bcb9cf08c3a67b2f8540/fern/topics/sdk/index.mdx#L677)
|
| migrations | 7.0 | [docs
table](https://github.com/launchdarkly/ld-docs-private/blob/587f1518865abdf4ffc3bcb9cf08c3a67b2f8540/fern/topics/sdk/index.mdx#L687)
|
| offlineMode | 1.0 | [docs
table](https://github.com/launchdarkly/ld-docs-private/blob/587f1518865abdf4ffc3bcb9cf08c3a67b2f8540/fern/topics/sdk/index.mdx#L727)
|
| otel | 7.4 | [docs
table](https://github.com/launchdarkly/ld-docs-private/blob/587f1518865abdf4ffc3bcb9cf08c3a67b2f8540/fern/topics/sdk/index.mdx#L737)
|
| pluginSupport | 7.10 |
[CHANGELOG](https://github.com/launchdarkly/java-core/blob/main/lib/sdk/server/CHANGELOG.md#7100-2025-06-27)
|
| privateAttrs | 2.5 | [docs
table](https://github.com/launchdarkly/ld-docs-private/blob/587f1518865abdf4ffc3bcb9cf08c3a67b2f8540/fern/topics/sdk/index.mdx#L747)
|
| relayProxyDaemon | 1.0 | [docs
table](https://github.com/launchdarkly/ld-docs-private/blob/587f1518865abdf4ffc3bcb9cf08c3a67b2f8540/fern/topics/sdk/index.mdx#L767)
|
| relayProxyProxy | 1.0 | [docs
table](https://github.com/launchdarkly/ld-docs-private/blob/587f1518865abdf4ffc3bcb9cf08c3a67b2f8540/fern/topics/sdk/index.mdx#L777)
|
| secureMode | 1.0 | [docs
table](https://github.com/launchdarkly/ld-docs-private/blob/587f1518865abdf4ffc3bcb9cf08c3a67b2f8540/fern/topics/sdk/index.mdx#L787)
|
| storingData | 1.0 | [docs
table](https://github.com/launchdarkly/ld-docs-private/blob/587f1518865abdf4ffc3bcb9cf08c3a67b2f8540/fern/topics/sdk/index.mdx#L807)
|
| storingDataRedis | 1.0 | Redis was built into SDK from v1.0, moved to
separate package in v5.0 |
| testDataSource | 5.1 | [docs
table](https://github.com/launchdarkly/ld-docs-private/blob/587f1518865abdf4ffc3bcb9cf08c3a67b2f8540/fern/topics/sdk/index.mdx#L827)
|
| track | 1.0 | [docs
table](https://github.com/launchdarkly/ld-docs-private/blob/587f1518865abdf4ffc3bcb9cf08c3a67b2f8540/fern/topics/sdk/index.mdx#L797)
|
| variationDetail | 4.3 | [docs
table](https://github.com/launchdarkly/ld-docs-private/blob/587f1518865abdf4ffc3bcb9cf08c3a67b2f8540/fern/topics/sdk/index.mdx#L647)
|
| webProxy | 2.2 | [docs
table](https://github.com/launchdarkly/ld-docs-private/blob/587f1518865abdf4ffc3bcb9cf08c3a67b2f8540/fern/topics/sdk/index.mdx#L837)
|
**Describe alternatives you've considered**
N/A
**Additional context**
- Requested by tanderson@launchdarkly.com
- [Link to Devin
run](https://app.devin.ai/sessions/4505024d5ea7469bb10ed6dfad8a3d0e)
**Items for reviewer to verify:**
- `storingDataRedis` version (1.0) - Redis was originally built into the
SDK and later moved to a separate package
- `eventCompression` and `pluginSupport` versions were sourced from
CHANGELOG, not the docs table
<!-- CURSOR_SUMMARY -->
---
> [!NOTE]
> **Low Risk**
> Metadata-only change that should not affect runtime behavior; primary
risk is incorrect feature/version entries impacting downstream
reporting/docs.
>
> **Overview**
> Adds a `features` section to `.sdk_metadata.json` for
`java-server-sdk`, enumerating supported capabilities and the SDK
version each was introduced.
>
> Also updates JSON formatting around `userAgents` (trailing comma) to
accommodate the new metadata block.
>
> <sup>Written by [Cursor
Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit
8ac1927. This will update automatically
on new commits. Configure
[here](https://cursor.com/dashboard?tab=bugbot).</sup>
<!-- /CURSOR_SUMMARY -->
---------
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: tanderson@launchdarkly.com <tanderson@launchdarkly.com>
Co-authored-by: Todd Anderson <127344469+tanderson-ld@users.noreply.github.com>1 parent d165789 commit a04825f
1 file changed
Lines changed: 27 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
12 | 38 | | |
13 | 39 | | |
14 | 40 | | |
0 commit comments