Skip to content

Releases: CacheControl/json-rules-engine

v6.5.0

Choose a tag to compare

@chris-pardy chris-pardy released this 10 Nov 09:04
d20bd68

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

Choose a tag to compare

@chris-pardy chris-pardy released this 23 Aug 18:08
e7263f4

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

Choose a tag to compare

@chris-pardy chris-pardy released this 13 Jul 00:13
37b4342

Release Notes

6.2.0

Choose a tag to compare

@chris-pardy chris-pardy released this 03 Jul 18:31
351ffc5

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

Choose a tag to compare

@CacheControl CacheControl released this 08 May 20:05

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

Choose a tag to compare

@CacheControl CacheControl released this 26 Apr 18:02
  • 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()

Choose a tag to compare

@CacheControl CacheControl released this 23 Apr 20:57

v2.3.3...v2.3.4

v2.3.3

Choose a tag to compare

@CacheControl CacheControl released this 03 Mar 03:53
  • 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