Thymeleaf 2.1.3 JUST PUBLISHED

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Thymeleaf 2.1.3 JUST PUBLISHED

Thymeleaf 2.1.3 has been just published.

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

Change log:


- Added support for variable templates in Link Expressions: @{/order/details/{id}/{action}(id=3,action='show_all')}

- Added new th:styleappend attribute for adding content to the existing 'style' attribute value in a tag.

- Added #strings.defaultString(str,default) as an alias for ${str == null || str.isEmpty()} ? ${str} : ${default}

- Improved representation of java.util.Date and java.sql.Date objects in JavaScript inlining operations.

- Fixed several escaping issues by implementing a new markup escape/unescape mechanism based on the Unbescape library [ ]. Deprecated old escaping artifacts in the DOMUtils class.

- Fixed parameter names not being URL-encoded in Link Expressions: @{/order/details('one parameter'='one value')}

- Fixed parentheses inside literals in link parameters break Link Expression parsing.

- Fixed XHTML 1.1 DTDs not being valid (DTD parsing error).

- Fixed bad relative URLs in XHTML 1.0 Frameset DTDs.

- Fixed arithmetic exception in #aggregates.avg() if result has a non-terminating decimal expansion.

- Fixed JavaScript inlining not closing expressions properly when they appear between parentheses.


- Added MapAccessor to ThymeleafEvaluationContext in order to allow dot syntax accessing map context variables in expressions: ${oneMap.oneKey}

- Enhanced delegation of the execution of Spring EL expressions into Spring's own infrastructure fixing, among other scenarios, the correct conversion of iterated objects.

If you are interested, you can have a look at the list of issues at GitHub:

- thymeleaf:
- thymeleaf-spring:

And of course visit the project website at