Liquidpy Versions Save

A port of liquid template engine for python

0.6.4

2 years ago

Last release of 0.6, for compatibilities.

  • Add regex_replace filter (#33)

0.6.3

3 years ago
  • 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

3 years ago
  • Update dependency (lark-parser and rich) versions

0.6.1

3 years ago
  • 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

3 years ago
  • 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

4 years ago
  • 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

0.2.0

4 years ago
  • Add inclusion and inheritance support
  • Add cycle for for loop

0.1.0

4 years ago
  • 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