diff --git a/.changeset/fix-process-callbacks.md b/.changeset/fix-process-callbacks.md deleted file mode 100644 index 0f1f9b77..00000000 --- a/.changeset/fix-process-callbacks.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@cloudflare/sandbox': patch ---- - -Fix process callbacks, PID capture, and getLogs race condition for fast commands diff --git a/.changeset/generic-sandbox-types.md b/.changeset/generic-sandbox-types.md deleted file mode 100644 index b72bee8b..00000000 --- a/.changeset/generic-sandbox-types.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@cloudflare/sandbox': patch ---- - -Fix type error when extending Sandbox class by making getSandbox and SandboxEnv generic diff --git a/.changeset/honest-facts-think.md b/.changeset/honest-facts-think.md deleted file mode 100644 index 69fe3f24..00000000 --- a/.changeset/honest-facts-think.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@cloudflare/sandbox': patch ---- - -Fix a bug where the /api/ping endpoint was not handled, causing a 500 error diff --git a/examples/claude-code/Dockerfile b/examples/claude-code/Dockerfile index d42730bd..ade22706 100644 --- a/examples/claude-code/Dockerfile +++ b/examples/claude-code/Dockerfile @@ -1,4 +1,4 @@ -FROM docker.io/cloudflare/sandbox:0.6.1 +FROM docker.io/cloudflare/sandbox:0.6.2 RUN npm install -g @anthropic-ai/claude-code ENV COMMAND_TIMEOUT_MS=300000 EXPOSE 3000 diff --git a/examples/code-interpreter/Dockerfile b/examples/code-interpreter/Dockerfile index 23f1fb74..f86fbe06 100644 --- a/examples/code-interpreter/Dockerfile +++ b/examples/code-interpreter/Dockerfile @@ -1 +1 @@ -FROM docker.io/cloudflare/sandbox:0.6.1-python +FROM docker.io/cloudflare/sandbox:0.6.2-python diff --git a/examples/minimal/Dockerfile b/examples/minimal/Dockerfile index 18254f1a..181ae512 100644 --- a/examples/minimal/Dockerfile +++ b/examples/minimal/Dockerfile @@ -1,4 +1,4 @@ -FROM docker.io/cloudflare/sandbox:0.6.1 +FROM docker.io/cloudflare/sandbox:0.6.2 # Required during local development to access exposed ports EXPOSE 8080 diff --git a/examples/openai-agents/Dockerfile b/examples/openai-agents/Dockerfile index e087bb82..8a1471d8 100644 --- a/examples/openai-agents/Dockerfile +++ b/examples/openai-agents/Dockerfile @@ -1,4 +1,4 @@ -FROM docker.io/cloudflare/sandbox:0.6.1 +FROM docker.io/cloudflare/sandbox:0.6.2 # Required during local development to access exposed ports EXPOSE 8080 diff --git a/examples/typescript-validator/Dockerfile b/examples/typescript-validator/Dockerfile index def9df95..7a9f9cdb 100644 --- a/examples/typescript-validator/Dockerfile +++ b/examples/typescript-validator/Dockerfile @@ -1,5 +1,5 @@ # Use Cloudflare sandbox as base -FROM docker.io/cloudflare/sandbox:0.6.1 +FROM docker.io/cloudflare/sandbox:0.6.2 # Install esbuild for TypeScript bundling RUN npm install -g esbuild diff --git a/package-lock.json b/package-lock.json index ed9afb07..a64476c6 100644 --- a/package-lock.json +++ b/package-lock.json @@ -7911,7 +7911,6 @@ "os": [ "android" ], - "peer": true, "engines": { "node": ">= 12.0.0" }, @@ -7932,7 +7931,6 @@ "os": [ "darwin" ], - "peer": true, "engines": { "node": ">= 12.0.0" }, @@ -7953,7 +7951,6 @@ "os": [ "darwin" ], - "peer": true, "engines": { "node": ">= 12.0.0" }, @@ -7974,7 +7971,6 @@ "os": [ "freebsd" ], - "peer": true, "engines": { "node": ">= 12.0.0" }, @@ -7995,7 +7991,6 @@ "os": [ "linux" ], - "peer": true, "engines": { "node": ">= 12.0.0" }, @@ -8016,7 +8011,6 @@ "os": [ "linux" ], - "peer": true, "engines": { "node": ">= 12.0.0" }, @@ -8037,7 +8031,6 @@ "os": [ "linux" ], - "peer": true, "engines": { "node": ">= 12.0.0" }, @@ -8058,7 +8051,6 @@ "os": [ "linux" ], - "peer": true, "engines": { "node": ">= 12.0.0" }, @@ -8079,7 +8071,6 @@ "os": [ "linux" ], - "peer": true, "engines": { "node": ">= 12.0.0" }, @@ -8100,7 +8091,6 @@ "os": [ "win32" ], - "peer": true, "engines": { "node": ">= 12.0.0" }, @@ -8121,7 +8111,6 @@ "os": [ "win32" ], - "peer": true, "engines": { "node": ">= 12.0.0" }, @@ -13415,7 +13404,7 @@ }, "packages/sandbox": { "name": "@cloudflare/sandbox", - "version": "0.6.1", + "version": "0.6.2", "license": "Apache-2.0", "dependencies": { "@cloudflare/containers": "^0.0.30" diff --git a/packages/sandbox/CHANGELOG.md b/packages/sandbox/CHANGELOG.md index 6ff1fb57..bda3ae49 100644 --- a/packages/sandbox/CHANGELOG.md +++ b/packages/sandbox/CHANGELOG.md @@ -1,5 +1,15 @@ # @cloudflare/sandbox +## 0.6.2 + +### Patch Changes + +- [#267](https://github.com/cloudflare/sandbox-sdk/pull/267) [`204f9ac`](https://github.com/cloudflare/sandbox-sdk/commit/204f9ac301c983ed04589eb9d72418a0b06ec8a3) Thanks [@ghostwriternr](https://github.com/ghostwriternr)! - Fix process callbacks, PID capture, and getLogs race condition for fast commands + +- [#264](https://github.com/cloudflare/sandbox-sdk/pull/264) [`8601b5c`](https://github.com/cloudflare/sandbox-sdk/commit/8601b5c4fcb3a822aeefd870f26b3618c59e3212) Thanks [@ghostwriternr](https://github.com/ghostwriternr)! - Fix type error when extending Sandbox class by making getSandbox and SandboxEnv generic + +- [#263](https://github.com/cloudflare/sandbox-sdk/pull/263) [`059963e`](https://github.com/cloudflare/sandbox-sdk/commit/059963e80ff7d7d9696e8d9770339d3e849fcfdf) Thanks [@PavanKalisetti](https://github.com/PavanKalisetti)! - Fix a bug where the /api/ping endpoint was not handled, causing a 500 error + ## 0.6.1 ### Patch Changes @@ -30,10 +40,10 @@ ```dockerfile # Before - FROM cloudflare/sandbox:0.6.1 + FROM cloudflare/sandbox:0.6.2 # After - FROM cloudflare/sandbox:0.6.1-python + FROM cloudflare/sandbox:0.6.2-python ``` Without this change, Python execution will fail with `PYTHON_NOT_AVAILABLE` error. diff --git a/packages/sandbox/package.json b/packages/sandbox/package.json index 0b1f7423..acdeb064 100644 --- a/packages/sandbox/package.json +++ b/packages/sandbox/package.json @@ -1,6 +1,6 @@ { "name": "@cloudflare/sandbox", - "version": "0.6.1", + "version": "0.6.2", "repository": { "type": "git", "url": "https://github.com/cloudflare/sandbox-sdk" diff --git a/packages/sandbox/src/version.ts b/packages/sandbox/src/version.ts index 0d6512e5..7b6050f3 100644 --- a/packages/sandbox/src/version.ts +++ b/packages/sandbox/src/version.ts @@ -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.6.1'; +export const SDK_VERSION = '0.6.2'; diff --git a/tests/e2e/test-worker/Dockerfile b/tests/e2e/test-worker/Dockerfile index 73bdfbcc..81bd3a73 100644 --- a/tests/e2e/test-worker/Dockerfile +++ b/tests/e2e/test-worker/Dockerfile @@ -1,6 +1,6 @@ # Base image Dockerfile (no Python) # Used for testing Python-not-available error handling -FROM docker.io/cloudflare/sandbox-test:0.6.1 +FROM docker.io/cloudflare/sandbox-test:0.6.2 # Expose ports used for testing EXPOSE 8080 diff --git a/tests/e2e/test-worker/Dockerfile.python b/tests/e2e/test-worker/Dockerfile.python index c3969637..1497af73 100644 --- a/tests/e2e/test-worker/Dockerfile.python +++ b/tests/e2e/test-worker/Dockerfile.python @@ -1,6 +1,6 @@ # Integration test Dockerfile # Uses the -python variant because E2E tests include Python code execution tests -FROM docker.io/cloudflare/sandbox-test:0.6.1-python +FROM docker.io/cloudflare/sandbox-test:0.6.2-python # Expose ports used for testing EXPOSE 8080 diff --git a/tests/integration/Dockerfile b/tests/integration/Dockerfile index c39f9403..bbaf783b 100644 --- a/tests/integration/Dockerfile +++ b/tests/integration/Dockerfile @@ -1,8 +1,8 @@ # 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.6.1-python -FROM cloudflare/sandbox-test:0.6.1-python +# FROM docker.io/cloudflare/sandbox:0.6.2-python +FROM cloudflare/sandbox-test:0.6.2-python # Expose the ports you want to expose EXPOSE 8080