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
2 changes: 1 addition & 1 deletion src/api/apiErrors.js
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ export const interpretApiResponse = (httpStatus: number, data: mixed): mixed =>
*/
// This should lag a bit behind the threshold version for ServerCompatBanner
// (kMinSupportedVersion), to give users time to see and act on the banner.
export const kMinAllowedServerVersion: ZulipVersion = new ZulipVersion('5.0');
export const kMinAllowedServerVersion: ZulipVersion = new ZulipVersion('7.0');

/**
* An error we throw in API bindings on finding a server is too old.
Expand Down
4 changes: 2 additions & 2 deletions src/common/ServerCompatBanner.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,14 @@ export const kServerSupportDocUrl: URL = new URL(
* See also kMinAllowedServerVersion in apiErrors.js, for the version below
* which we just refuse to connect.
*/
export const kMinSupportedVersion: ZulipVersion = new ZulipVersion('7.0');
export const kMinSupportedVersion: ZulipVersion = new ZulipVersion('8.0');

/**
* The next value we'll give to kMinSupportedVersion in the future.
*
* This should be the next major Zulip Server version after kMinSupportedVersion.
*/
export const kNextMinSupportedVersion: ZulipVersion = new ZulipVersion('8.0');
export const kNextMinSupportedVersion: ZulipVersion = new ZulipVersion('9.0');

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

Expand Down