Skip to content

Remove client version checks and start new compatibility guarantees#774

Merged
bennybp merged 2 commits intomainfrom
bw_compat
Oct 18, 2023
Merged

Remove client version checks and start new compatibility guarantees#774
bennybp merged 2 commits intomainfrom
bw_compat

Conversation

@bennybp
Copy link
Copy Markdown
Contributor

@bennybp bennybp commented Oct 16, 2023

Description

Remove client/manager version checks against what the server reports.

Starting in 0.51, backwards-incompatible changes to the API will be handled by changing the version in the URI
(ie, /api/v1/datasets -> /api/v2/datasets). This will be done only on the endpoints that do change.

The v1 API's will left in place, so older clients will still work with newer servers.

If a new client detects an old server, a warning is printed. The main hazard there is that the client may want new features the server does not provide.

Starting with QCFractal v1.0, we should move to semver, so we could at least check major versions between client and server. This would allow us to remove the older versioned endpoints.

Changelog description

Removed forced version checks between client and server

Status

  • Code base linted
  • Ready to go

@bennybp bennybp merged commit 941857e into main Oct 18, 2023
@bennybp bennybp deleted the bw_compat branch October 18, 2023 17:26
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.

1 participant