docs: sync README, DEPLOY, CHANGELOG with tour fixes (canvg drop, non-root container, base pin)
This commit is contained in:
1 parent
86ac366136
commit
1078f74793
3 files changed
+17
-6
No files matched your search
@@ -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 `<script>`/`<foreignObject>` nodes, `on*` event-handler attributes, and `javascript:` hrefs before inserting an imported SVG into the DOM.
|
||||
|
||||
---
|
||||
|
||||
|
||||
Reference in new issue
Block a user