FreshMarker 2.5.0 Released

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_empty and size
  • 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 keys and values
  • add lambda support for sequence built-ins first and last
  • add alternative SCREAMING_SNAKE_CASE built-in. Until now, there was only screaming_snake_case, but that was obviously written incorrectly.
  • add experimental sequence built-in distinct

Bugfixes

  • The join built-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!

Leave a Comment