Skip to content

v1.0.31 — Fetch an engine ahead of time

Choose a tag to compare

@github-actions github-actions released this 24 Nov 19:39
· 3 commits to main since this release

You can now download a Xano Engine ahead of time, so a later deploy --local runs with no network.

npm install @xano/sdk@1.0.31

local cache fetch downloads an engine before you need it

xanosdk local cache fetch downloads the latest Xano Engine for this computer into the SDK's engine cache, and --version v0.2.17 downloads that version. It checks the download against its published SHA-256, as a deploy does.

It works from any folder, with or without a project, and it never reads or moves a project's engine pin. A later deploy --local on that version finds it cached and downloads nothing, even offline.

  • A version that's already cached is reported and not downloaded again. With --version, the check needs no network.
  • --json prints { "version", "downloaded", "path" }.
  • With XANOSDK_ENGINE_OVERRIDE set, it fetches nothing and says why ("skipped": "override").
  • With a custom XANOSDK_ENGINE_RELEASES_URL, it refuses, as local update does: engines from another release manager are never cached by version.

Xano Studio runs it when it starts, so a project's backend keeps working after the computer goes offline.