Repository navigation
chore(snippets): bump java-server-sdk OpenFeature provider to 2.0.0 - #728
Draft
kinyoklion wants to merge 1 commit into
Draft
kinyoklion wants to merge 1 commit into
kinyoklion wants to merge 1 commit into
Conversation
Co-Authored-By: Ryan Lamb <4955475+kinyoklion@users.noreply.github.com>
Contributor
|
I'll fix CI failures and address comments from users with write access. I'll skip comments containing "(aside)".
|
This branch has not been deployed
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.
Summary
The OpenFeature Java provider shipped 2.0.0 on Nov 5 (#66, start-wait change). The docs install snippets still pin
1.2.1, and the validator resolves the latest1.x.launchdarkly-openfeature-serverprovider:1.2.1→2.0.0inopenfeature/install-the-provider-xmland-gradledev.openfeature:sdkrange inopenfeature/install-dependencies-gradle:[1.7.0,2.0.0)→[1.16.0,2.0.0), which matches the provider's ownbuild.gradlefloor (raised in openfeature-java-server#41)sdks.env:LD_JAVA_OPENFEATURE_PROVIDER_VERSIONfamily@1→@2, so the JVM validator builds against 2.xThe snippet bodies didn't need to change. The
Provider(String sdkKey)constructor used byinitialize-the-provideris still in 2.0.0. 2.0.0 is published on Maven Central (the GCS mirror still lists 1.2.1 as latest).Validation: I couldn't run
snippets validate --sdk=java-server-sdklocally because no LD keys are available on this machine, so thesnippets-validateCI matrix is the check. After release, the ld-docs snippet sync will update the rendered blocks onsdk/openfeature/java.mdx. A companion ld-docs-private PR fixes the prose compatibility statements.Link to Devin session: https://app.devin.ai/sessions/32cb4af04cfe43929b0e6586ea213773
Open in Devin Desktop: https://app.devin.ai/desktop/session/32cb4af04cfe43929b0e6586ea213773?variant=devin