Skip to content

Update server deprecation message#815

Merged
MarcelGeo merged 1 commit intodev-2025.4.0from
fix-deprecation-message
Sep 23, 2025
Merged

Update server deprecation message#815
MarcelGeo merged 1 commit intodev-2025.4.0from
fix-deprecation-message

Conversation

@tomasMizera
Copy link
Contributor

Updated the deprecation message so it includes the minimum server version.

@harminius there is a bug in the evaluation of the server type (here: https://github.com/MerginMaps/python-api-client/blob/d6e8a1676b962024009210a2057241bd8f1b093a/mergin/client.py#L389) - can you please fix it for this release? The problem is that ServerType.OLD is returned in case there is any error with the network request. This is wrong though, e.g. in the maintenance mode we return 503 - it does not mean the server is old, it only means that the server is down for maintenance. The function should return OLD only if the server returns 404.

@MarcelGeo MarcelGeo merged commit 7e62b33 into dev-2025.4.0 Sep 23, 2025
7 checks passed
@MarcelGeo MarcelGeo deleted the fix-deprecation-message branch September 24, 2025 10:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants