Repository navigation
Releases
Releases · canopy-labs/featureflip-java-openfeature
v0.2.2
Changed
- Requires
io.featureflip:featureflip-java2.14.0 or later. A percentage rollout whose Bucket by value is anIterable,Mapor array now skips the rule instead of hashing it into a different bucket than the other SDKs (#4572), and a rollout with no Bucket by defaults touser_id(#4518). The provider sets the typed user id from the OpenFeature targeting key, so contexts that carry one bucket as before.
v0.2.1
Changed
- Requires
io.featureflip:featureflip-java2.13.0 or later, so the evaluation events behind every flag the provider resolves carry the evaluation reason (rule-match,fallthrough,flag-disabled,prerequisite-failed,errororflag-not-found) and the matched rule id. Featureflip's flag Analytics tab uses them to show which part of the targeting served the traffic. (#4268)
v0.2.0
Added
- Requests made through the provider now identify it:
User-Agent: featureflip-java/<version> featureflip-openfeature-java/<version>, so Featureflip can count OpenFeature usage apart from direct SDK use. This applies when the provider builds its own client (new FeatureflipProvider(sdkKey[, config])); the wrapper goes on a copy of yourFeatureFlagConfig, and awrapper(...)you already set is kept. A client passed tonew FeatureflipProvider(client)was built before the provider saw it, so its requests are unchanged. (#4150)
Changed
- Depends on
io.featureflip:featureflip-java2.11.0, the release that addedFeatureFlagConfig.Builder.wrapper.
v0.1.1
Changed
- Now built on
io.featureflip:featureflip-java2.10.0 (was 2.9.0) anddev.openfeature:sdk1.22.1 (was 1.21.0). Both areapidependencies, so an application that doesn't declarefeatureflip-javaitself picks up 2.10.0 through this provider. That SDK release keeps the real-time stream alive through an outage: before it, five consecutive connection failures (about 31 seconds) switched the SDK to polling for good, so flag changes arrived up to 30 seconds late until the process restarted. The provider's own code is unchanged.
v0.1.0
Initial release.
- OpenFeature provider backed by the Featureflip Java server SDK: boolean, string, integer, double and object resolution, with
PREREQUISITE_FAILEDsurfaced as its own reason andruleId/prerequisiteKeyattached as flag metadata. PROVIDER_CONFIGURATION_CHANGEDon every flag-configuration change, carrying the affected keys. The initial load is not reported — a cold start is not a change.- Tracking through OpenFeature's
track, with the optional numeric value omitted when absent rather than sent as zero. - Construct from an SDK key (the provider owns the client) or from an existing
FeatureflipClient(you keep ownership;shutdown()leaves it open).