Skip to content

Commit 2714d53

Browse files
Merge branch 'production' into patricia/pcx11286-14979-14981
2 parents 9a07af6 + be5fdcd commit 2714d53

File tree

467 files changed

+1078
-1127
lines changed

Some content is hidden

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

467 files changed

+1078
-1127
lines changed

package-lock.json

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

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,11 @@
3535
"@astrojs/starlight-tailwind": "^2.0.3",
3636
"@astrojs/tailwind": "^5.1.3",
3737
"@cloudflare/puppeteer": "^0.0.14",
38-
"@cloudflare/vitest-pool-workers": "^0.5.36",
38+
"@cloudflare/vitest-pool-workers": "^0.5.37",
3939
"@cloudflare/workers-types": "^4.20241112.0",
4040
"@codingheads/sticky-header": "^1.0.2",
4141
"@iarna/toml": "^2.2.5",
42-
"@iconify-json/material-symbols": "^1.2.10",
42+
"@iconify-json/material-symbols": "^1.2.11",
4343
"@stoplight/json-schema-tree": "^4.0.0",
4444
"@types/dompurify": "^3.2.0",
4545
"@types/hast": "^3.0.4",
@@ -54,7 +54,7 @@
5454
"astro-live-code": "^0.0.4",
5555
"date-fns": "^4.1.0",
5656
"detype": "1.0.12",
57-
"dompurify": "3.2.1",
57+
"dompurify": "3.2.3",
5858
"dot-prop": "^9.0.0",
5959
"fast-glob": "^3.3.2",
6060
"github-slugger": "^2.0.0",
@@ -85,7 +85,7 @@
8585
"solarflare-theme": "^0.0.2",
8686
"starlight-image-zoom": "^0.9.0",
8787
"starlight-links-validator": "^0.13.4",
88-
"starlight-package-managers": "^0.8.0",
88+
"starlight-package-managers": "^0.8.1",
8989
"svgo": "^3.3.2",
9090
"tailwindcss": "^3.4.16",
9191
"tippy.js": "^6.3.7",

public/_redirects

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -645,7 +645,7 @@
645645
/images/cloudflare-images/upload-images/custom-id/ /images/upload-images/upload-custom-path/ 301
646646
/images/cloudflare-images/upload-images/dashboard-upload/ /images/upload-images/upload-dashboard/ 301
647647
/images/cloudflare-images/upload-images/direct-creator-upload/ /images/upload-images/direct-creator-upload/ 301
648-
/images/cloudflare-images/upload-images/images-batch/ /api/operations/cloudflare-images-list-images 301
648+
/images/cloudflare-images/upload-images/images-batch/ /api/resources/images/subresources/v2/methods/list/ 301
649649
/images/cloudflare-images/upload-images/upload-via-url/ /images/upload-images/upload-url/ 301
650650
/images/faq/ /images/ 301
651651
/images/image-resizing/ /images/manage-images/create-variants/ 301
@@ -1319,9 +1319,9 @@
13191319
/workers/about/tips/signing-requests/ /workers/examples/signing-requests/ 301
13201320
/workers/about/using-cache/ /workers/reference/how-the-cache-works/ 301
13211321
/workers/learning/how-the-cache-works/ /workers/reference/how-the-cache-works/ 301
1322-
/workers/api/ /api/operations/worker-script-list-workers 301
1322+
/workers/api/ /api/resources/workers/subresources/scripts/methods/list/ 301
13231323
/workers/learning/how-kv-works/ /kv/learning/how-kv-works/ 301
1324-
/workers/api/resource-bindings/webassembly-modules/ /api/operations/worker-script-list-workers 301
1324+
/workers/api/resource-bindings/webassembly-modules/ /api/resources/workers/subresources/scripts/methods/list/ 301
13251325
/workers/api/route-matching/ /workers/platform/routing/routes/ 301
13261326
/workers/cli-wrangler/ /workers/wrangler/ 301
13271327
/workers/cli-wrangler/configuration/ /workers/wrangler/configuration/ 301
@@ -1336,7 +1336,7 @@
13361336
/workers/learning/fetch-event-lifecycle/ /workers/runtime-apis/fetch-event/ 301
13371337
/workers/learning/getting-started/ /workers/get-started/guide/ 301
13381338
/workers/learning/profiling-workers/ /workers/reference/how-workers-works/ 301
1339-
/workers/platform/scripts/ /api/operations/worker-script-list-workers 301
1339+
/workers/platform/scripts/ /api/resources/workers/subresources/scripts/methods/list/ 301
13401340
/workers/platform/services/ /workers/runtime-apis/bindings/service-bindings/ 301
13411341
/workers/platform/web-assembly/ /workers/platform/webassembly/ 301
13421342
/workers/platform/web-assembly/rust/ /workers/platform/webassembly/rust/ 301

src/components/ProductFeatures.astro

Lines changed: 65 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ const entries = Object.entries(plan);
3838
<a href={value.link}>{value.title}</a>
3939
</p>
4040
)}
41-
{Object.entries(value.properties).map(([_, value]: [string, any]) => (
41+
{Object.values(value.properties).map((value: any) => (
4242
<p>
4343
<strong
4444
set:html={marked.parseInline(
@@ -51,52 +51,78 @@ const entries = Object.entries(plan);
5151
<p>{value.summary}</p>
5252
)}
5353
<ul>
54-
<li>
55-
<strong>Free: </strong>
56-
<Fragment
57-
set:html={marked.parseInline(value.free.toString())}
58-
/>
59-
</li>
54+
{value.free && (
55+
<li>
56+
<strong>Free: </strong>
57+
<Fragment
58+
set:html={marked.parseInline(value.free.toString())}
59+
/>
60+
</li>
61+
)}
6062
{additional_descriptions && (
63+
<>
64+
{value.lite ||
65+
(value.free && (
66+
<li>
67+
<strong>Lite: </strong>
68+
{value.lite ? (
69+
<Fragment
70+
set:html={marked.parseInline(value.lite.toString())}
71+
/>
72+
) : (
73+
<Fragment
74+
set:html={marked.parseInline(value.free.toString())}
75+
/>
76+
)}
77+
</li>
78+
))}
79+
</>
80+
)}
81+
{value.pro && (
6182
<li>
62-
<strong>Lite: </strong>
63-
{value.lite ? (
64-
<Fragment
65-
set:html={marked.parseInline(value.lite.toString())}
66-
/>
67-
) : (
68-
<Fragment
69-
set:html={marked.parseInline(value.free.toString())}
70-
/>
71-
)}
83+
<strong>Pro: </strong>
84+
<Fragment
85+
set:html={marked.parseInline(value.pro.toString())}
86+
/>
7287
</li>
7388
)}
74-
<li>
75-
<strong>Pro: </strong>
76-
<Fragment set:html={marked.parseInline(value.pro.toString())} />
77-
</li>
7889
{additional_descriptions && (
90+
<>
91+
{value.pro_plus ||
92+
(value.pro && (
93+
<li>
94+
<strong>Pro Plus: </strong>
95+
{value.pro_plus ? (
96+
<Fragment
97+
set:html={marked.parseInline(
98+
value.pro_plus.toString(),
99+
)}
100+
/>
101+
) : (
102+
<Fragment
103+
set:html={marked.parseInline(value.pro.toString())}
104+
/>
105+
)}
106+
</li>
107+
))}
108+
</>
109+
)}
110+
{value.biz && (
111+
<li>
112+
<strong>Business: </strong>
113+
<Fragment
114+
set:html={marked.parseInline(value.biz.toString())}
115+
/>
116+
</li>
117+
)}
118+
{value.ent && (
79119
<li>
80-
<strong>Pro Plus: </strong>
81-
{value.pro_plus ? (
82-
<Fragment
83-
set:html={marked.parseInline(value.pro_plus.toString())}
84-
/>
85-
) : (
86-
<Fragment
87-
set:html={marked.parseInline(value.pro.toString())}
88-
/>
89-
)}
120+
<strong>Enterprise: </strong>
121+
<Fragment
122+
set:html={marked.parseInline(value.ent.toString())}
123+
/>
90124
</li>
91125
)}
92-
<li>
93-
<strong>Business: </strong>
94-
<Fragment set:html={marked.parseInline(value.biz.toString())} />
95-
</li>
96-
<li>
97-
<strong>Enterprise: </strong>
98-
<Fragment set:html={marked.parseInline(value.ent.toString())} />
99-
</li>
100126
</ul>
101127
</p>
102128
))}

src/components/TypeScriptExample.astro

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,11 @@ if (!code) {
5858
5959
code = code.replace(/\u007f/g, "\n");
6060
61-
const js = await transform(code, "placeholder.ts");
61+
const js = await transform(code, "placeholder.ts", {
62+
prettierOptions: {
63+
useTabs: true,
64+
},
65+
});
6266
6367
const TabsWrapper = tabsWrapper ? Tabs : Fragment;
6468
---

src/content/changelogs/ai-gateway.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ entries:
9292
- publish_date: "2024-05-09"
9393

9494
description: |-
95-
* Added new endpoints to the [REST API](/api/operations/aig-config-create-gateway).
95+
* Added new endpoints to the [REST API](/api/resources/ai_gateway/methods/create/).
9696
9797
- publish_date: "2024-03-26"
9898

src/content/changelogs/api-deprecations.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ entries:
1010
description: |-
1111
Deprecation date: November 21, 2025
1212
13-
The `self_hosted_domains` field for [Access applications](https://developers.cloudflare.com/api/operations/access-applications-update-an-access-application) is deprecated in favor of `destinations` to allow for more flexibility in defining different types of domains.
13+
The `self_hosted_domains` field for [Access applications](https://developers.cloudflare.com/api/resources/zero_trust/subresources/access/subresources/applications/methods/update/) is deprecated in favor of `destinations` to allow for more flexibility in defining different types of domains.
1414
1515
Before:
1616
```json
@@ -57,7 +57,7 @@ entries:
5757
Deprecation date: March 21, 2025
5858
5959
The Zone Settings API endpoints for managing zone-level CNAME flattening are deprecated.
60-
Instead, use the [Show DNS Settings](/api/operations/dns-settings-for-a-zone-list-dns-settings) and [Update DNS Settings](/api/operations/dns-settings-for-a-zone-update-dns-settings) endpoints to manage this setting.
60+
Instead, use the [Show DNS Settings](/api/resources/dns/subresources/settings/methods/get/) and [Update DNS Settings](/api/resources/dns/subresources/settings/methods/edit/) endpoints to manage this setting.
6161
6262
Changes via the old endpoints will be reflected in the new ones, and vice versa, so there is no need to migrate existing zones. However, future API calls must use DNS Settings instead of the Zone Settings endpoints.
6363
@@ -80,7 +80,7 @@ entries:
8080
Deprecation date: March 14, 2025
8181
8282
The fields `"default_nameservers"` and `"use_account_custom_ns_by_default"` within the `"settings"` object of accounts are deprecated.
83-
Instead, use the [Show DNS Settings](/api/operations/dns-settings-for-an-account-list-dns-settings) and [Update DNS Settings](/api/operations/dns-settings-for-an-account-update-dns-settings) endpoints to manage this setting.
83+
Instead, use the [Show DNS Settings](/api/resources/dns/subresources/settings/methods/get/) and [Update DNS Settings](/api/resources/dns/subresources/settings/methods/edit/) endpoints to manage this setting.
8484
This setting is available in the new API as `.zone_defaults.nameservers.type`, with allowed values `"cloudflare.standard"`, `"cloudflare.standard.random"`, `"custom.account"` and `"custom.tenant"`.
8585
8686
Changes via the old endpoints will be reflected in the new ones, and vice versa, so there is no need to migrate existing zones. However, future API calls must use DNS Settings instead of the Accounts endpoints.
@@ -283,7 +283,7 @@ entries:
283283
284284
The dedicated endpoints for DNS settings `use_apex_ns` and `secondary_overrides` are being deprecated.
285285
286-
Instead, use the [Show DNS Settings](/api/operations/dns-settings-for-a-zone-list-dns-settings) and [Update DNS Settings](/api/operations/dns-settings-for-a-zone-update-dns-settings) endpoints to manage these settings.
286+
Instead, use the [Show DNS Settings](/api/resources/dns/subresources/settings/methods/get/) and [Update DNS Settings](/api/resources/dns/subresources/settings/methods/edit/) endpoints to manage these settings.
287287
288288
- Instead of the `.../use_apex_ns` endpoint, use the `multi_provider` field.
289289
- Instead of the `.../secondary_overrides` endpoint, use the `secondary_overrides` field.
@@ -371,7 +371,7 @@ entries:
371371
372372
The complete name would then be, e.g., `_xmpp._tcp.example.com`.
373373
374-
When interacting with DNS records through the [API](/api/operations/dns-records-for-a-zone-create-dns-record), SRV records contain both a full `name` as well as a `data` map containing the individual components of the name:
374+
When interacting with DNS records through the [API](/api/resources/dns/subresources/records/methods/create/), SRV records contain both a full `name` as well as a `data` map containing the individual components of the name:
375375
376376
```txt
377377
{

0 commit comments

Comments
 (0)