Date of release: 2004-March-13
Maintenance and bugfix release. Some of improvements are back-portings from FreeMarker 2.3rc1.
Changes on the FTL side
New special variable:
.vars. This is useful to read top-level variables with square bracket syntax, for example
Changes on the Java side
Bugfix: The template cache didn't reload the template when it was replaced with an older version.
freemarker.template.utility.DeepUnwrapunwrapped sequences to empty
Bugfix: In error messages, when the quoted FTL directive had nested content, that was quoted as well, so the quotation could be very long and expose nested lines needlessly.
freemarker.template.TemplateExceptionHandler.HTML_DEBUG_HANDLERnow prints more HTML-context-proof messages.
You can query the FreeMarker version number with static method
Configuration.getVersionNumber(). Also, the
freemarker.jarnow contains the FreeMarker version number, furthermore, executing it with
java -jar freemarker.jarwill print the version number to the stdout.
Date support is now labeled as final. (It was experimental earlier.) There was no change since FreeMarker 2.2.1.
Fixes and improvements in the Manual and in the API JavaDoc. The documentation now works with the Eclipse help plugin (accessible in the "Editor/IDE plugins" section of the FreeMarker Web page).
Minor site improvements.