Tuesday, January 15, 2008

Drools 4.0.4 Released

We just released Drools v4.0.4. This is a minor release with a few improvements on existing features and some bug fixes.

Release Notes - JBoss Drools - Version 4.0.4

We would like to really thanks all the contributors that helped on getting this release out. From those contributing patches and docs, to those testing and reporting bugs and providing feedback. The list is a bit long to post all names here and I may incur in a mistake forgetting someone, so our open public thank you to you all!

Follows the release notes.

Happy Drooling
Drools Team

Release Notes - JBoss Drools - Version 4.0.4

Bug



  • [JBRULES-1243] - Pattern matching does not allow spaces

  • [JBRULES-1274] - NPE when using reserved word "action" as a bound variable, or omitting rule title

  • [JBRULES-1284] - ClassCastException when using "<" constraint on field of type java.lang.Object containing data of type java.lang.Integer

  • [JBRULES-1310] - java.lang.NullPointerException at org.drools.rule.builder.dialect.java.JavaConsequenceBuilder.build(JavaConsequenceBuilder.java:54)

  • [JBRULES-1311] - NPE when compiling rule consequences

  • [JBRULES-1313] - NullPointerException at JavaConsequenceBuilder.java:54 on RHS for simplest of consequences

  • [JBRULES-1314] - Error parsing rule that is written in a single line

  • [JBRULES-1316] - Serialising Both the RuleBase and WorkingMemory throws null pointer

  • [JBRULES-1317] - Rule Execution Very Slow on Subsequent Session Using the Same Packages

  • [JBRULES-1321] - org.drools.compiler.DroolsParserException: Unknown error while parsing.
    org.drools.compiler.DroolsParserException: Unknown error while parsing.

  • [JBRULES-1325] - OutOfMemory with the use of WorkingMemoryFileLogger

  • [JBRULES-1336] - Typo in RuleBaseConfiguration(ClassLoader classLoder, Properties properties) -- the ClassLoader specified in the constructor args is not used

  • [JBRULES-1337] - 'or' with predicate/return val/inline eval with property issue

  • [JBRULES-1339] - Debugging: Breakpoints are only considered for code with variables

  • [JBRULES-1340] - JBRMS - Admin - Manage Archived Assets - Open item icon not opening item

  • [JBRULES-1348] - Incorrect hash code calculation for character attributes in alpha hashing optimization

  • [JBRULES-1354] - Duplicate parameter error while trying to use pattern bound variables or globals in accumulate function

  • [JBRULES-1364] - Drl parser 'or'

  • [JBRULES-1387] - Drools doesn't build with fresh maven2 installation and no repository

  • [JBRULES-1397] - org.mvel.CompileException: variable already defined within scope

  • [JBRULES-1410] - Rules with Collect / Accumulate CEs not working correctly when dinamically added to a rulebase

  • [JBRULES-1412] - ContextEntries should have cache nulled

  • [JBRULES-1413] - KnowledgeHelper should have cache reset before use.

  • [JBRULES-1416] - The use of HashKey is not thread safe in CompositeObjectSinkAdapter



Feature Request



  • [JBRULES-1308] - getFactHandle with equality-based assert behavior

  • [JBRULES-1349] - NotNode and Exists Improvements

  • [JBRULES-1395] - Add support to modify() block in java dialect consequences



Patch



  • [JBRULES-1323] - Add caching to the Objenesis instance and move instance to the RuleBase level



Task



  • [JBRULES-1421] - Update mvel version to 1.2.21 and update mvel templates