Vercel Sandbox 3.1.0

3.1.0
Added 4
  • Add multi-region support with new region and failoverRegions options on sandbox create, fork, and update in SDK and matching flags in CLI commands
  • Add failoverRegions getter on Sandbox and regions getter on Snapshot
  • Show regions in sandbox ls, sessions list, snapshots list/get, sandbox config list, and create/fork summary
  • Export DEFAULT_SANDBOX_REGION to make the default region readable
Changed 1
  • Sandbox.region and Sandbox.failoverRegions no longer return undefined and now report platform defaults (iad1 and []) when API omits fields, with types string and string[]
Fixed 1
  • Update defineSandboxProxy to limit the JWKS issuer cache size to prevent unbounded memory usage

From Vercel Sandbox

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
  • Update defineSandboxProxy to limit the JWKS issuer cache size to prevent unbounded memory usage. (#309)
View original

Upgraded? How did it go?

Discussion