# Changelog All notable changes to **Faunosteo** are documented here. Format: [Keep a Changelog](https://keepachangelog.com/en/1.1.0/). Versions follow [Semantic Versioning](https://semver.org/). ## [Unreleased] ### Changed (SaaS migration, plan Step 2) - **pnpm workspace** — the application moved to `apps/app` (`@faunosteo/app`) with `git mv`; root commands (`pnpm typecheck|test:run|lint|build|dev`) delegate to the packages. `packages/` reserved, empty. CI workflow added (`.gitea/workflows/ci.yml`). - **Node 24 LTS / pnpm 10.13.1** — declared in `.nvmrc`, `.node-version`, `engines`, `packageManager`; `engine-strict` on; Dockerfile builds on `node:24-alpine` and copies `apps/app/dist`. ### Added (SaaS migration, plan Steps 0–1) - **Implementation plan** — `docs/development/` (27-step plan, migration map, domain map, architecture, strategies, open questions). - **Characterisation suite** — 91 tests on the real SVGs, catalog and PDF pipeline; two golden Report v2 fixtures (`CHARACTERIZATION_REPORT.md`). ### Added - **Laterality & bilaterality** — `LateralSideSchema` (left/right) + `Bone.lateral`, `data-anno-lateral` parsed from the SVG; `LateralityPicker` modal in the zone-click flow, side shown in zone badges and PDF labels; bilateral zones get a separate findings picker per side. - **SVG anatomy editor** — `/svg-editor` route, the vanilla annotation tool wrapped in React (BDR-017). - **Standalone pathology editor** — `public/pathology-editor.html`, a zero-dependency JSON tree editor with SVG zone selection (BDR-020/021/022). - **Welcome screen** — tabbed editor entry with a project SVG picker; `/editors` listing page. - **Footer branding** — global footer with copyright, "Powered by ZenQuality" and the "Paws in Harmony" partnership logo, on both the site and the exported PDF. - **gitflow socle** — `main`/`develop` model + versioned pre-commit hook. ### Changed - **Unified `AppHeader`** across every route (logo brand + tagline). - **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 `