velocity-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claude Brisson <cbris...@apache.org>
Subject [ANNOUCE] Apache Velocity Engine 2.1 Released
Date Sun, 31 Mar 2019 19:20:23 GMT
The Apache Velocity community is pleased to announce the release of 
Apache Velocity Engine 2.1. The release is available for download at:

https://velocity.apache.org/download.cgi#engine

Apache Velocity is well-known in the Java field as a lightweight, 
easy-to-use templating library for creating dynamic web sites and 
performing other text-generation tasks. It relies on the Velocity 
Template Language (VTL) which is aimed at ease-of-use and simplicity.

Main changes in this release:

+ New VTL syntax: alternate reference values: ${foo|'foo'} evaluates to 
'foo' whenever boolean evaluation of $foo is false.

+ New VTL syntax: Default block for empty loops: #foreach($i in 
$collection) ... #else nothing to display #end

+ Two more Engine 1.7 backward compatibility flags, 
parser.allow_hyphen_in_identifier and velocimacro.arguments.literal

+ Velocity Engine 2.1 now requires Java 1.8+.

For a full list of changes, consult the Velocity Engine 2.1 Changes section:

http://velocity.apache.org/engine/2.1/changes.html

as well as the JIRA changelog:

https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12310104&version=12344272

For notes on upgrading, see Velocity Engine 2.1 Upgrading section:

http://velocity.apache.org/engine/2.1/upgrading.html

Regards,

   the Apache Velocity team.




---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@velocity.apache.org
For additional commands, e-mail: general-help@velocity.apache.org


Mime
View raw message