Skip to content

Commit 21c6632

Browse files
author
Cache Hamm
committed
Link to selectn in changelog
1 parent ae3482e commit 21c6632

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#### 6.0. / 2020-12-XX
22
* BREAKING CHANGES
3-
* `path` support using `selectn` should use the `pathResolver` feature. Read more [here](./docs/rules.md#condition-helpers-custom-path-resolver). To continue using `selectn`, add the following to the engine constructor:
3+
* To continue using [selectn](https://github.com/wilmoore/selectn.js) syntax for condition `path`s, use the new `pathResolver` feature. Read more [here](./docs/rules.md#condition-helpers-custom-path-resolver). Add the following to the engine constructor:
44
```js
55
const pathResolver = (object, path) => {
66
return selectn(path)(object)
@@ -12,7 +12,7 @@
1212
* Private `rule.event` property renamed. Use `rule.getEvent()` to avoid breaking changes in the future.
1313
* 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
15-
* 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)
15+
* 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)
1616
1717
1818
#### 5.3.0 / 2020-12-02

0 commit comments

Comments
 (0)