Hub 2.19.0: the server agent's releases; Update agent picks one

- AgentRelease (migration 20261123150000_agent_release): the agent's releases, apart from the
  products' so licences and billing are untouched.
- Release sources can be for the Server agent; the defaults include it (monorepo agent@ tags,
  apps/agent/WHATS-NEW.md). Same sync rules as products. A saved list without it gets an
  "Add the agent's source" button on the Releases page.
- GET /api/admin/agent-releases; server summaries carry agentLatest; update-agent jobs go to a
  known agent release, the latest when none is asked for (agentTag).
- Update agent is a ReleaseSelect with the chosen version's notes; the Servers list and a server's
  page say when a newer agent is out; the Releases page shows agent releases (Server agent filter,
  Everything newest first by date).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-23 13:18:56 +02:00
co-authored by Claude Opus 5.5
parent 44fac310eb
commit 65637711c6
19 changed files with 292 additions and 50 deletions
+19
View File
@@ -5,6 +5,25 @@ versions follow [Semantic Versioning](https://semver.org/).
## [Unreleased]
## [2.19.0] - 2026-11-23
**Migration:** a new table, `AgentRelease`. No API change for existing calls.
### Added
- **The server agent's releases.** A release source can be for the **Server agent** (the defaults have
it: the monorepo's `agent@` tags, notes in `apps/agent/WHATS-NEW.md`). The Releases page shows them
with their notes and how many servers run each, under **Server agent** and **Everything**. A saved
list of sources from before gets an **Add the agent's source** button.
- **Update agent picks a release**: Latest by default, the newest 10 with Show older versions, the
version running on the server marked and not pickable, and the chosen version's notes under it.
The Hub refuses a version that isn't an agent release (while it knows of any).
- The Servers list and a server's page say when a newer agent is out ("1.5.0 available").
### Changed
- The Releases page's **Everything** list is newest first by release date (it was by version number).
## [2.18.0] - 2026-11-23
Frontend only: no migration, no API changes.