Skip to content

Releases: cloudflare/sandbox-sdk

@cloudflare/[email protected]

06 Nov 17:49
75de276

Choose a tag to compare

Patch Changes

  • #184 7989b61 Thanks @ghostwriternr! - Redact credentials from Git URLs in logs

  • #186 c2e3384 Thanks @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 SessionDeleteResult with success status, sessionId, and timestamp

@cloudflare/[email protected]

04 Nov 19:23
2011e85

Choose a tag to compare

Patch Changes

@cloudflare/[email protected]

30 Oct 14:33
b0c4c97

Choose a tag to compare

Patch Changes

  • #172 1bf3576 Thanks @threepointone! - Update dependencies

  • #176 7edbfa9 Thanks @ghostwriternr! - Add cache mounts to Dockerfile for faster builds

    Adds 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 1bf3576 Thanks @threepointone! - Fix type generation

    We inline types from @repo/shared so that it includes the types we reexport. Fixes #165

  • #175 77cb937 Thanks @ghostwriternr! - Move .connect to .wsConnect within DO stub

@cloudflare/[email protected]

29 Oct 11:17
02ee8fe

Choose a tag to compare

Patch Changes

@cloudflare/[email protected]

28 Oct 12:23
153e416

Choose a tag to compare

Patch Changes

@cloudflare/[email protected]

27 Oct 18:27
5d101e6

Choose a tag to compare

Patch Changes

@cloudflare/[email protected]

24 Oct 15:57
3ef0f35

Choose a tag to compare

Patch Changes

  • #152 8e7773e Thanks @ghostwriternr! - Add exists() method to check if a file or directory exists

    This 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's os.path.exists() and JavaScript's fs.existsSync().

    The implementation is end-to-end:

    • New FileExistsResult and FileExistsRequest types in shared package
    • Handler endpoint at /api/exists in container layer
    • Client method in FileClient and Sandbox classes
    • Full test coverage (unit tests and E2E tests)

@cloudflare/[email protected]

24 Oct 13:59
93e4f04

Choose a tag to compare

Patch Changes

@cloudflare/[email protected]

23 Oct 18:27
c1f057e

Choose a tag to compare

Patch Changes

@cloudflare/[email protected]

22 Oct 23:19
9810c3a

Choose a tag to compare

Patch Changes