You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@velocity.apache.org by Nathan Bubna <nb...@apache.org> on 2010/04/28 00:53:50 UTC

[ANNOUNCE] Velocity Engine 1.7-beta1 release available

The Velocity developers are please to announce the availability of
Velocity Engine 1.7-beta1.

Downloads can be found here:
  http://velocity.apache.org/download.cgi

A great deal of work has been done since the 1.6 branch.  Here's a taste:

- Your macros can now be called with bodies when you want:
     #macro(foo)Here is $bodyContent#end
     #@foo()body content!#end
- Quotes can be escaped in strings by doubling them:
     #set( $foo = "$person said, ""$comment"" " )
     #set( $bar = 'Joe said, ''Hi!'' ' )
- The flawed #literal directive has been replaced with:
     #[[ This is included but not parsed, so #if and $foo need no escaping.]]#

Also included are namespacing improvements, better #break and #stop,
bracketed index syntax, and more!  For full details, please see the
change log:
  http://velocity.apache.org/engine/devel/changes-report.html

This should work as a drop-in replacement for Velocity 1.6.3 in the
vast majority of cases.  However, there have been a number of
deprecations (should result in warnings in your log output) and a few
minor behavioral changes, all of which are explained in the change
log. :)

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