Releases: cloudflare/sandbox-sdk
@cloudflare/[email protected]
Patch Changes
-
#184
7989b61Thanks @ghostwriternr! - Redact credentials from Git URLs in logs -
#186
c2e3384Thanks @whoiskatrin! - Expose deleteSession API with proper safeguards- Add
deleteSession(sessionId)method to public SDK API - Prevent deletion of default session (throws error with guidance to use
sandbox.destroy()) - Session cleanup kills all running commands in parallel before destroying shell
- Return structured
SessionDeleteResultwith success status, sessionId, and timestamp
- Add
@cloudflare/[email protected]
Patch Changes
-
#185
7897cddThanks @ghostwriternr! - Fix foreground commands blocking on background processes -
#183
ff2fa91Thanks @whoiskatrin! - update python to 3.11.14
@cloudflare/[email protected]
Patch Changes
-
#172
1bf3576Thanks @threepointone! - Update dependencies -
#176
7edbfa9Thanks @ghostwriternr! - Add cache mounts to Dockerfile for faster buildsAdds cache mounts for npm, apt, and pip package managers in the Dockerfile. This speeds up Docker image builds when dependencies change, particularly beneficial for users building from source.
-
#172
1bf3576Thanks @threepointone! - Fix type generationWe inline types from
@repo/sharedso that it includes the types we reexport. Fixes #165 -
#175
77cb937Thanks @ghostwriternr! - Move .connect to .wsConnect within DO stub
@cloudflare/[email protected]
Patch Changes
- #137
7f4442bThanks @whoiskatrin! - add keepAlive flag to prevent containers from shutting down
@cloudflare/[email protected]
Patch Changes
- #159
e16659aThanks @ghostwriternr! - Use latest containers package version
@cloudflare/[email protected]
Patch Changes
- #156
b61841cThanks @ghostwriternr! - Fix WebSocket upgrade requests through exposed ports
@cloudflare/[email protected]
Patch Changes
-
#152
8e7773eThanks @ghostwriternr! - Add exists() method to check if a file or directory existsThis adds a new
exists()method to the SDK that checks whether a file or directory exists at a given path. The method returns a boolean indicating existence, similar to Python'sos.path.exists()and JavaScript'sfs.existsSync().The implementation is end-to-end:
- New
FileExistsResultandFileExistsRequesttypes in shared package - Handler endpoint at
/api/existsin container layer - Client method in
FileClientandSandboxclasses - Full test coverage (unit tests and E2E tests)
- New
@cloudflare/[email protected]
Patch Changes
- #153
f6a5c3eThanks @ghostwriternr! - Fix token extraction regex causing Invalid token errors
@cloudflare/[email protected]
Patch Changes
-
#141
c39674bThanks @ghostwriternr! - Fix commands hanging when reading stdin by redirecting stdin to /dev/null -
#143
276efc0Thanks @ghostwriternr! - Remove unnecessary existing session check
@cloudflare/[email protected]
Patch Changes
- #133
da2cfb8Thanks @ghostwriternr! - feat: Add version sync detection between npm package and Docker image