Skip to content

Tags: vercel/sandbox

Tags

@vercel/sandbox-mock@3.2.1

Toggle @vercel/sandbox-mock@3.2.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Version Packages (#318)

This PR was opened by the [Changesets
release](https://github.com/changesets/action) GitHub action. When
you're ready to do a release, you can merge this and the packages will
be published to npm automatically. If you're not ready to do a release
yet, that's fine, whenever you add more changesets to main, this PR will
be updated.


# Releases
## sandbox@4.2.1

### Patch Changes

- Ensure that the interactive server is available before creating
websocket connection requests.
([#317](#317))

- Updated dependencies
[[`bb190077ca365bab432c98a2f5bb6e8e2621cf10`](bb19007)]:
  - @vercel/sandbox@3.2.1
## @vercel/sandbox@3.2.1

### Patch Changes

- Reject multiple `tags` filters on `Sandbox.list()` at the type level.
The API supports filtering by a single tag, so passing more than one key
in `tags` is now a compile-time error instead of a 400 from the API.
([#312](#312))
## @vercel/sandbox-mock@3.2.1

### Patch Changes

- Updated dependencies
[[`bb190077ca365bab432c98a2f5bb6e8e2621cf10`](bb19007)]:
  - @vercel/sandbox@3.2.1

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

@vercel/sandbox@3.2.1

Toggle @vercel/sandbox@3.2.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Version Packages (#318)

This PR was opened by the [Changesets
release](https://github.com/changesets/action) GitHub action. When
you're ready to do a release, you can merge this and the packages will
be published to npm automatically. If you're not ready to do a release
yet, that's fine, whenever you add more changesets to main, this PR will
be updated.


# Releases
## sandbox@4.2.1

### Patch Changes

- Ensure that the interactive server is available before creating
websocket connection requests.
([#317](#317))

- Updated dependencies
[[`bb190077ca365bab432c98a2f5bb6e8e2621cf10`](bb19007)]:
  - @vercel/sandbox@3.2.1
## @vercel/sandbox@3.2.1

### Patch Changes

- Reject multiple `tags` filters on `Sandbox.list()` at the type level.
The API supports filtering by a single tag, so passing more than one key
in `tags` is now a compile-time error instead of a 400 from the API.
([#312](#312))
## @vercel/sandbox-mock@3.2.1

### Patch Changes

- Updated dependencies
[[`bb190077ca365bab432c98a2f5bb6e8e2621cf10`](bb19007)]:
  - @vercel/sandbox@3.2.1

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

sandbox@4.2.1

Toggle sandbox@4.2.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Version Packages (#318)

This PR was opened by the [Changesets
release](https://github.com/changesets/action) GitHub action. When
you're ready to do a release, you can merge this and the packages will
be published to npm automatically. If you're not ready to do a release
yet, that's fine, whenever you add more changesets to main, this PR will
be updated.


# Releases
## sandbox@4.2.1

### Patch Changes

- Ensure that the interactive server is available before creating
websocket connection requests.
([#317](#317))

- Updated dependencies
[[`bb190077ca365bab432c98a2f5bb6e8e2621cf10`](bb19007)]:
  - @vercel/sandbox@3.2.1
## @vercel/sandbox@3.2.1

### Patch Changes

- Reject multiple `tags` filters on `Sandbox.list()` at the type level.
The API supports filtering by a single tag, so passing more than one key
in `tags` is now a compile-time error instead of a 400 from the API.
([#312](#312))
## @vercel/sandbox-mock@3.2.1

### Patch Changes

- Updated dependencies
[[`bb190077ca365bab432c98a2f5bb6e8e2621cf10`](bb19007)]:
  - @vercel/sandbox@3.2.1

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

@vercel/sandbox-mock@3.2.0

Toggle @vercel/sandbox-mock@3.2.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Version Packages (#315)

This PR was opened by the [Changesets
release](https://github.com/changesets/action) GitHub action. When
you're ready to do a release, you can merge this and the packages will
be published to npm automatically. If you're not ready to do a release
yet, that's fine, whenever you add more changesets to main, this PR will
be updated.


# Releases
## sandbox@4.2.0

### Minor Changes

- Add a `deleteOrphanSnapshots` option when deleting a sandbox.
([#316](#316))

Deleting a persistent sandbox left all of its snapshots alive until they
expired. `sandbox.delete({ deleteOrphanSnapshots: true })` in the SDK
and `sandbox remove <name> --delete-orphan-snapshots` in the CLI now
also delete the snapshots of that sandbox that no other sandbox uses. It
defaults to `false`, so the existing behaviour is unchanged.

### Patch Changes

- Updated dependencies
[[`6a9d34f0a2a469fda4818ae81e21c80418d095cd`](6a9d34f)]:
  - @vercel/sandbox@3.2.0
## @vercel/sandbox@3.2.0

### Minor Changes

- Add a `deleteOrphanSnapshots` option when deleting a sandbox.
([#316](#316))

Deleting a persistent sandbox left all of its snapshots alive until they
expired. `sandbox.delete({ deleteOrphanSnapshots: true })` in the SDK
and `sandbox remove <name> --delete-orphan-snapshots` in the CLI now
also delete the snapshots of that sandbox that no other sandbox uses. It
defaults to `false`, so the existing behaviour is unchanged.
## @vercel/sandbox-mock@3.2.0

### Patch Changes

- Add a `deleteOrphanSnapshots` option when deleting a sandbox.
([#316](#316))

Deleting a persistent sandbox left all of its snapshots alive until they
expired. `sandbox.delete({ deleteOrphanSnapshots: true })` in the SDK
and `sandbox remove <name> --delete-orphan-snapshots` in the CLI now
also delete the snapshots of that sandbox that no other sandbox uses. It
defaults to `false`, so the existing behaviour is unchanged.

- Updated dependencies
[[`6a9d34f0a2a469fda4818ae81e21c80418d095cd`](6a9d34f)]:
  - @vercel/sandbox@3.2.0
## sandbox-image-al-base@1.0.0

### Major Changes

- Open source Amazon Linux legacy runtime images
([#313](#313))
## sandbox-image-al-node@1.0.0

### Major Changes

- Open source Amazon Linux legacy runtime images
([#313](#313))
## sandbox-image-al-python@1.0.0

### Major Changes

- Open source Amazon Linux legacy runtime images
([#313](#313))

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

@vercel/sandbox@3.2.0

Toggle @vercel/sandbox@3.2.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Version Packages (#315)

This PR was opened by the [Changesets
release](https://github.com/changesets/action) GitHub action. When
you're ready to do a release, you can merge this and the packages will
be published to npm automatically. If you're not ready to do a release
yet, that's fine, whenever you add more changesets to main, this PR will
be updated.


# Releases
## sandbox@4.2.0

### Minor Changes

- Add a `deleteOrphanSnapshots` option when deleting a sandbox.
([#316](#316))

Deleting a persistent sandbox left all of its snapshots alive until they
expired. `sandbox.delete({ deleteOrphanSnapshots: true })` in the SDK
and `sandbox remove <name> --delete-orphan-snapshots` in the CLI now
also delete the snapshots of that sandbox that no other sandbox uses. It
defaults to `false`, so the existing behaviour is unchanged.

### Patch Changes

- Updated dependencies
[[`6a9d34f0a2a469fda4818ae81e21c80418d095cd`](6a9d34f)]:
  - @vercel/sandbox@3.2.0
## @vercel/sandbox@3.2.0

### Minor Changes

- Add a `deleteOrphanSnapshots` option when deleting a sandbox.
([#316](#316))

Deleting a persistent sandbox left all of its snapshots alive until they
expired. `sandbox.delete({ deleteOrphanSnapshots: true })` in the SDK
and `sandbox remove <name> --delete-orphan-snapshots` in the CLI now
also delete the snapshots of that sandbox that no other sandbox uses. It
defaults to `false`, so the existing behaviour is unchanged.
## @vercel/sandbox-mock@3.2.0

### Patch Changes

- Add a `deleteOrphanSnapshots` option when deleting a sandbox.
([#316](#316))

Deleting a persistent sandbox left all of its snapshots alive until they
expired. `sandbox.delete({ deleteOrphanSnapshots: true })` in the SDK
and `sandbox remove <name> --delete-orphan-snapshots` in the CLI now
also delete the snapshots of that sandbox that no other sandbox uses. It
defaults to `false`, so the existing behaviour is unchanged.

- Updated dependencies
[[`6a9d34f0a2a469fda4818ae81e21c80418d095cd`](6a9d34f)]:
  - @vercel/sandbox@3.2.0
## sandbox-image-al-base@1.0.0

### Major Changes

- Open source Amazon Linux legacy runtime images
([#313](#313))
## sandbox-image-al-node@1.0.0

### Major Changes

- Open source Amazon Linux legacy runtime images
([#313](#313))
## sandbox-image-al-python@1.0.0

### Major Changes

- Open source Amazon Linux legacy runtime images
([#313](#313))

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

sandbox@4.2.0

Toggle sandbox@4.2.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Version Packages (#315)

This PR was opened by the [Changesets
release](https://github.com/changesets/action) GitHub action. When
you're ready to do a release, you can merge this and the packages will
be published to npm automatically. If you're not ready to do a release
yet, that's fine, whenever you add more changesets to main, this PR will
be updated.


# Releases
## sandbox@4.2.0

### Minor Changes

- Add a `deleteOrphanSnapshots` option when deleting a sandbox.
([#316](#316))

Deleting a persistent sandbox left all of its snapshots alive until they
expired. `sandbox.delete({ deleteOrphanSnapshots: true })` in the SDK
and `sandbox remove <name> --delete-orphan-snapshots` in the CLI now
also delete the snapshots of that sandbox that no other sandbox uses. It
defaults to `false`, so the existing behaviour is unchanged.

### Patch Changes

- Updated dependencies
[[`6a9d34f0a2a469fda4818ae81e21c80418d095cd`](6a9d34f)]:
  - @vercel/sandbox@3.2.0
## @vercel/sandbox@3.2.0

### Minor Changes

- Add a `deleteOrphanSnapshots` option when deleting a sandbox.
([#316](#316))

Deleting a persistent sandbox left all of its snapshots alive until they
expired. `sandbox.delete({ deleteOrphanSnapshots: true })` in the SDK
and `sandbox remove <name> --delete-orphan-snapshots` in the CLI now
also delete the snapshots of that sandbox that no other sandbox uses. It
defaults to `false`, so the existing behaviour is unchanged.
## @vercel/sandbox-mock@3.2.0

### Patch Changes

- Add a `deleteOrphanSnapshots` option when deleting a sandbox.
([#316](#316))

Deleting a persistent sandbox left all of its snapshots alive until they
expired. `sandbox.delete({ deleteOrphanSnapshots: true })` in the SDK
and `sandbox remove <name> --delete-orphan-snapshots` in the CLI now
also delete the snapshots of that sandbox that no other sandbox uses. It
defaults to `false`, so the existing behaviour is unchanged.

- Updated dependencies
[[`6a9d34f0a2a469fda4818ae81e21c80418d095cd`](6a9d34f)]:
  - @vercel/sandbox@3.2.0
## sandbox-image-al-base@1.0.0

### Major Changes

- Open source Amazon Linux legacy runtime images
([#313](#313))
## sandbox-image-al-node@1.0.0

### Major Changes

- Open source Amazon Linux legacy runtime images
([#313](#313))
## sandbox-image-al-python@1.0.0

### Major Changes

- Open source Amazon Linux legacy runtime images
([#313](#313))

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

@vercel/sandbox-mock@3.1.0

Toggle @vercel/sandbox-mock@3.1.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Version Packages (#306)

This PR was opened by the [Changesets
release](https://github.com/changesets/action) GitHub action. When
you're ready to do a release, you can merge this and the packages will
be published to npm automatically. If you're not ready to do a release
yet, that's fine, whenever you add more changesets to main, this PR will
be updated.


# Releases
## sandbox@4.1.0

### Minor Changes

- Add multi-region support:
([#301](#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.

### Patch Changes

- Accept `none` for `--failover-regions` on `sandbox create`, `sandbox
run` and `sandbox fork`.
([#310](#310))

`sandbox config failover-regions <name> none` already clears the list,
but at creation time
`none` was forwarded as a literal region name and rejected by the API.
With a project-level
default failover list there was no way to create a sandbox in one of
those regions from the
CLI, while the SDK and the HTTP API both accept an empty
`failoverRegions` array.

The `none` sentinel is now shared between `create`/`run`/`fork` and
`config`.

- `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](#301))

- Updated dependencies
[[`2997ecc32a77c145289fbbd89ae2dc0214767ae3`](2997ecc),
[`2997ecc32a77c145289fbbd89ae2dc0214767ae3`](2997ecc),
[`2023195eafe3199c2372f7dad8bfaf0878267c52`](2023195)]:
  - @vercel/sandbox@3.1.0
## @vercel/sandbox@3.1.0

### Minor Changes

- Add multi-region support:
([#301](#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](#301))

### Patch Changes

- Update `defineSandboxProxy` to limit the JWKS issuer cache size to
prevent unbounded memory usage.
([#309](#309))
## @vercel/sandbox-mock@3.1.0

### Minor Changes

- Add multi-region support:
([#301](#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](#301))

### Patch Changes

- Updated dependencies
[[`2997ecc32a77c145289fbbd89ae2dc0214767ae3`](2997ecc),
[`2997ecc32a77c145289fbbd89ae2dc0214767ae3`](2997ecc),
[`2023195eafe3199c2372f7dad8bfaf0878267c52`](2023195)]:
  - @vercel/sandbox@3.1.0

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

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

Toggle @vercel/sandbox-mock@3.1.0-beta.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Version Packages (beta) (#308)

This PR was opened by the [Changesets
release](https://github.com/changesets/action) GitHub action. When
you're ready to do a release, you can merge this and the packages will
be published to npm automatically. If you're not ready to do a release
yet, that's fine, whenever you add more changesets to drives-beta, this
PR will be updated.

⚠️⚠️⚠️⚠️⚠️⚠️

`drives-beta` is currently in **pre mode** so this branch has
prereleases rather than normal releases. If you want to exit
prereleases, run `changeset pre exit` on `drives-beta`.

⚠️⚠️⚠️⚠️⚠️⚠️

# Releases
## sandbox@4.1.0-beta.1

### Minor Changes

- Add multi-region support for drives:
([#307](#307))

- Set the `region` field when creating a new drive, or use the
`--region` flag in the CLI.
- You can retrieve the region of a drive using the `region` getter on
the `Drive` class.
- Drives can be only be mounted to sandboxes running on the same region.

- Add multi-region support:
([#301](#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.

### Patch Changes

- `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](#301))

- Updated dependencies
[[`c2b5d7b45340b485264abb82f0cd640ed4e93293`](c2b5d7b),
[`2997ecc32a77c145289fbbd89ae2dc0214767ae3`](2997ecc),
[`2997ecc32a77c145289fbbd89ae2dc0214767ae3`](2997ecc),
[`2023195eafe3199c2372f7dad8bfaf0878267c52`](2023195)]:
  - @vercel/sandbox@3.1.0-beta.1
## @vercel/sandbox@3.1.0-beta.1

### Minor Changes

- Add multi-region support for drives:
([#307](#307))

- Set the `region` field when creating a new drive, or use the
`--region` flag in the CLI.
- You can retrieve the region of a drive using the `region` getter on
the `Drive` class.
- Drives can be only be mounted to sandboxes running on the same region.

- Add multi-region support:
([#301](#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](#301))

### Patch Changes

- Update `defineSandboxProxy` to limit the JWKS issuer cache size to
prevent unbounded memory usage.
([#309](#309))
## @vercel/sandbox-mock@3.1.0-beta.1

### Minor Changes

- Add multi-region support:
([#301](#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](#301))

### Patch Changes

- Add mock for the `Drive` class.
([#307](#307))

- Updated dependencies
[[`c2b5d7b45340b485264abb82f0cd640ed4e93293`](c2b5d7b),
[`2997ecc32a77c145289fbbd89ae2dc0214767ae3`](2997ecc),
[`2997ecc32a77c145289fbbd89ae2dc0214767ae3`](2997ecc),
[`2023195eafe3199c2372f7dad8bfaf0878267c52`](2023195)]:
  - @vercel/sandbox@3.1.0-beta.1

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

@vercel/sandbox@3.1.0

Toggle @vercel/sandbox@3.1.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Version Packages (#306)

This PR was opened by the [Changesets
release](https://github.com/changesets/action) GitHub action. When
you're ready to do a release, you can merge this and the packages will
be published to npm automatically. If you're not ready to do a release
yet, that's fine, whenever you add more changesets to main, this PR will
be updated.


# Releases
## sandbox@4.1.0

### Minor Changes

- Add multi-region support:
([#301](#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.

### Patch Changes

- Accept `none` for `--failover-regions` on `sandbox create`, `sandbox
run` and `sandbox fork`.
([#310](#310))

`sandbox config failover-regions <name> none` already clears the list,
but at creation time
`none` was forwarded as a literal region name and rejected by the API.
With a project-level
default failover list there was no way to create a sandbox in one of
those regions from the
CLI, while the SDK and the HTTP API both accept an empty
`failoverRegions` array.

The `none` sentinel is now shared between `create`/`run`/`fork` and
`config`.

- `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](#301))

- Updated dependencies
[[`2997ecc32a77c145289fbbd89ae2dc0214767ae3`](2997ecc),
[`2997ecc32a77c145289fbbd89ae2dc0214767ae3`](2997ecc),
[`2023195eafe3199c2372f7dad8bfaf0878267c52`](2023195)]:
  - @vercel/sandbox@3.1.0
## @vercel/sandbox@3.1.0

### Minor Changes

- Add multi-region support:
([#301](#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](#301))

### Patch Changes

- Update `defineSandboxProxy` to limit the JWKS issuer cache size to
prevent unbounded memory usage.
([#309](#309))
## @vercel/sandbox-mock@3.1.0

### Minor Changes

- Add multi-region support:
([#301](#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](#301))

### Patch Changes

- Updated dependencies
[[`2997ecc32a77c145289fbbd89ae2dc0214767ae3`](2997ecc),
[`2997ecc32a77c145289fbbd89ae2dc0214767ae3`](2997ecc),
[`2023195eafe3199c2372f7dad8bfaf0878267c52`](2023195)]:
  - @vercel/sandbox@3.1.0

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

@vercel/sandbox@3.1.0-beta.1

Toggle @vercel/sandbox@3.1.0-beta.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Version Packages (beta) (#308)

This PR was opened by the [Changesets
release](https://github.com/changesets/action) GitHub action. When
you're ready to do a release, you can merge this and the packages will
be published to npm automatically. If you're not ready to do a release
yet, that's fine, whenever you add more changesets to drives-beta, this
PR will be updated.

⚠️⚠️⚠️⚠️⚠️⚠️

`drives-beta` is currently in **pre mode** so this branch has
prereleases rather than normal releases. If you want to exit
prereleases, run `changeset pre exit` on `drives-beta`.

⚠️⚠️⚠️⚠️⚠️⚠️

# Releases
## sandbox@4.1.0-beta.1

### Minor Changes

- Add multi-region support for drives:
([#307](#307))

- Set the `region` field when creating a new drive, or use the
`--region` flag in the CLI.
- You can retrieve the region of a drive using the `region` getter on
the `Drive` class.
- Drives can be only be mounted to sandboxes running on the same region.

- Add multi-region support:
([#301](#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.

### Patch Changes

- `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](#301))

- Updated dependencies
[[`c2b5d7b45340b485264abb82f0cd640ed4e93293`](c2b5d7b),
[`2997ecc32a77c145289fbbd89ae2dc0214767ae3`](2997ecc),
[`2997ecc32a77c145289fbbd89ae2dc0214767ae3`](2997ecc),
[`2023195eafe3199c2372f7dad8bfaf0878267c52`](2023195)]:
  - @vercel/sandbox@3.1.0-beta.1
## @vercel/sandbox@3.1.0-beta.1

### Minor Changes

- Add multi-region support for drives:
([#307](#307))

- Set the `region` field when creating a new drive, or use the
`--region` flag in the CLI.
- You can retrieve the region of a drive using the `region` getter on
the `Drive` class.
- Drives can be only be mounted to sandboxes running on the same region.

- Add multi-region support:
([#301](#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](#301))

### Patch Changes

- Update `defineSandboxProxy` to limit the JWKS issuer cache size to
prevent unbounded memory usage.
([#309](#309))
## @vercel/sandbox-mock@3.1.0-beta.1

### Minor Changes

- Add multi-region support:
([#301](#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](#301))

### Patch Changes

- Add mock for the `Drive` class.
([#307](#307))

- Updated dependencies
[[`c2b5d7b45340b485264abb82f0cd640ed4e93293`](c2b5d7b),
[`2997ecc32a77c145289fbbd89ae2dc0214767ae3`](2997ecc),
[`2997ecc32a77c145289fbbd89ae2dc0214767ae3`](2997ecc),
[`2023195eafe3199c2372f7dad8bfaf0878267c52`](2023195)]:
  - @vercel/sandbox@3.1.0-beta.1

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>