8000 feat(updates): tell admins and notification targets when a new release is out by adeelahmad · Pull Request #270 · adeelahmad/lense · GitHub
[go: up one dir, main page]

Skip to content

feat(updates): tell admins and notification targets when a new release is out - #270

Merged
adeelahmad merged 1 commit into
mainfrom
claude/project-thread-k36y5e
Oct 10, 2026
Merged

adeelahmad merged 1 commit into
mainfrom
claude/project-thread-k36y5e

Conversation

@adeelahmad
Copy link
Copy Markdown
Owner

Requested by Adeel · project thread

Description

Before: a new Lens release showed up only in GET /admin/updates, for an admin who looked.

After: once per release, Lens emails every admin (updates.email, on by default; needs an email server) and sends a new lens.release notification event to the webhooks, Matterbridge, Slack and Discord targets whose namespace owners choose it. The email links to Settings › Updates and backups.

How: updates.announce() runs after each check (the daily one and POST /admin/updates/check), claims app_service:release-notice-<tag> so only one process tells anyone, then calls notify.release() and email.send_release_email().

Motivation and Context

Adeel asked for upgrade notifications. This builds on #260. Docs: docs/updates.md (Being told), docs/notifications.md (events).

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change; ! in the title)

Checklist:

  • The title is a Conventional Commit.
  • My code follows the code style of this project (make hooks checks it on commit).
  • I added or updated tests.
  • My change requires documentation updates, and I have updated docs/ accordingly.
  • Users need more than the title to understand it, so I wrote it under ## Unreleased in CHANGELOG.md.

🤖 Generated with Claude Code

https://claude.ai/code/session_01XturGhybJzfgZvbFxfNB2o


Generated by Claude Code

…e is out

Once per release: an email to every admin (updates.email, on by default) and
a lens.release event for the namespaces' notification targets that choose it.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XturGhybJzfgZvbFxfNB2o
@adeelahmad adeelahmad self-assigned this Oct 10, 2026
@adeelahmad
adeelahmad merged commit 7c2a1fc into main Oct 10, 2026
7 checks passed
@adeelahmad
adeelahmad deleted the claude/project-thread-k36y5e branch October 10, 2026 20:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

0