The Apache Velocity community is pleased to announce the release of Apache Velocity Engine 2.0. 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.

This major release introduces several consistent changes and new features, including:

- 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 expressions. - 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:
  http://velocity.apache.org/engine/2.0/changes.html
as well as the JIRA changelog:
https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12310104&version=12338243

For notes on upgrading from Velocity 1.x, see Velocity Engine 2.0 Upgrading section:
  http://velocity.apache.org/engine/2.0/upgrading.html

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:
https://repository.apache.org/content/repositories/snapshots/org/apache/velocity/velocity-tools-generic/3.0-SNAPSHOT/
(see Velocity Tools 3.x Upgrading notes: http://velocity.apache.org/tools/devel/upgrading.html )

Regards,

  the Apache Velocity team.



Reply via email to