@vercel/sandbox@3.1.0
·
4 commits
to main
since this release
Minor Changes
-
Add multi-region support: (#301)
- New
regionandfailoverRegionsoptions on sandbox create, fork, and update (SDK), with matching flags onsandbox create,fork,run,sh, and thesandbox config region/sandbox config failover-regionscommands (CLI). - New
failoverRegionsgetter onSandboxandregionsgetter onSnapshot. - Regions are now shown in
sandbox ls,sessions list,snapshots list/get,sandbox config list, and the create/fork summary.
- New
-
Sandbox.regionandSandbox.failoverRegionsno longer returnundefined: the getters now report the platform defaults (iad1and[]) when the API omits the fields, so their types arestringandstring[]. The newDEFAULT_SANDBOX_REGIONexport makes the default region readable. (#301)
Patch Changes
- Update
defineSandboxProxyto limit the JWKS issuer cache size to prevent unbounded memory usage. (#309)