Platform 2026.03.03
On production sites
This release makes Liquid strings and assignments shorter and easier to read.
Variables inside double-quoted strings
Write {% assign greeting = "Hello {{ name | upcase }}!" %} and the variable is filled in for you. It works with variables, property access, array access, filters and filter chains, and you can use several in one string. It works in tags that accept string values, such as assign, function, background, export and log. New instances have it on. On existing instances it is off, so nothing changes until you add string_interpolation: true to config.yml.
Breaking change if you turn it on: a double-quoted string that contains literal {{ }} text will now be interpolated. Single-quoted strings never interpolate, so use them for literal text, such as 'Use {{ variable }} syntax'.
Build hashes and arrays with assign
One assign syntax now covers hashes and arrays. hash_assign is deprecated, so use assign instead. You can:
- Create empty literals with
{% assign foo = {} %}and{% assign bar = [] %}, withoutparse_json - Create hashes and arrays with starting values, using variables as values or keys:
{% assign hash = { "key": var, var: "value", arr: ["el1", var] } %} - Set values with bracket notation
foo["bar"], dot notationfoo.bar, or both together, including deeply nested ones - Add to an array with
{% assign foo << 'bar' %}, without thearray_addfilter
Key lookups are prepared when the template is parsed, so rendering is faster.
The same syntax in function
The function tag now supports bracket notation, dot notation, mixed notation and array append with <<. For example: {% function foo["bar"] = 'partials/compute', input: 'baz' %} and {% function foo << 'partials/fetch_item', id: 1 %}.
Also in this release
- When
record_updateorrecord_destroycannot find a record, the error now names the table that was searched - Security improvements