Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions .changeset/wet-falcons-hang.md

This file was deleted.

2 changes: 1 addition & 1 deletion CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ npm run docker:rebuild # Rebuild container image locally (includes clean bui
- Stable images when "Version Packages" PR is merged
- Multi-arch builds (amd64, arm64) handled by CI

**Critical:** Docker image version MUST match npm package version (`@cloudflare/[email protected]` → `cloudflare/sandbox:0.4.11`). This is enforced via `ARG SANDBOX_VERSION` in Dockerfile.
**Critical:** Docker image version MUST match npm package version (`@cloudflare/[email protected]` → `cloudflare/sandbox:0.4.12`). This is enforced via `ARG SANDBOX_VERSION` in Dockerfile.

### Development Server

Expand Down
6 changes: 3 additions & 3 deletions examples/basic/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# This image is unique to this repo, and you'll never need it.
# Whenever you're integrating with sandbox SDK in your own project,
# you should use the official image instead:
# FROM docker.io/cloudflare/sandbox:0.4.11
FROM cloudflare/sandbox-test:0.4.11
# FROM docker.io/cloudflare/sandbox:0.4.12
FROM cloudflare/sandbox-test:0.4.12

# On a mac, you might need to actively pick up the
# arm64 build of the image.
# FROM --platform=linux/arm64 cloudflare/sandbox-test:0.4.11
# FROM --platform=linux/arm64 cloudflare/sandbox-test:0.4.12

# Expose the ports you want to expose
EXPOSE 8080
Expand Down
4 changes: 2 additions & 2 deletions examples/claude-code/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM docker.io/cloudflare/sandbox:0.4.11
FROM docker.io/cloudflare/sandbox:0.4.12
RUN npm install -g @anthropic-ai/claude-code
ENV COMMAND_TIMEOUT_MS=300000
EXPOSE 3000

# On a Mac with Apple Silicon, you might need to specify the platform:
# FROM --platform=linux/arm64 docker.io/cloudflare/sandbox:0.4.11
# FROM --platform=linux/arm64 docker.io/cloudflare/sandbox:0.4.12
6 changes: 3 additions & 3 deletions examples/code-interpreter/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# This image is unique to this repo, and you'll never need it.
# Whenever you're integrating with sandbox SDK in your own project,
# you should use the official image instead:
# FROM docker.io/cloudflare/sandbox:0.4.11
FROM cloudflare/sandbox-test:0.4.11
# FROM docker.io/cloudflare/sandbox:0.4.12
FROM cloudflare/sandbox-test:0.4.12

# On a mac, you might need to actively pick up the
# arm64 build of the image.
# FROM --platform=linux/arm64 cloudflare/sandbox-test:0.4.11
# FROM --platform=linux/arm64 cloudflare/sandbox-test:0.4.12
2 changes: 1 addition & 1 deletion examples/code-interpreter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"author": "",
"license": "MIT",
"dependencies": {
"@cloudflare/sandbox": "^0.4.11",
"@cloudflare/sandbox": "^0.4.12",
"openai": "^5.12.0"
},
"devDependencies": {
Expand Down
4 changes: 2 additions & 2 deletions examples/minimal/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM docker.io/cloudflare/sandbox:0.4.11
FROM docker.io/cloudflare/sandbox:0.4.12

# On a Mac with Apple Silicon, you might need to specify the platform:
# FROM --platform=linux/arm64 docker.io/cloudflare/sandbox:0.4.11
# FROM --platform=linux/arm64 docker.io/cloudflare/sandbox:0.4.12

# Required during local development to access exposed ports
EXPOSE 8080
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions packages/sandbox/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @cloudflare/sandbox

## 0.4.12

### Patch Changes

- [#137](https://github.com/cloudflare/sandbox-sdk/pull/137) [`7f4442b`](https://github.com/cloudflare/sandbox-sdk/commit/7f4442b7a097587d8f8e8f9ff2f887df6943a3db) Thanks [@whoiskatrin](https://github.com/whoiskatrin)! - add keepAlive flag to prevent containers from shutting down

## 0.4.11

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/sandbox/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@cloudflare/sandbox",
"version": "0.4.11",
"version": "0.4.12",
"repository": {
"type": "git",
"url": "https://github.com/cloudflare/sandbox-sdk"
Expand Down
2 changes: 1 addition & 1 deletion packages/sandbox/src/version.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
* This file is auto-updated by .github/changeset-version.ts during releases
* DO NOT EDIT MANUALLY - Changes will be overwritten on the next version bump
*/
export const SDK_VERSION = '0.4.11';
export const SDK_VERSION = '0.4.12';
2 changes: 1 addition & 1 deletion tests/e2e/test-worker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Integration test Dockerfile
FROM docker.io/cloudflare/sandbox-test:0.4.11
FROM docker.io/cloudflare/sandbox-test:0.4.12

# Expose ports used for testing
EXPOSE 8080
Loading