All Versions
10
Latest Version
Avg Release Cycle
64 days
Latest Release
1967 days ago

Changelog History

  • v0.11 Changes

    December 04, 2018
    • Rules are made injectable using @Autowired with SpringAwareRuleBookRunner
    • ERROR_ON_FAILURE now throws meaningful exceptions
    • @RuleBean is now used to properly decorate Spring POJO rules
  • v0.10 Changes

    April 26, 2018

    ๐Ÿš€ This release includes:

    • โœจ Enhanced support for Spring Boot Fat Jars
    • โž• Additional logging in RuleAdapter
    • ๐Ÿ›  Fix for mapping facts to instance variables in POJO rules when NameValueReferableMap key is different than NameValueReferable name
    • Corrections to the README
  • v0.9.1 Changes

    December 16, 2017

    ๐Ÿ‘ป Null facts used in the invocation of a rule caused an exception. This patch allows null facts to be used without throwing an exception.

  • v0.9 Changes

    September 30, 2017
    • โž• Added Rules Auditing
    • โšก๏ธ Updated DSL to include support for Rules Auditing
    • โž• Added Rules Auditing for POJO Rules
  • v0.8.1 Changes

    September 17, 2017
    • ๐Ÿ›  Fixed POJO Results - previously getResults() on RuleBookRunner always returned Optional true; now it only returns Optional true if a Result was set
    • ๐Ÿ›  Fixed Spring Boot Bug - when POJO Rules were packaged in a Spring Boot uber jar, RuleBookRunner would fail to scan rules in a package; this has been corrected
  • v0.8 Changes

    August 17, 2017
    • 0๏ธโƒฃ RuleBooks using the RuleBookBuilder now must specify a default result immediately affter a result type is specified
    • A Rule can break the rule chain when a rule fails if RuleChainActionType.STOP_ON_FAILURE is specified when the Rule is created
    • 0๏ธโƒฃ Errors are no longer logged when a default result is not specified for a RuleBookRunner
  • v0.7 Changes

    August 07, 2017
    • RuleBooks are made thread safe for POJO and DSL created RuleBooks
    • RuleBooks can now be safely used as singletons with Spring
    • RuleBook results are now unique per thread
  • v0.6.2 Changes

    May 23, 2017
    • ๐Ÿ›  Result reads are now chained on POJO Rules - fixes Megabank example
    • Conditions omitted from POJO rules now cause actions to always fire (instead of never fire)
  • v0.6.1 Changes

    May 22, 2017

    ๐Ÿ–จ NameValueTypeConvertible is used in the lambda when() and then() functions. Previously, it was decorating the FactMap, but not delegating to its toString method. This meant when filtering facts via the using() method and using the System.out::println function reference, the String value of the fact was not being outputted (e.g. in the Home Loan example in the README).

    The bug was corrected by having NameValueTypeConvertible delegate its toString method to the map it decorates.

  • v0.6 Changes

    May 07, 2017
    • โž• added BigDecimal to NameValueTypeConvertibleMap
    • โž• added Boolean to NameValueTypeConvertibleMap

    Now when() and then() methods in the DSL will be able to convert facts of an unspecified type easily to BigDecimal or Boolean types using the methods getBigDeciVal() and getBoolVal, respectively.