57 KiB
Changelog
All notable changes to this project will be documented in this file. The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
0.28.0 (2026-04-02)
Added
0.27.0 (2026-04-02)
Added
[Unreleased]
Added
- resources: Docker network management — create, inspect, and delete networks from the UI
- resources: Network inspect panel showing IPAM config, connected containers with IPs/MACs, and labels
- resources: Network creation dialog with driver, subnet, gateway, internal, and attachable options
- resources: Network topology visualization (Pro) — interactive graph of networks and connected containers using React Flow
- resources: List/Topology view toggle on the Networks tab
Fixed
- resources: Network topology now correctly classifies networks as managed/unmanaged/system instead of showing all as unmanaged
- resources: Network inspect returns proper 404 status when a network no longer exists instead of generic 500
- resources: Network create route validates driver against allowed values and rejects array-typed labels
- resources: Replaced all
anytypes in network routes with properunknownnarrowing
0.26.0 (2026-04-02)
Added
0.25.3 (2026-04-02)
Fixed
0.25.2 (2026-04-02)
Fixed
- security: harden encryption key permissions, increase password minimum, remove sensitive logs (#323) (f317a83)
0.25.1 (2026-04-02)
Fixed
[Unreleased]
Added
- stack-management: scan stacks folder button to detect and import manually-placed compose files
Docs
- quickstart: fix Cyrillic character in Docker image reference and correct registry from GHCR to Docker Hub (
saelix/sencho) - backup: correct WAL mode references — Sencho uses SQLite default journal mode, not WAL
- configuration: add SSL/TLS examples for Nginx and Traefik reverse proxies, add Caddy configuration
- env: add missing
PORT,DATA_DIR,NODE_ENV,FRONTEND_URL,SSO_LDAP_DISPLAY_NAMEto.env.example - operations: add upgrade & migration guide, self-hosting best practices page
- reference: add architecture overview and development/contributor guide
- openapi: update spec from v0.23.0 to v0.25.3, add Registries and Image Updates endpoint groups
Fixed
- error-handling: surface silent errors across the codebase — added
console.warn/console.errorlogging to 22 silent catch blocks across 10 files (services, index.ts, frontend Login). Errors in cleanup, migrations, SSO, fleet snapshots, shutdown, and validation are now visible in logs without changing any control flow. ENOENT guards added to file-system catches to distinguish missing files from permission errors. - security: self-heal encryption key file permissions on startup — verifies
0600and corrects if permissive; Docker entrypoint also enforceschmod 600before privilege drop - security: increase minimum password length from 6 to 8 characters (NIST SP 800-63B) — applies to setup, password change, and user management; existing short passwords remain valid until changed
- security: remove sensitive data from console output — file paths,
.envlocations, stack names, and admin usernames no longer logged to stdout - security: use raw request bytes for webhook HMAC signature verification instead of re-serialized JSON — prevents signature mismatches from serialization differences
- security: use NIST-recommended 12-byte IV for AES-256-GCM encryption (backward compatible with existing 16-byte IVs)
- security: add 1-year default expiry to node proxy JWT tokens — previously issued without expiry
- security: pattern-based env var filtering in host console — blocks variables containing SECRET, PASSWORD, TOKEN, KEY, or CREDENTIAL (previously only filtered 4 explicit keys)
- security: deny CORS when
FRONTEND_URLis unset in production — previously fell back to allowing all origins
0.25.0 (2026-04-02)
Added
0.24.2 (2026-04-01)
Fixed
0.24.1 (2026-04-01)
Fixed
0.24.0 (2026-04-01)
Added
[Unreleased]
Added
- auto-update: Auto-Update Policies — schedule automatic image checks and container updates per stack (Skipper & Admiral)
- auto-update: Dedicated Auto-Update Policies view with create/edit dialog, cron presets, run history, and manual trigger
- auto-update: Extends the existing SchedulerService with a new
updateaction type, reusing cron scheduling and run history infrastructure - docs: Auto-Update Policies feature documentation page
- docs: OpenAPI 3.1 spec covering ~55 public API endpoints across 8 categories (Stacks, Containers, API Tokens, Webhooks, Nodes, Fleet, Scheduled Tasks, Health)
- docs: Interactive API Reference tab in Mintlify documentation powered by native OpenAPI rendering
- docs: API overview page with authentication guide, token scopes, node routing, error format, and WebSocket examples
Fixed
- image-updates: Fix stack name key mismatch — use
com.docker.compose.project.working_dirlabel instead ofcom.docker.compose.projectso update indicators work when compose files setname: - image-updates: Add 5-minute periodic polling so background check results are picked up without manual refresh
- image-updates: Replace fixed 3-second timeout with polling-based refresh that waits for the check to complete (up to 60s)
- image-updates: Clear update status (blue dot) after a stack is updated via the UI
0.23.0 (2026-03-31)
Added
0.22.1 (2026-03-31)
Fixed
0.22.0 (2026-03-31)
Added
0.21.2 (2026-03-30)
Fixed
[Unreleased]
Added
- scheduled-ops: failure notifications — dispatches error alerts through configured notification channels (Discord, Slack, webhook) when a scheduled task fails, with info-level recovery notifications when a previously-failing task succeeds again
- scheduled-ops: per-service restart targeting — scheduled stack restarts can now target specific services rather than restarting the entire stack
- scheduled-ops: prune label filter — scheduled system prune operations can be scoped to resources matching a specific Docker label (e.g.
com.docker.compose.project=mystack) - scheduled-ops: CSV export for execution history — one-click download of the full run history from the execution history panel
Changed
- multi-node: show inline warning when configuring a remote node with an HTTP URL — recommends HTTPS or VPN for public internet connections; HTTP remains fully supported for private networks
Fixed
- fleet: "Open in Editor" button in Fleet View's stack drill-down now correctly navigates to the stack editor instead of the dashboard. Also passes the stack name through the callback chain so the correct file is loaded.
- scheduled-ops:
prune_targetsfield was silently dropped when creating scheduled tasks due to missing column in the INSERT statement
Security
- docker: upgrade Docker Compose from v2.40.3 to v5.1.1 to remediate 5 Go stdlib/x/crypto CVEs (CVE-2025-68121, CVE-2025-61726, CVE-2025-61729, CVE-2026-25679, CVE-2025-47913). Compose v2.40.3 was compiled with Go 1.24.9 and x/crypto 0.38.0; v5.1.1 ships Go 1.25.8 and x/crypto 0.46.0. Docker CLI remains at v29.3.1 (already patched). CVE-2026-33186 (grpc ≥1.79.3) cannot be resolved until upstream Docker/Compose releases upgrade past grpc 1.78.0.
0.21.1 (2026-03-30)
Fixed
0.21.0 (2026-03-30)
Added
0.20.0 (2026-03-30)
Added
0.19.4 (2026-03-30)
Fixed
0.19.3 (2026-03-30)
Fixed
0.19.2 (2026-03-30)
Fixed
0.19.1 (2026-03-30)
Fixed
[Unreleased]
Changed
- host-console: moved Host Console from Community tier to Admiral tier. The interactive host terminal now requires a Sencho Admiral license — enforced in the UI (nav item hidden, AdmiralGate upgrade prompt), the REST API (
POST /api/system/console-tokenreturns 403), and the WebSocket upgrade handler (/api/system/host-consolerejects connections). Community and Skipper users see an upgrade prompt.
Security
- docker: upgrade base image from
node:20-alpinetonode:22-alpine(Node 22.22.2 on Alpine 3.23.3) to remediate 31 CVEs (1 Critical, multiple High/Medium/Low) flagged by Docker Scout against the previousnode:20-alpinebase. - docker: add
apk upgrade --no-cacheto runtime stage to ensure all Alpine system packages are at their latest patched versions at build time. - deps: force
dompurifyto 3.3.3 via npm overrides to resolve two Dependabot advisories (Mutation-XSS via Re-Contextualization and Cross-site Scripting) in the transitive dependency pulled bymonaco-editor. - docker: install Docker CLI v29.3.1 and Compose v2.40.3 from official static binaries instead of Alpine packages (which ship v29.1.3) to resolve CVE-2026-33186 (Critical), CVE-2026-34040 (High), CVE-2026-33747 (High), CVE-2026-33748 (High), and bundled Go stdlib CVEs.
Fixed
- stacks: resolve permission denied error when deleting stacks with root-owned files. Sencho now falls back to Docker-based cleanup when the normal deletion fails due to EACCES/EPERM, handling directories created by Docker Compose as root without requiring elevated privileges.
- stacks:
docker compose downduring stack deletion now includes--volumes --remove-orphansto let Docker clean up its own resources before filesystem removal.
0.19.0 (2026-03-30)
Added
- audit-log: add configurable retention, export, Auditor role, and enhanced filtering (#258) (d586ce3)
0.18.0 (2026-03-29)
Added
[Unreleased]
Added
-
audit-log: configurable retention period (1–365 days) via Settings → Developer → Data Retention, replacing the hardcoded 90-day limit
-
audit-log: one-click CSV and JSON export of the currently filtered audit log dataset (capped at 10,000 entries)
-
rbac: new Auditor role — read-only access to the audit log with no administrative privileges, ideal for compliance officers and security reviewers
-
audit-log: full-text search across action summaries, API paths, and usernames
-
audit-log: date range filter with From/To date pickers in the UI
-
audit-log: expandable row details showing full request path, IP address, node ID, and entry ID
-
rbac: introduce Deployer and Node Admin intermediate roles with scoped permissions (Team Pro)
- Deployer role: can deploy, restart, stop, and start stacks but cannot edit compose files, delete stacks, or access system settings
- Node Admin role: full stack and node management but no system settings, user management, or license access
- Scoped permissions: assign roles per stack or per node for fine-grained access control
- Permission matrix engine with
checkPermission()for consistent backend enforcement - Frontend
can()function in AuthContext for consistent UI guards - New API endpoints:
GET/POST/DELETE /api/users/:id/rolesfor managing scoped assignments - New API endpoint:
GET /api/permissions/mefor fetching effective permissions - Gated to Team Pro tier — Community and Personal Pro retain binary Admin/Viewer roles
0.17.0 (2026-03-29)
Added
0.16.0 (2026-03-29)
Added
0.15.1 (2026-03-29)
Fixed
0.15.0 (2026-03-29)
Added
[Unreleased]
Added
- registries: add private registry credential management (Team Pro). Store encrypted credentials for Docker Hub, GHCR, AWS ECR, and self-hosted registries. Credentials are automatically injected during deploy/pull via temporary DOCKER_CONFIG. ECR short-lived tokens are refreshed on every operation. Image update checks now authenticate against private registries.
Changed
- ui: redesign top bar into three-zone layout — node pill (left), animated navigation group (center), utilities (right). Replaces flat row of individual buttons with a cohesive tab-style navigation using animated sliding highlight. Includes responsive behavior: icon+text at xl, icons-only at md, sheet drawer on mobile.
Fixed
- scheduled-ops: fix "Run Now" audit log entry incorrectly showing "Created scheduled task" instead of "Triggered scheduled task"
- scheduled-ops: add
triggered_byattribution to run records distinguishing scheduler vs manual executions - scheduled-ops: add pagination to execution history view
- scheduled-ops: make system prune targets configurable (containers, images, networks, volumes)
Docs
- scheduled-ops: add screenshots and document Run Now behavior for disabled tasks
- settings: fix settings reference to correctly describe profile dropdown access
0.14.2 (2026-03-29)
Fixed
0.14.1 (2026-03-28)
Fixed
[Unreleased]
Fixed
- api-tokens: harden scope enforcement - fix deploy-only allowlist to match actual routes, add WebSocket scope gating, block API tokens from all sensitive management endpoints (user management, SSO configuration, node management, license management, console access, password change, node-token generation, and token self-management), add configurable expiration support (30/60/90/365 days)
0.14.0 (2026-03-28)
Added
0.13.2 (2026-03-28)
Fixed
0.13.1 (2026-03-28)
Fixed
0.13.0 (2026-03-28)
Added
0.12.0 (2026-03-28)
Added
0.11.0 (2026-03-28)
Added
0.10.0 (2026-03-27)
Added
[Unreleased]
Added
- sso: Team Pro SSO/LDAP integration - authenticate via LDAP/Active Directory, Google, GitHub, or Okta alongside existing password login. Auto-provisions new users on first SSO login with configurable role mapping from identity provider groups/claims. All provider credentials encrypted at rest. Configurable via environment variables or Settings UI. OIDC flows use PKCE and state-based CSRF protection. Added
trust proxyfor correct behavior behind reverse proxies. - audit-log: Team Pro audit logging - records all mutating API actions (deploy, stop, delete, settings changes, user CRUD) with user attribution, timestamp, HTTP method, status code, and node context. Searchable timeline UI with filtering by username and method. 90-day retention with automatic cleanup.
- security: encryption at rest for sensitive database values - node API tokens are now encrypted with AES-256-GCM using a per-instance key stored outside the database. Existing plaintext tokens are automatically migrated on startup.
Removed
- database: dropped 9 legacy SSH/TLS columns from the nodes table (
host,port,ssh_port,ssh_user,ssh_password,ssh_key,tls_ca,tls_cert,tls_key) - these were superseded by the Distributed API model in v0.7.0 and have been inert since - frontend: removed orphaned
MaintenanceModal.tsxcomponent (dead code, never imported - prune functionality lives inResourcesView.tsx)
Changed
-
settings/license: replaced static "View Pricing" button with dynamic upgrade cards - Community users see Personal Pro and Team Pro options with feature highlights; Personal Pro users see Team Pro upgrade only; each card links directly to Lemon Squeezy checkout
-
docs: comprehensive documentation audit - updated 11 pages with accurate content and 14 fresh screenshots
-
docs/configuration: removed JWT_SECRET from required env vars (it's auto-generated), added compose directory reorganization explanation
-
docs/settings: added missing License, Users, Webhooks, Support, and About sections; removed obsolete Appearance section
-
docs/editor: fixed container actions table to match actual UI (Open App, View Live Logs, Open Bash Terminal)
-
docs/features-overview: updated all feature descriptions to match current implementation
-
docs/alerts: added remote node alerts section with setup checklist
-
docs: added screenshots for Fleet View, Fleet Backups, RBAC, Webhooks, Multi-Node, Editor, Alerts, and Settings
0.9.0 (2026-03-27)
Added
0.8.0 (2026-03-26)
Added
0.7.0 (2026-03-26)
Added
0.6.0 (2026-03-26)
Added
0.5.0 (2026-03-25)
Added
0.4.0 (2026-03-25)
Added
[Unreleased]
Added
-
auth: Login and Setup pages redesigned with split-panel branding layout (dark branding panel + theme-aware form)
-
auth: Optional admin email field on Setup for future license recovery
-
ui: Mobile-responsive login/setup with compact logo header
-
fleet: Fleet health summary cards - aggregated container, CPU, memory, and alert counts across all nodes (Pro)
-
fleet: Container-level drill-down - expand stacks to see individual containers with state, uptime, and quick navigation (Pro)
-
fleet: Node sorting by name, CPU, memory, container count, or status with persistent preferences (Pro)
-
fleet: Status, type, and critical resource filtering with pill-style toolbar (Pro)
-
fleet: Fleet-wide search across node names and stack names (Pro)
-
fleet: Critical node detection with red badge for nodes exceeding 90% CPU or disk usage
-
fleet: Error toasts on stack and container fetch failures (replaces silent error swallowing)
-
fleet: ProGate now wraps placeholder content instead of empty children for a better upgrade preview
-
webhooks: Custom CI/CD webhooks - create webhooks targeting specific stacks and actions (deploy, restart, stop, start, pull), trigger them from GitHub Actions, GitLab CI, or any HTTP client with HMAC-SHA256 signature authentication (Pro)
-
webhooks: Execution history tracking - last 100 executions per webhook with status, duration, and error details
-
webhooks: Webhook management UI in Settings with create/edit/delete, enable/disable toggle, one-time secret reveal, and copy-to-clipboard for trigger URLs
-
rbac: Role-based access control with admin and viewer roles - viewers get full read-only access to dashboard, stacks, logs, and stats while admins retain full control (Pro)
-
rbac: User management UI in Settings - create, edit, and delete users with username/password/role controls, protected by admin-only access
-
rbac: Automatic migration of existing single-admin credentials to the new multi-user system on first boot
-
rbac: Viewer restrictions across the entire UI - read-only editor, hidden action buttons, disabled host console, and disabled resource management
-
atomic: Atomic deployments with automatic rollback - Sencho backs up compose.yaml and .env before deploying, and auto-restores if health probes detect crashed containers (Pro)
-
atomic: Manual rollback button in the stack action bar - restore the previous deployment with one click when a backup exists (Pro)
-
atomic: Health probes added to stack updates (previously only on deploys) - crashed containers trigger auto-rollback during updates too
-
atomic: Webhook-triggered deploys and updates now use atomic rollback for Pro users
-
fleet: Fleet-wide backups - snapshot all compose files and .env files across every node (local and remote) into a central backup stored in SQLite (Pro)
-
fleet: Snapshot detail view - browse captured files per node and stack with inline preview in a collapsible tree
-
fleet: Per-stack restore from any snapshot - overwrite current compose files with the snapshot version, with optional one-click redeploy (Pro admin)
-
fleet: Graceful handling of offline nodes during snapshot creation - skipped nodes are recorded with reason and displayed as warnings
-
licensing: In-app "View Pricing" button redirects to sencho.io for plan selection - license key activation is the primary flow for self-hosted instances
Changed
- pricing: Personal Pro - $7.99/month, $69.99/year, $249 lifetime (1 admin + 3 viewers)
- pricing: Team Pro - $49.99/month, $499.99/year, $1,499 lifetime (unlimited accounts)
- pricing: Lifetime pricing marked as time-limited early-adopter offer (90-day launch window)
- licensing: License variant (Personal/Team) now stored from Lemon Squeezy metadata and exposed in license API response
Removed
- licensing: Server-side Lemon Squeezy checkout URL generation, webhook endpoint, and billing portal - not applicable to self-hosted model where each user runs their own instance
- rbac: Seat limits enforced server-side based on license variant - Personal Pro: 1 admin + 3 viewers, Team Pro: unlimited
Fixed
- e2e: Use explicit
data-stacks-loadedstring values for reliable attribute selector matching - app-store: Fix crash caused by removed
Githubicon in newer lucide-react versions
0.3.1 (2026-03-25)
Fixed
0.3.0 (2026-03-25)
Added
0.2.5 (2026-03-25)
Fixed
0.2.4 (2026-03-25)
Fixed
0.2.3 (2026-03-25)
Fixed
[Unreleased]
Added
- licensing: Community/Pro tier system with Lemon Squeezy integration. Includes
LicenseServicebackend singleton,/api/licenseendpoints (activate, deactivate, validate),LicenseContextfrontend provider, License settings tab,ProBadgeandProGatereusable components, and 14-day Pro trial on first install. License data stored insystem_statetable with 72-hour periodic validation and 30-day offline grace period. - fleet: Fleet Overview dashboard showing all nodes in a card grid with status, container counts, CPU/RAM/disk usage bars. Pro tier unlocks stack drill-down, auto-refresh (30s), and per-node stack details via
/api/fleet/overviewand/api/fleet/node/:nodeId/stacksendpoints. - ui: User Profile Dropdown replacing scattered Settings/LogOut buttons. Includes theme toggle (System/Light/Dark), billing link (Pro only), documentation, and version display. Appearance tab removed from Settings.
- settings: About section displaying version, license tier, status, instance ID, and links to docs/changelog/issues.
Fixed
- charts: suppress Recharts
width(-1) height(-1)warnings by removing conflictingaspect-videodefault and addingminWidth={0}+minHeight={0}onResponsiveContainer.
0.2.2 (2026-03-25)
Fixed
- editor: ESLint unused params fix (dd5b698)
- editor: ESLint unused params fix (dd5b698)
- editor: remove unused params from getWorker to satisfy ESLint (34172a9)
- editor: remove unused params from getWorker to satisfy ESLint (34172a9)
- editor: remove unused params from getWorker to satisfy ESLint (59290e9)
0.2.1 (2026-03-24)
Fixed
- editor: bundle Monaco locally to fix stuck Loading state (0eaa45b)
- editor: bundle Monaco locally to fix stuck Loading state (0eaa45b)
- editor: bundle Monaco locally to fix stuck Loading state and CSP block (79fde6e)
- editor: Monaco CSP fix + release pipeline fixes (36a9bf3)
- editor: Monaco CSP fix + release pipeline fixes - v0.2.1 (36a9bf3)
0.2.0 (2026-03-24)
Added
- ci: add release-please automated versioning workflow (c2d5d37)
- ci: add release-please automated versioning workflow (c2d5d37)
- ci: add release-please automated versioning workflow (c294def)
- ci: automated versioning with release-please (c991b81)
- ci: automated versioning with release-please (c991b81)
Fixed
- ci: correct release-please changelog section names and tag format (ea57cbe)
- ci: correct release-please changelog section names and tag format (ea57cbe)
- ci: correct release-please changelog section names and tag format (e653bc2)
- ci: release-please config corrections (b6391b9)
- ci: release-please config corrections (b6391b9)
[Unreleased]
Fixed
- fix(editor): Monaco editor stuck on "Loading…" -
@monaco-editor/reactwas fetching Monaco's loader fromcdn.jsdelivr.netat runtime, which the Helmet CSP (scriptSrc: 'self') correctly blocked. Fixed by configuringloader.config({ monaco })inmain.tsxto use the locally bundledmonaco-editornpm package and wiring a Vite?workerblob URL for the editor worker - no CDN requests, no CSP changes needed. - fix(ci):
release-please.ymlusedGITHUB_TOKENto create release tags - GitHub's security model preventsGITHUB_TOKEN-triggered events from cascading to other workflow runs, sodocker-publish.ymlnever fired after a release. Switched toDOCS_REPO_TOKEN(PAT) so tag creation correctly triggers the Docker Hub publish workflow. - fix(ci): Screenshot refresh PR now auto-merges via
gh pr merge --auto --squashafterpeter-evans/create-pull-requestcreates it - no more manual merge required on everydeveloppush.
Fixed
- fix(ci):
docker-publish.ymlwas triggered byrelease: types: [published](GitHub Release event) instead ofpush: tags: v*- pushing a git tag never fired the workflow. Changed trigger topush: tags: v*and updatedenableconditions fromgithub.event_name == 'release'tostartsWith(github.ref, 'refs/tags/v')so anyv*tag push automatically builds and publisheslatest+ semver tags to Docker Hub without requiring a manual GitHub Release.
Added
- feat(ci): Automated versioning via
release-please- on every push tomain, therelease-pleaseworkflow opens or updates a Release PR with a generated CHANGELOG entry andpackage.jsonversion bump. Merging the Release PR creates thevX.Y.Ztag which triggersdocker-publish.yml. Version bumps follow Conventional Commits:fix:→ patch,feat:→ minor,feat!:/BREAKING CHANGE:→ major.
0.1.0 - 2026-03-24
Security
- Fixed: Missing
authMiddlewareonGET /api/notifications,POST /api/notifications/read,DELETE /api/notifications/:id,DELETE /api/notifications,POST /api/notifications/test, andPOST /api/system/console-token- any unauthenticated client could reach these endpoints. - Fixed: Remote node
api_urlaccepted without validation - an attacker could set it tohttp://localhost:6379to SSRF into internal services. Now validates: must be a well-formedhttp://orhttps://URL and the hostname may not belocalhost,127.x.x.x,[::1], or0.0.0.0. - Fixed:
env_filepaths incompose.yamlwere accepted without boundary checking - absolute paths like/etc/passwdcould be read or written. All resolved env file paths are now validated to stay within the stack directory. - Fixed: Stack name validated in write routes but not GET routes - path-traversal names now return 400 on all routes.
- Fixed:
stackParamquery parameter on/api/system/host-consolenow validated againstpath.resolve+startsWith(baseDir)to prevent directory traversal when setting the PTY working directory. - Fixed:
HostTerminalServiceno longer forwards fullprocess.envto spawned PTY shells -JWT_SECRET,AUTH_PASSWORD,AUTH_PASSWORD_HASH, andDATABASE_URLare stripped before the shell is spawned. - Fixed: Host Console and container exec WebSocket endpoints now reject
node_proxyscoped JWT tokens with HTTP 403. - Fixed:
GET /api/settingsno longer leaksauth_username,auth_password_hash, orauth_jwt_secretto the frontend. - Fixed:
POST /api/settingsenforces a strict allowlist of writable keys - auth credential keys and unknown keys are rejected with a 400 error. - Added: Rate limiting on
/api/auth/loginand/api/auth/setup- 5 attempts per 15-minute window per IP, usingexpress-rate-limit. - Added:
helmetmiddleware for security response headers (X-Frame-Options, X-Content-Type-Options, Referrer-Policy, etc.). - Changed: CORS is now restricted to
FRONTEND_URLenv var in production; development continues to allow any origin.
Added
Infrastructure & CI
linux/arm64platform support in the Docker Hub publish workflow (Raspberry Pi 4/5, Oracle ARM VMs) - native modules (bcrypt,better-sqlite3,node-pty) cross-compiled viatonistiigi/xxto eliminate theSIGILLcrash caused by Node.js v20 using ARMv8.1 LSE atomic instructions unsupported by GitHub Actions QEMU.docker/setup-qemu-action@v3step todocker-publish.yml- without it multi-platform builds hung indefinitely.- Automated Docker Hub CI/CD pipeline publishing
devandlatesttags. - Automated documentation pipeline with Mintlify sync and screenshot refresh CI job.
HEALTHCHECKdirective inDockerfile- Docker polls/api/healthevery 30 s and restarts an unhealthy container.GET /api/healthpublic endpoint returning{ status: "ok", uptime }.docker-entrypoint.sh- runs as root, fixes$DATA_DIRvolume ownership, then drops to the non-rootsenchouser viasu-execbefore starting Node. EliminatesSQLITE_READONLYcrashes on host-mounted volumes.- Non-root
senchosystem user inDockerfile; process no longer runs as root. - Graceful shutdown - backend listens for
SIGTERM/SIGINT, drains HTTP connections, stopsMonitorServiceandImageUpdateService, and closes the SQLite connection before exiting. - Vitest backend test suite - 38 tests covering validation utilities, health endpoint, authentication flows, auth middleware enforcement, console-token security, and SSRF validation. Run with
cd backend && npm test. - Playwright E2E test scaffolding (
e2e/) - auth, stack management, and node management specs with shared login helper. Run withnpm run test:e2e. - CI workflow runs Vitest unit tests and ESLint on every PR.
isValidStackName,isValidRemoteUrl,isPathWithinBaseextracted tobackend/src/utils/validation.tsfor reuse and testability.
Multi-Node & Distributed API
- Distributed API proxying using
http-proxy-middlewarefor HTTP and WebSockets - replaces the SSH/SFTP architecture entirely (~500 lines removed). - Long-lived JWT generation for Sencho-to-Sencho API authentication (
POST /api/auth/generate-node-token). nodeContextMiddlewarein Express to dynamically extractx-node-idheaders and?nodeId=query parameters for WebSocket upgrades.NodeRegistryservice managing multiple Docker daemon connections.- Node management API endpoints: list, get, create, update, delete, and test connection.
- Two-tier scoped navigation UX - context pill in the top header always shows the active node name (pulsing blue for remote, green for local).
- Remote-aware headers in
HostConsole,ResourcesView,GlobalObservabilityView, andAppStoreView. SettingsModalscopes its sidebar to the active node type - global-only tabs hidden when a remote node is active.- Cross-node notification aggregation - notification bell surfaces alerts from all connected remote nodes with dedicated real-time WebSocket connections per remote node.
- Remote node host console and container exec WebSocket proxy - gateway exchanges
node_proxytoken for a short-livedconsole_sessionJWT (60 s TTL) before forwarding. localOnlyoption onapiFetch- omitsx-node-idso requests always route to the local node.
Application Features
- App Store - LinuxServer.io API integration as default template registry with rich metadata (architectures, docs links, GitHub links), category filter, one-click deployment, atomic rollback on failure, custom Portainer v2 registry URL support, editable ports/volumes/environment variables, post-deploy health probe.
- Resources Hub - Images, Volumes, and Networks tabs with Managed/External/Unused classification, Docker Disk Footprint stacked-bar widget, scoped prune operations (Sencho-only vs All Docker), managed/external filter toggles, and classification badges.
- Global Observability - centralized dashboard tracking 24-hour historical metrics and aggregating global tail logs across all containers. Dozzle-style Action Bar with multi-select stack filtering, search, STDOUT/STDERR toggles, and Developer Mode SSE real-time streaming.
- Background image update checker - polls OCI-compliant registries every 6 hours using manifest digest comparison; results cached in
stack_update_statustable; pulsing blue dot badge on stacks with available updates. - Real-time WebSocket notifications - replaces 5-second polling;
NotificationService.setBroadcaster()pushes each new alert to all authenticated subscribers the moment it fires. - Live Container Logs viewer using SSE for real-time terminal output.
- Animated design system -
motionpackage andanimate-uilibrary; new brand cyan token; spring-based dialog/tooltip/tab animations;prefers-reduced-motionrespected globally; Geist font via Google Fonts CDN. - Theme-aware sidebar logo - dark and light variants auto-switch based on active theme.
- Auto theme option (light/dark/auto) with
window.matchMedialistener. PATCH /api/settingsbulk-update endpoint - validates all values via Zod schema, persists atomically in a single SQLite transaction.system_stateSQLite table - separates runtime operational state from user-defined config inglobal_settings.- Configurable
metrics_retention_hours(default: 24 h) andlog_retention_days(default: 30 d) -MonitorServicereads these dynamically each cycle. - Managed/unmanaged container count split in
GET /api/stats- Home Dashboard "Active Containers" card shows "N managed · N external". - Two-Stage Teardown for stack deletion -
docker compose downsweeps ghost networks before deployment files are deleted. - Custom Environment Variable injection tool in deployment UI.
ErrorBoundarycomponent now wraps root<App />inmain.tsx.- Git Flow branching strategy and branch protection.
Fixed
Authentication & Proxy
- Login loop caused by remote node auth failure -
apiFetchnow only firessencho-unauthorizedwhen thex-sencho-proxy: 1header is absent (i.e., a genuine local session failure, not a remote node auth error). authMiddlewareand WS upgrade handler now evaluatebearerToken || cookieToken(Bearer first) - cookie no longer shadows a valid Bearer token on node-to-node proxy calls.- Remote node proxy stripping the
/apipath prefix - addedpathRewrite: (path) => '/api' + pathto restore the full path when forwarding to remote instances. - Remote node HTTP proxy body forwarding - replaced
proxyReq.write(JSON.stringify(req.body))(raced againsthttp-proxy'sprocess.nextTick(proxyReq.end)) with a conditional JSON body parser that skipsexpress.json()for remote-targeted requests; the rawIncomingMessagestream is left unconsumed sohttp-proxy'sreq.pipe(proxyReq)forwards it intact. - Remote node proxy forwarding the browser's
sencho_tokencookie to the remote instance - stripped inproxyReqso only the Bearer token is used. - Remote WebSocket upgrades forwarding the browser
cookieheader - stripped beforewsProxyServer.ws()so the remote'sauthMiddlewareuses the Bearer token exclusively. nodeContextMiddlewareblocking/api/nodeswhenx-node-idreferences a deleted node - exempted alongside/api/auth/so the frontend can re-sync a stale node ID.- Backend memory leak from
createProxyMiddlewarecalled inside the request handler on every API call - refactored to a single globally-instantiated proxy using therouteroption. remoteNodeProxyerror handler unsafely castproxyRestoResponseon WebSocket/TCP-level errors - type-narrowed before sending 502.
WebSocket & Streaming
- Container stats WebSocket flooding React with up to 20+
setStatecalls per second - replaced with a ref-buffer + 1.5 s flush interval pattern. streamStatsDocker stats stream leaking after WebSocket client disconnect -ws.on('close')handler callsstats.destroy(); allws.send()calls guarded withreadyState === OPEN.streamStatsandexecContainercalled unawaited - unhandled promise rejections now chain.catch(), log the error, and close the WebSocket cleanly.- Per-connection
WebSocket.Serverinstances for stack logs and host console never closed after upgrade -wss.close()called immediately afterhandleUpgrade. - WebSocket notification reconnect upgraded to exponential backoff (1 s → 30 s max) instead of flat 5-second retry;
ws.onerrorlogs the event; cleanup guards against closing an already-closing socket. - Terminal logs and container stats WebSockets failing with "HTTP Authentication failed" on remote nodes - gateway's
cookieheader stripped before forwarding to remote;nodeIdquery param stripped from forwarded URL. - LogViewer returning 404 on remote nodes -
nodeIdquery param stripped fromproxyReq.pathinonProxyReq.
UI & Frontend
- Blank page on HTTP deployments (root cause - Helmet 8 default CSP
upgrade-insecure-requestsand HSTS) -upgradeInsecureRequests: nullandstrictTransportSecurity: falseset explicitly. - COOP header console warning on HTTP deployments -
crossOriginOpenerPolicy: false. - Inline script CSP violation from Vite module-preload polyfill - disabled via
build.modulePreload.polyfill: false. - CSP
workerSrcmissing (Monaco editor workers) - addedworker-src 'self' blob:. - CSP
connectSrcimplicit - added explicitconnect-src 'self' ws: wss:. - Docker socket
EACCESroot:root edge case - entrypoint handles GID 0 in addition to the standard root:docker case. - Managed container count wrong when stacks launched from COMPOSE_DIR root - classification now uses
com.docker.compose.project.working_dir. - Browser Out of Memory crash in
GlobalObservabilityView- capped DOM rendering to last 300 entries, reduced SSE log cap to 2,000 entries, replacedkey={idx}with monotonic_idcounter. HomeDashboardcreate-stack error handling - reads JSON error body before throwing; uses defensive toast pattern.AlertDialogContentusingasChildwithmotion.divwrapper crashing on delete-stack confirmation - replaced with CSS keyframe animations.- animate-ui
auto-height.tsximportingWithAsChildwithouttypekeyword - crashed browser module loader. - animate-ui
switch.tsxdouble-spreading Radix props ontomotion.buttonDOM element. - "Always Local" badge tooltip crashing (
getStrictContext) - replaced animate-ui tooltip with pure Radix primitives. - Cancel/Add Node buttons in NodeManager dialogs stuck together.
- Resources/App Store/Logs menu buttons not toggling off on second click.
- Monaco container height accumulation on tab switching - reset to 0×0 and force synchronous reflow before re-measuring.
AppStoreViewandGlobalObservabilityViewusing rawfetch()instead ofapiFetch()- all calls now injectx-node-id.HostConsoleWebSocket URL missing?nodeId=query parameter.- "Open App" button opening
http://localhost:{port}for remote node containers - resolves hostname from remote node'sapi_url. - Dashboard cards showing stale local-node data after switching to a remote node - polling effects now depend on
activeNode?.idand clear state immediately on node change. refreshStackscrashing withSyntaxErrororTypeErrorwhen the remote proxy returns a non-JSON response - checksres.okbefore callingres.json().- Four empty
catch {}blocks inEditorLayout- now surface errors viatoast.error(). StackAlertSheetnot fetching notification agent status from the active node on open.SettingsModalNotifications tab hidden when a remote node is active - now visible and configurable on remote nodes.POST /api/alertsnow validates the request body with a Zod schema - rejects unknown metric/operator values, negative thresholds, and missing fields with a structured 400.WebSocket.Serverreplaced with named importWebSocketServerfromwsto fix ESM/CJS interop.NodeProvidermounted outside the auth gate - moved inside the authenticated branch sorefreshNodesno longer fires before authentication.- Infinite re-fetch loop in
NodeContext-refreshNodesuseCallback no longer depends onactiveNodestate; replaced withuseRef. - Infinite page reload loop -
apiFetchreplacedwindow.location.href = '/'with asencho-unauthorizedcustom event. - API Token copy button failing silently on HTTP/non-localhost - added
execCommand('copy')fallback. - E2E nodes tests permanently timing out because the Add Node submit button requires
api_tokento be non-empty. - ESLint CI step - replaced all
anyannotations with proper types, fixed unused catch variables. [DEP0060] DeprecationWarning: util._extendfromhttp-proxy@1.18.1- suppressed at call site.- Global Logs false-positive error misclassifications - replaced naive regex with a robust 3-tier classification engine.
- Memory leak in
GlobalObservabilityViewSSE mode - log array capped at 2,000 entries. - Historical metrics memory leak - polling throttled to 60 s; SQLite payload downsampled by 12×.
- Active node UI dropdown desyncing from API requests on initial page load - state hydrated from localStorage.
MonitorServicecrash (Cannot read properties of undefined (reading 'cpu_usage')) during Docker container transition states.- Deleted node ghost API calls - 404 errors intercepted globally, forcing UI to resync to default node.
- Horizontal UI overflow in Node Manager settings on smaller resolutions.
- Docker API parsing bug where HTML string responses from misconfigured ports were counted as containers.
Changed
- Architecture: Replaced SSH/SFTP remote node model with Distributed API proxy (HTTP/WebSocket) - remote nodes now only require an API URL and Bearer token. Node Manager UI vastly simplified.
- Docs: Migrated Mintlify config from deprecated
mint.jsontodocs.jsonv2 format; bootstrapped full user-facing documentation (configuration, stack management, editor, multi-node, alerts, dashboard, resources, app store, observability, settings reference, troubleshooting, backup & restore). - Design system: Animated UI overhaul - new brand cyan token, spring-based animations on dialogs/tooltips/switches/tabs, dark mode shadow strengthening, Geist font now actually loaded.
- Notification delivery replaced polling with WebSocket push - no more
setIntervalinEditorLayout. DatabaseService.addNotificationHistoryreturns the full inserted record for real-time broadcasting.SettingsModaloverhauled - per-operation loading states, skeleton loader, unsaved-changes indicator, all saves usePATCH /api/settings.MonitorServiceevaluates limits and detects container crashes across all registered nodes concurrently.MonitorServicereads retention settings dynamically each cycle.- Developer settings scoped to the local node - reads/writes always target local via
localOnlyregardless of active node. - Dark mode scrollbar styling - no more white native scrollbars.
- Rebranded "Templates" → "App Store", "Ghost Containers" → "Unmanaged Containers", "Observability" → "Logs".
- Global logs display chronologically (newest at bottom) with smooth auto-scrolling; UTC → local browser timezone.
- Historical CPU/RAM charts relocated to the Home Dashboard; data normalized (CPU relative to host cores, RAM to GB).
EditorLayoutmain workspace container keyed toactiveView- every view switch triggers a fade-up entrance animation.
Removed
- SSH/SFTP remote node adapters (
IFileAdapter,LocalFileAdapter,SSHFileAdapter,SSHFileAdapter,ComposeService.executeRemote,ComposeService.streamLogsSSH path) - ~500 lines.