The Commons JEXL team is pleased to announce the commons-jexl-2.0 release! JEXL is an Expression Language supporting most of the constructs in the JSTL Expression Language, along with some additional extensions. As a library, it is intended to facilitate the implementation of dynamic and scripting features in applications and frameworks.
New Features: Assignment expression: a = b (and a.b.c = d). Issue: JEXL-27. Thanks to Weikuo Liaw. * Assigns a variable (ant-like variable or bean-property) Ternary operator expression: a ? b : c (and a ?: c). Issue: JEXL-19. Thanks to Jesse Glick. * The usual inline conditional shortcut and its 'Elvis' form (a ?: b evaluates as a ? a : b) Constructor call expression: new('my.class.name', arguments...) * Creates a new instance of a class using the most appropriate constructor according to the actual arguments Function namespace: ns:func(arguments...) Issue: JEXL-15. Thanks to Paul Libbrecht. * A function namespace allows the use of class or instance methods in function calls UnifiedJEXL * Adds ${...} and #{...} JSP/EL syntax support on top of the JexlEngine JSR-223 support. Issue: JEXL-63. Thanks to Sebastian Bazley. * Implement JSR-223 Scripting Engine for JEXL script (need BSF-3.0 on Java < 6) Error and exception handling. Issue: JEXL-10, JEXL-11. Thanks to Paul Libbrecht. * Configuring the leniency and verbosity of the Jexl engine allows user control over the error handling policy Support Unicode escapes in string literals and quote escaping. Issue: JEXL-17. Thanks to Nestor Urquiza. * 'foo\u0020bar\'quux' Perl-like regular-expression operators. Issue: JEXL-46. Thanks to Alfred Reibenschuh. Fixed Bugs: * Allow single-line comments with // Issue: JEXL-47. Thanks to Sebastian Bazley. * Comments don't allow double-quotes Issue: JEXL-44. Thanks to Sebastian Bazley. * Call method with varargs Issue: JEXL-25. Thanks to Marek Lewczuk. * BigDecimal values are treated as Long values which results in loss of precision Issue: JEXL-32. Thanks to Kedar Dave. * Remove unnecessary throws Exception from various classes Issue: JEXL-33. * Div operator does not do integer division Issue: JEXL-50. Thanks to Sebastian Bazley. * Inconsistent behaviour of arithmetical operations Issue: JEXL-87. Thanks to Sebastian Bazley. * Operator overloading / hooks on operator processing Issue: JEXL-21. Thanks to AC. The full list of new features, bug fixes and changes as well as documentation and examples can be found at the http:// http://commons.apache.org/jexl/ JEXL site . Have fun! -Commons JEXL team -- View this message in context: http://n4.nabble.com/ANNOUNCEMENT-Jexl-2-0-released-tp1470182p1470182.html Sent from the Commons - Dev mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org