-
-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
feat: initial github release version checker #4792
base: main
Are you sure you want to change the base?
Conversation
frontend/appflowy_flutter/lib/workspace/presentation/widgets/float_bubble/question_bubble.dart
Show resolved
Hide resolved
frontend/appflowy_flutter/lib/user/application/github/github_service.dart
Show resolved
Hide resolved
frontend/appflowy_flutter/lib/user/application/github/github_service.dart
Show resolved
Hide resolved
Note: the reason I keep pushing this, is because I need to do some design work and it's not a high-priority. |
I'll brush it up and finish it. |
Use this package to allow the user to get updates automatically. #5432 |
Perfect, I'll integrate it 👍 |
|
Relates: #3639
This is a flawed version checker. It is based on GitHubs REST API, unauthenticated requests are rate limited to 60 requests per hour.
If for any reason the check should fail, eg. no network connection, hit rate limit, or similar, we silently fail and assume the application is up-to-date.
The check only happens once on application startup for now, in the future we can support manually checking for updates and storing the time of the last check.
For more information see:
https://docs.github.com/en/rest/rate-limit/rate-limit?apiVersion=2022-11-28
https://docs.github.com/en/rest/releases/releases?apiVersion=2022-11-28#get-the-latest-release
Feature Preview
PR Checklist