Skip to content

Releases: noolsjs/nools

v0.4.1

02 Mar 00:18
Compare
Choose a tag to compare
  • Fixed issue with CustomConstraint not binding this.assert to this. #146 - @raymondfeng
  • Added more tests for custom constraints
  • Updated readme to include docs about custom constraints.

v0.4.0

26 Feb 18:43
Compare
Choose a tag to compare
  • 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 call matchUntilHalt()
  • 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

18 May 21:58
Compare
Choose a tag to compare
  • Added new === and !== operators #110
  • Fix for issue #109
  • Updated Readme
    • Updated agenda groups examples for #105
    • Changed class names not to match property names in readme #99

v0.2.3

17 Dec 19:30
Compare
Choose a tag to compare
  • Added new getFacts method to allow for querying of facts currently in session. #52
  • Added indexing on comparison operators (i.e. >, <, >=, <=).
  • Updated documentation.
    • Added new section about retrieving facts from a session.
    • Created new section for async actions to address #94

v0.2.2

17 Dec 19:30
Compare
Choose a tag to compare
  • 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 exists logic operator to check for existence of fact (opposite of not)

v0.2.1

08 Nov 21:21
Compare
Choose a tag to compare
  • Added support for js expression in the from node addressing issue #86
  • Enhanced JoinReferenceNode performance in the default assert case where there are no references to left or right context.
  • Added ability to use or and not in tandem to check for the non-existence of multiple facts. #85
  • Fixed issue with from node 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 or and not constratints together.
    • Updated or documentation to include a three constraint example.

v0.1.14: Merge pull request #80 from doug-martin/master

02 Oct 20:10
Compare
Choose a tag to compare