Skip to content

version 3.0.0

Compare
Choose a tag to compare
@mithunsatheesh mithunsatheesh released this 17 Jan 05:26
· 18 commits to 3.0.0 since this release

Initial version release with below changes incorporated into node rules from 2.3.0 version

Major Changes

  • Removed Support for array of conditions and consequences.
  • Added extra level of abstraction to condition and consequence functions. Bundled the flow controls inside a single namespace and made available to these functions rather than individual callbacks.
  • Introduced a new API for flow controls. Via which the user has more power to decide the flow of the engine. This includes restart, next, stop etc.
  • Added functions to allow user to dynamically prioritize and change state of rules running in the rule engine. Look at turn and prioritize.
  • Improved the export and import features of the rule engine. Added 2 new functions for the same : toJSON and fromJSON. Moved the eval codes from core this external functions.

Other additions

  • Travis integration.
  • Improved test implementation with mocha.