Migrating from liquid 1.0 to 2.0

I don’t think my site will be affected by the changes from Liquid1.0 to 2.0 but I’d like to do a test run first to make sure everything works correctly. So I have a couple of questions:

  1. I don’t seem to have this as an option in my beta features. This is the only option I have

  2. I assume then that I’m already using Treepl 2.0 but is there a way to find out what version I’m using?

1 Like

If you don’t see those options it means the features have already been applied. Probably because that site instance is a trial site (since Trial sites have already been upgraded) or you have recently activated this site instance from a Trial site that was already upgraded.

One way to check though, is to place this code on a blank page:

<pre>{{this}}</pre>

Then view that page.
If you see ALL Liquid properties as title-case then you are on 2.0.
If some are not title-case then it’s 1.0

In particular, look for the "IsHome" property (at the very end of the JSON output).
"ishome" means v1.0
"IsHome" means v2.0

3 Likes

Thanks Adam :slight_smile: - I’ll give that a try.

Thank you @Adam.Wilson - super helpful tip to check what version.

I think you can also quickly check for the version by going to the nICE editor and see if you get the toolbox when double clicking on text. Liquid 2.0 and that nICE feature are connected as far as I understand.

1 Like