Skip to content

Releases

v0.2.2

Choose a tag to compare

@jhoward321 jhoward321 released this 13 Nov 03:14

Changed

  • Requires io.featureflip:featureflip-java 2.14.0 or later. A percentage rollout whose Bucket by value is an Iterable, Map or 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 to user_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

Choose a tag to compare

@jhoward321 jhoward321 released this 27 Oct 01:52

Changed

  • Requires io.featureflip:featureflip-java 2.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, error or flag-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

Choose a tag to compare

@jhoward321 jhoward321 released this 21 Oct 01:44

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 your FeatureFlagConfig, and a wrapper(...) you already set is kept. A client passed to new FeatureflipProvider(client) was built before the provider saw it, so its requests are unchanged. (#4150)

Changed

  • Depends on io.featureflip:featureflip-java 2.11.0, the release that added FeatureFlagConfig.Builder.wrapper.

v0.1.1

Choose a tag to compare

@jhoward321 jhoward321 released this 23 Sep 03:21

Changed

  • Now built on io.featureflip:featureflip-java 2.10.0 (was 2.9.0) and dev.openfeature:sdk 1.22.1 (was 1.21.0). Both are api dependencies, so an application that doesn't declare featureflip-java itself 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

Choose a tag to compare

@jhoward321 jhoward321 released this 07 Sep 00:55

Initial release.

  • OpenFeature provider backed by the Featureflip Java server SDK: boolean, string, integer, double and object resolution, with PREREQUISITE_FAILED surfaced as its own reason and ruleId/prerequisiteKey attached as flag metadata.
  • PROVIDER_CONFIGURATION_CHANGED on 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).