Repository navigation
bundle add satee-openfeature-provider --version "~> 0.3.0"Changed behavior
- Reads the
/v2/flag file instead of/v1/. 0.2.0 and earlier keep reading the/v1/file, which Satee still publishes. They keep working, but they see a rolled-out flag as off for everyone. Upgrade every app that reads a rolled-out flag. See Older releases.
New
- Percentage rollouts. A flag rolled out to a share of users is on for the targeting keys whose bucket is below the share, with the reason
TARGETING_MATCH. Buckets come from the flag key and the targeting key, so a user gets the same answer every time, in every process and every Satee provider, each flag buckets on its own, and raising the share keeps everyone who already had the flag. A rollout is close to N% of users, not exactly N%. See Percentage rollouts. - No targeting key, no rollout. Without a targeting key, or with an empty one or one that is not a string, a rolled-out flag returns
false, theoffvariant, with the reasonDEFAULTand no error code, so a caller's default can't turn the rollout on for every keyless request. Passtargeting_keyin the evaluation context; see Rails for an example. - Rollout changes are announced.
PROVIDER_CONFIGURATION_CHANGEDalso names an enabled flag whose rollout share changed, or that was rolled out or whose rollout ended.
Passes the Satee provider conformance suite v0.6.0. Requires Ruby 3.4 or later and openfeature-sdk 0.8.1.