Thymeleaf 3.0.0.BETA02 just published!

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Thymeleaf 3.0.0.BETA02 just published!

danielfernandez
Administrator

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.


What's new?

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:


How to start using it

The binaries have been uploaded to the Maven/Gradle Central repositories, so you can just set 3.0.0.BETA02 as version in your build files and everything should run smoothly. For example:

    <dependency>
      <groupId>org.thymeleaf</groupId>
      <artifactId>thymeleaf</artifactId>
      <version>3.0.0.BETA02</version>
      <scope>compile</scope>
    </dependency>
    <dependency>
      <groupId>org.thymeleaf</groupId>
      <artifactId>thymeleaf-spring4</artifactId>
      <version>3.0.0.BETA02</version>
      <scope>compile</scope>
    </dependency>

If you prefer, you can also download a complete binary distribution (together with all JavaDoc and all external dependencies) from the GitHub releases page.

More info at the project's Download Page.


JavaDoc


Published artifacts

The current artifacts have been published in 3.0.0.BETA02 version:

  • thymeleaf
  • thymeleaf-spring3
  • thymeleaf-spring4
  • thymeleaf-testing
  • thymeleaf-extras-springsecurity3
  • thymeleaf-extras-springsecurity4

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!

Regards,
Daniel.

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Thymeleaf 3.0.0.BETA02 just published!

robertobsc
Hi Daniel, that's great news!

I would like to use it right now, but ultraq's layout dialect does not support it yet.

I only use this dialect because of layout:decorator and layout:fragment. How can I achieve their behavior with pure thymeleaf?

Thanks!
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Thymeleaf 3.0.0.BETA02 just published!

yvanavermaet
In reply to this post by danielfernandez
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

Thanks for your reply.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Thymeleaf 3.0.0.BETA02 just published!

Théo Camboulive
In reply to this post by danielfernandez
Hi,

This sounds like we are closer and closer from the official release!

Is there any changelog available for this BETA 2 version?

Anyway, we were already using the 3.0.0 BETA 1 and we found no bugs.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Thymeleaf 3.0.0.BETA02 just published!

alexK
In reply to this post by danielfernandez
Hi Daniel,

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...

Just thinking aloud :)

ps. Thank a lot for doing this!
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Thymeleaf 3.0.0.BETA02 just published!

danielfernandez
Administrator
In reply to this post by danielfernandez

Hello all,

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):

Regards,

Daniel.

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Thymeleaf 3.0.0.BETA02 just published!

oleg
In reply to this post by danielfernandez
Hi Daniel,
thanks for your efforts. Just tried a bit BETA02 version and I like it :)
Will use it in current project. But expect to finish the project with the final release.

When do you plan to release the final version? Do you have some roadmap where community can check the status?

Regards,
Oleg
Loading...