Version on all footers on all pages and API endpoint to fetch the version
solick opened this issue ยท comments
๐ I have found these related issues/pull requests
The the version of the current instance cannot be fetched from the instance. Neither from the Dashboard or status pages eg in the footer, nor from an api endpoint.
๐ท๏ธ Feature Request Type
API / automation options
๐ Feature description
Show the version of the instance in all footers of uptime numa.
provide an api endpoint to fetch the version for update check from third party tools
โ๏ธ Solution
Show the version of the instance in all footers of uptime numa.
provide an api endpoint to fetch the version for update check from third party tools
โ Alternatives
No response
๐ Additional Context
No response
What is your actual usecase for this?
We currently don't have a footer, what are expecting?
Users have previously requested this to NOT be the case. In 1.23.0
, we have removed this.
See #3374 (comment):
โฌ๏ธ Security Fixes
#3421 Hardening: Avoid exposing the Uptime Kuma version to the public
Note
We do show a warning if you are running an outdated version (unless you disabled this).
The version is shown in /settings/about
.
Note
we currently use the "info"
socketio event. This event is send AFTER login. See #3421
There are two use cases.
- I would like to see the version in the first page (after login) in my dashboard. Not clicking 2 times to see it.
- I want to fetch the version from the API (also with API key, not public) to make automatic checks of the version and if updates are available for notification. I personally donยดt got often to the dashboard I use the notification to mattermost. Therefore I do not see the update available notification on the dashboard. nor do I see if it's a major or minor update (based on the version number). I have a script which fetches those information from all my services I am hosting and check on regular bases the version and if there is a new update available. I want to do this also for Uptime Kuma.
would like to see the version in the first page (after login) in my dashboard
In that case the banner seems suficcient to me => activate it (the default is on)
Our first draft at a non-socket.io API is tracked in #118 and this work has been done #3854
I think for your usecase, using the socker.io api should be fine if you just want to have a script => no need to wait for v2.1