Online experiments now require loop names rather than trials

URL of experiment:

Description of the problem:
Not so much a question as I figured out what was causing the issue today but was unable to find anything online about it after several hours of searching. Online experiment crashed after running fine for several months. Had to change the custom code that exited out of a loop after meeting a criterion from trials.finished=true to the loop_name.finished = true

That’s a difference between 2020.1 and 2020.2. I think it’s documented in my crib sheet

There used to be a bug whereby all loops had to be referred to as trials, irrespective of its actual name. That got fixed, breaking the experiments that had used the trials workaround.

currentLoop should work for all loops, but I couldn’t get it to work yesterday so I’m not sure for 2020.2.10