Skip to content

EscapeVelocity 1.1

Latest
Compare
Choose a tag to compare
@eamonnmcmanus eamonnmcmanus released this 18 Jan 22:02
· 21 commits to main since this release

Several Velocity features are newly supported:

  • Macro invocation like #@foo() ... #end, where the ... is available in the body of the foo macro as $bodyContent. (bc4ab4a)
  • The #break directive, though #break($foreach.parent) remains unsupported. (014eb69)
  • The #evaluate directive. (bec0a84)
  • The #define directive. (18d40b1)
  • We now allow both #foreach ($x in ...) and #foreach (${x} in ...). (3695313)

Also:

  • Two bugs with space deletion before #set have been fixed, to be more like Apache Velocity. (7ab4397, 5158d55)
  • We no longer suggest wrapping your template Reader in a BufferedReader, since in fact that is unnecessary. (52d0a52)