Skip to content

v1.3.0

Choose a tag to compare

@dschoepel dschoepel released this 24 Feb 17:28
· 59 commits to main since this release

What's new

Webhook shared-secret authentication

Secure your webhook endpoint with an optional Bearer-token guard. When a secret is configured, all incoming POST /api/webhook requests must include Authorization: Bearer <secret> or they are rejected with 401 Unauthorized. Requests are still accepted without auth when no secret is set — fully backwards compatible.

Configure it from Settings → Webhook Security:

  • Type your own secret or click Generate to create a cryptographically random one
  • A ready-to-paste DIUN config snippet appears as soon as a secret is set
  • You can also seed the secret at startup via the WEBHOOK_SECRET environment variable

Mapping validation

Adding or editing an image → repo mapping now validates both fields before saving:

  • Docker image — client-side format check: must contain at least one / and no whitespace
  • GitHub repo — calls the GitHub API to confirm the repository exists; a definitive 404 blocks the save (red border + error); a rate-limit or network error shows an amber warning but still allows saving; GITHUB_TOKEN is used automatically if configured

Validation fires on blur and on submit. The Add / Save button is disabled while the GitHub check is in flight. The inline add-mapping form on the Events page applies the same repo validation.

Full changelog

See CHANGELOG.md for the complete history.