Liquidpy Versions Save

A port of liquid template engine for python

0.8.2

5 months ago
  • deps: bump jinja2 to 3.1.3

Full Changelog: https://github.com/pwwang/liquidpy/compare/0.8.1...0.8.2

0.8.1

1 year ago
  • 📝 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 modes
    if True:
      {{* body }}
    
    with body:
    print("Hello")
    print("World")
    
    will be rendered into:
    if True:
      print("Hello")
      print("World")
    
    Note that the indention of print("World") was passed along from the initial indentaion.
  • 📝 Update doc for "indent modifier"

0.8.0

1 year ago
  • ⬆️ Upgrade deps including markdown, regex, and python-slugify
  • 📌 Drop support for python3.6
  • 🐛 Fix passing env to Liquid() not working

What's Changed

Full Changelog: https://github.com/pwwang/liquidpy/compare/0.7.6...0.8.0

0.7.6

1 year ago
  • 🐛 Fix JSON/list parsing in certain cases (#50)

What's Changed

Full Changelog: https://github.com/pwwang/liquidpy/compare/0.7.5...0.7.6

0.7.5

2 years ago

Full Changelog: https://github.com/pwwang/liquidpy/compare/0.7.4...0.7.5

0.7.4

2 years ago
  • ✅ Add tests regarding #47
  • 📌 Upgrade and pin dependencies

0.7.3

2 years ago
  • 🩹 Make default filter work with None
  • 🩹 Make attr filter work with dicts
  • 🩹 Use filter liquid_map, in wild mode, instead of map, which is overridden by python's builtin map

0.7.2

2 years ago
  • 🐛 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 and uri_escape
  • ✨ Add int, float, str and bool as both filters and globals for all modes (#40)

0.7.1

2 years ago
  • ✨ 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 to True)

0.7.0

2 years ago
  • Reimplement using jinja2