Skip to content

Commit 8f4c594

Browse files
authored
Merge pull request #429 from chris-pardy/changelog-v7
Add CHANGELOG entries for v6.6.0 through v7.3.1
2 parents 2d06e51 + ab1a282 commit 8f4c594

File tree

1 file changed

+41
-0
lines changed

1 file changed

+41
-0
lines changed

CHANGELOG.md

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,44 @@
1+
#### 7.3.1 / 2025-02-20
2+
* Upgrade jsonpath-plus to ^10.3.0 to address [CVE in jsonpath-plus](https://security.snyk.io/vuln/SNYK-JS-JSONPATHPLUS-8719585) (#413, #414)
3+
4+
#### 7.3.0 / 2025-01-23
5+
* Deprecate `rule.ruleEvent` property in favor of `rule.event` (#404)
6+
* Fix typo in `removeOperatorDecorator` export (#411)
7+
8+
#### 7.2.0 / 2024-12-05
9+
* Add `valueResult` to condition results and serialization, exposing the resolved value used in fact comparisons (#396)
10+
* Add `factResult` to fact-comparison condition values
11+
12+
#### 7.1.0 / 2024-11-11
13+
* Add `RuleResult.toJSON()` method with proper TypeScript types (#390, fixes #352)
14+
* Add condition result types to TypeScript definitions, including `result` and `factResult` on evaluated conditions
15+
* Upgrade jsonpath-plus to ^10.1.0 (#393)
16+
17+
#### 7.0.0 / 2024-10-24
18+
* BREAKING CHANGES
19+
* Minimum Node.js version is now **18.0.0**
20+
* Upgraded jsonpath-plus from ^7.2.0 to ^10.0.0 to address [CVE-2024-21534](https://nvd.nist.gov/vuln/detail/CVE-2024-21534) (Remote Code Execution vulnerability) (#380, #385, #386)
21+
* jsonpath-plus v10 is ESM-only, which may affect bundler configurations (see [Bundler Notes](#bundler-notes) below)
22+
* MIGRATION FROM v6
23+
* Update your Node.js version to 18 or later
24+
* If you use a custom bundler (webpack, etc.), ensure it supports ESM dependencies. See #417 for known issues with webpack5.
25+
* No changes to the json-rules-engine API itself — the major version bump is due to the jsonpath-plus dependency upgrade
26+
27+
#### 6.6.0 / 2024-10-22
28+
* NEW FEATURES
29+
* Add operator decorators: `not`, `swap`, `everyFact`, `someFact` — composable modifiers for operators. See [docs/engine.md](./docs/engine.md) and [example 13](./examples/13-using-operator-decorators.js) (#376)
30+
* `engine.addOperatorDecorator()` and `engine.removeOperatorDecorator()` methods
31+
* Generic type support for `engine.on()` method (#370)
32+
* IMPROVEMENTS
33+
* Remove lodash dependencies (`lodash.isobjectlike` from almanac and rule-result) (#377)
34+
* Simplify `prioritizeAndRun` method for better performance (#378)
35+
* Improvements to debug output (#378)
36+
* Fix TypeScript types for `addOperator` methods
37+
38+
#### Bundler Notes
39+
* **webpack5**: jsonpath-plus v10+ is ESM-only, which can cause chunk loading failures with some webpack configurations. If you encounter issues, ensure your webpack config handles ESM dependencies correctly, or consider using a `pathResolver` to avoid the jsonpath-plus dependency entirely. See #407, #417.
40+
* **create-react-app**: The `hash-it` dependency may fail with older webpack versions used by CRA. Consider migrating to a modern build tool. See #344.
41+
142
#### 6.1.0 / 2021-06-03
243
* engine.removeRule() now supports removing rules by name
344
* Added engine.updateRule(rule)

0 commit comments

Comments
 (0)