Releases: pwwang/liquidpy
Releases · pwwang/liquidpy
0.8.2
0.8.1 (#54)
- 📝 Fix badges in README.md
- 👷 Use latest actions in CI
- 🏗️ Enable automatic setup file creation with Poetry
- ⬆️ Upgrade dependencies to the latest
- ✨ Add
*
modifier for variable block to keep intial indention for multiline strings for all modeswithif True: {{* body }}
body
:will be rendered into:print("Hello") print("World")
Note that the indention ofif True: print("Hello") print("World")
print("World")
was passed along from the initial indentaion. - 📝 Update doc for "indent modifier"
0.8.0
0.7.6
0.7.5
- ✨ Implement a playground powered by
pyscript
- ✨ Add filter
call
forwild
mode- Example:
{{ int | call: "1" | plus 1}} # 2
- Example:
Full Changelog: 0.7.4...0.7.5
0.7.4 (#48)
- ✅ Add tests regarding #47
- 📌 Upgrade and pin dependencies
0.7.3 (#43)
- 🩹 Make
default
filter work withNone
- 🩹 Make
attr
filter work with dicts - 🩹 Use filter
liquid_map
, in wild mode, instead ofmap
, which is overridden by python's builtinmap
0.7.2 (#41)
- 🐛 Fix
date
filter issues (#38, #40) - ✨ Add
markdownify
for jekyll (#36, #37) - ✨ Add
number_of_words
for jekyll - ✨ Add jekyll filter
sort
- ✨ Add jekyll filter
slugify
- ✨ Add jekyll filter
array_to_sentence_string
- ✨ Add jekyll filter
jsonify
- ✨ Add jekyll filters
xml_escape
,cgi_escape
anduri_escape
- ✨ Add
int
,float
,str
andbool
as both filters and globals for all modes (#40)
0.7.1 (#39)
- ✨ Add
regex_replace
filter - ✨ Allow absolute path and pathlib.Path passed as template files
- ✨ Allow
+/-
to work with date filter (#38) - ✨ Add
filters_as_globals
for wild mode (defaults toTrue
)