Skip to content

Releases: CacheControl/json-rules-engine

v6.5.0

10 Nov 09:04
d20bd68
Compare
Choose a tag to compare

What's Changed

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

23 Aug 18:08
e7263f4
Compare
Choose a tag to compare

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

13 Jul 00:13
37b4342
Compare
Choose a tag to compare

Release Notes

6.2.0

03 Jul 18:31
351ffc5
Compare
Choose a tag to compare

Release Notes

Dependencies

  • jsonpath-plus has been upgraded from ^5.0.7 -> ^7.0.0
  • hash-it has been upgraded from ^5.0.0 -> ^6.0.0

Doc Fixes

  • Thanks to @rbrtmrtn there have been some style fixes to the almanac.md document

v2.3.6

08 May 20:05
Compare
Choose a tag to compare

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.

  • Merge pull request #130 from CacheControl/remove-debug 8711ec9
  • Replace debug package with console.log 747d668

v2.3.5...v2.3.6

Use Array.isArray instead of instanceof to test Array parameters to address edge cases

26 Apr 18:02
Compare
Choose a tag to compare
  • Update changelog eb438cd
  • Merge pull request #128 from thegeorgeous/124-fix-instanceof 5a2723f
  • Use Array.isArray instead of instanceof 1b9968e

v2.3.4...v2.3.5

Fix rule cache not clearing after removeRule()

23 Apr 20:57
Compare
Choose a tag to compare

v2.3.3...v2.3.4

v2.3.3

03 Mar 03:53
Compare
Choose a tag to compare
  • Merge pull request #115 from CacheControl/add-events-dep 16ce56b
  • Run tests in node 10 61169d2
  • Add missing "events" dep for non-node.js environments (browsers, react-native, etc) 96333cf
  • Upgrade dependencies to latest 9c81158

v2.3.2...v2.3.3