Release 4.5 Liquid engine, camelCase. For module insertions?

I’m just wondering if I need to update my sites for this new property format. Does this effect standard module output? i.e. am I going to have to update my property names in my liquid?

1 Like

From my understanding, Liquid remains NOT case sensitive. So you can write {{this.camelCase}} or {{this.camelcase}}, both will work.
It’s only an issue where case-sensitivity matters, such as in Javascript (for example; if you’re rendering out the collection as JSON).

Where Liquid syntax may need to be changed is in the scope of the params property. So if you are passing a custom param to a module you’d need to reference it within this scope.

eg:
Instead of {{params.myCustomParam}}
Would be {{this.params.myCustomParam}}

1 Like