| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| README.md | 2018-04-09 | 1.8 kB | |
| v3.2.0 source code.tar.gz | 2018-04-09 | 44.7 kB | |
| v3.2.0 source code.zip | 2018-04-09 | 189.5 kB | |
| Totals: 3 Items | 236.0 kB | 0 | |
This is the second maintenance release of the 3.x line. It introduces a new module called easy-rules-support. This module contains support classes that were in the easy-rules-core module. For instance, the org.jeasy.rules.core.CompositeRule has been moved to easy-rules-support as org.jeasy.rules.support.CompositeRule and made abstract. 3 implementations of composite rules are now provided out of the box:
UnitRuleGroup: All or nothing semantics (exactly the same asCompositeRulein previous versions)ActivationRuleGroup: XOR logic, ie only one rule of the group will be triggered (issue [#122])ConditionalRuleGroup: A primary rule acts as a precondition to trigger the rule group (issue [#130])
This release comes with other new features and some bug fixes:
Features
- Issue [#96]: Set priority through
@Ruleannotation - Issue [#133]: Read YAML rule descriptor from a String
- Issue [#138]: Load multiple rules from a single yaml file
Bug fixes
- Issue [#139]: NPE If a null Fact is injected through annotation
- Issue [#143]: Proxy
toString()is not equal to original objecttoString() - Issue [#141]: NPE in
MVELRuleDefinitionReaderif rule name, description or priority is not specified
Deprecations
- Issue [#145]: Deprecate
MVELRuleFactory#createRuleFrom(java.io.File). A new method that takes ajava.io.Readeris to be used instead to be able to read rules not only from files (with aFileReader), but also from Strings (with aStringReader) or any other reader implementation. - Issue [#122]:
org.jeasy.rules.core.CompositeRuleis deprecated. It has been moved to the neweasy-rules-supportmodule and is now abstract.
I would like to thank @dagframstad, @danrivcap, @bpoussin and @paulbrejla for their contributions to this release.