Skip to content

Commit b577d1a

Browse files
committed
Merge branch 'production' into asamborski_enduseruxforrdp
2 parents 580f34c + 85c48c4 commit b577d1a

File tree

85 files changed

+1712
-459
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

85 files changed

+1712
-459
lines changed

package-lock.json

Lines changed: 86 additions & 50 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
"@expressive-code/plugin-collapsible-sections": "0.41.2",
4242
"@floating-ui/react": "0.27.12",
4343
"@iarna/toml": "2.2.5",
44-
"@lottiefiles/dotlottie-react": "0.14.1",
44+
"@lottiefiles/dotlottie-react": "0.14.2",
4545
"@marsidev/react-turnstile": "1.1.0",
4646
"@microsoft/fetch-event-source": "2.0.1",
4747
"@nanostores/react": "1.0.0",
@@ -50,7 +50,7 @@
5050
"@tailwindcss/postcss": "4.1.4",
5151
"@types/hast": "3.0.4",
5252
"@types/he": "1.2.3",
53-
"@types/node": "24.0.3",
53+
"@types/node": "24.0.4",
5454
"@types/react": "19.0.7",
5555
"@types/react-dom": "19.0.4",
5656
"@typescript-eslint/parser": "8.34.1",
@@ -121,7 +121,7 @@
121121
"starlight-showcases": "0.3.0",
122122
"strip-markdown": "6.0.0",
123123
"suf-log": "2.5.3",
124-
"svgo": "3.3.2",
124+
"svgo": "4.0.0",
125125
"tailwindcss": "4.1.4",
126126
"tippy.js": "6.3.7",
127127
"ts-blank-space": "0.6.1",

public/__redirects

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -244,6 +244,7 @@
244244
/bots/get-started/bm-subscription/ /bots/get-started/bot-management/ 301
245245
/bots/get-started/pro/ /bots/get-started/super-bot-fight-mode/ 301
246246
/bots/additional-configurations/javascript-detections/ /cloudflare-challenges/challenge-types/javascript-detections/ 301
247+
/bots/troubleshooting/frequently-asked-questions/ /bots/frequently-asked-questions/ 301
247248

248249
#browser-rendering
249250
/browser-rendering/get-started/browser-rendering-with-DO/ /browser-rendering/workers-bindings/browser-rendering-with-do/ 301
@@ -503,6 +504,7 @@
503504
/cloudflare-one/email-security/setup/pre-delivery-deployment/prerequisites/office365-email-security-mx/ /cloudflare-one/email-security/setup/pre-delivery-deployment/prerequisites/microsoft365-email-security-mx/ 301
504505
/cloudflare-one/email-security/setup/post-delivery-deployment/api/office365-api/ /cloudflare-one/email-security/setup/post-delivery-deployment/api/m365-api/ 301
505506
/cloudflare-one/email-security/setup/post-delivery-deployment/bcc-journaling/journaling-setup/office365-journaling/ /cloudflare-one/email-security/setup/post-delivery-deployment/bcc-journaling/journaling-setup/m365-journaling/ 301
507+
/cloudflare-one/email-security/setup/pre-delivery-deployment/prerequisites/microsoft365-email-security-mx/ /cloudflare-one/email-security/setup/pre-delivery-deployment/prerequisites/m365-email-security-mx/ 301
506508

507509
# firewall
508510
/firewall/api/cf-lists/ /waf/tools/lists/lists-api/ 301
-20.6 KB
Binary file not shown.
-175 KB
Binary file not shown.
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
---
2+
title: Run AI-generated code on-demand with Code Sandboxes (new)
3+
description: You can start creating sandboxes today by installing our new Sandbox package.
4+
products:
5+
- agents
6+
- workers
7+
- workflows
8+
date: 2025-06-25T15:00:00Z
9+
---
10+
11+
AI is supercharging app development for everyone, but we need a safe way to run untrusted, LLM-written code. We’re introducing [Sandboxes](https://www.npmjs.com/package/@cloudflare/sandbox), which let your Worker run actual processes in a secure, container-based environment.
12+
13+
```ts
14+
import { getSandbox } from "@cloudflare/sandbox";
15+
export { Sandbox } from "@cloudflare/sandbox";
16+
17+
export default {
18+
async fetch(request: Request, env: Env) {
19+
const sandbox = getSandbox(env.Sandbox, "my-sandbox");
20+
return sandbox.exec("ls", ["-la"]);
21+
},
22+
};
23+
```
24+
25+
### Methods
26+
27+
- `exec(command: string, args: string[], options?: { stream?: boolean })`:Execute a command in the sandbox.
28+
- `gitCheckout(repoUrl: string, options: { branch?: string; targetDir?: string; stream?: boolean })`: Checkout a git repository in the sandbox.
29+
- `mkdir(path: string, options: { recursive?: boolean; stream?: boolean })`: Create a directory in the sandbox.
30+
- `writeFile(path: string, content: string, options: { encoding?: string; stream?: boolean })`: Write content to a file in the sandbox.
31+
- `readFile(path: string, options: { encoding?: string; stream?: boolean })`: Read content from a file in the sandbox.
32+
- `deleteFile(path: string, options?: { stream?: boolean })`: Delete a file from the sandbox.
33+
- `renameFile(oldPath: string, newPath: string, options?: { stream?: boolean })`: Rename a file in the sandbox.
34+
- `moveFile(sourcePath: string, destinationPath: string, options?: { stream?: boolean })`: Move a file from one location to another in the sandbox.
35+
- `ping()`: Ping the sandbox.
36+
37+
Sandboxes are still experimental. We're using them to explore how isolated, container-like workloads might scale on Cloudflare — and to help define the developer experience around them.
38+
39+
You can try it today from your Worker, with just a few lines of code. Let us know what you build.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
title: Improved non-English keyboard support
3+
description: Introduced support for non-English keyboard configurations in the remote browser, enhancing the global user experience.
4+
date: 2024-11-21
5+
---
6+
7+
You can now type in languages that use diacritics (like á or ç) and character-based scripts (such as Chinese, Japanese, and Korean) directly within the remote browser. The isolated browser now properly recognizes non-English keyboard input, eliminating the need to copy and paste content from a local browser or device.
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
---
2+
title: Run and connect Workers in separate dev commands with the Cloudflare Vite plugin
3+
description: Workers running in separate dev commands can now communicate with each other using the Cloudflare Vite plugin.
4+
products:
5+
- workers
6+
date: 2025-06-26T15:30:00Z
7+
---
8+
9+
Workers can now talk to each other across separate dev commands using service bindings and tail consumers, whether started with `vite dev` or `wrangler dev`.
10+
11+
Simply start each Worker in its own terminal:
12+
13+
```sh
14+
# Terminal 1
15+
vite dev
16+
17+
# Terminal 2
18+
wrangler dev
19+
```
20+
21+
This is useful when different teams maintain different Workers, or when each Worker has its own build setup or tooling.
22+
23+
Check out the [Developing with multiple Workers](/workers/development-testing/multi-workers) guide to learn more about the different approaches and when to use each one.

src/content/docs/agents/api-reference/agents-api.mdx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ The Agents SDK exposes two main APIs:
1616

1717
:::note
1818

19-
Agents require [Cloudflare Durable Objects](/durable-objects/), see [Configuration](/agents/getting-started/testing-your-agent/#add-the-agent-configuration) to learn how to add the required bindings to your project.
19+
Agents require [Cloudflare Durable Objects](/durable-objects/), see [Configuration](/agents/getting-started/testing-your-agent/#add-the-agent-configuration) to learn how to add the required bindings to your project.
2020

2121
:::
2222

@@ -51,6 +51,8 @@ You can also define your own methods on an Agent: it's technically valid to publ
5151

5252
Your own methods can access the Agent's environment variables and bindings on `this.env`, state on `this.setState`, and call other methods on the Agent via `this.yourMethodName`.
5353

54+
<TypeScriptExample>
55+
5456
```ts
5557
import { Agent } from "agents";
5658

@@ -124,6 +126,8 @@ class MyAgent extends Agent<Env, State> {
124126
}
125127
```
126128

129+
</TypeScriptExample>
130+
127131
<TypeScriptExample>
128132

129133
```ts

0 commit comments

Comments
 (0)