Skip to content

api: Like zulip-mobile, don't allow connecting to Zulip Server <7.0 #1521

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 21, 2025
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 README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.)
Expand Down
5 changes: 3 additions & 2 deletions lib/api/core.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down