Feature Flags von Harness
Harness Feature Flags: Updates für Relay Proxy, JavaScript- und React-Native-SDK
Relay Proxy aktualisiert Abhängigkeiten, JavaScript-SDK erhält onFlagNotFound-Callback und React Native SDK aktualisiert React SDK.
February 2025 <a href="#february-2025" id="february-2025"></a>
Relay Proxy <a href="#relay-proxy" id="relay-proxy"></a>
Version 2.0.8
- Upgrades packages and dependencies to resolve CVEs
- Updates to documentation
JavaScript SDK <a href="#javascript-sdk" id="javascript-sdk"></a>
Version 1.30.0
New features and enhancements:
- Added a new optional prop
onFlagNotFound, which triggers a callback when a requested flag cannot be found and a default variation is served. The callback receives two arguments:flagNotFound: A typeDefaultVariationEventPayload containing the flag identifier and the default variation.loading: A boolean indicating whether the SDK was still initializing at the time of the request.
This feature helps developers monitor when default variations are returned due to issues like typos, misconfigurations, or early variation calls before SDK initialization. It listens to the ERROR_DEFAULT_VARIATION_RETURNED event introduced in JavaScript SDK v1.29.0. See the README for usage details. (FFM-12306)
Maintenance:
- Updated README documentation for clarity and to reflect recent SDK enhancements.
React Native Client SDK <a href="#react-native-client-sdk" id="react-native-client-sdk"></a>
Version 3.2.0
New features and enhancements:
- Updated React SDK to latest version. (FFM-12322)
Version 3.1.0 …