Skip to content

Commit c0f2090

Browse files
authored
Merge branch 'production' into max/gw/http-redirect
2 parents 29f467e + 659e18e commit c0f2090

File tree

164 files changed

+2266
-1279
lines changed

Some content is hidden

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

164 files changed

+2266
-1279
lines changed

.github/workflows/pr.yml

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -18,27 +18,3 @@ jobs:
1818
- uses: ./.github/actions/assign-pr
1919
with:
2020
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
21-
22-
review_comment:
23-
name: Add review comment
24-
runs-on: ubuntu-latest
25-
steps:
26-
- id: check_if_contributor_is_external
27-
name: Check if contributor is external
28-
run: 'curl --write-out ''%{http_code}'' --silent --output /dev/null -L -H "Accept: application/vnd.github+json" -H "Authorization: Bearer ${{ env.GH_TOKEN }}" -H "X-GitHub-Api-Version: 2022-11-28" https://api.github.com/orgs/cloudflare/members/${{ github.event.pull_request.user.login }} | grep -q ''204'' && echo "is_external=false" >> $GITHUB_OUTPUT || echo "is_external=true" >> $GITHUB_OUTPUT'
29-
env:
30-
GH_TOKEN: ${{ secrets.HOLOPIN_LABELER }}
31-
- name: External comment
32-
run: gh pr comment "$NUMBER" --body "Howdy and thanks for contributing to our repo. We review new, external PRs within **two (2) weeks**. If it's been two weeks or longer without any movement, please tag the PR **Assignees** in a comment."
33-
if: steps.check_if_contributor_is_external.outputs.is_external == 'true'
34-
env:
35-
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
36-
GH_REPO: ${{ github.repository }}
37-
NUMBER: ${{ github.event.pull_request.number }}
38-
- name: Internal comment
39-
run: gh pr comment "$NUMBER" --body "Howdy and thanks for contributing to our repo. We review internal PRs within **1 week**. If it's something urgent or has been sitting without a comment, start a thread in the *Developer Docs* space internally."
40-
if: steps.check_if_contributor_is_external.outputs.is_external == 'false'
41-
env:
42-
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
43-
GH_REPO: ${{ github.repository }}
44-
NUMBER: ${{ github.event.pull_request.number }}

.hyperlint/config.yaml

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,16 @@
11
content_dir: /src/content
2-
authorized_users:
3-
- dcpena
4-
- kodster28
5-
- KianNH
6-
- marciocloudflare
7-
- pedrosousa
8-
- ranbel
9-
- RebeccaTamachiro
10-
style_guide:
2+
reviewer:
3+
custom_comment: |-
4+
Howdy and thanks for contributing to our repo. The Cloudflare team reviews new, external PRs within **two (2) weeks**. If it's been two weeks or longer without any movement, please tag the PR **Assignees** in a comment.
5+
6+
We review internal PRs within **1 week**. If it's something urgent or has been sitting without a comment, start a thread in the *Developer Docs* space internally.
117
enabled: true
12-
openapi:
13-
enabled: true
14-
urls:
15-
- https://raw.githubusercontent.com/cloudflare/api-schemas/main/openapi.json
8+
external_link_validation:
9+
check_status_upon_review_failure: neutral
10+
summarize_pull_request:
11+
enabled: true
12+
vale_style_guide:
13+
check_status_upon_review_failure: neutral
14+
enabled: true
15+
limit_num_reviews: 2
16+
limit_num_comments: 7

astro.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,11 +103,11 @@ export default defineConfig({
103103
components: {
104104
Footer: "./src/components/overrides/Footer.astro",
105105
Head: "./src/components/overrides/Head.astro",
106+
Header: "./src/components/overrides/Header.astro",
106107
Hero: "./src/components/overrides/Hero.astro",
107108
MarkdownContent: "./src/components/overrides/MarkdownContent.astro",
108109
Sidebar: "./src/components/overrides/Sidebar.astro",
109110
PageTitle: "./src/components/overrides/PageTitle.astro",
110-
SocialIcons: "./src/components/overrides/SocialIcons.astro",
111111
TableOfContents: "./src/components/overrides/TableOfContents.astro",
112112
},
113113
sidebar,

package-lock.json

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

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@
4040
"@cloudflare/workers-types": "4.20250303.0",
4141
"@codingheads/sticky-header": "1.0.2",
4242
"@expressive-code/plugin-collapsible-sections": "0.40.2",
43+
"@floating-ui/react": "0.27.5",
4344
"@iarna/toml": "2.2.5",
4445
"@marsidev/react-turnstile": "1.1.0",
4546
"@octokit/webhooks-types": "7.6.1",
@@ -49,7 +50,7 @@
4950
"@types/node": "22.13.9",
5051
"@types/react": "19.0.7",
5152
"@types/react-dom": "19.0.4",
52-
"@typescript-eslint/parser": "8.25.0",
53+
"@typescript-eslint/parser": "8.26.0",
5354
"algoliasearch": "5.20.4",
5455
"astro": "5.4.1",
5556
"astro-breadcrumbs": "3.3.1",

public/_redirects

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -305,6 +305,7 @@
305305
/d1/platform/environments/ /d1/configuration/environments/ 301
306306
/d1/platform/metrics-analytics/ /d1/observability/metrics-analytics/ 301
307307
/d1/platform/migrations/ /d1/reference/migrations/ 301
308+
/d1/platform/changelog/ /d1/platform/release-notes/ 301
308309
/d1/reference/client-api/ /d1/worker-api/ 301
309310
/d1/reference/environments/ /d1/configuration/environments/ 301
310311
/d1/reference/metrics-analytics/ /d1/observability/metrics-analytics/ 301
@@ -416,7 +417,8 @@
416417
/durable-objects/reference/graphql-analytics/ /durable-objects/observability/graphql-analytics/ 301
417418
/durable-objects/reference/websockets/ /durable-objects/best-practices/websockets/ 301
418419
/durable-objects/api/transactional-storage-api/ /durable-objects/api/storage-api/ 301
419-
/durable-objects/platform/changelog/ /durable-objects/changelog/ 301
420+
/durable-objects/platform/changelog/ /durable-objects/release-notes/ 301
421+
/durable-objects/changelog/ /durable-objects/release-notes/ 301
420422
/durable-objects/glossary/ /durable-objects/reference/glossary/ 301
421423
/durable-objects/get-started/walkthrough/ /durable-objects/get-started/tutorial/ 301
422424

@@ -1293,8 +1295,9 @@
12931295
/r2/examples/boto3/ /r2/examples/aws/boto3/ 301
12941296
/r2/buckets/data-location/ /r2/reference/data-location/ 301
12951297
/r2/reference/audit-logs/ /r2/platform/audit-logs/ 301
1296-
/r2/reference/changelog/ /r2/platform/changelog/ 301
1297-
/r2/reference/changelog/index.xml /r2/platform/changelog/index.xml 301
1298+
/r2/reference/changelog/ /r2/platform/release-notes/ 301
1299+
/r2/reference/changelog/index.xml /r2/platform/release-notes/index.xml 301
1300+
/r2/platform/changelog/ /r2/platform/release-notes 301
12981301
/r2/reference/limits/ /r2/platform/limits/ 301
12991302
/r2/reference/metrics-analytics/ /r2/platform/metrics-analytics/ 301
13001303
/r2/examples/mastodon/ /r2/tutorials/mastodon/ 301
@@ -1651,6 +1654,7 @@
16511654
# workers KV
16521655
/kv/platform/environments/ /kv/reference/environments/ 301
16531656
/kv/platform/kv-commands/ /kv/reference/kv-commands/ 301
1657+
/kv/platform/changelog/ /kv/platform/release-notes/ 301
16541658
/kv/learning/ /kv/reference/ 301
16551659
/kv/learning/how-kv-works/ /kv/concepts/how-kv-works/ 301
16561660
/kv/learning/kv-bindings/ /kv/concepts/kv-bindings/ 301
@@ -1684,7 +1688,8 @@
16841688
/hyperdrive/learning/query-caching/ /hyperdrive/configuration/query-caching/ 301
16851689
/hyperdrive/learning/troubleshooting/ /hyperdrive/reference/troubleshooting/ 301
16861690
/hyperdrive/platform/supported-databases/ /hyperdrive/reference/supported-databases/ 301
1687-
/hyperdrive/changelog/ /hyperdrive/platform/changelog/ 301
1691+
/hyperdrive/changelog/ /hyperdrive/platform/release-notes/ 301
1692+
/hyperdrive/platform/changelog/ /hyperdrive/platform/release-notes/ 301
16881693
/hyperdrive/learning/ /hyperdrive/configuration/ 301
16891694
/hyperdrive/reference/metrics/ /hyperdrive/observability/metrics/ 301
16901695
/hyperdrive/reference/troubleshooting/ /hyperdrive/observability/troubleshooting/ 301
-74.6 KB
Binary file not shown.

src/components/APIRequest.astro

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,10 @@ if (!operation) {
4141
);
4242
}
4343
44-
const url = new URL(path, "https://api.cloudflare.com/client/v4");
44+
const url = new URL(
45+
path.startsWith("/") ? path.slice(1) : path,
46+
"https://api.cloudflare.com/client/v4/",
47+
);
4548
const headers: Record<string, string> = {};
4649
4750
const providedParameters = Object.keys(parameters ?? {});

0 commit comments

Comments
 (0)