Skip to content

v0.4.1 — the Gitee fallback survives Gitee's API limit

Latest

Choose a tag to compare

@YuniqueUnic YuniqueUnic released this 01 Dec 16:59

Needs schemaui-cli 0.10.0 or newer, as 0.4.0 did.

  • The Gitee fallback survives Gitee's API limit. The installers learned the newest schemaui-cli tag on Gitee only from the anonymous Gitee API, which rate-limits per IP and answers 403; --source gitee (and auto when GitHub is unreachable) then stopped with "could not resolve a download URL". When the API gives no tag, install.sh and install.ps1 now read the redirect of the mirror's latest-release page and accept it only when it points at releases/tag/schemaui-cli-vX.Y.Z on the same repository. The API stays first.
  • install.md notes that the Gitee mirror keeps binaries for the newest five schemaui-cli releases.

Full change: #9. Tests: 42 passed and 10 skipped locally (no PowerShell on this machine); a live --source gitee install while the Gitee API answered 403 installed schemaui 0.11.0. CI green on macOS, Ubuntu and Windows.