Thymeleaf 2.1.4 JUST PUBLISHED

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

Thymeleaf 2.1.4 JUST PUBLISHED

Thymeleaf 2.1.4 has been just published.

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

Change log:


- Fixed expression execution exceptions being silently ignored in javascript/dart inlining.

- Fixed second-level th:object being ignored when combined with th:remove="tag".

- Fixed bad merging of non-element processors in dialects.

- Fixed bad output of java.util.Date and java.sql.Date in JavaScript inlining. Now all objects of classes java.util.Calendar, java.util.Date and java.sql.Date are inlined as ISO8601 date string literals (e.g. '2013-01-01T14:30:00.000+02:00').

- Fixed StandardCache not dealing with SoftReferences correctly under specific get/put sequence scenarios.

- Added new "#uris" expression utility object for performing escape operations for URI/URLs (paths, path segments, query parameters and fragment identifiers).

- Added StandardCache.keySet() method in order to obtain the names of all the entries currently present in a cache (e.g. template or expression caches).

- Improved performance of WebVariablesMap by avoiding calls to HttpServletRequest.getAttributeNames(), very slow and memory-inefficient in Tomcat implementations.

- Improved performance of DOM tree processing during template execution.

- Improved MANIFEST jar metadata.

- Modified URI/URL escaping artifacts: now they are based on the Unbescape library [ ].

- Updated dependencies (OGNL 3.0.6 -> 3.0.8; nekohtml 1.9.15 -> 1.9.21; slf4j 1.6.1 -> 1.6.6)


- Fixed th:errorclass not picking the correct form property name when selected object expression has more than one level.

- Fixed bad selection of th:field processor when the "type" attribute is computed in runtime.

- Fixed NotReadablePropertyException on conversion service called on bound bean's method instead of property.

- Set ApplicationContext to RedirectViews so that RequestDataValueProcessor can modify the URLs to which the application redirects.

- Modified behavuour at ThymeleafViewResolver so that a non-View registered bean cannot be accidentally picked for prototyping a view object.zx

- Made data Spring format/conversion not apply for inputs with type 'number' or 'range' to avoid browsers being unable to parse data because of format (e.g. percents).

- Improved MANIFEST jar metadata.

- Added "#mvc" expression utility object with "uri(...)" method equivalent to Spring JSP's "s:mvcUrl" function (only for Spring 4.1+).

- Updated dependencies (slf4j 1.6.1 -> 1.6.6)

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