api: Don't allow connecting to servers <7.0; show nag banner on <8.0 #5922
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The last one of these was 48f1e47 on 2025-04-04, released in v27.234 on 2025-04-24.
As mentioned there, the last 6.x release, 6.2, went out on 2023-05-19, which is outside the 18-month window. We've been showing the nag banner for that release since v27.234, so we can expect server admins to have seen and acted on it, and we can refuse to connect.
The last 7.x release, 7.5, went out on 2023-11-16, which turns 18 months old tomorrow, 2025-05-16. So we can start to show the nag banner for that.