Python-liquid

Latest version: v1.12.1

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

Scan your dependencies

Page 2 of 10

4.0.3

Fixed
* Fix break and continue tags inside included templates in loops (1072) [Justin Li]

4.0.2

Changed
* Add `where` filter (1026) [Samuel Doiron]
* Add `ParseTreeVisitor` to iterate the Liquid AST (1025) [Stephen Paul Weber]
* Improve `strip_html` performance (1032) [printercu]

Fixed
* Add error checking for invalid combinations of inputs to sort, sort_natural, where, uniq, map, compact filters (1059) [Garland Zhang]
* Validate the character encoding in url_decode (1070) [Clayton Smith]

4.0.1

Changed
* Add benchmark group in Gemfile (855) [Jerry Liu]
* Allow benchmarks to benchmark render by itself (851) [Jerry Liu]
* Avoid calling `line_number` on String node when rescuing a render error. (860) [Dylan Thacker-Smith]
* Avoid duck typing to detect whether to call render on a node. [Dylan Thacker-Smith]
* Clarify spelling of `reversed` on `for` block tag (843) [Mark Crossfield]
* Replace recursion with loop to avoid potential stack overflow from malicious input (891, 892) [Dylan Thacker-Smith]
* Limit block tag nesting to 100 (894) [Dylan Thacker-Smith]
* Replace `assert_equal nil` with `assert_nil` (895) [Dylan Thacker-Smith]
* Remove Spy Gem (896) [Dylan Thacker-Smith]
* Add `collection_name` and `variable_name` reader to `For` block (909)
* Symbols render as strings (920) [Justin Li]
* Remove default value from Hash objects (932) [Maxime Bedard]
* Remove one level of nesting (944) [Dylan Thacker-Smith]
* Update Rubocop version (952) [Justin Li]
* Add `at_least` and `at_most` filters (954, 958) [Nithin Bekal]
* Add a regression test for a liquid-c trim mode bug (972) [Dylan Thacker-Smith]
* Use https rather than git protocol to fetch liquid-c [Dylan Thacker-Smith]
* Add tests against Ruby 2.4 (963) and 2.5 (981)
* Replace RegExp literals with constants (988) [Ashwin Maroli]
* Replace unnecessary `each_with_index` with `each` (992) [Ashwin Maroli]
* Improve the unexpected end delimiter message for block tags. (1003) [Dylan Thacker-Smith]
* Refactor and optimize rendering (1005) [Christopher Aue]
* Add installation instruction (1006) [Ben Gift]
* Remove Circle CI (1010)
* Rename deprecated `BigDecimal.new` to `BigDecimal` (1024) [Koichi ITO]
* Rename deprecated Rubocop name (1027) [Justin Li]

Fixed
* Handle `join` filter on non String joiners (857) [Richard Monette]
* Fix duplicate inclusion condition logic error of `Liquid::Strainer.add_filter` method (861)
* Fix `escape`, `url_encode`, `url_decode` not handling non-string values (898) [Thierry Joyal]
* Fix raise when variable is defined but nil when using `strict_variables` [Pascal Betz]
* Fix `sort` and `sort_natural` to handle arrays with nils (930) [Eric Chan]

4.0.0

Changed
* Render an opaque internal error by default for non-Liquid::Error (835) [Dylan Thacker-Smith]
* Ruby 2.0 support dropped (832) [Dylan Thacker-Smith]
* Add to_number Drop method to allow custom drops to work with number filters (731)
* Add strict_variables and strict_filters options to detect undefined references (691)
* Improve loop performance (681) [Florian Weingarten]
* Rename Drop method `before_method` to `liquid_method_missing` (661) [Thierry Joyal]
* Add url_decode filter to invert url_encode (645) [Larry Archer]
* Add global_filter to apply a filter to all output (610) [Loren Hale]
* Add compact filter (600) [Carson Reinke]
* Rename deprecated "has_key?" and "has_interrupt?" methods (593) [Florian Weingarten]
* Include template name with line numbers in render errors (574) [Dylan Thacker-Smith]
* Add sort_natural filter (554) [Martin Hanzel]
* Add forloop.parentloop as a reference to the parent loop (520) [Justin Li]
* Block parsing moved to BlockBody class (458) [Dylan Thacker-Smith]
* Add concat filter to concatenate arrays (429) [Diogo Beato]
* Ruby 1.9 support dropped (491) [Justin Li]
* Liquid::Template.file_system's read_template_file method is no longer passed the context. (441) [James Reid-Smith]
* Remove `liquid_methods` (See https://github.com/Shopify/liquid/pull/568 for replacement)
* Liquid::Template.register_filter raises when the module overrides registered public methods as private or protected (705) [Gaurav Chande]

Fixed

* Fix variable names being detected as an operator when starting with contains (788) [Michael Angell]
* Fix include tag used with strict_variables (828) [QuickPay]
* Fix map filter when value is a Proc (672) [Guillaume Malette]
* Fix truncate filter when value is not a string (672) [Guillaume Malette]
* Fix behaviour of escape filter when input is nil (665) [Tanel Jakobsoo]
* Fix sort filter behaviour with empty array input (652) [Marcel Cary]
* Fix test failure under certain timezones (631) [Dylan Thacker-Smith]
* Fix bug in uniq filter (595) [Florian Weingarten]
* Fix bug when "blank" and "empty" are used as variable names (592) [Florian Weingarten]
* Fix condition parse order in strict mode (569) [Justin Li]
* Fix naming of the "context variable" when dynamically including a template (559) [Justin Li]
* Gracefully accept empty strings in the date filter (555) [Loren Hale]
* Fix capturing into variables with a hyphen in the name (505) [Florian Weingarten]
* Fix case sensitivity regression in date standard filter (499) [Kelley Reynolds]
* Disallow filters with no variable in strict mode (475) [Justin Li]
* Disallow variable names in the strict parser that are not valid in the lax parser (463) [Justin Li]
* Fix BlockBodywarnings taking exponential time to compute (486) [Justin Li]

3.0.5

* Fix test failure under certain timezones [Dylan Thacker-Smith]

3.0.4

* Fix chained access to multi-dimensional hashes [Florian Weingarten]

Page 2 of 10

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.