Repository navigation
v0.3.21: Windows exe fix, a phone-ready app, and a non-root Docker image
·
41 commits
to development
since this release
Highlights
- The Windows exe works again: on Windows, every page of the bundled app (starting with the first-run setup wizard) returned "Page not found" without styling. Pages and assets now load, and the static file tests run on Windows in CI (#82).
- A phone-ready app: the editor opens canvas first on phones, with a compact tool rail, a floating selection toolbar and larger touch targets. Video has a stacked phone layout with bottom sheets for every control, and the whiteboard has a compact toolbar that stays readable on small screens.
- Installable, with an offline shell: HyCanvas can be installed from the browser with its own icon, theme colour and shortcuts. If the network drops, it shows an offline page instead of a browser error, and when a new version is deployed, open tabs offer a reload.
- Faster first load: static assets are served precompressed (brotli or gzip), and the deck builder, importers and several editor dialogs load only when opened.
- Docker image runs without root (thanks @TrippingKelsea, #80): the server now runs as uid 10001.
Upgrading with Docker
- The compose files gain a one-shot
storage-initservice that hands existing storage to the app user before the server starts, sodocker compose upupgrades in place. If you run the image some other way,chown -R 10001:0your storage volume once (seeDOCKER_SETUP.md). - The binary now lives only at
/usr/local/bin/hycanvas; the old/app/hycanvaspath is gone. Update any custom entrypoint or command that called/app/hycanvas. - At boot the server now checks that local storage is writable, and if it isn't, it exits with a message naming the uid and the fix, instead of failing uploads later.
What's changed
- Static: URL paths are cleaned with forward slashes on every OS, and the frontend's asset MIME types are fixed so Windows registry settings cannot change them
- Static:
sw.js, HTML pages and the web manifest are revalidated on every load, so a deploy reaches open tabs - CI: phone smoke test with touch input on three viewports, a first-load JavaScript budget for the dashboard and editor, and a Windows backend job
- Translations updated for the new phone controls
A drop-in upgrade from v0.3.20 for the binary. No schema change and no SQL migration; existing designs, uploads, version history and sharing settings are untouched.
Full changelog: v0.3.20...v0.3.21