Skip to content

6.0.0

Compare
Choose a tag to compare
@asulwer asulwer released this 03 Jul 21:17
· 23 commits to main since this release

GitHub Actions

  • Updated codeql task.
  • Updated coverallsapp/github-action from v2.2.1 to v2.3.0.

Changed

  • Switched JSON serialization library from Newtonsoft.Json to System.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 in ActionContext 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.