The Apache Velocity community is pleased to announce the release of
Apache Velocity Engine 2.0. The release is available for download at:
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.
This major release introduces several consistent changes and new
- Switch to the SLF4J logging facade.
- Configurable whitespace gobbling, that lets template writers indent
their templates without polluting the output.
- VTL Method arguments and array subscripts can now be arithmetic
- Configurable method arguments conversion handler, which by default
handles automatic conversions between booleans, numbers, strings and enums.
- Significant reduction of the memory consumption.
- JSR-223 Scripting Engine implementation.
- Made Velocity OSGi-ready.
For a full list of changes, consult the Velocity Engine 2.0 Changes section:
as well as the JIRA changelog:
For notes on upgrading from Velocity 1.x, see Velocity Engine 2.0
Note for Velocity Tools users: Velocity Tools 3.0 will soon be released.
Meanwhile, you are encouraged to use the Velocity Tools 3.x snapshot:
(see Velocity Tools 3.x Upgrading notes:
the Apache Velocity team.