@@ -30,19 +30,7 @@ export const kServerSupportDocUrl: URL = new URL(
30
30
* See also kMinAllowedServerVersion in apiErrors.js, for the version below
31
31
* which we just refuse to connect.
32
32
*/
33
- // "2.2.0" is a funny way of saying "3.0", differing in that it accepts
34
- // versions like 2.2-dev-1234-g08192a3b4c. Some servers running versions
35
- // from Git describe their versions that way: specifically those installed
36
- // from commits in the range 2.2-dev..3.0-dev (2019-12 to 2020-06), before
37
- // we decided to rename the then-upcoming release from 2.2 to 3.0; and
38
- // potentially upgraded since then, but not past the upgrader bugfix commit
39
- // 5.0~960 (2022-01).
40
- //
41
- // By the time we want to desupport 3.x circa 2022-11, it should make sense
42
- // to simply say 4.0 here. By that point the affected versions from Git
43
- // will be nearly a year old, and it's pretty OK to just say those servers
44
- // should upgrade too.
45
- export const kMinSupportedVersion : ZulipVersion = new ZulipVersion ( '2.2.0' ) ;
33
+ export const kMinSupportedVersion : ZulipVersion = new ZulipVersion ( '4.0' ) ;
46
34
// Notes on known breakage at older versions:
47
35
// * Before 1.8, the server doesn't send found_newest / found_oldest on
48
36
// fetching messages, and so `state.caughtUp` will never have truthy
@@ -54,7 +42,7 @@ export const kMinSupportedVersion: ZulipVersion = new ZulipVersion('2.2.0');
54
42
*
55
43
* This should be the next major Zulip Server version after kMinSupportedVersion.
56
44
*/
57
- export const kNextMinSupportedVersion : ZulipVersion = new ZulipVersion ( '4 .0' ) ;
45
+ export const kNextMinSupportedVersion : ZulipVersion = new ZulipVersion ( '5 .0' ) ;
58
46
59
47
type Props = $ReadOnly < { || } > ;
60
48
0 commit comments