You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Consider switching use_server_version default to True #876
I had asked what impact would that have on existing clients, i.e. would this be a surprising change perhaps with compatibility issues.
Tyler's feedback:
It shouldn't -- if they're upgrading their server already, they could still do so. They can also still manually set it after the fact and it'll override ServerInfo's call.
I don't think there are any calls that stop working outright between 2.3 and 3.X are there?
The version detection logic works all the way back to 9.0, if it's newer than API version 2.4 it will use ServerInfo but otherwise there's a legacy way to detect version.
The only reason we didn't do it originally is because we didn't want to "issue silent HTTP calls" but I think that's a very small price to pay to get people using the latest version.
They can also explicitly set it to False if for some reason they don't want it to fire off.
While doing this, we should fix the code so that determine_latest_version pays attention to any http options passed in, like --no-certcheck or a proxy.
Activity
rejuls commentedon Jan 10, 2022
It would be useful to set the default as true, would have saved me a lot of time trying to figure this out - #853 (comment)
jacalata commentedon Feb 10, 2022
While doing this, we should fix the code so that determine_latest_version pays attention to any http options passed in, like --no-certcheck or a proxy.
always use the server version by default (#1796)