Releases: CacheControl/json-rules-engine
v6.5.0
What's Changed
- Custom almanac by @chris-pardy in #357
A custom Almanac implementation can now be passed to the Engine.run method. This Almanac will be used in place of the default one. This allows for extensions to looking up Fact Values, or other caching behavior.
Support Facts in Events
Events can now include references to facts in their parameters. If the replaceFactsInEventParams flag is set to true on the engine options then the references to fact values will be replaced with the resolved values when the facts are emitted.
6.3.0
Release Notes
- Added support for named conditions that can be shared between rules
6.2.0
Release Notes
- Thanks to @andycoopcode the new
notcondition makes it easier to write complex conditions by allowing top-level negation rather than requiring factoring of a nested condition: - Thanks to @chris-pardy you can now add a name field on conditions to make them more human readable.
Dependencies
jsonpath-plushas been upgraded from ^5.0.7 -> ^7.0.0hash-ithas been upgraded from ^5.0.0 -> ^6.0.0
Doc Fixes
v2.3.6
Newer versions of debug (v4+) have begun using the latest features of ECMAScript, which is causing transpiling pain for front end stakeholders. This release removes the direct debug dependency. debug v2 is still an implicit dependency via the immediate dependency selectn, however this version is not known to have transpiling problems.