Skip to content

Commit 2d7cf03

Browse files
committed
Merge branch 'production' into ranbel/api-terraform
2 parents 5f9edaa + 698da86 commit 2d7cf03

File tree

60 files changed

+1019
-454
lines changed

Some content is hidden

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

60 files changed

+1019
-454
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ jobs:
6565
- run: npm run build
6666
env:
6767
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
68-
NODE_OPTIONS: "--max-old-space-size=4192"
68+
NODE_OPTIONS: "--max-old-space-size=6144"
6969
RUN_LINK_CHECK: true
7070

7171
- run: npm run check:worker
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# Close stale issues and pull requests (uses actions/stale@v4 with GITHUB_TOKEN)
2+
on:
3+
schedule:
4+
- cron: '0 0 * * 1' # weekly run: every Monday at 00:00 UTC
5+
workflow_dispatch:
6+
7+
permissions:
8+
issues: write
9+
pull-requests: write
10+
11+
name: Close stale issues and PRs
12+
13+
jobs:
14+
stale:
15+
runs-on: ubuntu-latest
16+
steps:
17+
- name: Run stale action
18+
uses: actions/stale@v4
19+
with:
20+
repo-token: ${{ secrets.GITHUB_TOKEN }}
21+
# Messages for issues (mention the issue author)
22+
stale-issue-message: 'Hello @{{author}}, this issue has been automatically marked as stale because it has not had recent activity. It will be auto-closed after and additional 10 days of inactivity. Please feel free to add a comment and we would be happy to continue working on it.'
23+
close-issue-message: 'Hello @{{author}}, this issue has been automatically closed due to 45 days of inactivity. If needed, please reopen or comment and we can reevaluate your request.'
24+
# Messages for pull requests (mention the PR author)
25+
stale-pr-message: 'Hello @{{author}}, this pull request has been automatically marked as stale because it has not had recent activity. It will be auto-closed after and additional 10 days of inactivity. Please feel free to add a comment and we would be happy to continue working on it.'
26+
close-pr-message: 'Hello @{{author}}, this pull request has been automatically closed due to 45 days of inactivity. If needed, please reopen or comment and we can reevaluate your request.'
27+
# Time thresholds (adjust to your policy)
28+
days-before-stale: 35
29+
days-before-close: 10
30+
operations-per-run: 5

public/__redirects

Lines changed: 268 additions & 310 deletions
Large diffs are not rendered by default.

src/components/WranglerConfig.astro

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,10 @@ let toml, json;
3838
3939
if (language === "toml") {
4040
toml = code;
41-
json = JSON.stringify(TOML.parse(code), null, 2);
41+
json = JSON.stringify({
42+
"$schema": "./node_modules/wrangler/config-schema.json",
43+
...TOML.parse(code),
44+
}, null, 2);
4245
} else {
4346
json = code;
4447
toml = TOML.stringify(jsoncParse(code));
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
---
2+
title: "WAF Release - 2025-10-30 - Emergency"
3+
description: Cloudflare WAF managed rulesets 2025-10-30 emergency release
4+
date: 2025-10-30
5+
---
6+
7+
import { RuleID } from "~/components";
8+
9+
This week’s release introduces a new detection signature that enhances coverage for a critical vulnerability in Oracle E-Business Suite, tracked as CVE-2025-61884.
10+
11+
**Key Findings**
12+
13+
The flaw is easily exploitable and allows an unauthenticated attacker with network access to compromise Oracle Configurator, which can grant access to sensitive resources and configuration data. The affected versions include 12.2.3 through 12.2.14.
14+
15+
**Impact**
16+
17+
Successful exploitation of CVE-2025-61884 may result in unauthorized access to critical business data or full exposure of information accessible through Oracle Configurator. Administrators are strongly advised to apply vendor's patches and recommended mitigations to reduce this exposure.
18+
19+
<table style="width: 100%">
20+
<thead>
21+
<tr>
22+
<th>Ruleset</th>
23+
<th>Rule ID</th>
24+
<th>Legacy Rule ID</th>
25+
<th>Description</th>
26+
<th>Previous Action</th>
27+
<th>New Action</th>
28+
<th>Comments</th>
29+
</tr>
30+
</thead>
31+
<tbody>
32+
<tr>
33+
<td>Cloudflare Managed Ruleset</td>
34+
<td>
35+
<RuleID id="2749f13f8cb34a3dbd49c8c48827402f" />
36+
</td>
37+
<td>N/A</td>
38+
<td>Oracle E-Business Suite - SSRF - CVE:CVE-2025-61884</td>
39+
<td>N/A</td>
40+
<td>Block</td>
41+
<td>This is a New Detection</td>
42+
</tr>
43+
</tbody>
44+
</table>
Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
---
2+
title: Build TanStack Start apps with the Cloudflare Vite plugin
3+
description: TanStack Start can now be used with the Cloudflare Vite plugin
4+
products:
5+
- workers
6+
date: 2025-10-24
7+
---
8+
9+
import { PackageManagers, WranglerConfig } from "~/components";
10+
11+
The [Cloudflare Vite plugin](/workers/vite-plugin/) now supports [TanStack Start](https://tanstack.com/start/) apps.
12+
Get started with new or existing projects.
13+
14+
## New projects
15+
16+
Create a new TanStack Start project that uses the Cloudflare Vite plugin via the `create-cloudflare` CLI:
17+
18+
<PackageManagers
19+
type="create"
20+
pkg="cloudflare@latest"
21+
args="my-tanstack-start-app --framework=tanstack-start"
22+
/>
23+
24+
## Existing projects
25+
26+
Migrate an existing TanStack Start project to use the Cloudflare Vite plugin:
27+
28+
1. Install `@cloudflare/vite-plugin` and `wrangler`
29+
30+
<PackageManagers type="add" pkg="@cloudflare/vite-plugin wrangler" dev />
31+
32+
2. Add the Cloudflare plugin to your Vite config
33+
34+
```ts {4, 8} title="vite.config.ts"
35+
import { defineConfig } from "vite";
36+
import { tanstackStart } from "@tanstack/react-start/plugin/vite";
37+
import viteReact from "@vitejs/plugin-react";
38+
import { cloudflare } from "@cloudflare/vite-plugin";
39+
40+
export default defineConfig({
41+
plugins: [
42+
cloudflare({ viteEnvironment: { name: "ssr" } }),
43+
tanstackStart(),
44+
viteReact(),
45+
],
46+
});
47+
```
48+
49+
3. Add your Worker config file
50+
51+
<WranglerConfig>
52+
53+
```toml
54+
name = "my-tanstack-start-app"
55+
compatibility_date = "2025-10-11"
56+
compatibility_flags = ["nodejs_compat"]
57+
main = "@tanstack/react-start/server-entry"
58+
```
59+
60+
</WranglerConfig>
61+
62+
4. Modify the scripts in your `package.json`
63+
64+
```json title="package.json" del={5} ins={6-8}
65+
{
66+
"scripts": {
67+
"dev": "vite dev",
68+
"build": "vite build && tsc --noEmit",
69+
"start": "node .output/server/index.mjs",
70+
"preview": "vite preview",
71+
"deploy": "npm run build && wrangler deploy",
72+
"cf-typegen": "wrangler types"
73+
}
74+
}
75+
```
76+
77+
See the [TanStack Start framework guide](/workers/framework-guides/web-apps/tanstack-start/) for more info.

src/content/docs/browser-rendering/rest-api/pdf-endpoint.mdx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,8 @@ curl -X POST 'https://api.cloudflare.com/client/v4/accounts/<accountId>/browser-
192192
"left": "30px"
193193
},
194194
"timeout": 30000
195-
}
195+
}`
196+
```
196197
197198
<Render
198199
file="setting-custom-user-agent"

src/content/docs/byoip/address-maps/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Both IPv4 and IPv6 addresses are supported.
2424

2525
For zones using [Cloudflare's authoritative DNS](/dns/), Cloudflare typically responds to DNS queries for proxied hostnames with [anycast IPs](/fundamentals/concepts/cloudflare-ip-addresses/). However, if you [customize the IPs Cloudflare uses](/fundamentals/concepts/cloudflare-ip-addresses/#customize-cloudflare-ip-addresses) and use Address Maps, Cloudflare will respond with the IP address(es) on the address map.
2626

27-
Address maps do not change [how Cloudflare reaches the configured origin](/fundamentals/concepts/how-cloudflare-works/#how-cloudflare-works-as-a-reverse-proxy). The IP addresses defined on the **DNS** > **Records** under your zone continue to instruct Cloudflare how to reach the origin.
27+
Address maps do not change [how Cloudflare reaches the configured origin](/fundamentals/concepts/how-cloudflare-works/#how-cloudflare-works-as-a-reverse-proxy). The IP addresses defined on your zone's [DNS Records](https://dash.cloudflare.com/?to=/:account/:zone/dns/records) continue to instruct Cloudflare how to reach the origin.
2828

2929
:::caution
3030
Depending on whether you use static IPs or BYOIP, the process to [create an address map](/byoip/address-maps/setup/) is different.

src/content/docs/byoip/service-bindings/cdn-and-spectrum.mdx

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -134,12 +134,14 @@ As you create the necessary DNS records, [Total TLS](/ssl/edge-certificates/addi
134134

135135
To create a DNS record in the dashboard:
136136

137-
1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/login) and select an account and domain.
138-
2. Go to **DNS** > **Records**.
139-
3. Select **Add record**.
140-
4. Choose an address (`A`/`AAAA`) [record type](/dns/manage-dns-records/reference/dns-record-types/).
141-
5. Complete the required fields, setting the **Proxy status** to **proxied**.
142-
6. Select **Save**.
137+
1. In the Cloudflare dashboard, go to the **DNS Records** page.
138+
139+
<DashButton url="/?to=/:account/:zone/dns/records" />
140+
141+
2. Select **Add record**.
142+
3. Choose an address (`A`/`AAAA`) [record type](/dns/manage-dns-records/reference/dns-record-types/).
143+
4. Complete the required fields, setting the **Proxy status** to **proxied**.
144+
5. Select **Save**.
143145

144146
</TabItem>
145147
<TabItem label="API" no-code="true">

src/content/docs/byoip/service-bindings/magic-transit-with-cdn.mdx

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -101,12 +101,14 @@ Make sure you have the correct Key/Token and permissions.
101101

102102
To create a DNS record in the dashboard:
103103

104-
1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/login) and select an account and domain.
105-
2. Go to **DNS** > **Records**.
106-
3. Select **Add record**.
107-
4. Choose an address (`A`/`AAAA`) [record type](/dns/manage-dns-records/reference/dns-record-types/).
108-
5. Complete the required fields, setting the **Proxy status** to **proxied**.
109-
6. Select **Save**.
104+
1. In the Cloudflare dashboard, go to the **DNS Records** page.
105+
106+
<DashButton url="/?to=/:account/:zone/dns/records" />
107+
108+
2. Select **Add record**.
109+
3. Choose an address (`A`/`AAAA`) [record type](/dns/manage-dns-records/reference/dns-record-types/).
110+
4. Complete the required fields, setting the **Proxy status** to **proxied**.
111+
5. Select **Save**.
110112

111113
</TabItem>
112114
<TabItem label="API" no-code="true">

0 commit comments

Comments
 (0)