Just in time for Carneval there is a new FreshMarker release available. There are several enhancements to the built-ins through the addition of an easy lambda support.
Improvements
-
add sequence select operator. This is inspired by a similiar operator in the Spring Expression Language
-
add hash built-ins
is_emptyandsize -
add -> and → als lambda operator. FreshMarker offers Unicode variants of several operators.
-
add sequence built-ins
count,from,drop_while,until,take_while. -
add hash built-ins
keysandvalues -
add lambda support for sequence built-ins
firstandlast -
add alternative
SCREAMING_SNAKE_CASEbuilt-in. Until now, there was onlyscreaming_snake_case, but that was obviously written incorrectly. -
add experimental sequence built-in
distinct
Bugfixes
-
The
joinbuilt-in had also accidentally concatenated non-primitive types.
More infos can be found at https://gitlab.com/schegge/freshmarker
We hope these new features and improvements make working with FreshMarker even more enjoyable and productive. As always, we appreciate your feedback and encourage you to share your thoughts or report any issues. Have fun exploring the new release—and enjoy Carneval!