I am pleased to announce the release of the Java 21 template engine FreshMarker 1.11.0. This is the last planned release before the next major release 2.0.0 and includes some new features and improvements.
- add string built-ins
strip
,strip_leading
,strip_trailing
andstrip_to_null
- hash literals can now contain non primitive values
- switch directives with only constant case expressions can be optimized
- hashes can access not only with the dot opertor but also with the hash operator
- add
is_empty
built-ins forString
,Sequence
andRange
- add
log
built-ins to print out the current value of an expression
More information on the current release can be found at https://gitlab.com/schegge/freshmarker