diff --git a/CHANGELOG.md b/CHANGELOG.md index c1dec3db..6236a7d0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -21,10 +21,21 @@ Versions follow [Semantic Versioning](https://semver.org/). - **Responsive mobile** — full phone/tablet adaptation across all components. - **Project renamed** Zoosteo → Faunosteo across the whole codebase. +### Removed + +- **`canvg` dependency** — PDF SVG rasterization now uses the browser's native `Image`/`canvas` pipeline (`src/pdf/render/svgToPng.ts`) instead of the `canvg` library. + ### Fixed - **`pathology-editor.html` 404 in production** — it lived at the repo root, Vite never bundled it into `dist/`; moved to `public/` so it ships (LRN-029). - **Docker species caching** — `Cache-Control: no-cache` header added for `/species/` assets so an updated catalog is served fresh. +- **nginx runner base image** pinned to `nginx:1.31-alpine` (was the floating `nginx:alpine` tag). + +### Security + +- **Docker container runs fully as non-root** (`USER nginx`) — `PORT` must now be `>=1024` (default `8080` unaffected). +- **Supply-chain guard** — `.npmrc` gained `minimum-release-age=1440`, blocking install of package versions published less than 24h ago. +- **User-imported SVGs sanitized** — the SVG editor and the standalone pathology editor now strip `