Skip to content

@vercel/sandbox-mock@3.1.0-beta.1

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 21 Aug 09:49
· 8 commits to main since this release
3035425

Minor Changes

  • Add multi-region support: (#301)

    • New region and failoverRegions options on sandbox create, fork, and update (SDK), with matching flags on sandbox create, fork, run, sh, and the sandbox config region / sandbox config failover-regions commands (CLI).
    • New failoverRegions getter on Sandbox and regions getter on Snapshot.
    • Regions are now shown in sandbox ls, sessions list, snapshots list/get, sandbox config list, and the create/fork summary.
  • Sandbox.region and Sandbox.failoverRegions no longer return undefined: the getters now report the platform defaults (iad1 and []) when the API omits the fields, so their types are string and string[]. The new DEFAULT_SANDBOX_REGION export makes the default region readable. (#301)

Patch Changes