diff --git a/README.md b/README.md index ee6477dd67..a8d734d45c 100644 --- a/README.md +++ b/README.md @@ -289,7 +289,7 @@ good time to [report them as issues][dart-test-tracker]. #### Server compatibility -We support Zulip Server 4.0 and later. +We support Zulip Server 7.0 and later. For API features added in newer versions, use `TODO(server-N)` comments (like those you see in the existing code.) diff --git a/lib/api/core.dart b/lib/api/core.dart index fb8d564ae6..39101f1420 100644 --- a/lib/api/core.dart +++ b/lib/api/core.dart @@ -14,13 +14,14 @@ import 'exception.dart'; /// /// When updating this, also update [kMinSupportedZulipFeatureLevel] /// and the README. -const kMinSupportedZulipVersion = '4.0'; +// TODO(#268) address all TODO(server-5), TODO(server-6), and TODO(server-7) +const kMinSupportedZulipVersion = '7.0'; /// The Zulip feature level reserved for the [kMinSupportedZulipVersion] release. /// /// For this value, see the API changelog: /// https://zulip.com/api/changelog -const kMinSupportedZulipFeatureLevel = 65; +const kMinSupportedZulipFeatureLevel = 185; /// The doc stating our oldest supported server version. // TODO: Instead, link to new Help Center doc once we have it: