Skip to content

Commit a04825f

Browse files
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

File tree

.sdk_metadata.json

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,33 @@
88
"languages": [
99
"Java"
1010
],
11-
"userAgents": ["JavaClient"]
11+
"userAgents": ["JavaClient"],
12+
"features": {
13+
"allFlags": { "introduced": "1.0" },
14+
"appMetadata": { "introduced": "5.8" },
15+
"bigSegments": { "introduced": "5.7" },
16+
"contexts": { "introduced": "6.0" },
17+
"eventCompression": { "introduced": "7.9" },
18+
"experimentation": { "introduced": "5.5" },
19+
"fileDataSource": { "introduced": "4.5" },
20+
"flagChanges": { "introduced": "5.0" },
21+
"hooks": { "introduced": "7.4" },
22+
"inlineContextCustomEvents": { "introduced": "7.8" },
23+
"migrations": { "introduced": "7.0" },
24+
"offlineMode": { "introduced": "1.0" },
25+
"otel": { "introduced": "7.4" },
26+
"pluginSupport": { "introduced": "7.10" },
27+
"privateAttrs": { "introduced": "2.5" },
28+
"relayProxyDaemon": { "introduced": "1.0" },
29+
"relayProxyProxy": { "introduced": "1.0" },
30+
"secureMode": { "introduced": "1.0" },
31+
"storingData": { "introduced": "1.0" },
32+
"storingDataRedis": { "introduced": "1.0" },
33+
"testDataSource": { "introduced": "5.1" },
34+
"track": { "introduced": "1.0" },
35+
"variationDetail": { "introduced": "4.3" },
36+
"webProxy": { "introduced": "1.0" }
37+
}
1238
}
1339
}
1440
}

0 commit comments

Comments
 (0)