Skip to content

Commit 41aa380

Browse files
committed
Main product feed + casb + browser-isolation
1 parent 02a3df9 commit 41aa380

File tree

15 files changed

+78
-331
lines changed

15 files changed

+78
-331
lines changed

.vscode/settings.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,11 @@
44
"editor.defaultFormatter": "esbenp.prettier-vscode",
55
"typescript.tsdk": "node_modules/typescript/lib",
66
"cSpell.enableFiletypes": ["mdx"],
7-
"files.associations": { "__redirects": "plaintext", "_headers": "plaintext" }
7+
"files.associations": {
8+
"__redirects": "plaintext",
9+
"_headers": "plaintext"
10+
},
11+
"[astro]": {
12+
"editor.defaultFormatter": "astro-build.astro-vscode"
13+
}
814
}

public/__redirects

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,16 @@
1111
/changelog/rss.xml /changelog/rss/index.xml 301
1212
/api-shield/changelog/index.xml /changelog/rss/api-shield.xml 301
1313
/cache/changelog/index.xml /changelog/rss/cache.xml 301
14+
/cloudflare-one/changelog/index.xml changelog/rss/cloudflare-one.xml 301
15+
/cloudflare-one/changelog/access/index.xml /changelog/rss/access.xml 301
16+
/cloudflare-one/changelog/browser-isolation/index.xml /changelog/rss/browser-isolation.xml 301
17+
/cloudflare-one/changelog/casb/index.xml /changelog/rss/casb.xml 301
18+
/cloudflare-one/changelog/dex/index.xml /changelog/rss/dex.xml 301
19+
/cloudflare-one/changelog/dlp/index.xml /changelog/rss/dlp.xml 301
20+
/cloudflare-one/changelog/email-security/index.xml /changelog/rss/email-security.xml 301
21+
/cloudflare-one/changelog/gateway/index.xml /changelog/rss/gateway.xml 301
22+
/cloudflare-one/changelog/risk-score/index.xml /changelog/rss/risk-score.xml 301
23+
/cloudflare-one/changelog/tunnel/index.xml /changelog/rss/cloudflare-tunnel.xml 301
1424
/dns/changelog/index.xml /changelog/rss/dns.xml 301
1525
/fundamentals/changelog/index.xml /changelog/rss/fundamentals.xml 301
1626
/logs/changelog/index.xml /changelog/rss/logs.xml 301

src/components/ProductChangelog.astro

Lines changed: 27 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ import { slug } from "github-slugger";
77
import RSSButton from "~/components/RSSButton.astro";
88
import AnchorHeading from "~/components/AnchorHeading.astro";
99
import { format } from "date-fns";
10+
import ProductPills from "~/components/changelog/ProductPills.astro";
11+
1012
const props = z
1113
.object({
1214
product: reference("products"),
@@ -24,8 +26,10 @@ const props = z
2426
const input = await props.parseAsync(Astro.props);
2527
let filter: GetChangelogsOptions["filter"];
2628
let rss: string;
29+
let areaFeed: boolean
2730
if ("product" in input) {
2831
rss = `/changelog/rss/${input.product.id}.xml`;
32+
areaFeed = false;
2933
filter = (e) => {
3034
return (
3135
!e.data.hidden &&
@@ -35,6 +39,7 @@ if ("product" in input) {
3539
};
3640
} else {
3741
rss = `/changelog/rss/${slug(input.area)}.xml`;
42+
areaFeed = true;
3843
const products = await getCollection("products", (e) => {
3944
return e.data.product.group === input.area &&
4045
input.hideEntry !== e.id;
@@ -53,12 +58,28 @@ const changelogs = await getChangelogs({ filter });
5358

5459

5560
const { Content } = await render(entry);
56-
return (
57-
<AnchorHeading depth={2} title={format(entry.data.date, "yyyy-MM-dd")} />
58-
<br/>
59-
<strong>{entry.data.title}</strong>
60-
<br/>
61-
<Content />
61+
// If areaFeed is true, add ProductPills
62+
if (areaFeed === true) {
63+
return (
64+
<AnchorHeading depth={2} title={format(entry.data.date, "yyyy-MM-dd")} />
65+
<ProductPills products={entry.data.products} />
66+
<br />
67+
<strong>{entry.data.title}</strong>
68+
<br />
69+
<Content />
70+
);
71+
}
72+
73+
74+
// Default output
75+
return (
76+
<>
77+
<AnchorHeading depth={2} title={format(entry.data.date, "yyyy-MM-dd")} />
78+
<br />
79+
<strong>{entry.data.title}</strong>
80+
<br />
81+
<Content />
82+
</>
6283
);
6384
})
6485
}
Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,23 @@
11
---
22
pcx_content_type: changelog
33
title: Browser Isolation
4-
release_notes_file_name:
5-
- browser-isolation
64
head:
75
- tag: title
86
content: Browser Isolation Changelog
97
description: Review recent changes to Cloudflare Browser Isolation.
10-
118
---
129

13-
import { ProductReleaseNotes, Render } from "~/components"
10+
import { ProductChangelog } from "~/components";
11+
12+
{/* <!-- All changelog entries live in src/content/changelogs/browser-isolation/. */}
13+
14+
<ProductChangelog
15+
product="browser-isolation"
16+
hideEntry="2024-06-16-cloudflare-one"
17+
/>
1418

15-
<Render file="changelog-note" />
19+
## 2024-03-21
1620

17-
{/* <!-- All changelog entries live in src/content/changelogs/browser-isolation.yaml. For more details, refer to https://developers.cloudflare.com/style-guide/documentation-content-strategy/content-types/changelog/#yaml-file --> */}
21+
**Removed third-party cookie dependencies**
1822

19-
<ProductReleaseNotes />
23+
Removed dependency on third-party cookies in the isolated browser, fixing an issue that previously caused intermittent disruptions for users maintaining multi-site, cross-tab sessions in the isolated browser.
Lines changed: 20 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,32 @@
11
---
22
pcx_content_type: changelog
33
title: CASB
4-
release_notes_file_name:
5-
- casb
64
head:
75
- tag: title
86
content: CASB Changelog
97
description: Review recent changes to Cloudflare CASB.
10-
118
---
129

13-
import { ProductReleaseNotes, Render } from "~/components"
10+
import { ProductChangelog } from "~/components";
11+
12+
{/* <!-- All changelog entries live in src/content/changelogs/casb/. */}
13+
14+
<ProductChangelog product="casb" hideEntry="2024-06-16-cloudflare-one" />
15+
16+
## 2024-06-03
17+
18+
**Atlassian Bitbucket integration**
19+
20+
You can now scan your Bitbucket Cloud workspaces for a variety of contextualized security issues such as source code exposure, admin misconfigurations, and more.
21+
22+
## 2024-05-23
23+
24+
**Data-at-rest DLP for Box and Dropbox**
25+
26+
You can now scan your [Box](/cloudflare-one/applications/casb/casb-integrations/box/#data-loss-prevention-optional) and [Dropbox](/cloudflare-one/applications/casb/casb-integrations/dropbox/#data-loss-prevention-optional) files for DLP matches.
1427

15-
<Render file="changelog-note" />
28+
## 2024-04-16
1629

17-
{/* <!-- All changelog entries live in src/content/changelogs/casb.yaml. For more details, refer to https://developers.cloudflare.com/style-guide/documentation-content-strategy/content-types/changelog/#yaml-file --> */}
30+
**Export CASB findings to CSV**
1831

19-
<ProductReleaseNotes />
32+
You can now export all top-level CASB findings or every instance of your findings to CSV.
Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,14 @@
11
---
22
pcx_content_type: changelog
33
title: Changelog
4-
release_notes_name: Cloudflare One
5-
release_notes_product_area_name: Cloudflare One
64
sidebar:
75
order: 15
86
head: []
97
description: Review recent changes to Cloudflare One.
10-
118
---
129

13-
import { ProductReleaseNotes, Render } from "~/components"
14-
15-
<Render file="changelog-note" />
10+
import { ProductChangelog } from "~/components";
1611

17-
{/* <!-- All changelog entries live in associated src/content/changelogs/{productName}.yaml. For more details, refer to https://developers.cloudflare.com/style-guide/documentation-content-strategy/content-types/changelog/#yaml-file --> */}
12+
{/* <!-- All changelog entries live in associated src/content/changelogs/. */}
1813

19-
<ProductReleaseNotes />
14+
<ProductChangelog area="Cloudflare One" />

src/content/release-notes/access.yaml

Lines changed: 0 additions & 87 deletions
This file was deleted.

src/content/release-notes/browser-isolation.yaml

Lines changed: 0 additions & 11 deletions
This file was deleted.

src/content/release-notes/casb.yaml

Lines changed: 0 additions & 23 deletions
This file was deleted.

src/content/release-notes/dex.yaml

Lines changed: 0 additions & 26 deletions
This file was deleted.

0 commit comments

Comments
 (0)