The test build of Velocity Engine 2.5 RC3 is available.
No determination as to the quality ('alpha,' 'beta,' or 'GA') of
Velocity Engine 2.5 has been made, and at this time it is simply a "test
build". We welcome any comments you may have, and will take all feedback
into account if a quality vote is called for this build.
Release notes:
*
https://dist.apache.org/repos/dist/dev/velocity/velocity-engine/2.5/release-notes.html
Distribution:
* https://dist.apache.org/repos/dist/dev/velocity/velocity-engine/2.5/
Maven 2 staging repository:
*
https://repository.apache.org/content/repositories/orgapachevelocity-1053/
Documentation:
* https://velocity.apache.org/engine/2.5/
Sources:
* https://github.com/apache/velocity-engine/releases/tag/2.5-RC3
Changes since RC2:
- No longer deprecated: velocimacro.enable_bc_mode = true.
- Secure introspector: an introspector.restrict.classes entry now also
restricts the classes extending or implementing it
- VELOCITY-998: a method exception is no longer swallowed when the
context carries an event cartridge without a method exception handler
- VELOCITY-1001: SecureUberspector no longer logs a spurious warning
when calling a static method
- VELOCITY-1003: SecureUberspector allows Class.getSimpleName()
- VELOCITY-1004: with velocimacro.inline.local_scope = true, the macros
of the merged template are now visible in the templates it parses; with
velocimacro.inline.replace_global = true as well, a macro of a parsed
template replaces a same-named library or parent one
- Script engine: getOutputStatement() now handles an argument containing
`]]#`
- Build: project.build.outputTimestamp is set, so the released jars
carry the release date
- Changelog: reporters and contributors credited
Changes since RC1:
- No longer deprecated: informal navigation $foo.bar, the ${foo|alt}
alternate value, and the extra dollar in ${$foo}.
- Deprecation warnings are now on by default (runtime.deprecation.warn =
true).
- New deprecations:
- a backslash right before the closing quote of a double-quoted
string, as in "foo\"
- lenient math (runtime.strict_math = false, still the default, so
it warns at startup)
- velocimacro.enable_bc_mode = true
- the old default macro library name VM_global_library.vm
- runtime.immutable_ranges = false
- RuntimeServices.createNewParser()
- parser.class and customizing the $ character in a custom parser
- Security hardening:
- #evaluate honors the directive.parse.max_depth nesting limit
- resource names are normalized, and loaders refuse names climbing
above their root
- SecureUberspector checks class objects before looking up static
methods
- VELOCITY-999: SecureUberspector now uses the configured type
conversion handler
- VELOCITY-1000: invalidSetMethod() now receives the whole assigned
reference, not just its root
A vote regarding the quality of this test build will be initiated within
the next couple of days.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]