FeatureOne 5.2.0

dotnet add package FeatureOne --version 5.2.0
                    
NuGet\Install-Package FeatureOne -Version 5.2.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="FeatureOne" Version="5.2.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="FeatureOne" Version="5.2.0" />
                    
Directory.Packages.props
<PackageReference Include="FeatureOne" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add FeatureOne --version 5.2.0
                    
#r "nuget: FeatureOne, 5.2.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package FeatureOne@5.2.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=FeatureOne&version=5.2.0
                    
Install as a Cake Addin
#tool nuget:?package=FeatureOne&version=5.2.0
                    
Install as a Cake Tool

.Net Library to implement feature toggles.

Nuget Packages
Package Latest Details
FeatureOne NuGet version Provides core functionality to implement feature toggles with no backend storage provider. Needs package consumer to provide IStorageProvider implementation. Ideal for use case that requires custom storage backend. v5.2.0: RelationalCondition, net10.0 support, package upgrades, expanded test coverage.
FeatureOne.SQL NuGet version Provides SQL storage provider for implementing feature toggles using SQL backend. v5.2.0: net10.0 support, package upgrades.
FeatureOne.File NuGet version Provides File storage provider for implementing feature toggles using File System backend. v5.2.0: net10.0 support, package upgrades.

Concept

What is a feature toggle?

Feature toggle is a mechanism that allows code to be turned “on” or “off” remotely without the need for a deploy. Feature toggles are commonly used in applications to gradually roll out new features, allowing teams to test changes on a small subset of users before releasing them to everyone.

How feature toggles work

Feature toggle is typically a logical check added to codebase to execute or ignore certain functionality in context based on evaluated status of the toggle at runitme.

In code, the functionality to be released is wrapped so that it can be controlled by the status of a feature toggle. If the status of the feature toggle is “on”, then the wrapped functionality is executed. If the status of the feature toggle is “off”, then the wrapped functionality is skipped. The statuses of each feature is provided by a store provider external to the application.

The benefits of feature toggles

The primary benefit of feature flagging is that it mitigates the risks associated with releasing changes to an application. Whether it be a new feature release or a small refactor, there is always the inherent risk of releasing new regressions. To mitigate this, changes to an application can be placed behind feature toggles, allowing them to be turned “on” or “off” in the event of an emergency.

Getting Started?

i. Installation

Install the latest nuget package as appropriate.

FeatureOne - for installing FeatureOne for custom IStorageProvider implementation.

NuGet\Install-Package FeatureOne

FeatureOne.SQL - for installing FeatureOne with SQL storage provider.

NuGet\Install-Package FeatureOne.SQL

FeatureOne.File - for installing FeatureOne with File system storage provider.

NuGet\Install-Package FeatureOne.File

ii. Developer Guide

Please see Developer Guide for details on how to implement FeatureOne in your project.

Support

If you are having problems, please let me know by raising a new issue.

License

This project is licensed with the MIT license.

Version History

The following previous versions are available:

Version Release Notes
v5.2.0 Notes
v5.1.0 Notes
v5.0.0 Notes
v4.0.0 Notes
v3.0.0 Notes
v2.0.0 Notes

Recent Releases

Version Release Date Type Key Changes Backward Compatibility
v5.0.0 Previous Initial Core feature toggle functionality N/A (Initial release)
v5.1.0 Nov 03, 2025 Minor Security fixes (ReDoS protection, secure type loading), architectural improvements (prefix matching, dependency injection), new features (DateRangeCondition, configuration validation), DI integration High - maintains all existing functionality with minor security-related behavioral changes
v5.2.0 Mar 19, 2026 Minor New condition (RelationalCondition with 5 relational operators), target framework (added net10.0, removed netstandard2.0 and net8.0), package upgrades (all MS packages to 10.0.5), expanded test coverage (98%+ line coverage) High - fully backward compatible, additive changes only

Credits

Thank you for reading. Please fork, explore, contribute and report. Happy Coding !! 😃

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
.NET Core netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.1 is compatible. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on FeatureOne:

Package Downloads
FeatureOne.SQL

.Net library to implement feature toggles with SQL storage.

FeatureOne.File

.Net library to implement feature toggles with File system storage.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
5.2.0 71 3/19/2026
5.1.0 292 11/3/2025
5.0.1 349 5/22/2025
5.0.0 232 11/23/2024
4.0.0 297 4/5/2024
3.0.0 402 6/27/2023
2.0.4 458 5/24/2023
2.0.0 381 5/22/2023
1.0.7 523 5/18/2023
1.0.0 459 12/9/2022 1.0.0 is deprecated.

Release Notes v5.2.0 Core Functionality :- Targets .NetStandard 2.1, .Net 9.0 and .Net 10.0
     Library to Implement Feature Toggles to hide/show program features. Does not contain storage provider.

     New Features:
     - Added RelationalCondition for claim-based relational comparisons (Equals, NotEquals, GreaterThan, GreaterThanOrEqual, LessThanOrEqual)

     Framework and Package Updates:
     - Added net10.0 target framework
     - Removed netstandard2.0 and net8.0 target frameworks
     - Upgraded all Microsoft packages to 10.0.5

     Test Coverage:
     - Expanded unit test coverage to 98%+ line coverage

     Provides Out of box Simple, Regex and Relational toggle conditions.
     Provides extensibility for custom implementations ie.
     -- No storage exists by default. Requires `IStorageProvider` implementation to plugin in backend data store for stored features.
     -- Provides extensibility to implement custom toggle conditions for bespoke use cases.
     -- Provides extensibility for custom toggle deserializer for bespoke scenarios.