- 1.12.61 - improved
java.time.Instant
to the date filter support - 1.12.60 - add support for passing
java.time.Instant
to the date filter - 1.12.59 - adds resolve-arg function in selmer.parser which lets you resolve args passed to the handler of custom tags
- 1.12.58 - allow negative constants in
if
expressions - 1.12.57 -
sum
tag now handles numeric literals - 1.12.56 - Add defer attr to script tags
- 1.12.55 - switch to using ex-info for errors
- 1.12.54 - Fix allowing whitespace in filters when parsing a file
- 1.12.53 - adds
known-variable-paths
function toselmer.parser
- 1.12.52 - allow tags to have string arguments containing variables/filters
- 1.12.51 - updated cheshire version to 5.11.0
- 1.12.50 - add opts to known-variables params
- 1.12.49 - added mapping for add-filter! in selmer.parser namespace
- 1.12.48 - expose add-filter! in selmer.parser namespace for consistency
- 1.12.48 - use synthetic name for literals in a for tag
- 1.12.47 - range filter and ability to use literals in for tag
- 1.12.46 - fix block inheritance NPE
- 1.12.45 - fix Clojure Clojure 1.11 warnings
- 1.12.44 - fix for << macro to resolve from correct namespace
- 1.12.43 - fix to make string interpolation work with falsey env
- 1.12.42 - changed interpolation to use
resolve
instead ofeval
for safety and compatibility with Babashka - 1.12.41 - addition of string interpolation macro
- 1.12.40 - fix reflection warnings in debug pretty printer
- 1.12.39 - fix typo for sha256 filter
- 1.12.38 - fix typo resolving Cheshire JSON
- 1.12.37 - make JSON dependency pluggable, remove hard dependency on cheshire
- 1.12.36 - improved default pretty printing of the context map using debug tag, allow whitespace in filter: {{ foo | default:bar }}
- 1.12.35 - made json-html dependency optional, removed commons-codec dependency
- 1.12.34 - support for java.net.URLStreamHandler
- 1.12.33 - fix for templates with nested with clauses
- 1.12.32 - performance improvements
- 1.12.31 - add forloop.previous
- 1.12.30 - handle includes in blocks
- 1.12.29 - Process include tags with the context of the already observed blocks
- 1.12.28 - fix for async script tag
- 1.12.27 - fix for the
:parentloop
key for thefor
tag implementation to allow accessing parent loop context in nested loops - 1.12.26 - fix for file path resolution on Windows
- 1.12.25 - fix for elif tags
- 1.12.24 - updated text/javascript to application/javascript in the script tag
- 1.12.23 - NPE fix
- 1.12.22 - Allow comparing strings and keywords in the if tag like so {% if x = :lol %}
- 1.12.21 - elif tag support
- 1.12.20 - fix for handling short form comments inside tags
- 1.12.19 - fix for resolving path on Windows
- 1.12.11 - updated
round
filter to return the value without wrapping it with[:safe ]
- 1.12.10 - updated
add
filter to return the value without wrapping it with[:safe ]
- 1.12.9 - Fix for tag accepts qualified keywords PR 194
- 1.12.8 - add async support in middleware
- 1.12.7 - improved performance by setting the size in StringBuilder explicitly
- 1.12.6 - render dates in locale-aware fashion, PR 190
- 1.12.5 - added java.sql.Date formatter
- 1.12.4 - switched to use native Java time API instead of Joda time, time filters now default to 24 hour format
- breaking change: existing Joda date format strings may not be supported by the Java time API - 1.12.1 - renamed
:servlet-context
to:selmer/context
- 1.11.1 - Added support of context parameter as first argument of {% script %} and {% style %} tags
- 0.9.5 - date filter will return an empty string instead of the current date given a
nil
date