Skip to content

Commit f43a2d2

Browse files
Version Packages (#268)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent b6cc244 commit f43a2d2

File tree

13 files changed

+30
-29
lines changed

13 files changed

+30
-29
lines changed

.changeset/top-level-await.md

Lines changed: 0 additions & 15 deletions
This file was deleted.

examples/claude-code/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM docker.io/cloudflare/sandbox:0.6.0
1+
FROM docker.io/cloudflare/sandbox:0.6.1
22
RUN npm install -g @anthropic-ai/claude-code
33
ENV COMMAND_TIMEOUT_MS=300000
44
EXPOSE 3000
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
FROM docker.io/cloudflare/sandbox:0.6.0
1+
FROM docker.io/cloudflare/sandbox:0.6.1

examples/minimal/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM docker.io/cloudflare/sandbox:0.6.0
1+
FROM docker.io/cloudflare/sandbox:0.6.1
22

33
# Required during local development to access exposed ports
44
EXPOSE 8080

examples/openai-agents/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM docker.io/cloudflare/sandbox:0.6.0
1+
FROM docker.io/cloudflare/sandbox:0.6.1
22

33
# Required during local development to access exposed ports
44
EXPOSE 8080

examples/typescript-validator/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Use Cloudflare sandbox as base
2-
FROM docker.io/cloudflare/sandbox:0.6.0
2+
FROM docker.io/cloudflare/sandbox:0.6.1
33

44
# Install esbuild for TypeScript bundling
55
RUN npm install -g esbuild

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/sandbox/CHANGELOG.md

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,21 @@
11
# @cloudflare/sandbox
22

3+
## 0.6.1
4+
5+
### Patch Changes
6+
7+
- [#261](https://github.com/cloudflare/sandbox-sdk/pull/261) [`b6cc244`](https://github.com/cloudflare/sandbox-sdk/commit/b6cc24456681932b76d17dd57b6e788c18813cc4) Thanks [@whoiskatrin](https://github.com/whoiskatrin)! - Add top-level await support for JavaScript code execution
8+
9+
JavaScript code can now use `await` at the top level without wrapping in an async IIFE. Variables declared with `const`, `let`, or `var` persist across executions, enabling multi-step workflows like:
10+
11+
```javascript
12+
// Execution 1
13+
const data = await fetch('https://api.example.com').then((r) => r.json());
14+
15+
// Execution 2
16+
console.log(data); // Works - data persists
17+
```
18+
319
## 0.6.0
420

521
### Minor Changes
@@ -14,10 +30,10 @@
1430

1531
```dockerfile
1632
# Before
17-
FROM cloudflare/sandbox:0.6.0
33+
FROM cloudflare/sandbox:0.6.1
1834

1935
# After
20-
FROM cloudflare/sandbox:0.6.0-python
36+
FROM cloudflare/sandbox:0.6.1-python
2137
```
2238

2339
Without this change, Python execution will fail with `PYTHON_NOT_AVAILABLE` error.

packages/sandbox/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@cloudflare/sandbox",
3-
"version": "0.6.0",
3+
"version": "0.6.1",
44
"repository": {
55
"type": "git",
66
"url": "https://github.com/cloudflare/sandbox-sdk"

packages/sandbox/src/version.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
* This file is auto-updated by .github/changeset-version.ts during releases
44
* DO NOT EDIT MANUALLY - Changes will be overwritten on the next version bump
55
*/
6-
export const SDK_VERSION = '0.6.0';
6+
export const SDK_VERSION = '0.6.1';

0 commit comments

Comments
 (0)