Unreleased
Unreleased - only on Staging
NEW
- The
contexttag accepts a region or script after the language (2026-11-12): For example,{% context language: 'en-GB' %},pt-BR,es-419orzh-Hant. Translations are looked up under exactly that locale, and fall back to the language when fallbacks are on. An invalid language is reported and no longer applied.
IMPROVED
- A value that contains itself fails where it's used, with a clear Liquid error (2026-11-12):
hash_assign,assignwith<<,array_add,array_prependandhash_add_keyno longer reject a hash or array that ends up containing itself. Outputting it, or passing it tojson,deep_clone,hash_merge,hash_diff,logor GraphQL arguments, reportsvalue contains itself or is nested too deeply, which{% try %}can catch. Values nested too deeply are reported the same way. - The
sessiontag refuses to store a value that contains itself (2026-11-12): Previously the value was stored and broke every later request of that visitor. - A
graphqltag inside a loop or a partial rendered many times looks up its query once per request (2026-11-12): A deprecation warning for a short query name is now logged once, not on every iteration.
FIXED
- Forms inside
{% cache %}keep a valid CSRF token (2026-11-12): When the samecachetag was rendered more than once in a request (for example, in a loop or a partial rendered several times), the cached output could still contain an earlier request's token, so the form was rejected on submit. {% try %}runs itscatchblock only for its own error (2026-11-12): Inside a loop, an iteration that succeeded after a failed one no longer runs thecatchblock. Atryin a partial that is also rendered inside the sametrynow catches its error instead of raising it again.{% transaction %}uses its owntimeoutevery time it runs (2026-11-12): Previously, atransactiontag in a loop or a partial rendered several times kept the timeout from its first run.- Writing to
context.constantsor translations returns a Liquid error (2026-11-12): For example,c is read-only. Previously it caused a 500 error.context.globals.time_zonesis now read-only too. form_forwith the removedform_for_typeattribute no longer fails (2026-11-12): The attribute is ignored.- An inline
graphqlquery with only whitespace no longer runs another query (2026-11-12): Previously, it could run the query of agraphqlpartial included earlier in the request. - Errors in
{% background %}name the right line when the opening tag spans several lines (2026-11-12) - Clearer errors for invalid arguments in
sign_inandhash_assign(2026-11-12):sign_inwith a non-numerictimeout_in_minutes(for example,trueor an array) reportstimeout_in_minutes must be a number.hash_assignwith an array index that is an undefined variable reports that the index isnull.