chore: Update sdk_metadata features#482
Draft
devin-ai-integration[bot] wants to merge 2 commits intov11from
Draft
chore: Update sdk_metadata features#482devin-ai-integration[bot] wants to merge 2 commits intov11from
devin-ai-integration[bot] wants to merge 2 commits intov11from
Conversation
Co-Authored-By: Aaron Zeisler <azeisler@launchdarkly.com>
Contributor
Author
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
Co-Authored-By: Aaron Zeisler <azeisler@launchdarkly.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Requirements
Related issues
Part of a cross-repo effort to populate the
featuresfield in.sdk_metadata.jsonfor all LaunchDarkly SDKs.Describe the solution you've provided
Adds a
featuresmap to theswift-client-sdkentry in.sdk_metadata.json, documenting which SDK features are supported and the version each was introduced. Feature keys use the canonical camelCase names fromsdk-meta/products/feature_info.json, and introduction versions are sourced from the SDK features documentation table ("all other client-side SDKs" → iOS column) and verified against the repository's CHANGELOG.17 features included (alphabetical):
allFlags,appMetadata,autoEnvAttrs,bigSegments,contexts,eventCompression,experimentation,flagChanges,hooks,inlineContextCustomEvents,multiEnv,offlineMode,pluginSupport,privateAttrs,relayProxyProxy,track,variationDetail.Updates since last revision
Corrected two version numbers and added one new feature, all verified against CHANGELOG.md:
appMetadata:8.0→6.2.0— confirmed via CHANGELOG entry "Introduced ApplicationInfo, for configuration of application metadata" under## [6.2.0]multiEnv:5.3.1→5.0— confirmed via CHANGELOG entry "Support for multiple LaunchDarkly projects or environments" under## [5.0.1](which includes the 5.0.0 release notes). Note:multiEnvwas also present in the Obj-C era at2.14.0, but5.0was chosen as the Swift SDK rewrite version per reviewer guidance.eventCompression: added at9.9.0— confirmed via CHANGELOG entry "Add option to enable compression of event payloads" under## [9.9.0]Human review checklist
appMetadata: "6.2.0"— changed from the docs table value of8.0. The CHANGELOG clearly shows ApplicationInfo was introduced in 6.2.0. The7.0.0entry later added "Objective C bindings for ApplicationInfo", which may explain why the docs table listed8.0. Confirm6.2.0is correct.multiEnv: "5.0"— changed from5.3.1. The CHANGELOG shows multi-environment support was added in5.0.0/5.0.1(and earlier in2.14.0for Obj-C). Confirm5.0is the preferred version.eventCompression: "9.9.0"— new feature added. ConfirmeventCompressionis the correct canonical feature key.hooks: "9.7.2",inlineContextCustomEvents: "9.13",pluginSupport: "9.14")bigSegments: "1.0"represents the docs value "All" (i.e., supported since first stable release). The repo has beta tags back to0.1.0-beta, but1.0was used as the first stable version — confirm this is acceptablepluginSupport: "9.14"is mapped from the "Observability plugin" row in the docs table — verify this is the correct feature key for this SDKbootstrapping,migrations,fileDataSource,testDataSource,secureMode,storingData,webProxy,omitAnonContexts, andotelDescribe alternatives you've considered
N/A — follows the established pattern from other SDKs (e.g.,
js-core,go-server-sdk).Additional context