The Velocity team is pleased to announce the availability of Velocity Engine 2.1.
Main changes in this release:
${foo|'foo'}
evaluates to 'foo'
whenever boolean evaluation of $foo
is false.
#foreach($i in $collection)
...
#else
Nothing to display
#end
For a full list of changes, consult Velocity Engine 2.1 Changes section and JIRA changelog.
For notes on upgrading from Velocity 1.x, see Velocity Engine 2.1 Upgrading section.
Note for Velocity Tools users: Velocity Tools 3.0 is fully compatible with Velocity Engine 2.1.