Skip to content

Releases: formix/infernal-engine

Tracing fixed

01 Aug 17:25
Compare
Choose a tag to compare

A small issue prevented tracing to work properly since the path parameter was changed to an internal field.

Version 1.1.1

10 Jan 03:25
Compare
Choose a tag to compare
  • Fix an issue when returning a date or an array from a rule.

Version 1.1.0

09 Jan 22:13
Compare
Choose a tag to compare
  • Deprecated InfernalEngine#defRule and replaced it by InfernalEngine#def
  • Deprecated InfernalEngine#undefRule and replaced it by InfernalEngine#undef
  • Fixed some documentation sentences

1.0.1 - assertAll

05 Jan 03:42
Compare
Choose a tag to compare

1.0.0 - First stable release

22 Dec 14:06
Compare
Choose a tag to compare
  • Complete rewrite of the engine with ECMAScript 2016.
  • Method names have been changed to align with other inference engines (namely by CLIPS)
  • Added the possibility to retract facts and undefine rules with wildcards.
  • Improved tracing.

Add annotations and fact return parameter to `next`

05 Oct 01:00
Compare
Choose a tag to compare
  • Add parameters to rules to reference same context facts.
  • Add annotations to rules references to reference relative or absolute facts.
  • Change the nextcallback to allow a second parameter expecting a rule_path / value mapping object.

Fixed dependency vulnerabilities

16 Feb 20:17
Compare
Choose a tag to compare

The project itself has no dependencies but mocha (a dev dependency) does. Updated the mocha reference to the latest version and rebuilt the package-lock.json to get rid of alerts on the github page.

This version is exactly the same as v0.17.0

After thinking about it, I should have released a 0.17.1 version instead. Too late, my bad 🤷‍♂️

Fixed agenda execution issue

10 Apr 20:29
Compare
Choose a tag to compare
  • Fixed the agenda execution issue where only the last rule was executed by adding a local valiable to the async loop.
  • Fixed the trace output event ordering to match the actual order of steps that are taken during inference.
  • Changed the trace property "rule" to "fromRule" which is clearer, especially two years after my last commit to this project...
  • Improved documentation!

return next() paradigm

16 Aug 17:39
Compare
Choose a tag to compare

This release contains a documentation updates and updated test code. The done callback have been renamed next and instead of calling next and returning on separate lines, I changed code and documentation to return next() on the same line instead.

Improved engine behavior

06 Jun 03:22
Compare
Choose a tag to compare
  • It is now possible to load a sub model without clearing the engine state
  • The inference callback function now receives the fact changed during inference
  • The trace function now tells when a rule is added to the agenda.