Tuesday, October 09, 2007

Drools 4.0.2 Released

We just released Drools v4.0.2. This is a minor release with a few improvements on existing features and several bug fixes. We also included a lot of new documentation, specially in the examples section.
Important: there is one backward compatibility break when using Rule Flow. If you use Rule Flow, please check the section 1.2.5 of the manual for details.

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!

This is now the stable version of Drools and from now on, we expect to only release eventual bug fixes in this branch. We are starting now the development of the new major release of Drools and new features shall all be added to it.

For those curious about what is coming, please check previous posts on this blog. Mark's slides presented at Synasc also talk about several things we want to do for the coming versions.

Follows the release notes.

Happy Drooling
Drools Team

Release Notes

Sub-task

  • [ JBRULES-779 ] Better error reporting in the GUI
  • [ JBRULES-996 ] Admin screen option to remove archive items
  • [ JBRULES-1210 ] Implement support to multi-pattern accumulate to the XML parser.

Feature Request

  • [ JBRULES-910 ] upgrade GWT to 1.4
  • [ JBRULES-944 ] Support in Rule Workbench for custom colors
  • [ JBRULES-1040 ] Multi-pattern accumulate support
  • [ JBRULES-1098 ] Add action support in ruleflow
  • [ JBRULES-1107 ] Support for multiple pattern in accumulate source pattern
  • [ JBRULES-1118 ] Add support for rf, xml and dsrl into drools-ant task
  • [ JBRULES-1138 ] MVEL code completion does not work for nested expressions
  • [ JBRULES-1155 ] In Decision Table actions, cannot reference variables that were not referenced in LHS
  • [ JBRULES-1165 ] StatelessSessionResult should have getGlobal
  • [ JBRULES-1175 ] soundslike operator
  • [ JBRULES-1178 ] trivial jbrms issues
  • [ JBRULES-1183 ] Add global support in ruleflow
  • [ JBRULES-1184 ] Refresh snapshot binaries if needed
  • [ JBRULES-1185 ] Add support to RuleBase events on the Event Support system
  • [ JBRULES-1189 ] Auto coercion of String to date in MVEL actions
  • [ JBRULES-1196 ] Cannot specify file and dir paths with spaces using RuleAgent properties file
  • [ JBRULES-1198 ] Add a launch shortcut for debugging drools applications
  • [ JBRULES-1201 ] Allow rule agent to pick up DRL files and compile as needed
  • [ JBRULES-1227 ] Add drools-analytics support to drools-ant
  • [ JBRULES-1228 ] Enums to allow reference to another fields value
  • [ JBRULES-1236 ] Sort getters alphabetically in drop-down
  • [ JBRULES-1241 ] Dynamic rules should be able to lock for a series of updates and fireAllRules should be optional
  • [ JBRULES-1252 ] DrlDumper does not dump import functions
  • [ JBRULES-1255 ] add alternating coloured rows for rule analysis reporting and allow for user provided css
  • [ JBRULES-1256 ] publish source jars with maven
  • [ JBRULES-1257 ] Add Banking Example from John Dunning

Bug

  • [ JBRULES-723 ] Eclipse plugin detects error inconsistently and without location information
  • [ JBRULES-1013 ] Two functions with Janino compiler end up with out of memory error
  • [ JBRULES-1100 ] BRMS Bug on view source in weblogic
  • [ JBRULES-1124 ] Code completion does not work for 'with' blocks
  • [ JBRULES-1141 ] context assist no longer works for functions in the drl.
  • [ JBRULES-1144 ] Toggling breakpoint gives an exception
  • [ JBRULES-1145 ] Break points do not work at all
  • [ JBRULES-1146 ] No variables are shown for Debug points
  • [ JBRULES-1148 ] Out of memory exception asserting more than 100 facts
  • [ JBRULES-1151 ] Bulding sources from root folder fails
  • [ JBRULES-1152 ] my unit tests are hanging with drools 4.0.1
  • [ JBRULES-1153 ] Accumulate/Collect can't be used in queries
  • [ JBRULES-1154 ] ClassCastException retrieving query parameters
  • [ JBRULES-1156 ] WorkingMemoryFileLogger is raising NPE for rules containing unbalanced OR CEs
  • [ JBRULES-1157 ] threads using one ruleset throws exception
  • [ JBRULES-1159 ] Function calls or static method calls do not work for the MVEL dialect
  • [ JBRULES-1164 ] DSL is not working well when mapping includes ()
  • [ JBRULES-1166 ] BRL not rendering inpattern eval() correctly (for a predicate)
  • [ JBRULES-1169 ] PredicateConstraint and/or MVEL Constraint issue?
  • [ JBRULES-1170 ] ClassCastException using dynamic salience
  • [ JBRULES-1171 ] Nested accessors in "from" clause are not supported in depth more then 2
  • [ JBRULES-1172 ] In nested accessors "this" keyword is required in front
  • [ JBRULES-1174 ] debug steps into "when" statement
  • [ JBRULES-1177 ] Problem when adding dynamic rules to networks with shared AlphaNodes
  • [ JBRULES-1179 ] Premature rule execution
  • [ JBRULES-1180 ] java.lang.ClassCastException: org.drools.reteoo.RightInputAdapterNode
  • [ JBRULES-1182 ] serialized rules using MVEL depend on a compiler class
  • [ JBRULES-1187 ] Bug in guided editor when you add a boolean restriction field
  • [ JBRULES-1190 ] Can't use "=" in a DSL expression
  • [ JBRULES-1191 ] compilation error when consequence has no space between rule mappings
  • [ JBRULES-1193 ] Getting org.mvel.PropertyAccessException in rule flow actions when using class names without package
  • [ JBRULES-1202 ] primitive types all return Longs for getValue
  • [ JBRULES-1203 ] Shadow facts of final classes not working correctly
  • [ JBRULES-1204 ] Problem with memberOf and/or eval used in collect statement
  • [ JBRULES-1205 ] AND works in a rule, but OR gives a classCastException
  • [ JBRULES-1207 ] RuleBase serialization does not handle the process field
  • [ JBRULES-1208 ] Errors for some OR junctions in LHS conditional elements
  • [ JBRULES-1211 ] Rules with accumulators cannot be serialized
  • [ JBRULES-1212 ] Rete throws NoClassDefFoundError when asserting facts with classess loaded by inaccessible classloader.
  • [ JBRULES-1217 ] RuleFlow Editor -> Constraint Editor -> Imports Editor context help
  • [ JBRULES-1220 ] Integration with jBPM does not work
  • [ JBRULES-1221 ] org.drools.base.accumulators.CountAccumulateFunction error when building a package with rules including an accumulate construct in Drools BRMS 4.0.1
  • [ JBRULES-1223 ] Concurrent problem in MVEL
  • [ JBRULES-1224 ] regular expressions inside mvel expressions require escaping
  • [ JBRULES-1231 ] Functions do not get added to new BRMS package when package imported from drl file
  • [ JBRULES-1239 ] Fix class loaders so that creating multiple rulebase with separate class loader hirarchy works
  • [ JBRULES-1240 ] Remove Dialect state from PackageBuilderConfiguration
  • [ JBRULES-1244 ] Ruleflows should have a package name
  • [ JBRULES-1245 ] class cast exception
  • [ JBRULES-1248 ] requires an 'value' attribute, but it can't be null
  • [ JBRULES-1253 ] drools-examples-drl does not work under Java 6 as-is

Task

2 comments:

  1. I just tried the Drools 4.0.2 BRMS Standalone on SUSE Sever 10 and I get a premature end of file when reading the custom_nodetypes.xml.

    I have the fill stack track if you want it. Thanks.

    ReplyDelete
  2. I don't think the standalone was meant to be part of that release. it has proven to be a hassle to support it, so we have removed it for the time being (it causes more trouble then it gains us at the moment).

    ReplyDelete