You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Feature flags can have multiple sources. Source is also a feature flag and is optional. If no source is available it is assumed that only a local source is controlled.
FeatureStorage that connects feature flags with their sources. It is available via FeatureStorage.sourced() extension function. Feature flag sources are uniquely identified only by their value names.
Feature flag sources can be set from the Gradle plugin with withSource("Name") and withFallbackSource("Name") functions in feature() blocks. Any source that has the name "Local" (or a variant of it) is filtered out.
Gradle plugin has a new sourcedStorage() function. It is responsible for generating a customized FeatureStorage that is aware of all available feature flag sources.
Gradle plugin has a new featureSourceFactory() function. It works similarly to featureFactory() function with a difference that it collects only feature flag sources.
LaboratoryActivity is now configurable with the configure() function.
LaboratoryActivity can display different sets of feature flags on separate tabs.
FragmentKtx 1.2.5 dependency to laboratory-inspector.
ViewModelKtx 2.2.0 dependency to laboratory-inspector.
Changed
LaboratoryActivity.initialize() function is renamed to configure().
Gradle plugin factory() function is renamed to featureFactory().