Skip to content

Latest commit

 

History

History
65 lines (42 loc) · 3.59 KB

File metadata and controls

65 lines (42 loc) · 3.59 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

Added

  • Add onBreak and onDegraded methods to ClientConfigApiService (#5109)
    • These serve the same purpose as the onBreak and onDegraded constructor options, but align more closely with the Cockatiel policy API.

Changed

  • Deprecate ClientConfigApiService constructor options onBreak and onDegraded in favor of methods (#5109)
  • Add @metamask/controller-utils@^11.5.0 as a dependency (#5109), (#5272)
    • cockatiel should still be in the dependency tree because it's now a dependency of @metamask/controller-utils
  • Bump @metamask/base-controller from ^7.1.0 to ^8.0.0 (#5135), (#5305)
  • Bump @metamask/utils from ^11.0.1 to ^11.1.0 (#5223)

Changed

  • Improve user segmentation with BigInt-based random generation (#5110)
  • Change getMetaMetricsId to only sync func type (#5108)
  • Bump @metamask/base-controller from ^7.0.0 to ^7.1.0 (#5079)

Added

  • Added support for threshold-based feature flag scoping (#5051)
    • Enables percentage-based feature flag distribution across user base
    • Uses deterministic random group assignment based on metaMetricsId from the client

Added

  • Update metadata to declare feature flags as anonymous (#5004)
    • This lets us capture these in debug state snapshots to help diagnose errors

Fixed

  • Correct ESM-compatible build so that imports of the following packages that re-export other modules via export * are no longer corrupted: (#5011)
    • cockatiel

Added

  • Initial release of the RemoteFeatureFlagController. (#4931)
    • This controller manages the retrieval and caching of remote feature flags. It fetches feature flags from a remote API, caches them, and provides methods to access and manage these flags. The controller ensures that feature flags are refreshed based on a specified interval and handles cases where the controller is disabled or the network is unavailable.