Repository navigation
feat: Every SDK includes reason in responses for identity and environment flags - #133
Conversation
Merging this PR will not alter performance1 warning
Comparing |
Flagsmith returns each flag's `reason` from /flags/ and /identities/, so read it into `Flag#reason` as local evaluation already does, and expose it from the spec steps (sdk-spec v0.10.0). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Pushed 5d7f1c5 to make the v0.10.0 spec pass: flags now carry their What changed
Why
|
There was a problem hiding this comment.
All reported issues were addressed across 6 files
Reply with feedback, questions, or to request a fix.
Turn on auto-fix | Re-trigger cubic
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
There was a problem hiding this comment.
0 issues found across 1 file (changes from recent commits).
Confidence score: 5/5
- Automated review surfaced no issues in the provided summaries.
- No files require special attention.
Auto-approved: Adds an optional reason attribute to SDK flag responses, with fixture updates and tests covering static, targeting, and missing reasons, plus a spec workflow version bump. The change is additive and backward compatible.
Turn on auto-fix | Re-trigger cubic
🤖 I have created a release *beep* *boop* --- ## [5.4.0](v5.3.0...v5.4.0) (2026-11-23) ### Features * Every SDK includes `reason` in responses for identity and environment flags ([#133](#133)) ([9c98a01](9c98a01)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
Contributes to Flagsmith/sdk-spec#27