Repository navigation
1.29.0
·
11 commits
to main
since this release
Immutable
release. Only release title and notes can be modified.
Minor changes
-
168f46a The v2 Gherkin runner can run the
/flags?v=4read cases of the YAMLfeature_flags_v4suite. The specs featuresremote-flags-v4-legacy-getter.feature(requiresflags_response_v4) andremote-flags-v4-legacy-payload.feature(also requiresfeature_flag_payloads) show each mock response and expected result inline.- New steps:
the mock serves this /flags response body:(sent byte for byte, with no default fields merged in),get feature flag payload is called with JSON arguments:(route/get_feature_flag_payload), strictthe public flag getter should return exactly JSON <value>, payload comparisons as parsed JSON values, and "no value"/"no payload" checks that accept native undefined or JSONnull. Every result check also requires that at least one/flagsrequest received the served body, all of them withv=4, so a read that never reached the mock cannot pass. The body serves up to 10 requests. bin/update-flags-v4-features.py --specs <checkout>generates the two features from the feature flag rules v2 contract withposthog_test_harness.flags_v4;--checkfails on drift. The release workflow runs the check on the pinned specs.- Adds 150 read scenarios; the migrated scope now contains 308 cases and the acceptance scope 339. SDKs without
flags_response_v4select none of the new cases. — Thanks @andehen!
- New steps:
Patch changes
- 168f46a The
feature_flags_v4suite and the Gherkin/flags?v=4payload feature read a reader case'slegacy_payloadexpectation from contract 9.0.0.readers.v1_failed, a failed record that still carries ametadata.payload, now runs inlegacy_payload_reads_reader_fixtureand inremote-flags-v4-legacy-payload.feature, and expects no payload. The payload feature has 75 scenarios. — Thanks @andehen!