VOLUME ["/srv/www"] created an anonymous volume that docker compose reuses across container recreation, shadowing a freshly COPY'd SPA bundle with the previous build — up -d --build exited 0 while serving the old bundle (and poisoned the PWA service worker's ngsw.json). A child image cannot un-declare an inherited VOLUME, so it must not be declared: removing it makes the COPY case deterministic and leaves the runtime bind-mount case unaffected. Also refreshed the README FROM tag v1.0.0 -> v1.6.0.
2.9 KiB
Changelog — einherjar/spa-server
All notable changes to this module are documented here. Format follows Keep a Changelog. This module adheres to Semantic Versioning.
[1.6.0] — 2026-08-14
Minor — coordinated framework release (lockstep versioning). No changes to this module's own API.
Fixed
- Dropped
VOLUME ["/srv/www"]from the base image. The declaration created an anonymous volume at the SPA root thatdocker compose upreuses across container recreation, so a rebuild silently kept serving the previous bundle (up -d --buildexited 0 while shipping the old build; on a PWA the stalengsw.jsonthen poisoned the service-worker cache). Consumers could not un-declare an inheritedVOLUMEand were stuck with--renew-anon-volumesforever. Removing it makes the headlineCOPY dist/ /srv/www/case deterministic, and the runtime bind-mount case (-v /path:/srv/www) is unaffected. Thev1.6.0image was rebuilt and re-pushed with this fix. Consumers with an already-poisoned anonymous volume need a one-time-V(ordocker volume rm) to shed it.
Changed
- Bumped einherjar dependencies to v1.6.0. The framework-wide change in this release is
web's newhttputil.Bind/httputil.BindEmptyrequest-binding adapters.
[1.5.0] — 2026-08-09
Minor — coordinated framework version alignment. No code or API changes in this module.
Changed
- Bumped
contracts,coreto v1.5.0.
[1.4.0] — 2026-08-09
Minor — coordinated framework release: dependency refresh + lockstep version alignment.
Changed
- Refreshed dependencies to their latest minor/patch where available.
- Bumped
contracts,coreto v1.4.0.
[1.3.0] — 2026-08-08
Minor — coordinated framework version alignment. No code or API changes in this module.
Changed
- Bumped
contracts,coreto v1.3.0.
[1.2.0] — 2026-08-08
Minor — coordinated framework version alignment. No code or API changes in this module.
Changed
- Bumped
contracts,coreto v1.2.0.
[1.1.3] — 2026-08-08
Patch — coordinated framework version alignment.
Changed
- Bumped einherjar dependencies (`contracts`, `core`) to v1.1.3. No code or API changes.## [1.1.2] — 2026-08-08
Patch — coordinated framework version alignment.
Changed
- Bumped einherjar dependencies (
contracts,core) to v1.1.2. No code or API changes.
[1.1.1] — 2026-08-07
Patch — coordinated framework version alignment.
Changed
- Bumped einherjar dependencies (
contracts,core) to v1.1.1. No code or API changes.
[1.1.0] — 2026-08-07
Patch — coordinated framework version alignment.
Changed
- Bumped einherjar dependencies (
contracts,core) to v1.1.0.
[1.0.0] — 2026-05-28
Initial release. See the README for the full API and the v1.0.0 git tag for the source.