Liquid v4.0.1 Release Notes

Release Date: 2018-10-09 // over 5 years ago
  • ๐Ÿ”„ 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]