v1.2.0 was published as a tarball but its package.json bump was never committed back to git. This release picks up where that gap left off and includes two fixes that v1.2.0 (commita216dd8) was missing: -6abba43: clear ALL pending self-update history entries (not just the first), so stuck installs unwind cleanly. -0460129: allow apiSourceDir to be overridden via the DASHCADDY_API_SOURCE_DIR env var, so installs that don't follow the default /etc/dashcaddy/sites/dashcaddy-api/ layout (e.g. older deployments under /opt/dashcaddy/) can point the auto-updater at the right path without patching the constructor. Without these, instances on the older /opt/dashcaddy/ layout get stuck in a 30-min retry loop where every update attempt fails with 'cp: cannot create directory /etc/dashcaddy/sites/dashcaddy-api/'. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1.6 KiB
1.6 KiB