Skip to content

Releases: osteele/liquid

v1.2.1

03 Aug 14:08
Compare
Choose a tag to compare

New Features

  • #27 Support registering variadic functions as filters (@thessem)
  • #26 Add setting to customise delimiters (@thessem)

Bug Fixes

  • #28 Fix struct PropertyValue attempting to use an invalid pointer (@thessem)

Performance

  • ToLiquid invocations are cached in more circumstances

Contributors

v1.2

23 Jul 16:00
Compare
Choose a tag to compare
  • #23 struct value fields and methods are available via index and property syntax. See the README. Suggestion and example code contributed by @thessem.
  • #23 &map is equivalent to map. Suggestion and example code contributed by @thessem.
  • #24 When a filter returns an error, it's returned as a render error. Contributed by @thessem.
  • yaml.MapSlice is recognized as a hash.
  • []byte values are converted to string, in render output and filter arguments.
  • New method engine.ParseString.
  • array[1.2] is equivalent to array[1]. It's weird, but that's Ruby.

Contributors

v1.1.2

23 Jul 15:52
Compare
Choose a tag to compare

Renamed ParseError → SyntaxError

v1.1.1

17 Jul 16:27
Compare
Choose a tag to compare

{% for item in hash %} binds item to [key, value] pairs

v1.1.0

16 Jul 22:17
Compare
Choose a tag to compare
  • Whitespace control
  • Syntax for number literals matches Liquid (no more .0, 1.)
  • Error on too many filter arguments {{ n | default: 1, 2 }}

v1.0.0

16 Jul 22:17
Compare
Choose a tag to compare

Initial release