Skip to content

WatchLog v0.12.0

Choose a tag to compare

@github-actions github-actions released this 22 Nov 08:47
· 551 commits to main since this release

WatchLog 0.12.0: a light theme

The dashboard now comes in light as well as dark, and follows your computer's setting by
default.

What's new

  • Theme in the account menu: System, Light or Dark, three buttons on the Theme row of the
    menu under your name. System follows your computer's setting and changes with it; Light and
    Dark stay. Dark looks exactly as before.
  • Saved on your user: the choice follows you to another browser, and the page opens in it
    without a flash of the other theme. The live demo keeps it in your browser.
  • Every page in both themes, Kubernetes and Servers alike: status text, links, charts and
    the service map use colours that read on white, and charts redraw when the theme changes.
  • API: theme on GET /api/v1/me; PATCH /api/v1/me/preferences with {"theme": "light"}
    (a signed-in session only).

Upgrading

No manual steps; a migration adds the user's theme (System for everyone). Agents don't need
an update for this release. Behind a strict Content-Security-Policy of your own, allow the
one inline script in index.html by its hash, as WatchLog Cloud's policy does (see
backend/src/lib/csp.ts).

Changes since v0.11.1

Features

  • Theme row in the account menu (System, Light, Dark) (web)
  • theme before the first paint, allowed by its hash in Cloud's CSP
  • theme composable, *-text and link tokens in the dashboard (web)
  • the light theme, and tokens for text in the status colours (ADR-228) (design-tokens)
  • the dashboard's theme on the user, PATCH /me/preferences (ADR-228) (backend)

Fixes

  • certificate and scheduled job links are 44 px on touch screens (web)
  • server page events fit a phone; short links and Retry get 44 px (web)
  • the danger button and the cause steps read in light (web)

Install

Kubernetes (backend, web, agents in one chart):

helm install watchlog oci://ghcr.io/watchlog-light/charts/watchlog --version 0.12.0 \
  --namespace watchlog --create-namespace

Docker hosts: see the install guide.

Verify

Images and charts are signed with cosign (keyless, GitHub Actions OIDC):

cosign verify ghcr.io/watchlog-light/agent:0.12.0 \
  --certificate-identity-regexp '^https://github.com/watchlog-light/watchlog/\.github/workflows/release\.yml@refs/tags/v' \
  --certificate-oidc-issuer https://token.actions.githubusercontent.com