Thymeleaf 2.0.17 JUST PUBLISHED

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Thymeleaf 2.0.17 JUST PUBLISHED

danielfernandez
Administrator
Thymeleaf 2.0.17 has been just published.

This is a bugfixing version, and should work as a drop-in replacement for 2.0.x versions.

Change log:


THYMELEAF CORE
-----------------

- Fixed resource bundle messages not being processed as such when message parameters were empty.

- Fixed link expressions not correctly handling #{...} expressions as base URL.

- Fixed link expressions with parenthesized base URLs and no parameters ("@{(${base})}") not being correctly parsed.

- Added a way to escape "__" string in attributes ("\_\_") without being parsed as a preprocessing mark.

- Fixed handling of local variables map in Node class so that variables added directly with node.setNodeLocalVariable(...) are immediately available for next processors being executed and children nodes.

- Fixed behaviour of th:remove="all-but-first". Non-element nodes were not being copied if more than one child element existed.

- Fixed ArithmeticException in number literal division if result has a non-terminating decimal expansion.

- Fixed whitespace around comments dissappearing after template processing.

- Fixed JavaScript/Dart inlining not correctly adding a final semicolon if a comment is present after the ";" sign.

- Updated OGNL dependency from version 3.0.5 to 3.0.6.

- Fixed equality comparison between Strings and Characters.

- Added "shouldRemoveAttribute()" protected method to AbstractAttributeModifierAttrProcessor so that subclasses can avoid this removal if necessary.


THYMELEAF-SPRING3
--------------------

- Added a "#themes.code('key')" expression object which looks up and returns the value of 'key' in the current Spring theme's properties file.  This is the equivalent of Spring's <spring:theme code='key'> JSP tag.

- Fixed <input> tags with no "type" attribute not being treated as type="text" (which they should).

- Fixed form error messages output with th:errors not being escaped and provoking a parsing error if they contained <, >, &, etc.


Regards,
Daniel.
Reply | Threaded
Open this post in threaded view
|

Re: Thymeleaf 2.0.17 JUST PUBLISHED

nugai
FYI: I wanted to try this version in Eclipse Kepler with Spring STS 3.3 but http://www.thymeleaf.org/eclipse-plugin-update-site/ still points to the 2.0.2 release, which does not seem to include the Spring 3 extensions. Downloading and unpacking the 2.0.17 Zip file, then pointing Eclipse to a local install fails because Eclipse can't find any usable files for installation.