The Velocity developers are very pleased to make VelocityTools 2.0 available for download.
This should be useable as a drop in replacement for Tools 1.4 or Tools 2.0-beta4, with a few minor exceptions. The 2.x series of VelocityTools requires Velocity 1.6 and JDK 1.5+.
Since the last beta release, there have been a variety of enhancements. Here's the notable ones:
- Added a 'readOnly' config option to allow write operations on ValueParser and ParameterTool when set to false
- Added a beta-quality UiDependencyTool (included in velocity-view, but not in default tools.xml)
- Added an alpha-quality MarkupTool (included in generic tools, but not in default tools.xml)
- Fixed (as much as possible) some significant last-iteration LoopTool problems, and added a getThis() method as a more reliable workaround in nested loops. See VELTOOLS-124.
- VelocityLayoutServlet now checks request attributes for non-default layouts.
- The velocity-view.tld is now valid.
- VelocityView[Servlet] have improved exception and http management (particularly for ResourceNotFoundExceptions).
- Miscellaneous documentation and build.xml improvements
The Velocity developers are very interested in all feedback regarding Tools 2.0, especially regarding backwards compatibility with apps designed for Tools 1.4 or earlier. We aim to enable a smooth, incremental transition for developers and their applications.
Downloads of Tools 2.0 are available here.