Source code | Package | Samples
- Upgraded Go version requirement to
1.24.0. #35
- Added support for variant feature flags. A variant feature flag is an enhanced feature flag that supports multiple states or variations. While it can still be toggled on or off, it also allows for different configurations, ranging from simple primitives to complex JSON objects. Variant feature flags are particularly useful for feature rollouts, configuration rollouts, and feature experimentation (also known as A/B testing). #16
This is the first stable release of Feature Management for Go, including support for the following capabilities. Note that, version 1.1.0-beta.1 or later of azureappconfiguration is required for loading feature flags from Azure App Configuration.
- Built-in functionality for consuming feature flags defined in Azure App Configuration, as well as an extensibility point via the
FeatureFlagProviderinterface to consume feature flags defined by other providers. - Basic feature flags, as well as feature filters, including:
Microsoft.TimeWindowMicrosoft.Targeting- Custom filters
- Fixed a bug where unmarshaling
TargetingFilterParametersused incorrect JSON tag, causingRolloutPercentageto always be 0 and preventing proper percentage-based rollouts.
Initial release of Feature Management for Go, including support for the following capabilities. Note that, version 1.1.0-beta.1 or later of Go provider is required for loading feature flags from Azure App Configuration.
- Support for feature flag providers.
- Built-in feature flag provider for Azure App Configuration by the module
featuremanagement/providers/azappconfig. - Support for basic feature flags with boolean states.
- Support for feature filters, including custom filters and built-in filters
Microsoft.TimeWindowandMicrosoft.Targeting.