The second BETA version of Thymeleaf 3.0 has just been published: 3.0.0.BETA02
This BETA is now feature-complete, and should be the last one on the road to Thymeleaf 3.0.0 GA. We encourage users to test all the great new features, and integrators to start updating and building their extensions on top of the new architecture.
Thymeleaf 3.0 is a complete rewrite of the template engine. While this should not affect template code (template code in 3.0 is 99% backwards compatible), most Java APIs have been changed and improved, which means that custom dialects and processors, custom resolvers, etc. will need to be updated in order to work with Thymeleaf 3.0.
We have published a ten-minute migration guide (updated with the new features in BETA02!) that should be a nice start for most, but you can also have a look at these extensive descriptions of the major new features and capabilities in the form of GitHub tickets:
The current artifacts have been published in 3.0.0.BETA02 version:
Apache Tiles integration for 3.0 is not ready yet. Note also that thymeleaf-extras-conditionalcomments is not needed anymore, as its functionality is covered by Thymeleaf's core now, without needing any extensions.
We hope you like it, and enjoy it. We are really eager to hear your feedback!
Congratulations on the beta release. It wasn't difficult to update from 2 to 3b2 and it delivered on it's promise about performance (50%!!)
Any idea when Thymeleaf 3 will be released? Which milestones/bugs needs to be resolved?
Are you in contact with the creator of the Layout Dialect? It's a much used module and without it, we can't/won't change to Thymeleaf 3
I will join the rest in regards of that Layout Dialect is really important feature and essential part of Themeleaf (like tiles for struts was the old days).
Have you ever thought about porting LayoutDialect or introducing similar concept to Themeleaf core?
It would make it self contained and reliable framework. Right now if you have a dependency on another module which is a very passive state a lot of people won't be able to use the amazing features of Themelyaf 3...
First, about the Layout Dialect, as you know it is not an official extension, i.e. not a part of the official Thymeleaf distribution. But its author, Emanuel Rabina, is a part of the Thymeleaf development team. So yes, I know he is currently working very hard to update the Layout Dialect to Thymeleaf 3 (and to create our new website which will be absolutely awesome ;)). The updated dialect should be available soon.
Thymeleaf 3.0 includes Fragment Expressions (see below), which combined with the standard th:insert/th:replace mechanism can provide a set of layout capabilities similar to a small part of the Layout Dialect, but there is no such thing as a "complete replacement" for the Layout Dialect in Thymeleaf 3. The Layout Dialect offers a very complete set of features for hierarchical layouts, and Thymeleaf's standard layout mechanisms go in a diferent direction.
As for the new features introduced in BETA02, they are these (besides a lot of internal changes):