Upgrade from @lingo.dev/cli 1.17 or older
Collect open runs, upgrade every machine, and move to lockfile version 2.
Upgrade from 1.17 or older #
Run lingo pull with your current version to collect any open run, because 1.18.0 and newer cannot download a run started by an earlier version. Then upgrade, and update any pinned version in CI:
lingo pull
lingo updateRemove LINGO_API_VERSION, which has no effect. lingo resume is gone; run lingo push again to retry failed files. .lingo/config.json and .lingo/lock.json need no changes.
Until you upgrade, 1.17 and older keep working, and their pushes go through the same pipeline as newer versions, so the same limits apply. Each file can be at most 2.5 MB. --key narrows JSON, JSONC, JSON5, YAML, PHP, TypeScript and .properties files, and is refused for other formats and for a * or {a,b} glob inside a name, such as greet*. lingo resume, and starting a run that was created but not started before the switch, both ask you to run the same lingo push command again. 1.3 follows a single run, so it asks you to update when a push needs more than one.
Lockfile version 2 #
1.26.0 and newer read a version 1 .lingo/lock.json and write it back as version 2, which can record the source version each target was translated from. Earlier versions stop with unsupported lockfile version on a version 2 lockfile instead of dropping that record. Once anyone pushes or pulls the project with 1.26.0 or newer, upgrade every other machine with lingo update and every pinned version in CI.
Back to Migration reference.