Thymeleaf 2.0.5 JUST PUBLISHED

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

Thymeleaf 2.0.5 JUST PUBLISHED

Thymeleaf 2.0.5 has been just published.

This is a bugfixing release, and works as a drop-in replacement for any previous 2.0.x versions. It includes the following changes from 2.0.4:


- Added template name, line number and column to SAXParseExceptions in AbstractNonValidatingSAXTemplateParser.
- Fixed attribute escaping in builtin DOM parser.
- Fixed XML-escaping of ' (apos) in element attributes. "&apos;" is not a recognized HTML entity (only an XML one) and IE <= 8 does not recognize it. &#39; will be used for escaping ' instead.
- Fixed unescaping of XML entities in element attributes, so that those specified with codes (&#XX;) are also correctly unescaped.
- Added to link expressions (@{...}) the ability to create server-root-relative (instead of context-root-relative) URLs in order to link to different contexts in the same server. These URLs will be specified like @{~/path/to/something}
- Fixed javascript/dart expression inlining in order to work inside JSON objects.


- Modified ViewResolver so that view beans are only configured using an existing bean as prototype if this bean is of type ThymeleafView.
- Made ThymeleafView return the default content type in getContentType() even if setContentType() has not been called before. This allows compatibility with the ContentNegotiatingViewResolver view resolver appeared in Spring 3.0.
- Improved javadoc for ThymeleafViewResolver and ThymeleafView.