commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <>
Subject [VOTE] Release JEXL 2.1 based on RC3
Date Thu, 08 Dec 2011 19:44:16 GMT
Further to the earlier cancelled RC1 vote, here is an updated release candidate.

The main change since RC1 is that all binary incompatibilities have
been resolved.

Clirr still reports errors for interfaces that have additional
methods, but these are false positives, as the changes only affect
source compatibility.

Compatibility with previous releases
Version 2.1 is binary compatible with 2.0.1.

However it is not source compatible.
New methods have been added to the org.apache.commons.jexl2.Script and
org.apache.commons.jexl2.JexlInfo interfaces.
Any source code that implements these interfaces will need to be updated.

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.

New features in 2.1:
* JEXL-114:     Allow scripts to create local variables // Add return keyword
* JEXL-113:     Add functions to extract which variables, parameters
and local variables are used to evaluate a script
* JEXL-118:     Provide an IN operator
* JEXL-115:     Add support for asynchronous script execution and cancellation
* JEXL-116:     Add control over classes, methods, constructors and
properties allowed in scripts
* JEXL-120:     Add simple template features
* JEXL-119:     Allow indexed properties container resolution in expressions




This vote will be open for at least 72 hours, closing no sooner than:
20:00PM GMT, Dec 11th.

 [ ] +1 Release these artifacts
 [ ] +0 OK, but...
 [ ] -0 OK, but really should fix...
 [ ] -1 I oppose this release because...

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

View raw message