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/fix-code-context-isolation.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/fix-executor-mutex.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/remove-output-size-limit.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/twenty-doors-learn.md

This file was deleted.

2 changes: 1 addition & 1 deletion examples/claude-code/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM docker.io/cloudflare/sandbox:0.5.5
FROM docker.io/cloudflare/sandbox:0.5.6
RUN npm install -g @anthropic-ai/claude-code
ENV COMMAND_TIMEOUT_MS=300000
EXPOSE 3000
2 changes: 1 addition & 1 deletion examples/code-interpreter/Dockerfile
Original file line number Diff line number Diff line change
@@ -1 +1 @@
FROM docker.io/cloudflare/sandbox:0.5.5
FROM docker.io/cloudflare/sandbox:0.5.6
2 changes: 1 addition & 1 deletion examples/minimal/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM docker.io/cloudflare/sandbox:0.5.5
FROM docker.io/cloudflare/sandbox:0.5.6

# Required during local development to access exposed ports
EXPOSE 8080
2 changes: 1 addition & 1 deletion examples/openai-agents/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM docker.io/cloudflare/sandbox:0.5.5
FROM docker.io/cloudflare/sandbox:0.5.6

# Required during local development to access exposed ports
EXPOSE 8080
Expand Down
2 changes: 1 addition & 1 deletion examples/typescript-validator/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Use Cloudflare sandbox as base
FROM docker.io/cloudflare/sandbox:0.5.5
FROM docker.io/cloudflare/sandbox:0.5.6

# Install esbuild for TypeScript bundling
RUN npm install -g esbuild
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

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

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

## 0.5.6

### Patch Changes

- [#249](https://github.com/cloudflare/sandbox-sdk/pull/249) [`e69dce5`](https://github.com/cloudflare/sandbox-sdk/commit/e69dce54e76b5e0597e0f4ebb798c933543349a7) Thanks [@ghostwriternr](https://github.com/ghostwriternr)! - Fix code context isolation bug where contexts leaked state after 10 executions. Each code context now gets a dedicated executor process from creation to deletion, ensuring complete isolation between contexts. Removed maximum pool size limits to allow organic scaling.

- [#258](https://github.com/cloudflare/sandbox-sdk/pull/258) [`34bfb81`](https://github.com/cloudflare/sandbox-sdk/commit/34bfb81e7d7f96d6e2f62bb43330a6e675c2c54c) Thanks [@ghostwriternr](https://github.com/ghostwriternr)! - Fix executor mutex race condition and memory leak in code interpreter

- [#256](https://github.com/cloudflare/sandbox-sdk/pull/256) [`088ee5f`](https://github.com/cloudflare/sandbox-sdk/commit/088ee5fceae50f2338011b5c7560e056bdf6e48a) Thanks [@ghostwriternr](https://github.com/ghostwriternr)! - Remove output size limit for command execution

The 10MB output size limit that was intended to prevent OOM attacks has been removed. This limit was too restrictive for legitimate use cases like reading large media files. Developers are now trusted to manage their own resource usage and handle potential OOM situations.

- [#254](https://github.com/cloudflare/sandbox-sdk/pull/254) [`8728890`](https://github.com/cloudflare/sandbox-sdk/commit/872889064f7ce59d49bc12bdf151df94cfe1efe4) Thanks [@deathbyknowledge](https://github.com/deathbyknowledge)! - close stream before releasing lock

## 0.5.5

### 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.5.5",
"version": "0.5.6",
"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.5.5';
export const SDK_VERSION = '0.5.6';
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.5.5
FROM docker.io/cloudflare/sandbox-test:0.5.6

# Expose ports used for testing
EXPOSE 8080
4 changes: 2 additions & 2 deletions tests/integration/Dockerfile
Original file line number Diff line number Diff line change
@@ -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.5.5
FROM cloudflare/sandbox-test:0.5.5
# FROM docker.io/cloudflare/sandbox:0.5.6
FROM cloudflare/sandbox-test:0.5.6

# Expose the ports you want to expose
EXPOSE 8080
Expand Down