Skip to content

Commit 7b34241

Browse files
chrisbobbegnprice
authored andcommitted
versions: Bump kMinSupportedVersion to match kServerSupportDocUrl
The doc at https://zulip.readthedocs.io/en/latest/overview/release-lifecycle.html#compatibility-and-upgrading (kServerSupportDocUrl) now says 4.0, so bump kMinSupportedVersion to that. And bump kNextMinSupportedVersion, which says it should be the next major version after kMinSupportedVersion.
1 parent cbf8b3a commit 7b34241

File tree

1 file changed

+2
-14
lines changed

1 file changed

+2
-14
lines changed

src/common/ServerCompatBanner.js

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -30,19 +30,7 @@ export const kServerSupportDocUrl: URL = new URL(
3030
* See also kMinAllowedServerVersion in apiErrors.js, for the version below
3131
* which we just refuse to connect.
3232
*/
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');
4634
// Notes on known breakage at older versions:
4735
// * Before 1.8, the server doesn't send found_newest / found_oldest on
4836
// fetching messages, and so `state.caughtUp` will never have truthy
@@ -54,7 +42,7 @@ export const kMinSupportedVersion: ZulipVersion = new ZulipVersion('2.2.0');
5442
*
5543
* This should be the next major Zulip Server version after kMinSupportedVersion.
5644
*/
57-
export const kNextMinSupportedVersion: ZulipVersion = new ZulipVersion('4.0');
45+
export const kNextMinSupportedVersion: ZulipVersion = new ZulipVersion('5.0');
5846

5947
type Props = $ReadOnly<{||}>;
6048

0 commit comments

Comments
 (0)