diff --git a/src/api/apiErrors.js b/src/api/apiErrors.js index 61d504eabb2..57d1efb5913 100644 --- a/src/api/apiErrors.js +++ b/src/api/apiErrors.js @@ -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. diff --git a/src/common/ServerCompatBanner.js b/src/common/ServerCompatBanner.js index 036d3c6372a..f04e4cc3508 100644 --- a/src/common/ServerCompatBanner.js +++ b/src/common/ServerCompatBanner.js @@ -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<{||}>;