Skip to content

3.1.7

Compare
Choose a tag to compare
@casid casid released this 26 Jan 14:46
· 60 commits to main since this release

Caution! There is a bug with HTML comments and with Kotlin model generation in this release. Please upgrade to 3.1.9 instead.

  • #311 Use Stream#toList() instead of collect(). Thanks to @MariusVolkhart
    This change could potentially break user code for these public methods:
     public List<String> TemplateEngine#generateAll()
     public List<String> TemplateEngine#precompileAll()
     public List<String> TemplateEngine#precompile(List<String> names)
    
    Previously, those methodes returned mutable lists, now they return immutable lists. We decided to still include this change in a bugfix release, since most users will not call these methods directly and if they do and modify them, it will only break at template generation/compilation, not in production code.
  • #309 Fix imports in Kotlin model generation Thanks to @MariusVolkhart
  • #312 Give TemplateDescriptions proper equals() and hashCode() Thanks to @MariusVolkhart
  • #319 Fix parameter declaration for generated Kotlin templates Thanks to @marcospereira
  • #310 Reformat the templates for Kotlin model code Thanks to @MariusVolkhart and @marcospereira
  • #308 fix for broken backtick in comment within content block