Python-liquid

Latest version: v1.13.0

Safety actively analyzes 706267 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 7 of 23

2.4.0

* Performance improvements
* Allow filters in `assign`
* Add `modulo` filter
* Ruby 1.8, 1.9, and Rubinius compatibility fixes
* Add support for `quoted['references']` in `tablerow`
* Add support for Enumerable to `tablerow`
* `strip_html` filter removes html comments

2.3.0

* Several speed/memory improvements
* Numerous bug fixes
* Added support for MRI 1.9, Rubinius, and JRuby
* Added support for integer drop parameters
* Added epoch support to `date` filter
* New `raw` tag that suppresses parsing
* Added `else` option to `for` tag
* New `increment` tag
* New `split` filter

2.2.1

* Added support for literal tags

2.2.0

* Compatible with Ruby 1.8.7, 1.9.1 and 1.9.2-p0
* Merged some changed made by the community

1.13.0

**Features**

- Added a `shorthand_indexes` class variable to `liquid.Environment`. When `shorthand_indexes` is set to `True` (default is `False`), array indexes in variable paths need not be surrounded by square brackets. See [165](https://github.com/jg-rp/liquid/pull/165).

1.12.2

**Fixes**

- Fixed `{% case %}` / `{% when %}` behavior. When using [`liquid.future.Environment`](https://jg-rp.github.io/liquid/api/future-environment), we now render any number of `{% else %}` blocks and allow `{% when %}` tags to appear after `{% else %}` tags. The default `Environment` continues to raise a `LiquidSyntaxError` in such cases.
- Fixed line numbers in some error messages. When parsing some Liquid expressions, we were always getting a line number of `1` in the event of a syntax error. See [issue 162](https://github.com/jg-rp/liquid/issues/162).

**Changed**

- Changed `{% break %}` and `{% continue %}` tag handling when they appear inside a `{% tablerow %}` tag. Now, when using `liquid.future.Environment`, interrupts follow Shopify/Liquid behavior introduced in [1818](https://github.com/Shopify/liquid/pull/1818). Python Liquid's default environment is unchanged.

Page 7 of 23

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.