commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <>
Subject [ANNOUNCE] Apache Commons JEXL 2.1
Date Tue, 13 Dec 2011 13:27:46 GMT
The Apache Commons team is pleased to announce the release of Apache
Commons JEXL 2.1

Compatibility with previous releases
Version 2.1 is binary compatible with 2.0.1. However it is not source

This is because new methods have been added to the following interfaces:
- org.apache.commons.jexl2.Script
- org.apache.commons.jexl2.JexlInfo
Any source code that implements either of these interfaces will need
to be updated before recompilation.

What's new in 2.1:
* A more thorough arithmetic (JexlArithmetic) that allows fine control
over decimals (scale and precision), a
 new syntax for numeric literals (OGNL inspired Big and Huge
notations) and a better type handling keeping the most
 appropriate representation in casual operations.
* The introduction of script variables and parameters that reduce
context dependencies and methods; this allows to
 perform checks after script creation (light static checking hints).
Plus the ability to call script from scripts.
* A sandoxing feature to restrict and rename what JEXL can access from
the environment allowing tighter control over security.
* Extensions to UnifiedJEXL that allow the creation of templates.

A full list of the changes and bug fixes in this release are found in
the change report:

For general information on Commons JEXL please visit the JEXL website:

The latest version may be downloaded from the following page:

Thanks again to all involved in the release, both Commons users and
Commons developers.

on behalf of the Apache Commons community

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message