Skip to content
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

Deprecated API Warning #47

Open
2 tasks
deobald opened this issue Sep 12, 2020 · 2 comments
Open
2 tasks

Deprecated API Warning #47

deobald opened this issue Sep 12, 2020 · 2 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@deobald
Copy link
Member

deobald commented Sep 12, 2020

We will version APIs, but not indefinitely. At some point, old API versions will be destroyed. We can manually warn users of pending required version upgrades of the app since, as of 2020, there is no such thing as a "DEPRECATED" HTTP response code. This manual warning should be more than sufficient. Something like:

"We see you are using an old version of the Pariyatti app. This app will require an upgrade on or before January 1st, 2025"

  • client code should pass all HTTP response codes through a generic handler
  • handle [410 GONE] of all "/api" URLs as API version removal
@deobald deobald added the enhancement New feature or request label Sep 12, 2020
@deobald deobald added this to the v2 milestone Sep 12, 2020
@namanshergill
Copy link
Collaborator

This issue will be fixed with the API wrapper included in #54

@namanshergill
Copy link
Collaborator

I will work on implementing this once the PR is checked by someone and merged

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: No status
Development

No branches or pull requests

2 participants