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.
- Add
onBreak
andonDegraded
methods toClientConfigApiService
(#5109)- These serve the same purpose as the
onBreak
andonDegraded
constructor options, but align more closely with the Cockatiel policy API.
- These serve the same purpose as the
- Deprecate
ClientConfigApiService
constructor optionsonBreak
andonDegraded
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)
- 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 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
- Update metadata to declare feature flags as anonymous (#5004)
- This lets us capture these in debug state snapshots to help diagnose errors
- Correct ESM-compatible build so that imports of the following packages that re-export other modules via
export *
are no longer corrupted: (#5011)cockatiel
- 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.