release: prepare openfeature 0.2.0 - #103
Merged
Merged
Conversation
MixpanelProvider now dispatches on Source.Fallback.Reason (added in 1.10.0 / SDK-79). Installing 0.2.0 alongside any pre-1.10.0 mixpanel-java would crash at runtime because that class doesn't exist. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
The two null-variant-key tests were written against the pre-SDK-79 detection where `isFallback()` returned `variantKey == null`. Under 1.10.0 (SDK-79 + SDK-130 wrapper dispatch), `isFallback()` is now `source instanceof Source.Fallback`, and the 5-arg SelectedVariant constructor defaults source to Source.local() — so a null-key variant with no explicit source is a "real" local variant, not a fallback. Construct the test variants with an explicit Source.fallback(Source.Fallback.Reason.FLAG_NOT_FOUND) instead. This exercises the same fallback-dispatch path the tests originally targeted, using the new detection mechanism. Renamed to `testFallbackSourceTreatedAsFallback...` since the null key is no longer the signal — the fallback source is. Local: mvn test in openfeature-provider → 35/35 pass. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
efahk
approved these changes
Jul 28, 2026
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.
Release openfeature 0.2.0
This PR prepares the openfeature module for release. Both
mixpanel-javaandmixpanel-java-extension-jacksonship together at the same version.Changes
<version>to0.2.0in all module pomsopenfeature-provider/CHANGELOG.mdwith changelog since last releaseopenfeature-provider/README.mdwith new versionAfter merging
openfeature(this will also create a draft GitHub release with tagopenfeature/v0.2.0)