Skip to content

v0.2.0 - Beyond HTTP

Choose a tag to compare

@venelinkochev venelinkochev released this 20 Jul 21:08
· 27 commits to main since this release
490f67b

v0.2.0 - Beyond HTTP

This release closes out Phase 1 of the roadmap: new check types, long-term uptime history that survives data retention, and the two most-requested self-hosted notification channels. It is also the first minor-version bump - feature releases now increment the minor version (see docs/growth/08-versioning.md). It additionally contains a security fix for public status pages - if you share status pages publicly, upgrade promptly.

Important: update your remote probes with this release. TCP checks and certificate monitoring need v0.2.0 probes. The bundled local probe updates automatically via ./setup.sh --upgrade; remote probe hosts must pull and restart. From v0.2.0 on, probes skip check types they do not recognize, so future upgrades cannot cause false downs from older probes. See UPGRADING.md.

Security: Stored XSS on public status pages (#51)

A stored cross-site scripting vulnerability was fixed in the status page "custom CSS" branding field. An authenticated user could save a payload that broke out of the page's <style> tag and executed JavaScript in the browser of every visitor to the public, unauthenticated status page. All releases up to and including v0.1.5 are affected.

  • Custom CSS is now escaped at render time so it can never close the <style> element; payloads already stored in the database are neutralized automatically, with no migration needed
  • Custom CSS containing HTML markup is now rejected at save time
  • Public status pages now send a Content-Security-Policy header that blocks all script execution as an additional layer of defense

Legitimate custom CSS, including DaisyUI theme blocks, renders exactly as before. Thanks to Sotiboldiyev Doniyor (@Doniyor2510) for the private report. The repository now also has a security policy (SECURITY.md) and GitHub private vulnerability reporting enabled for future reports.

New: TCP port checks (#46)

Monitor databases, mail servers, game servers - anything that accepts a TCP connection:

  • New TCP Port option in the monitor form with host + port fields
  • The Go probe measures connect latency as response time; dial errors become the incident reason
  • The monitor form is now fully type-driven - adding future check types is one enum case
  • Every dispatched check now carries an explicit check_type, and probes skip types they do not understand instead of misreporting them as down (probe/server compatibility groundwork for 1.0)

New: SSL certificate expiry monitoring (#47)

The most preventable outage, now prevented:

  • HTTPS checks capture the certificate expiry and issuer during the TLS handshake they already perform - zero extra requests
  • Alerts at 30/14/7 days before expiry (configurable), at most one alert per threshold, re-armed automatically when the certificate is renewed
  • Days-remaining on the monitor page, warning badges in the monitor list, and a new certificate.expiring webhook event

New: Long-term uptime history (#45)

Raw check results are pruned by the retention policy added in v0.1.5. Now an hourly rollup preserves per-monitor, per-probe stats for 2 years (configurable via CHECK_RESULT_ROLLUP_RETENTION_DAYS):

  • New 90 Days and 1 Year periods on the monitor page - charts, stats, and per-node tables all read from the rollup
  • Existing raw data is backfilled into the rollup during migration, so history appears immediately
  • Uptime percentages were never at risk (they come from incidents); this preserves the response-time and per-check detail

New: Telegram notifications (#48)

Create a bot with @BotFather, paste the token and chat id, done. Multiple chats/groups supported, each selectable per monitor. Covers down, recovery, certificate expiry, and engine health alerts.

New: ntfy notifications (#49)

Push notifications with no account: pick a topic on ntfy.sh (or your self-hosted ntfy server, with optional access token), subscribe in the ntfy app. Urgent priority for downs, tags and click-through links included.

Fixes

  • Flaky probe response-time test assertion on fast CI runners

Upgrading

git pull
./setup.sh --upgrade

Then update any remote probes (pull + restart on each probe host). See UPGRADING.md for details.