Skip to content

v12.3.0

Latest

Choose a tag to compare

@adrai adrai released this 10 Jun 15:12
  • sync: creates missing remote languages on the fly. A project without any
    languages yet is bootstrapped automatically from the local language folders
    (or --language/--languages), and a language that exists locally but not
    in the project is created too instead of being silently ignored — the server
    decides whether the api-key may (admin keys always; any write-capable key
    while the project still has no content). On rejection sync warns and
    continues; --dry never creates languages.
  • migrate: also works on a project without any languages yet (previously both
    sync and migrate failed with a misleading "Project not found" error when the
    project's languages file was empty).
  • fix: the "wrong cdnType" hint no longer crashes (or fires) when the other
    endpoint answers with a non-JSON response; the empty-project error now reads
    "Project … not found — or it has no languages yet!" and carries an
    EMPTY_LANGUAGES / WRONG_CDN_TYPE error code for programmatic consumers.