Skip to content

Releases: pwwang/liquidpy

0.7.1 (#39)

05 Oct 16:20
3917729
Compare
Choose a tag to compare
  • ✨ 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

30 Aug 23:57
Compare
Choose a tag to compare
  • Reimplement using jinja2

0.6.4

30 Aug 22:30
Compare
Choose a tag to compare

Last release of 0.6, for compatibilities.

  • Add regex_replace filter (#33)

Pump to 0.6.3 (#31)

05 Dec 20:59
bf84d63
Compare
Choose a tag to compare
  • Allow tag for to have output(test | filter) in python mode.
  • Fix stacks not print in some cases.
  • Avoid closing stream after parsing
  • Add better error message for attribute error while rendering
  • Print 'KeyError' for render error if it is a KeyError.

0.6.2

04 Nov 07:31
Compare
Choose a tag to compare
  • Update dependency (lark-parser and rich) versions

0.6.1

02 Oct 16:55
Compare
Choose a tag to compare
  • Fix use of LiquidPython
  • Add getitem and render filter for python mode
  • Fix EmptyDrop for variable segment in python mode
  • Fix re-rendering error for extends tag (#29)

0.6.0: Make it compatible with standard liquid (#28)

27 Sep 19:30
2a2ded5
Compare
Choose a tag to compare
  • Remodel the package to use a lexer to scan the nodes first and then lark-parse to parse the tag.
  • Make it compatible with standard liquid template engine

0.5.0

20 Apr 16:24
Compare
Choose a tag to compare
  • Extract major model of node to allow register_node (#18)
  • Introduce config node and deprecate mode
  • Allow specification of directories to scan for include and extends (#19)
  • Add loglevel detail to enable verbosity between info and debug
  • Allow passing variables to included templates (#8)
  • Disallow variables in parent templates to be modified in included templates
  • Require backtick ( ` ) for liquidpy expression to be used in statement nodes
  • Add API documentation

v0.2.0

31 Oct 18:00
Compare
Choose a tag to compare
  • Add inclusion and inheritance support
  • Add cycle for for loop

v0.1.0

29 Oct 16:54
Compare
Choose a tag to compare
  • Rewrite whole engine using a stream parser
  • Support multi-line for statements, expressions and tag comments (#1)
  • Support wrapper (instead of a single prefix) for statement comments
  • Add from and import shortcuts to import python modules
  • Support expressions in if/unless/while statements
  • Support liquid forloop object for for statement (#2)
  • Improve debug information
  • Add arguemtn position specification for filters
  • Add tenary filters
  • Remove & modifiers