Skip to content

Releases: ultraq/thymeleaf-layout-dialect

Thymeleaf Layout Dialect 2.0.3

18 Sep 10:20
Compare
Choose a tag to compare
  • Kill the rise in memory usage found by (#134)

Thymeleaf Layout Dialect 2.0.2

17 Sep 07:22
Compare
Choose a tag to compare
  • Convert FragmentProcessor from a model processor to a tag processor to get around model level problems when inserting fragments that may alter the model level (#129)
  • Fix the merging of the <head> section in multi-level layouts (#130)
  • Respect the runtime-configured prefix (#103)

Thymeleaf Layout Dialect 2.0.1

21 Jul 08:05
Compare
Choose a tag to compare
  • Fix NullPointerException when using any of the include/insert/replace processors with a full template fragment expression (#120)
  • Restored support for multi-level layouts (#121)
  • Reduced logging of backwards compatibility warnings to log just the first time the compatibility was encountered (#124)
  • Improved memory usage by not being so wasteful of objects in a few parts of the codebase, which in turn fixed a potential memory leak (#122)
  • Fixed a backwards compatibility problem when using layout:decorator (#125)

Thymeleaf Layout Dialect 2.0.0

09 Jul 10:03
Compare
Choose a tag to compare
  • Layout dialect rewritten to support Thymeleaf 3 (#68, Layout Dialect 2.0 milestone)
  • layout:decorator processor renamed to layout:decorate, $DECORATOR_TITLE renamed to $LAYOUT_TITLE (#95)
  • Deprecated layout:include processor for the new layout:insert processor (#107)
  • New documentation site created to hold what was turning into a gigantic readme! (#115)

Upgrading to 2.0? I've written a migration guide to help make the transition easier. Check it out on the new documentation pages site, here: https://ultraq.github.io/thymeleaf-layout-dialect/MigrationGuide.html

As of release there are still some tests that have been disabled and may cause regressions for these use cases. They are listed here: https://github.com/ultraq/thymeleaf-layout-dialect/blob/d4f57d08cbf5c70a33cfa45283015811c90a3765/Tests/nz/net/ultraq/thymeleaf/tests/LayoutDialectTestExecutor.groovy#L55-L61 One is a very specific and rare case, another is an undocumented use of the layout dialect, and the commented one I don't feel I should fix as it feels like the incorrect use of an element. For those first 2 cases, I'll work on them in upcoming patches so they don't hold up the release.

Thymeleaf Layout Dialect 1.4.0

04 May 23:27
Compare
Choose a tag to compare
  • Change the behaviour of merging th:with attributes so that child pages can override layout values (#99)
  • Fixed lack of a 'groovydoc' archive being included with the download bundle and Maven artifacts

Thymeleaf Layout Dialect 1.3.3

21 Feb 09:06
Compare
Choose a tag to compare
  • Don't copy collapsible whitespace between <head> elements during decoration (#92)

Thymeleaf Layout Dialect 1.3.2

14 Feb 05:10
Compare
Choose a tag to compare
  • Prevent IllegalArgumentException when using a template with a condensed <head> section (#90)
  • Fix fragment scoping so that fragments from one decorator/include/replace operation aren't shared with other ones (#87)

Thymeleaf Layout Dialect 1.3.1

01 Oct 10:19
Compare
Choose a tag to compare
  • Restore Java 6 support (#85)

Thymeleaf Layout Dialect 1.3.0

01 Sep 11:12
Compare
Choose a tag to compare
  • Dialect rewritten in Groovy
  • Dropped the deprecated substituteby processor
  • Allow the title to be completely processed (#72) before expanding the value of title-pattern, fixing cases like that described in (#64)
  • Split out the <head> element sorting into a customizable sorting strategy, and provided strategies for each of the behaviours that the layout dialect has implemented in the past. See the element merging section in the README for more details.

Thymeleaf Layout Dialect 1.2.9

24 Jun 07:39
Compare
Choose a tag to compare
  • Have all non-element nodes (text, comments) included in the merging of the <head> section (#70)