Skip to content

V4.2.0

Latest

Choose a tag to compare

@ajhollid ajhollid released this 04 Dec 21:12
ecca640

What's Changed

Long-term history and API keys lead this release. Checkmate now keeps a daily summary of every monitor, so charts can cover a year or all time, and admins can create API keys to connect other tools such as Home Assistant. Infrastructure monitors get a new details page.

Features

  • Long-term history: Checkmate keeps one daily summary per monitor, and the time range selector gains "Year" and "All" on the uptime, infrastructure, PageSpeed, Docker container and incidents pages, and on the location breakdown of geo checks
  • "Long-term history" setting controls how long daily summaries are kept, 365 days by default. A notice appears when the selected range is longer than the history available
  • API keys: admins create and delete keys in the new "API keys" tab in Settings. A key is read-only or read and write, is sent as a bearer token, and is shown once when created
  • API keys reach monitors, checks, geo checks, incidents, maintenance windows, status pages and tags. Accounts, settings, notification channels and key management stay closed to keys. Each key is limited to 300 requests a minute
  • GET /monitors/team/status returns the status, uptime and response time of every monitor in one response, for tools that poll
  • GET /api-keys/current returns the server version and the key's name, team and scopes
  • The OpenAPI spec at /api-docs says which endpoints accept an API key and the scope each needs. A guide is in docs/api-keys.md, with a Home Assistant example
  • New infrastructure details page with Overview, Disks, Network and RAID tabs, including per-disk and per-interface views
  • Mattermost notification channel
  • Telegram alerts can be sent to a topic of a forum group

Fixes

  • Check retention works on MongoDB 5.x and 6.x. Old checks are now removed by the collection's own expiry instead of by the app
  • Geo checks follow the check retention setting. They were kept indefinitely
  • A monitor's Capture secret is no longer returned by the API. The edit form shows that a secret is stored, and leaving the field blank keeps it
  • Exporting and importing monitors as JSON keeps the credentials of TLS Docker hosts, so an imported monitor works
  • A failed hardware check no longer stores zeros, which skewed averages. Values Capture does not report stay empty instead of showing as 0
  • The diagnostics page loads without a two-second wait, and no longer fails when one MongoDB statistic cannot be read
  • A failed Checkmate Connect cloud backup shows the reason it failed
  • Public status pages show RAM and disk sizes in binary units (GiB, TiB)
  • Checkmate Connect links point to checkmate.so

Upgrade notes

  • No new environment variables
  • Migrations 0014 and 0015 build the daily summaries from the checks you still have, on first start. History for "Year" and "All" begins at your current check retention and grows from there
  • Migration 0016 marks monitors that have a Capture secret
  • Geo checks older than your check retention are deleted after upgrading
  • API change: monitor responses no longer include secret. They carry secretSet instead. The JSON export still includes the secret, and now also the Docker TLS key in the clear
  • API change: the hardware details endpoint returns a new response shape at /monitors/hardware/details/:monitorId, and hardware check values can be null
  • Importing a TLS Docker monitor without its key is now rejected. Export files made before this release do not contain the key

Maintenance

  • Repositories share a MongoDB base class for id conversion, duplicate-key checks and retention
  • Time and rate limit values are named constants
  • Diagnostics CPU gauge labels updated to match how CPU usage is now measured
  • Cottage, Dokploy, Railway, Zeabur, Levelrail, NodeRings, Appdonia and Weeny Cloud added to the README hosting options, and the feature requests board is linked

New Contributors

Full Changelog: v4.1.0...v4.2.0