Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions public/__redirects
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
/ssl/changelog/index.xml /changelog/rss/ssl.xml 301

## legacy
/changelog/index.xml /release-notes/index.xml 301
/release-notes/index.xml /changelog/rss/index.xml 301
/release-notes/ /changelog/ 301

# 1dot1_redirect
Expand Down Expand Up @@ -1300,7 +1300,7 @@
/support/account-management-billing/cloudflare-billing-policy/ /billing/billing-policy/ 301
/support/account-management-billing/billing-add-on-service/ /billing/usage-based-billing/ 301
/support/account-management-billing/understanding-cloudflare-sales-tax/ /billing/sales-tax/ 301
/support/account-management-billing/ /support/troubleshooting/general-troubleshooting/cannot-locate-dashboard-account/ 301
/support/account-management-billing/ /support/troubleshooting/general-troubleshooting/cannot-locate-dashboard-account/ 301
/support/account-management-billing/cannot-locate-dashboard-account/ /support/troubleshooting/general-troubleshooting/cannot-locate-dashboard-account/ 301

# r2
Expand Down
13 changes: 0 additions & 13 deletions src/content/release-notes/feed-deprecation-ddos.yaml

This file was deleted.

13 changes: 0 additions & 13 deletions src/content/release-notes/feed-deprecation-waf.yaml

This file was deleted.

20 changes: 0 additions & 20 deletions src/content/release-notes/feed-deprecation.yaml

This file was deleted.

95 changes: 0 additions & 95 deletions src/pages/release-notes/index.xml.ts

This file was deleted.

28 changes: 0 additions & 28 deletions worker/index.worker.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,6 @@ describe("Cloudflare Docs", () => {
expect(response.headers.get("Location")).toBe("/products/");
});

it("redirects /changelog/index.xml to /release-notes/index.xml", async () => {
const request = new Request("http://fakehost/changelog/index.xml");
const response = await SELF.fetch(request, { redirect: "manual" });
expect(response.status).toBe(301);
expect(response.headers.get("Location")).toBe("/release-notes/index.xml");
});

it("redirects /changelog-next/ to /changelog/", async () => {
const request = new Request("http://fakehost/changelog-next/");
const response = await SELF.fetch(request, { redirect: "manual" });
Expand Down Expand Up @@ -166,27 +159,6 @@ describe("Cloudflare Docs", () => {
expect(item.pubDate).toBe("Mon, 03 Mar 2025 06:00:00 GMT");
});

it("legacy global", async () => {
const request = new Request("http://fakehost/release-notes/index.xml");
const response = await SELF.fetch(request);

expect(response.status).toBe(200);

const xml = await response.text();
const parsed = parser.parse(xml);
const { channel } = parsed.rss;

expect(channel.title).toBe("Cloudflare release notes");

const item = channel.item.find(
(item: any) => item.title === "WAF - 2025-02-24",
);

expect(item).toBeDefined();
expect(item.product).toBe("WAF");
expect(item.pubDate).toBe("Mon, 24 Feb 2025 00:00:00 GMT");
});

it("legacy product-specific", async () => {
const request = new Request("http://fakehost/waf/change-log/index.xml");
const response = await SELF.fetch(request);
Expand Down
Loading