Releases: noolsjs/nools
Releases · noolsjs/nools
v0.4.1
- Fixed issue with
CustomConstraintnot bindingthis.asserttothis. #146 - @raymondfeng - Added more tests for custom constraints
- Updated readme to include docs about custom constraints.
v0.4.0
- Fix for issue #122 referencing defined class within another defined class
- Also fixes accessing scoped functions within a defined class.
- Fix for issue #119 window was removed from the nools.js file now it is called in the current scope of
this. - Allow session.halt even for
match()#143 - @raymondfeng- Now if you call
halt()even if you did not callmatchUntilHalt()
- Now if you call
- Now you can use a function as a constraint (Only applies to rules defined programatically) #142 - @raymondfeng
- You can now define types using scope #142 - @raymondfeng
- Fix for issue, is the dsl you do not have to escape
\characters #123
v0.3.0
v0.2.3
v0.2.2
- Performance Upgrades
- Added BetaNode indexing
- Abstracted out JoinNode to extend BetaNode (Prevents the checking of constraints if there are not any constraints to check)
- Refactored BetaNetwork
- Created a new Memory Class to encapusulate left and right memory for BetaNodes
- Added new
existslogic operator to check for existence of fact (opposite ofnot)
v0.2.1
- Added support for js expression in the
fromnode addressing issue #86 - Enhanced
JoinReferenceNodeperformance in the default assert case where there are noreferencesto left or right context. - Added ability to use
orandnotin tandem to check for the non-existence of multiple facts. #85 - Fixed issue with
fromnode where an undefined property would be tested. #89 - You can now define a custom resolution strategy.
- Compiling nools files now supports the from modifier.
- Documentation updates
- Updates about from node support with js values.
- New documentation about using
orandnotconstratints together. - Updated
ordocumentation to include a three constraint example.