sandbox@4.1.0-beta.1
Pre-release
Pre-release
·
6 commits
to main
since this release
Minor Changes
-
Add multi-region support for drives: (#307)
- Set the
regionfield when creating a new drive, or use the--regionflag in the CLI. - You can retrieve the region of a drive using the
regiongetter on theDriveclass. - Drives can be only be mounted to sandboxes running on the same region.
- Set the
-
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
Patch Changes
-
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) -
Updated dependencies [
c2b5d7b45340b485264abb82f0cd640ed4e93293,2997ecc32a77c145289fbbd89ae2dc0214767ae3,2997ecc32a77c145289fbbd89ae2dc0214767ae3,2023195eafe3199c2372f7dad8bfaf0878267c52]:- @vercel/sandbox@3.1.0-beta.1