Releases: Notifuse/liquidgo
Releases · Notifuse/liquidgo
v5.11.0
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 -
strict2error mode, snippet tag removed, render tag simplified - Better error handling - New
LiquidErrorinterface, 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
strict2error mode as alias forrigid(backwards compatible)LiquidErrorinterface for unified error handling
Fixed
- Concurrent template rendering now thread-safe with mutex protection
strictFilters=truecorrectly raisesUndefinedFiltererrors- Error type preservation (7 types were incorrectly converted to
InternalError)
v5.10.0 - Full Liquid 5.10.0 Parity
🎉 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.