I just noticed a slight difference between Velocity 1.7 and 2.0+VM_PRESERVE_ARGUMENTS_LITERALS:
``` #macro(mymacro $input) #set($input = $NULL) $input #end #set($variable = 'value') #mymacro($variable) ``` Velocity 1.7 prints $variable Velocity 2.0 prints $input The reason why it's important is that this hack is used in XWiki to "return" something (by setting a value in the original variable name) and this is broken with 2.0 because the initial name is lost like when VM_PRESERVE_ARGUMENTS_LITERALS is not used. On Fri, Nov 22, 2019 at 10:22 AM Claude Brisson <cla...@renegat.net.invalid> wrote: > > Changing my vote to -1. I did some cleanup and versionning changes, an > RC2 shall be proposed very soon. > > Claude > > On 19-10-10 16 h 59, Nate Chadwick wrote: > > +1 for release, looked good in our testing > > > > On Sat, Sep 21, 2019 at 11:09 AM Nathan Bubna <nbu...@gmail.com> wrote: > > > >> +1 GA > >> > >> Thanks, Claude! > >> > >> On Fri, Sep 20, 2019 at 5:33 AM Claude Brisson <cla...@renegat.net.invalid > >> wrote: > >> > >>> The Velocity Engine 2.2 RC1 is available since September 8. > >>> > >>> Main changes in this release: > >>> > >>> - New 1.7 backward compatibility flags to mimic 1.7.x > >>> InvalidReferenceHandler behavior. > >>> - New runtime.log.track_locations debugging configuration flag which > >>> displays the VTL stack trace in the logs in cases of errors, and > >>> populates slf4j MDC tags about position in VTL templates. > >>> - New example of how to build a customized VTL parser where the '#', > >>> '$', '*' and '@' characters can be replaced by alternate characters. > >>> > >>> Release notes: > >>> > >>> * > >>> > >>> > >> https://dist.apache.org/repos/dist/dev/velocity/velocity-engine/2.2/release-notes.html > >>> > >>> Distribution: > >>> > >>> * https://dist.apache.org/repos/dist/dev/velocity/velocity-engine/2.2/ > >>> > >>> Maven 2 staging repository: > >>> > >>> * > >>> > >> https://repository.apache.org/content/repositories/orgapachevelocity-1029 > >>> Documentation: > >>> > >>> * http://velocity.apache.org/engine/2.2/ > >>> > >>> Sources: > >>> > >>> * https://svn.apache.org/repos/asf/velocity/engine/tags/2.2/ > >>> > >>> > >>> If you have had a chance to review the test build, please respond with a > >>> vote on its quality: > >>> > >>> [ ] Leave at test build > >>> [ ] Alpha > >>> [ ] Beta > >>> [ ] General Availability (GA) > >>> > >>> -- > >>> Claude > >>> > >>> > >>> > >>> --------------------------------------------------------------------- > >>> To unsubscribe, e-mail: dev-unsubscr...@velocity.apache.org > >>> For additional commands, e-mail: dev-h...@velocity.apache.org > >>> > >>> > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@velocity.apache.org > For additional commands, e-mail: dev-h...@velocity.apache.org > -- Thomas Mortagne --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@velocity.apache.org For additional commands, e-mail: dev-h...@velocity.apache.org