v1.9.0-rc.5
Full Changelog: v1.9.0-rc.4...v1.9.0-rc.5
[1.9.0-rc.5] - 2026-12-03
Security
- The Portwing WebSocket gateway has its own connection limiter (3000 per 15 minutes per socket address) instead of sharing the log-stream sockets' bucket. Failed hellos (parse errors, unknown keys, bad signatures) are charged to the sender's address, taken from the forwarded client when
DD_SERVER_TRUSTPROXYis set; once an address has spent its budget those failures close without an error frame, while a hello that verifies is still admitted. The fixed-window limiter used by the WebSocket gateways now drops its oldest entry when its table is full instead of refusing every new key. - The update security gate now scans the platform image the target host will run, not whichever child of a multi-arch index the scanner picks. The gate reads the OS, architecture and variant from the target daemon, passes them to Trivy and Grype (and to SBOM generation), and refuses the update when a scanner reports a different platform, even with
DD_SECURITY_AVAILABILITY_POLICY=warn. Cached scan verdicts for one index digest are now kept per platform. A--platformin the Trivy, Grype or Syft extra arguments still wins the scanner argument, but the gate still compares the report with the target platform, so a pin that differs from a host's platform now refuses every update on that host. - The agent API's pre-auth limiter now charges and refuses only requests whose
x-dd-agent-secretfails the compare, so failed attempts from one address no longer block a request carrying the correct secret. A generous overall cap still applies to authenticated callers. - Release note links are limited to
httpandhttps. The UI drops a note whose URL uses another scheme, the model schema rejects one, and a container stored with a URL the schema would reject (another scheme, an uppercase scheme, spaces or raw non-ASCII characters) still loads with the notes stripped. - Changing a Basic user's
DD_AUTH_BASIC_<name>_HASHnow signs that user out at the next start. Sessions weren't tied to the password, so a rotated hash left old sessions valid for up to 30 days. Drydock records a digest of each hash (never the hash) and, when it differs at startup, revokes the user's sessions and writes anauth-sessions-revokedaudit entry. The first start after upgrading only records the digest and signs nobody out. NewPOST /auth/sessions/revoke-othersand a "Sign out other sessions" button on the profile tab end every other session of the signed-in user and keep the current one. The reported count includes sessions that predate the last restart, and a revocation is audited even when the current session can't be re-established. test/qa-agent-test.ymlpublishes its controller on127.0.0.1only and takes the admin hash, session secret and agent secret from the per-launch valuesscripts/qa-credentials.mjsprints (DD_QA_SESSION_SECRETandDD_QA_AGENT_SECRETare new).scripts/start-drydock.shpublishes the E2E controller on loopback.- Manual updates now read the live group policy, so a stale member snapshot can't admit an update the group currently holds or excludes. Portainer recovery re-checks stack ownership (standalone type, Git backing, project binding and endpoint identity) before it redeploys, even when the stack and endpoint IDs are unchanged.
Changed
- Trigger type badges show provider names. The Triggers and Notifications views now share one type badge backed by a single metadata map for all 34 trigger providers, so PagerDuty, Google Chat, Uptime Kuma and the other providers that used to show a raw id now show their proper name. The Docker Compose badge in Notifications reads "Docker Compose" instead of "Compose". Icons and colours for the 14 providers that had none are filled in, and existing ones are unchanged.
- Release-count maturity now remembers its manifest proof lookups between scans. An unchanged image no longer repeats up to eight registry requests on every scan: the digest each release tag resolved to is kept for 24 hours (at most 2048 entries, per registry, image, platform and tag) and reused while the watched alias digest is unchanged. Only digests are cached, so release counts are still worked out from the current tag list on every scan, a failed lookup is retried next scan, and when the alias digest moves, tags that didn't match are looked up again.
- Folded the pending Renovate bumps into one batch: root and e2e npm minor and patch updates, the apps/demo npm updates, and the GitHub Actions pins (Harden Runner v2.23.0, dependency-review-action v5.0.1, qlty-action v2.7.0, and the image signer cosign v3.1.4). The workflow pin tests now assert the new pins.
- Brought the README roadmap rows, the compare tables and the website compare pages up to date: one-shot mode and dependency ordering now read as yes where they are, the WUD page names Grype and the approval queue, security gate and release-count maturity, the Arcane page lists all seven API key scopes, the v1.9.0 row no longer claims user management, the retired v2.0+ items are gone, and the license section credits the WUD fork.
- The edge agent snippet now pins
ghcr.io/codeswhat/portwing:1.7.0. The OpenSSL 3.5.9-r1 VEX document is gone, since a Grype scan of OpenSSL 3.5.10-r0 matches none of its eleven CVEs. The overdue Qlty rechecks are settled: thesprintf-jsentry is dropped because the package is no longer in any lockfile, and thebracesanddeepmergeentries are kept with a 2027-01-01 recheck because neither has a fix. LICENSEnow carries the upstream WUD copyright (Manfred Martin, 2019) above the CodesWhat line, a newNOTICEcredits the WUD fork origin, and the image ships both files at/LICENSEand/NOTICE.drydock.ymlnow covers the stats sampling (DD_STATS_INTERVAL,DD_STATS_HISTORY_SIZE), icon cache and proxy (DD_ICON_*), audit retention (DD_AUDIT_RETENTION_DAYS) and GHCR pagination (DD_GHCR_VERSIONS_MAX_PAGES) settings. They read through the merged configuration map, so the YAML keysstats.interval,audit.retention.daysand so on work with the same defaults, and the environment variables still do. These keys need a restart to change.
Added
- Digest-bound approvals on Portwing agents. Approving a queued update whose approval names an image digest now dispatches when the controller already holds the install to the digest (a watcher with controller Docker transport, which is how Portwing updates Docker containers, needs no agent change) or when the agent advertises
dd:update-digest. For an agent that runs updates itself: Drydock sendsapprovedDigest(digest, plusindexDigestfor a multi-arch image) in the agent update request, and the agent pulls that digest and refuses anything else. An agent without either, an unknown agent and a disconnected one still answer409with a message saying the agent must be upgraded, and a digest-bound update is never sent without the digest, even after a reconnect or a restart recovery. Portwing'sapproved-digest-mismatchrefusal becomes a clear update failure with anauto-update-blockedaudit entry, and is not mistaken for a duplicate-update conflict. Drydock's own agent mode does not advertise the capability yet, so its agents keep the409. - Per-container cosign trust policy (#1555). A host with images from several publishers can now turn signature verification on. Set
dd.security.cosign.identity,.identity-regexp,.issuer,.issuer-regexpor.keyon a container to verify it against its own signer, ordd.security.cosign=offto skip it with an audit row.DD_SECURITY_COSIGN_IDENTITYREGEXPandDD_SECURITY_COSIGN_ISSUERREGEXPadd regexp matching globally,DD_SECURITY_COSIGN_KEYSDIRconfines key labels to one directory, andDD_SECURITY_COSIGN_UNCONFIGURED=verify|warn|skipdecides what happens to a container with no key or identity (defaultverify, as before). Cosign labels baked into an image are ignored, and anything invalid fails closed, including a container whose trust labels can't be attributed because its image can't be inspected. - Database users and a
/api/v1/usersAPI. An admin can now create, disable, delete and change the role of users stored in the Drydock database, with argon2id password hashes, throughGET,POST,PATCHandDELETE /api/v1/users. The role is read on every request, so a change applies on the user's next request, and a disable, delete or password reset ends their sessions, closes their open header-authenticated streams and cancels a login challenge they had pending. Users fromDD_AUTH_BASIC_*are listed read-only and win a name collision. The routes are session only and admin only, refuse to disable, demote or delete yourself or the last admin, and writeuser-created,user-updatedanduser-deletedaudit entries. Passwords are 12 to 1024 characters and can't contain:. This adds store schema migration 21, which an older 1.9 build refuses to open, so back up the store directory before upgrading.
Fixed
- Registering about six or more triggers no longer prints a false
MaxListenersExceededWarningfordd:container-removed; the legacy event bus now warns instead on a handler registered twice and on a channel that grows past 100 listeners. After a Docker event stream reconnect the watcher replays the gap withsince(dropping the boundary duplicate), and schedules one debounced reconcile scan only when replay can't be trusted: more than one reconnect attempt or a rejectedsince. A clean first-try reconnect triggers no scan, including on a quiet host behind a proxy that times out idle streams. An event interrupted by a stream drop is replayed on the next connection. - Fifteen registry and trigger pages in the current docs still pinned
codeswhat/drydock:1.9.0-rc.1in their Compose anddocker runexamples. They now use the current release candidate, and the docs identity test fails on any otherdrydock:<version>-rc.<n>image pin incontent/docs/current/. - Dashboard grid: a dragged widget now lands where you drop it. Dropping one widget on an equal-size one swaps them and nothing else moves, a larger widget dropped on a smaller one pushes down only what it lands on, and resizing keeps the widget's position. Hidden widgets no longer take part in packing, hiding a widget closes a row band it leaves empty, and showing one puts it in the first free row without moving the rest, on every screen size. A saved layout still renders as saved until you change it.
- The roles, approvals, API and API keys docs now match the code. The roles table drops the claim that the test suite checks it, files outbox discard under
admin, and notes thatgithubdispatchandgitlabpipelineneedcontainers:update. The approvals page says a digest-bound approval pulls the approved digest and no longer accepts a manifest list digest. The deprecations page andDEPRECATIONS.mdlist the 1.9 enforced security changes.