Skip to content

Releases

v0.8.1

Choose a tag to compare

@github-actions github-actions released this 28 Nov 17:09
582a276

0.8.1 (2026-11-28)

Bug Fixes

  • a throwing property getter fails the rule instead of reading as null (#168) (10f9d3e)
  • reject repeated JSON property names in rules, events and scheduled actions (#166) (49d656d)

v0.8.0

Choose a tag to compare

@github-actions github-actions released this 17 Nov 21:34
2691b71

0.8.0 (2026-11-17)

⚠ BREAKING CHANGES

  • dates are calendar days (#153)
  • past due times run immediately; skip overdue actions with RuleEngineOptions (#151)
  • event subjects and keyed scheduled actions (#149)
  • TemporalRules and the catalog's time zone (#145)

Features

  • dates are calendar days (#153) (35f7b33)
  • event subjects and keyed scheduled actions (#149) (7eb61d2)
  • OpenTelemetry traces and metrics, and ILogger logging (#152) (3a27154)
  • past due times run immediately; skip overdue actions with RuleEngineOptions (#151) (2ee5e24)
  • RuleEngine.ExecuteScheduledAsync re-checks and runs scheduled actions when due (#150) (584125f)
  • sample: scheduled reminders checked against current data, and the dispatching guide (#156) (32db7fa)
  • schedules count days as calendar days in the catalog's time zone (#154) (f5358ee)
  • TemporalRules and the catalog's time zone (#145) (46b9b97)
  • the RuleEvent envelope and $event paths (#146) (3296f4a)

Bug Fixes

  • scheduled-run telemetry names the key's subject; RuleEventId in logs; rules logged before their actions (#157) (9432672)

v0.7.0

Choose a tag to compare

@github-actions github-actions released this 26 Oct 21:56
fcc8ef5

0.7.0 (2026-10-26)

⚠ BREAKING CHANGES

  • validate typed actions' parameters against their schema (#124)
  • paths in action parameters ({ "$path": ... }), resolved when parameters are read (#123)

Features

  • context declarations always name their provider (#126) (0b78ce5)
  • parse rule arrays rule by rule (RuleJsonParser.ParseEach) (#125) (f920700)
  • paths in action parameters ({ "$path": ... }), resolved when parameters are read (#123) (9111e54)
  • RuleLoom.AspNetCore with app.MapRuleLoom (catalog and validate endpoints) (#127) (fccab0d)
  • sample: typed actions, $path parameters and MapRuleLoom in the ASP.NET Core sample (#128) (6682e77)
  • typed actions with IAction<TParameters> and parameters in the catalog (#121) (20835c7)
  • validate typed actions' parameters against their schema (#124) (a440c31)

v0.6.0

Choose a tag to compare

@github-actions github-actions released this 25 Oct 22:06
956845b

0.6.0 (2026-10-25)

⚠ BREAKING CHANGES

  • the engine, the validator and AddRuleLoom run on a catalog. Build one with CatalogBuilder (or AddCatalog in AddRuleLoom), and register actions in it. IActionFactory.Create now receives the action's registration instead of a name (#110)
  • paths starting with @ or # are no longer property names: @ reads a context, and # is reserved for functions (#99, #108)

The upgrading guide has before/after examples.

Features

  • event schemas: describe events with EventSchema<T> classes. Their fields come from your DTOs and are written as JSON Schema. They live in the new RuleLoom.Schemas package, which has no dependencies (#100)
  • contexts: rules read related data such as @customer.Tier. It's declared by the event's schema and loaded by context providers, once per event and only when a rule uses it. ContextSchema<T> describes the data's fields (#99, #103, #105, #110)
  • validation against schemas: RuleValidator reports paths that aren't fields of the event or of its contexts, with their locations. Comparisons that can never match are warnings (#106, #108)
  • the catalog: one vocabulary of events, contexts, operators and actions, used by the engine, the validator and rule-authoring UIs. catalog.ToJson() writes it as one document, and an optional catalog store keeps it outside the app (#110)
  • previous state from changed fields: PreviousState.FromChanges(current, changes) rebuilds the previous state from the old values of the fields that changed (#97)
  • a schemas and contexts guide, and the ASP.NET Core sample shows contexts and the catalog document (#111)

v0.5.0

Choose a tag to compare

@github-actions github-actions released this 15 Oct 20:20
b60087e

0.5.0 (2026-10-15)

⚠ BREAKING CHANGES

  • rename RuleForge to RuleLoom (#83)
  • rename LogAction to ConsoleLogAction (console-log) (#80)
  • require a rule id (#79)
  • compare ISO date strings as instants and JSON values by content (#75)

Features

  • compare ISO date strings as instants and JSON values by content (#75) (03c2b20)
  • rename LogAction to ConsoleLogAction (console-log) (#80) (054f049)
  • require a rule id (#79) (928d245)
  • resolve paths on JSON state (#72) (3b2ca89)

Code Refactoring

v0.4.0

Choose a tag to compare

@github-actions github-actions released this 06 Oct 22:45
6b726af

0.4.0 (2026-10-06)

⚠ BREAKING CHANGES

  • rename IActionExecutor to IAction (#59)
  • name actions by registration and reference them as "action" (#56)

Features

  • add AddRuleForge dependency injection extensions (#54) (48401a3)
  • name actions by registration and reference them as "action" (#56) (3eea391)

Code Refactoring

  • rename IActionExecutor to IAction (#59) (766b887)

v0.3.0

Choose a tag to compare

@github-actions github-actions released this 06 Oct 16:35
ed34562

0.3.0 (2026-10-06)

⚠ BREAKING CHANGES

  • add RuleValidator for rules against registered operators and actions (#51)
  • select state with $current and $previous path prefixes (#50)
  • parse action parameters as CLR values and add GetParameter (#49)
  • accept only ISO 8601 strings for schedule ReferencePath (#48)
  • match operator, action, event and property names ignoring case (#47)
  • replace the operator signature with OperatorContext (#45)
  • return complete, structured results from RuleEngine (#44)
  • validate rule JSON structure at parse time (#43)

Features

  • accept only ISO 8601 strings for schedule ReferencePath (#48) (4ea5fd3)
  • add gt, gte, lt and lte operators (#46) (06e8dd7)
  • add RuleValidator for rules against registered operators and actions (#51) (60decb7)
  • compare rule values by meaning across CLR types (#41) (b554e73)
  • match operator, action, event and property names ignoring case (#47) (ae1f955)
  • parse action parameters as CLR values and add GetParameter<T> (#49) (2f3af81)
  • replace the operator signature with OperatorContext (#45) (9fa72c3)
  • return complete, structured results from RuleEngine (#44) (436fe35)
  • select state with $current and $previous path prefixes (#50) (72055de)
  • validate rule JSON structure at parse time (#43) (cff6252)

v0.2.1

Choose a tag to compare

@github-actions github-actions released this 03 Oct 22:07
bcc080e

0.2.1 (2026-10-03)

Bug Fixes

  • resolve unscoped nested paths against current state (#24) (4fe881a)

Performance Improvements

  • share the path accessor cache across evaluation contexts (#26) (a8a1095)

v0.2.0

Choose a tag to compare

@github-actions github-actions released this 02 Oct 17:01
4ac9b75

0.2.0 (2026-10-02)

⚠ BREAKING CHANGES

  • the library is renamed from BusinessRules to RuleForge: projects and namespaces BusinessRules.Abstractions.* → RuleForge.Abstractions.* and BusinessRules.Core.* → RuleForge.* (e.g. RuleForge.Engine, RuleForge.Operators) (8f842b4, f53f86c)
  • IActionExecutor.ExecuteAsync now returns Task<ActionResult> and accepts a CancellationToken. Migration: add the token parameter and return ActionResult.Success() (#7)
  • RuleEngine takes an IActionExecutorFactory instead of IEnumerable<IActionExecutor>. Migration: wrap existing actions in new DirectActionExecutorFactory(actions) (#9)
  • RuleEngine.ExecuteAsync returns Task<IReadOnlyList<RuleExecutionResult>> (one entry per matched rule) instead of Task (#9)
  • actions whose schedule has mode Delay or Advance are no longer executed; they return an ActionResult with status Scheduled and the computed ScheduledFor (#10)
  • RuleEngine and LogAction are now sealed (#7)

Features

  • action results: ActionResult and ActionExecutionStatus (ExecutedImmediately, Scheduled, Skipped, Failed), aggregated per rule in RuleExecutionResult (#7, #9)
  • scheduling model: optional ActionDefinition.Schedule (ScheduleMetadata with Immediate/Delay/Advance modes, seconds to days, optional referencePath), parsed from JSON (#7)
  • action factory: IActionExecutorFactory with DirectActionExecutorFactory as the default implementation (#9)
  • schedule calculation: RuleEngine computes UTC ScheduledFor from a reference path or an injectable TimeProvider; scheduling errors return Failed (#10)