Thymeleaf 3.0.5 (3.0.5.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.5 CHANGE LOG
Changes to the Thymeleaf CORE:
Changes to the Thymeleaf SPRING integration packages:
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)
The updated thymeleaf-spring5 module (version 3.0.5.M3) introduces new support for producing Sever-Sent Events (SSE) when Thymeleaf is used for rendering the view of an HTTP request with content type "Accept: text/event-stream" and what is executed is a template containing an iteration (th:each) on a reactive data-driver variable (a Flux<?>).
In scenarios in which the JSON received at the browser via SSE events is parsed and then used to render fragments of HTML (DOM) by means of a client-side template engine, Thymeleaf could completely save this client-side processing step by sending already-rendered HTML from the server instead of JSON, using exactly the same template code used for normal server-side HTML rendering.
Read more about the SSE Specification and the format of SSE events here: https://www.w3.org/TR/eventsource/
Read more about how Thymeleaf implements HTML SSE rendering support here: https://github.com/thymeleaf/thymeleaf-spring/issues/133 and have a look at an example sandbox application here: https://github.com/thymeleaf/thymeleafsandbox-sse-webflux.
How does Thymeleaf operate in a reactive-friendly way for Spring 5 WebFlux?
Remember that, when used with Spring 5 WebFlux, Thymeleaf can operate in one of three reactive-friendly modes:
Read more about these reactive-friendly operation modes at the thymeleaf-spring5 JavaDocs.
Also, note that there are other two additional sandbox applications prepared to serve as examples of the general thymeleaf-spring5 integration with Spring 5 WebFlux:
WHERE DID THYMELEAF 3.0.4 GO?
So we decided to stop it all, fix the bug, and release 3.0.5.RELEASE right away. Sorry for the version jump!
|Free forum by Nabble - Resume Templates||Edit this page|