From 1078f74793e97bb8c7e3991f1f1e85f27e2f1782 Mon Sep 17 00:00:00 2001 From: Bastien Chanot Date: Sun, 12 Jul 2026 11:57:19 +0200 Subject: [PATCH] docs: sync README, DEPLOY, CHANGELOG with tour fixes (canvg drop, non-root container, base pin) --- CHANGELOG.md | 11 +++++++++++ DEPLOY.md | 9 +++++---- README.md | 3 +-- 3 files changed, 17 insertions(+), 6 deletions(-) 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 `