Skip to content

Commit 8270c69

Browse files
author
Cache Hamm
committed
Update changelog
1 parent ef5bed9 commit 8270c69

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

CHANGELOG.md

+5-1
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,13 @@
1010
(fixes #205)
1111
* Engine and Rule events `on('success')`, `on('failure')`, and Rule callbacks `onSuccess` and `onFailure` now honor returned promises; any event handler that returns a promise will be waited upon to resolve before engine execution continues. (fixes #235)
1212
* Private `rule.event` property renamed. Use `rule.getEvent()` to avoid breaking changes in the future.
13-
* The 'success-events' fact used to store successful events has been converted to an internal data structure and will no longer appear in the almanac's facts. (fixes #187)
13+
* The `success-events` fact used to store successful events has been converted to an internal data structure and will no longer appear in the almanac's facts. (fixes #187)
1414
* NEW FEATURES
1515
* Engine constructor now accepts a `pathResolver` option for resolving condition `path` properties. Read more [here](./docs/rules.md#condition-helpers-custom-path-resolver). (fixes #210)
16+
* Engine.run() now returns:
17+
* `failureEvents`, an array of all failed rules events. (fixes #192)
18+
* `results`, an array of RuleResults for each successful rule (fixes #216)
19+
* `failureResults`, an array of RuleResults for each failed rule
1620
1721
1822
#### 5.3.0 / 2020-12-02

0 commit comments

Comments
 (0)