Why existing templates can no longer pass compilation now?

Actually, a few months ago I used a certain template to write an article, which could correctly compile and generate a PDF file at that time. Now when I try to compile it again, I found it fails. I’ve also noticed that many templates no longer compile successfully (they should have worked properly before). I want to know why this is happening and how I can fix it?


this is a picture about errors

Hello, which version of touying are you using? You might need to upgrade the version.

See How to use context instead of a callback function in locate function calls?

0.4.0. These templates that don’t work now were probably developed under older versions, so could this be because the Touyin version is outdated? I think perhaps I should downgrade to an earlier Typst version, but I haven’t found the Linux command to do this.
thanks for your replying.

You can always download releases of Typst at Releases · typst/typst · GitHub and change the version from the webapp project settings.

Thank you very much for your reply. Previously, I wasn’t familiar with version settings for web applications.