Skip to content

Releases: Notifuse/liquidgo

v5.11.0

31 Jan 16:38

Choose a tag to compare

v5.11.0

Compatibility update matching Shopify Liquid v5.11.0.

Highlights

  • Thread-safe rendering - Fixed concurrent map read/write panic (#2)
  • Shopify v5.11.0 compatibility - strict2 error mode, snippet tag removed, render tag simplified
  • Better error handling - New LiquidError interface, all 16 error types preserved

Breaking Changes

  • {% snippet %} tag removed (reverted per Shopify Liquid v5.11.0)
  • {% render %} now only accepts string literals: {% render 'name' %} not {% render variable %}

Added

  • strict2 error mode as alias for rigid (backwards compatible)
  • LiquidError interface for unified error handling

Fixed

  • Concurrent template rendering now thread-safe with mutex protection
  • strictFilters=true correctly raises UndefinedFilter errors
  • Error type preservation (7 types were incorrectly converted to InternalError)

v5.10.0 - Full Liquid 5.10.0 Parity

19 Nov 09:28

Choose a tag to compare

🎉 Liquid Go v5.10.0

Full feature parity with Shopify Liquid 5.10.0

✨ New Features

Inline Snippets Support

Liquid Go now supports the inline snippets feature introduced in Liquid 5.10.0. You can create reusable inline snippets directly in your templates:

{%- snippet holyspirit -%}
  Holyspirit
{%- endsnippet -%}
{% render holyspirit %}

This enables more modular and maintainable templates by defining reusable components inline.

🚀 Performance

Liquid Go continues to deliver 3-10x faster performance compared to the Ruby implementation while maintaining complete compatibility.

📦 Installation

go get github.com/Notifuse/liquidgo@v5.10.0

🔗 Documentation

👨‍💻 Author

Created and maintained by Pierre Bazoge (@pierre-b)

Built by Notifuse - The modern open-source emailing platform.


Full Changelog: See reference-liquid History.md for complete feature details.