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: 5 additions & 0 deletions .changeset/loud-nights-sneeze.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@cloudflare/sandbox": patch
---

Add WebSocket support via connect() method for routing client WebSocket connections directly to container services
7 changes: 7 additions & 0 deletions .github/changeset-version.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,12 @@ try {
replacement: `cloudflare/sandbox-test:${newVersion}`,
description: "Test Docker image reference",
},
// Example package.json dependencies
{
pattern: /"@cloudflare\/sandbox":\s*"\^[\d.]+"/g,
replacement: `"@cloudflare/sandbox": "^${newVersion}"`,
description: "Example package.json @cloudflare/sandbox dependencies",
},
];

// Files to search and update
Expand All @@ -73,6 +79,7 @@ try {
"**/*.json", // JSON configs (but not package.json/package-lock.json)
"**/*.yaml", // YAML configs
"**/*.yml", // YML configs
"examples/**/package.json", // Example package.json files (exception to ignore rule below)
];

// Ignore patterns
Expand Down
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].7` → `cloudflare/sandbox:0.4.12`). This is enforced via `ARG SANDBOX_VERSION` in Dockerfile.
**Critical:** Docker image version MUST match npm package version (`@cloudflare/[email protected].12` → `cloudflare/sandbox:0.4.12`). This is enforced via `ARG SANDBOX_VERSION` in Dockerfile.

### Development Server

Expand Down
Loading
Loading