Skip to content

Commit 8d83727

Browse files
committed
backfill releases
1 parent 6348ed7 commit 8d83727

File tree

178 files changed

+5579
-11
lines changed

Some content is hidden

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

178 files changed

+5579
-11
lines changed

bin/fetch-warp-releases.js

Lines changed: 31 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,16 @@
11
import fs from "fs";
22
import YAML from "yaml";
3+
import { marked } from "marked";
34

45
const tracks = ["windows/ga", "windows/beta", "macos/ga", "macos/beta"];
56

7+
const linesToRemove = [
8+
"For related Cloudflare for Teams documentation please see: https://developers.cloudflare.com/cloudflare-one/connections/connect-devices/warp",
9+
"For Zero Trust documentation please see: https://developers.cloudflare.com/cloudflare-one/connections/connect-devices/warp",
10+
"For related Consumer documentation please see: https://developers.cloudflare.com/warp-client/",
11+
"For Consumer documentation please see: https://developers.cloudflare.com/warp-client/",
12+
];
13+
614
for (const track of tracks) {
715
fetch(`https://downloads.cloudflareclient.com/v1/update/json/${track}`)
816
.then((res) => res.json())
@@ -17,15 +25,35 @@ for (const track of tracks) {
1725

1826
console.log(`Saving ${track} ${item.version}.`);
1927

20-
const platformName = data.platformName;
21-
const releaseNotes = item.releaseNotes.replace(/\r\n/g, "\n");
28+
let markdown = item.releaseNotes;
29+
30+
markdown.replace(/\r\n/g, "\n");
31+
32+
for (const line of linesToRemove) {
33+
markdown = markdown.replace(line, "");
34+
}
35+
36+
markdown = markdown.trim();
37+
38+
const tokens = marked.lexer(markdown);
39+
40+
marked.walkTokens(tokens, (token) => {
41+
if (token.type === "heading") {
42+
token.type = "strong";
43+
token.raw = `**${token.text}**\n`;
44+
45+
delete token.depth;
46+
}
47+
});
48+
49+
const releaseNotes = tokens.reduce((s, t) => s + t.raw, "");
2250

2351
fs.writeFileSync(
2452
`./src/content/warp-releases/${track}/${item.version}.yaml`,
2553
YAML.stringify({
2654
...item,
2755
releaseNotes,
28-
platformName,
56+
platformName: data.platformName,
2957
}),
3058
"utf-8",
3159
);

src/components/WARPReleases.astro

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import WARPRelease from "./WARPRelease.astro";
33
import Details from "./Details.astro";
44
import { getCollection } from "astro:content";
55
import { z } from "astro:schema";
6+
import { sub } from "date-fns";
67
78
type Props = z.infer<typeof props>;
89
@@ -16,7 +17,15 @@ const sortByDate = (a: any, b: any) =>
1617
b.releaseDate.getTime() - a.releaseDate.getTime();
1718
1819
const entries = await getCollection("warp-releases", (release) => {
19-
return release.id.startsWith(track);
20+
if (!release.id.startsWith(track)) return false;
21+
22+
const oneYearAgo = sub(new Date(), {
23+
years: 1,
24+
});
25+
26+
if (release.data.releaseDate.getTime() < oneYearAgo.getTime()) return false;
27+
28+
return true;
2029
});
2130
2231
const releases = entries.map((x) => x.data);
@@ -32,11 +41,7 @@ if (!latestRelease) {
3241
const platform = latestRelease.platformName;
3342
---
3443

35-
<WARPRelease
36-
header="Latest release"
37-
open={true}
38-
release={latestRelease}
39-
/>
44+
<WARPRelease header="Latest release" open={true} release={latestRelease} />
4045

4146
<Details header=`Previous version history (${releases.length - 1})`>
4247
{
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
releaseNotes: >-
2+
This release contains new features and improvements from the last release.
3+
4+
5+
**Notable updates**
6+
7+
- With this release you can now specify specific DNS servers to use for
8+
domains in Local Domain fallback in the Teams Dashboard.
9+
10+
- Improved reliability of connection between client gui and daemon.
11+
12+
- Improved the connectivity check to more frequently and consistently check
13+
for connectivity.
14+
15+
- Fixed issue where Split Tunnel UI in Preferences->Advanced of the client did
16+
not correctly show include only routes.
17+
18+
- Fixed reliability issues around waking from sleep.
19+
version: 2021.11.371.1
20+
packageURL: https://downloads.cloudflareclient.com/v1/download/macos/version/2021.11.371.1
21+
packageSize: 41333114
22+
releaseDate: 2021-12-07T01:47:45.274Z
23+
platformName: macOS
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
releaseNotes: |-
2+
This release contains new features and improvements from the last release.
3+
4+
**Notable updates**
5+
- Fixed an issue with DNS not working after waking from sleep.
6+
version: 2021.11.399.1
7+
packageURL: https://downloads.cloudflareclient.com/v1/download/macos/version/2021.11.399.1
8+
packageSize: 41352858
9+
releaseDate: 2021-12-09T00:56:20.876Z
10+
platformName: macOS
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
releaseNotes: |-
2+
**Notable updates**
3+
- Minor version bump.
4+
version: 2021.12.4.1
5+
packageURL: https://downloads.cloudflareclient.com/v1/download/macos/version/2021.12.4.1
6+
packageSize: 41365134
7+
releaseDate: 2021-12-11T01:14:26.752Z
8+
platformName: macOS
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
releaseNotes: >-
2+
This release contains new features and improvements from the last release. In
3+
particular, we have made significant changes to how local settings (plist) are
4+
processed and how they work with new devices settings in the dashboard.
5+
6+
7+
**Notable updates**
8+
9+
- Added support for Gateway session duration enforcement allowing you to force
10+
re-authentication after a specified time.
11+
12+
- Fixed issue where local domain fallback list was empty when in consumer WARP
13+
mode.
14+
15+
- Fixed wake from sleep issue where DNS requests could fail.
16+
17+
18+
**Known issues**
19+
20+
- No known issues
21+
version: 2022.1.201.1
22+
packageURL: https://downloads.cloudflareclient.com/v1/download/macos/version/2022.1.201.1
23+
packageSize: 42867563
24+
releaseDate: 2022-01-26T23:05:09.539Z
25+
platformName: macOS
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
releaseNotes: >-
2+
This release is a mirror of GA release 2022.10.107.0
3+
4+
**Notable updates**
5+
6+
- Fixed issue where GUI may still think user is registered after "warp-cli
7+
delete" is run
8+
9+
- Decreased warp-diag zip file sizes by 60-80%
10+
11+
12+
13+
**Known issues**
14+
15+
- If you are having issues with upgrading to new beta, please uninstall
16+
current app, install the GA version from https://1.1.1.1/ and participate in
17+
beta program from Preferences->Advanced.
18+
version: 2022.10.112.1
19+
packageURL: https://downloads.cloudflareclient.com/v1/download/macos/version/2022.10.112.1
20+
packageSize: 52159065
21+
releaseDate: 2022-11-17T06:28:17.592Z
22+
platformName: macOS
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
releaseNotes: >-
2+
This release primarily contains bug fixes, no new features are included in
3+
this release
4+
5+
**Notable updates**
6+
7+
- Modified behavior of `warp-cli enable-dns-log` to automatically turn off
8+
after 7 days (this is the equivalent of manually running `warp-cli
9+
disable-dns-log`)
10+
11+
- Fixed HappyEyeballs search on IPv6 only devices
12+
13+
- Fixed UI in various states where we would show the wrong text when in
14+
various states (ex. Paused when really disabled via Admin Override, etc.)
15+
16+
- Fixed HappyEyeball issue where Safari users without native IPv6 may see
17+
increased captcha challenges
18+
19+
- Fixed issue where device posture timers were paused while device was asleep.
20+
Posture tests are now immediately ran on device wakeup and all timers
21+
restarted
22+
23+
24+
25+
**Known issues**
26+
27+
- If you are having issues with upgrading to new beta, please uninstall
28+
current app, install the GA version from https://1.1.1.1/ and participate in
29+
beta program from Preferences->Advanced.
30+
version: 2022.10.73.1
31+
packageURL: https://downloads.cloudflareclient.com/v1/download/macos/version/2022.10.73.1
32+
packageSize: 52122199
33+
releaseDate: 2022-11-07T16:31:22.139Z
34+
platformName: macOS
Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
releaseNotes: >-
2+
This release primarily contains bug fixes, no new features are included in
3+
this release
4+
5+
**Notable updates**
6+
7+
- Improved captive portal handling for some more captive portals.
8+
9+
- Improved reconnect logic when a setting changes to no longer always do a
10+
full disconnect->reconnect cycle (for instance when turning on DNS logging).
11+
12+
- Modified initial connectivity check behavior to now validate both IPv4 and
13+
IPv6 are working (previously we only checked IPv4). Test will pass if either
14+
connects successfully.
15+
16+
- Fixed issue where client could be stuck on `Connecting` if certain DNS
17+
checks failed once.
18+
19+
- Fixed DNS issue where TXT records were not being correctly returned when at
20+
the end of a CNAME chain.
21+
22+
- Fixed issue where the client may not receive notifications of new settings,
23+
re-auth events or posture from the service until reboot.
24+
25+
- Fixed issue where users could be pointing at an old gateway_doh_subdomain if
26+
you have `Allowed to Leave` set to true and they've manually joined their
27+
client to your organization.
28+
29+
- Fixed slow DNS timeout issue that could occur when IPv6 is enabled and an
30+
NXDOMAIN record is returned.
31+
32+
- Fixed issue with `Gateway with DoH` mode could say `Connected` when it
33+
wasn't really connected as we could sometimes test the wrong endpoint.
34+
35+
- Fixed issue where our local DNS proxy server could get unset with an overly
36+
active DHCP renew time or by plugging in/out a tethered device.
37+
38+
**Known issues**
39+
40+
- There is a race condition that may cause IPv4 traffic to fail after the
41+
tunnel starts up. This can be fixed by toggling off then back on the
42+
connection. A hotfix is in the works.
43+
44+
- If you are having issues with upgrading to new beta, please uninstall
45+
current app, install the GA version from https://1.1.1.1/ and participate in
46+
beta program from Preferences->Advanced.
47+
version: 2022.12.267.1
48+
packageURL: https://downloads.cloudflareclient.com/v1/download/macos/version/2022.12.267.1
49+
packageSize: 47987435
50+
releaseDate: 2022-12-06T23:13:53.633Z
51+
platformName: macOS
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
releaseNotes: >-
2+
This release contains the following changes since the previous 2022.12 beta
3+
release
4+
5+
**Notable updates**
6+
7+
- Added support for new Zero Trust network location aware WARP feature. More
8+
info to be released soon on how you can test.
9+
10+
- Fixed issue where `warp-cli teams-enroll` wouldn't work when an mdm file was
11+
present
12+
13+
- Fixed issue where our localhost dns endpoints (ex. 127.0.2.2) could appear
14+
in the fallback configuration potentially causing DNS lookups to fail
15+
16+
- Fixed issues where GUI could crash when opening from the Menu Bar
17+
18+
- Fixed issue that could cause some DNS queries to take upto 15 seconds to
19+
complete
20+
21+
22+
23+
**Known issues**
24+
25+
- There is a race condition that may cause IPv4 traffic to fail after the
26+
tunnel starts up. This can be fixed by toggling off then back on the
27+
connection. A hotfix is in the works.
28+
29+
- If you are having issues with upgrading to new beta, please uninstall
30+
current app, install the GA version from https://1.1.1.1/ and participate in
31+
beta program from Preferences->Advanced.
32+
version: 2022.12.439.1
33+
packageURL: https://downloads.cloudflareclient.com/v1/download/macos/version/2022.12.439.1
34+
packageSize: 47757810
35+
releaseDate: 2022-12-21T21:51:39.539Z
36+
platformName: macOS

0 commit comments

Comments
 (0)