Thymeleaf 3.0.6 JUST PUBLISHED

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

Thymeleaf 3.0.6 JUST PUBLISHED

danielfernandez
Administrator

Thymeleaf 3.0.6 (3.0.6.RELEASE) has been just published.

This is a maintenance release with some bugfixing and minor changes, and should work as a drop-in replacement for 3.0.x versions. Have a look at our Download Page to learn how to obtain it.


THYMELEAF 3.0.6 CHANGE LOG

Changes to the Thymeleaf CORE:

  • Fixed unclosed quote in JavaScript/CSS comments breaking parsing (wrongly considered literal starts).
  • Fixed bad parsing of '/content()' selector (AttoParser) in some scenarios, leading to suboptimal execution of this type of fragment selection.
  • Fixed prevent fragments without a signature being called with unnamed parameters.
  • Added allowing template suffix to be applied only if template name doesn't already have a known file extension.
  • Added application of template mode depending on template resource extension during resolution.
  • Improved the way output content type and template mode relate to each other (made exclusive) in TemplateSpec.
  • Improved instances of dynamic class loading by making references package-relative for better resilience to package renaming.
  • Updated AttoParser dependency to 2.0.4.RELEASE.

Changes to the Thymeleaf SPRING integration packages:

  • Added automatic negotiation of ContentType at the ViewResolver depending on view name (file extension).
  • Improved instances of dynamic class loading by making references package-relative for better resilience to package renaming.

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

And of course we invite you to visit the project website at http://www.thymeleaf.org


CHANGES TO THE SPRING 5 INTEGRATION MODULE (Web MVC and WebFlux)

With this new version of Thymeleaf, a new version of the thymeleaf-spring5 integration module has been published too: 3.0.6.M4. Note this version is not considered stable yet (no ".RELEASE") because it depends on Spring 5, which is still in milestone development phase.

How does Thymeleaf operate in a reactive-friendly way for Spring 5 WebFlux?

Like previous versions, this new version of the Spring 5 integration module includes updated support for the new Spring 5 WebFlux reactive web framework. When used with WebFlux, Thymeleaf can operate in one of three reactive-friendly modes:

  • Full, producing all output in memory and sending it as a single output buffer.
  • Chunked, producing output in buffers (chunks) of a configurable maximum size.
  • Data-Driven, making Thymeleaf work as an integrated part of a stream of data, which it renders into HTML in a way fully sensible to reactive back-pressure.

Read more about these reactive-friendly operation modes at the thymeleaf-spring5 JavaDocs.

Also, note that there are three sandbox applications prepared to serve as examples of the general thymeleaf-spring5 integration with Spring 5 WebFlux:

  • thymeleafsandbox-stsm-reactive, equivalent to the STSM sample application but using Spring 5, Spring Boot 2.0 and the new Spring WebFlux framework. This sandbox is mainly meant to test form binding.
  • thymeleafsandbox-biglist-reactive, using Spring 5, Spring Boot 2.0 and the new Spring WebFlux framework. This sandbox is meant to test the rendering of large amounts of data.
  • thymeleafsandbox-sse-webflux, using Spring 5, Spring Boot 2.0 and the new Spring WebFlux framework. This sandbox is meant to test the rendering of Server-Sent Events (SSE) directly in HTML (no need for JSON parsing at the browser).

WE HAVE SOME TERRIFIC FIGURES!

Our last download figures (from Maven Central) show that the Thymeleaf core jar had 222,526 downloads only in April 2017. That is just awesome and hugely motivating. Thanks for all the confidence!


Regards,
Daniel.