3.1.7
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: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.public List<String> TemplateEngine#generateAll() public List<String> TemplateEngine#precompileAll() public List<String> TemplateEngine#precompile(List<String> names)
- #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