Skip to content

release: prepare openfeature 0.2.0 - #103

Merged
tylerjroach merged 3 commits into
masterfrom
release/openfeature/0.2.0
Jul 28, 2026
Merged

release: prepare openfeature 0.2.0#103
tylerjroach merged 3 commits into
masterfrom
release/openfeature/0.2.0

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

Release openfeature 0.2.0

This PR prepares the openfeature module for release. Both mixpanel-java and mixpanel-java-extension-jackson ship together at the same version.

Changes

  • Bumps <version> to 0.2.0 in all module poms
  • Updates openfeature-provider/CHANGELOG.md with changelog since last release
  • Updates openfeature-provider/README.md with new version

After merging

  1. Run the Publish Release to Maven Central workflow for openfeature (this will also create a draft GitHub release with tag openfeature/v0.2.0)

@github-actions
github-actions Bot requested review from a team and efahk July 28, 2026 19:57
tylerjroach and others added 2 commits July 28, 2026 15:59
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>
@tylerjroach
tylerjroach merged commit 4023607 into master Jul 28, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants