Skip to content

v1.4.0-rc.7 - #124

Merged
scttbnsn merged 35 commits into
mainfrom
release/v1.4.0-rc.7
Mar 8, 2026
Merged

scttbnsn merged 35 commits into
mainfrom
release/v1.4.0-rc.7

Conversation

@scttbnsn

@scttbnsn scttbnsn commented Mar 8, 2026

Copy link
Copy Markdown
Contributor

Summary

Release candidate 7 for v1.4.0. Builds on rc.6 with security hardening, API improvements, performance optimizations, and comprehensive test coverage.

Added

  • OpenAPI 3.1.0 specification at GET /api/openapi.json
  • Font size preference, announcement banner, SHA-1 deprecation banner
  • Update/rollback confirmation dialogs
  • MQTT attribute filtering for Home Assistant (HASS_ATTRIBUTES, EXCLUDE)
  • Docker Compose post_start env validation
  • Security vulnerability overview endpoint
  • Contributor Covenant Code of Conduct and GitHub issue templates

Changed

  • Standardized API responses with { data, total } collection envelopes and pagination links
  • Versioned API base path (/api/v1/* canonical, /api/* deprecated alias)
  • Machine-readable error contract ({ "error": "..." })
  • Argon2id password hashing (replaces scrypt)
  • 6 color themes (One Dark, GitHub, Dracula, Catppuccin, Gruvbox, Ayu)

Fixed

  • Socket proxy ECONNREFUSED with :ro mount
  • OIDC login broken by same-origin redirect check
  • Blank white screen on plain HTTP deployments
  • Docker Compose EBUSY on bind-mounted stacks
  • LSCR cross-host auth via ghcr.io token endpoint
  • Container status reconciliation on cron poll
  • iPad sidebar clipping (dvh), mobile dashboard scroll
  • Lockout counter reset, stale vulnerability data, audit limit param

Security

  • OIDC redirect URL validation (open redirect prevention)
  • Login brute-force lockout with concurrent session limits
  • Destructive action confirmation header (X-DD-Confirm-Action)
  • Full credential redaction in logs and API responses
  • Trigger infrastructure config redaction
  • Fail-closed webhook token enforcement

Performance

  • Vite chunk splitting, session index cache, proactive store eviction
  • Async secret file loading

Dependencies

  • cron-parser v2 → v5, removed pass package, trivy 0.69.3

Test plan

  • All 2116+ app tests passing (100% coverage)
  • All 843+ UI tests passing (100% coverage)
  • E2E Cucumber tests passing
  • Biome, qlty, zizmor, snyk all clean
  • Lefthook pre-push pipeline green
  • QA against running instance with test containers
  • Verify Docker image builds and runs correctly

scttbnsn added 28 commits March 8, 2026 09:46
h-screen (100vh) includes area behind browser chrome on iPad Safari,
causing sidebar footer (search + collapse) to be hidden. h-dvh (100dvh)
uses the dynamic viewport height which accounts for tab bar/toolbar.

Reported-by: esk83 (GitHub Discussion #84)
…n endpoint

Add getTrustedAuthHosts() override so LSCR (which delegates auth to
ghcr.io) is not rejected by the token endpoint host validation added
in rc.6.
- Sync both v1.3 and v1.4 docs as Fumadocs root folders with sidebar
  tab dropdown for version switching
- Remove static RC banner from docs layout (was broken on mobile)
- Add /docs → /docs/v1.4 redirect for bare URL
- Add missing v1.3 changelog content

Fixes: frozen sidebar navigation, mobile banner layout break
…env var

Users coming from older docs may use DD_AUTH_ANONYMOUS_CONFIRM instead
of DD_ANONYMOUS_AUTH_CONFIRM — accept both to avoid confusion
Containers started/stopped externally (Portainer, Docker CLI) could show
stale status if a Docker event was missed during a reconnect gap. The
hourly cron poll now updates the stored status from Docker's
listContainers response for containers already in the store.
…rements

- Remove :ro flag from Docker socket mount in all socket proxy compose
  examples — the read-only flag can prevent the proxy from connecting to
  the Docker daemon on some Linux kernels and provides no real security
  value (the proxy's env var filtering is the actual boundary)
- Add healthcheck + depends_on condition: service_healthy to all socket
  proxy examples for proper startup ordering
- Add FAQ entry for troubleshooting ECONNREFUSED with socket proxies
- Document that container actions (start/stop/restart) require a Docker
  trigger and POST=1 on the socket proxy
- Update proxy permissions table with container actions row
Add two-layer filtering to reduce MQTT payload bloat from security data
(SBOM documents, scan vulnerabilities) and container metadata (details,
labels) that overwhelm Home Assistant's json_attributes_topic.

- Layer 1: `hass.attributes` preset — "full" (default) or "short"
- Layer 2: `exclude` — comma-separated dot-paths that override the preset
- filterContainer() deep-clones via JSON round-trip to resolve getters,
  returns original reference when no filtering needed (zero overhead)
- Extract lockout, session, strategies, audit, remember-me into focused modules
- Switch Basic auth from sync argon2 to async for non-blocking verification
- Add session regeneration + remember-me persistence to OIDC flow
…tion helpers

- Split OpenAPI schema into domain-specific path modules (auth, containers, triggers)
- Extract reusable normalizeLimitOffsetPagination() from request helpers
- Add SSE backpressure handling for heartbeats
…ge editing

- Validate post_start environment variable keys against safe pattern
- Extract parseComposeDocument() and buildComposeServiceImageTextEdit()
- Support single-pass multi-service compose updates
…n limits

- auth-session: cover session index miss, lock contention, and cleanup
- auth: cover lockout reset, strategy validation, and concurrent limits
- container/crud: cover pagination edge cases, error branches, and 404
- basic/oidc: cover hash migration and token refresh error paths
- store/container: cover cache eviction and indexed lookups
- dockercompose: cover watch-path resolution and atomic write fallback
- mqtt/filter: cover preset override and nested path exclusion
- session-limit: cover eviction order, max boundary, and race conditions
Add prepare-codecov-reports script that prefixes source file paths
with workspace directories (app/, ui/) so Codecov maps coverage
to the correct monorepo files.
…issing changelog entries

- Fix error contract: remove phantom code/message fields from API docs
- Fix groups response: show collection envelope instead of raw array
- Add HASS_ATTRIBUTES and EXCLUDE env vars to MQTT trigger docs
- Add 20 missing changelog entries (features, fixes, perf, security, deps)
- Fix duplicate Changed heading and merge argon2id entry
- Sync all changes to website app (apps/web/)
@vercel

vercel Bot commented Mar 8, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
drydock-website Ready Ready Preview, Comment Mar 8, 2026 5:47pm

@codecov

codecov Bot commented Mar 8, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

Comment thread app/configuration/index.ts Fixed
Read file content first, then check byte length of the result instead
of stat-then-read pattern flagged by CodeQL as a potential filesystem
race condition
ALARGECOMPANY
ALARGECOMPANY previously approved these changes Mar 8, 2026
scttbnsn added 6 commits March 8, 2026 12:47
Replace the generic warning icon with the drydock whale logo rotated
180 degrees for a "belly up" dead fish visual on both the app layout
and login view disconnect screens
The whale logo now swims back and forth across the about dialog card,
flipping direction at each edge for an aquarium-like easter egg effect
The whale logo is a network-fetched PNG that won't load when the
server is down, so restore the original AppIcon warning for the
disconnect screen
- Center search icon in collapsed rail by removing hidden siblings with v-if
- Reduce outer padding (px-2) when collapsed for better proportions
- Remove border-top separator between search and sidebar footer
- Fix whale swim direction (scaleX flip matches travel direction)
- Extend swim container edge-to-edge with negative margins
- Remove sidebar border-right between sidebar and main content
- Remove logo section border-bottom in sidebar header
- Remove top bar header border-bottom
- Inline whale logo via ?inline import for offline availability
- Replace warning icon with rotated whale (belly-up, facing left)
- Fix about modal X button z-index over swim container
- Add pointer-events-none to swim container to prevent click blocking
- Update LoginView test to match new whale markup
@scttbnsn
scttbnsn merged commit 64085e9 into main Mar 8, 2026
13 checks passed
@scttbnsn
scttbnsn deleted the release/v1.4.0-rc.7 branch March 8, 2026 18:03

This branch was successfully deployed

1 active deployment
Preview — 12b8c6fc Deployed Mar 8, 2026 by vercel[bot]
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.

4 participants