Releases: asulwer/RulesEngine
Releases · asulwer/RulesEngine
6.0.7
What's Changed
- Bump System.Text.Json from 8.0.5 to 9.0.0 by @dependabot in #92
- Bump dotnet-reportgenerator-globaltool from 5.3.11 to 5.4.1 by @dependabot in #93
- Bump Microsoft.NET.Test.Sdk from 17.11.1 to 17.12.0 by @dependabot in #94
- updated nuget packages by @asulwer in #97
Full Changelog: v6.0.6...v6.0.7
6.0.6
6.0.5
6.0.4
6.0.1
Added
- Preserve Original Object: Introduced
OriginalValue
property inRuleParameter
to preserve the originalExpando
without converting its type. - TryGetPropertyValue Method: Implemented
TryGetPropertyValue
to safely access properties, returning a boolean indicating success and setting the out parameter to the property value ornull
if not found.
6.0.0
GitHub Actions
- Updated
codeql
task. - Updated
coverallsapp/github-action
fromv2.2.1
tov2.3.0
.
Changed
- Switched JSON serialization library from
Newtonsoft.Json
toSystem.Text.Json
.
Added
- Added more demo examples in the demo project.
- Action context now has access to cancellation tokens.
- New overloads for
ExecuteAllRulesAsync
to support cancellation tokens:ValueTask<List<RuleResultTree>> ExecuteAllRulesAsync(string workflowName, CancellationToken cancellationToken, params object[] inputs); ValueTask<List<RuleResultTree>> ExecuteAllRulesAsync(string workflowName, RuleParameter[] ruleParams, CancellationToken cancellationToken);
- New overload for
ExecuteActionWorkflowAsync
to support cancellation tokens:ValueTask<ActionRuleResult> ExecuteActionWorkflowAsync(string workflowName, string ruleName, RuleParameter[] ruleParameters, CancellationToken cancellationToken);
- Added a
GetCancellationToken
method inActionContext
to get the cancellation token:public CancellationToken GetCancellationToken();
Fixed
- All issues in the master fork have been resolved, usually with a demo app supporting the solution.
Target Framework
- Only targeting
netstandard2.1
.