Merged
Conversation
Signed-off-by: CØDE N!NJΔ <najaf.shaikh@gmail.com>
Nshai
approved these changes
Mar 19, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Release Date: March 19, 2026
Release Type: Minor
Packages:
FeatureOne·FeatureOne.SQL·FeatureOne.FileWhat's New
RelationalCondition
A new built-in toggle condition —
RelationalCondition— has been added to the core library. It enables claim-based feature gating using standard relational operators, making it possible to target users by tier, role, numeric level, or any string-comparable claim value.Supported operators (
RelationalOperatorenum):EqualsNotEqualsGreaterThanGreaterThanOrEqualLessThanOrEqualJSON toggle definition:
{ "tier_feature": { "toggle": { "conditions": [{ "type": "Relational", "claim": "tier", "operator": "GreaterThanOrEqual", "value": "gold" }] } } }C# toggle definition:
Framework and Package Updates
net10.0netstandard2.0,net8.0netstandard2.1,net9.0,net10.010.0.5Packages upgraded:
Microsoft.Extensions.DependencyInjection.AbstractionsMicrosoft.Extensions.Logging.AbstractionsSystem.Runtime.CachingSystem.Text.JsonTest Coverage
New tests added:
RelationalConditionTests— 20 unit tests covering all operators, null guards, whitespace trimming, and edge casesRelationalConditionSQLTests— SQL storage pipeline tests forRelationalConditiondeserialization and evaluationRelationalConditionvia the File storage backendBreaking Changes
None. This release is fully backward compatible — all existing toggles, conditions, and storage providers continue to work without modification.
Upgrade Guide
Update the package version in your project:
If you are targeting
net8.0ornetstandard2.0, upgrade tonet9.0,net10.0, ornetstandard2.1.Full Changelog
RelationalConditionwithEquals,NotEquals,GreaterThan,GreaterThanOrEqual,LessThanOrEqualoperatorsRelationalConditioninConditionDeserializersafe type registrynet10.0target frameworknetstandard2.0andnet8.0target frameworks10.0.5RelationalConditionTests(20 unit tests)RelationalConditionSQLTests(4 unit tests)TestForTierFeatureToBeEnabledForGoldAndAboveDeveloperGuide.mdwith Relational Condition sectionfeature-flag.png