From dac75ab06cee3df74c2e7996de7c6878e50c6e82 Mon Sep 17 00:00:00 2001 From: bchanot Date: Sun, 11 Oct 2026 17:33:59 +0200 Subject: [PATCH] =?UTF-8?q?chore(release):=200.2.0=20=E2=80=94=20version.t?= =?UTF-8?q?xt=20+=20CHANGELOG?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 3 +++ apps/app/package.json | 2 +- package.json | 2 +- packages/anatomy/package.json | 2 +- packages/domain/package.json | 2 +- packages/pdf/package.json | 2 +- packages/supabase/package.json | 2 +- version.txt | 1 + 8 files changed, 10 insertions(+), 6 deletions(-) create mode 100644 version.txt diff --git a/CHANGELOG.md b/CHANGELOG.md index 5abaeeb9..3bb85412 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,9 +6,12 @@ Versions follow [Semantic Versioning](https://semver.org/). ## [Unreleased] +## [0.2.0] — 2026-10-11 + ### Added (SaaS migration, plan Steps 3–6) - **Autonomous PDF archives (Step 6)** — new `@faunosteo/pdf` engine (`packages/pdf`): the PDF is rendered from explicit inputs (report, sheet snapshot, branding, labels, locale, rasterizer, export date), with no network and no browser DOM; the attachment becomes a **report archive envelope v1** (`osteo-report.json`) carrying the Report v3, a lean but valid snapshot of the anatomical sheet (views, annotations, geometry, colours, relations, the finding paths used with their ancestor labels, the SVG drawing), the branding used at export and the FR/EN label dictionary, so an old bilan is reproduced identically after any catalog, wording or logo change. Layered reading keeps the report even when the wrapper or the snapshot is refused (closed reasons), v2 and bare v3 PDFs still import, a PDF whose attachment was stripped is recognised. Imported archives are kept in the session; a bilan reopened on a different sheet is rebased on a working copy with unresolved items flagged and their labels kept, and the import message says so. SVG assets go through an allowlist sanitiser with size and complexity caps checked at import and at export; a WinAnsi guard keeps any text from crashing the export. Pages unchanged (frozen by 39 goldens). `docs/PDF-FORMAT.md` written for real. +- **Bounded attachment import and bundled branding (Step 6 closure)** — the PDF attachment is extracted by a bounded byte scan (no pdf-lib parse on import, 16 KiB inflate slices, shared 16 MiB candidate budget, JSON depth pre-check, export without object streams); the logos and identity used at export are bundled with the app. - **Supabase foundation** — local stack (`supabase/config.toml`), migrations (schemas `private` / `audit`, `profiles`, platform roles with audited RPCs), pgTAP suite run on PGlite (`pnpm test:run`) and on the real stack (`pnpm db:test`), `@faunosteo/supabase` typed client + generated types. No UI change. - **Anatomical sheet model** — `@faunosteo/domain`: canonical sheet document (views tree, annotations with stable ids and explicit laterality, ordered vertebral regions, typed finding categories, explicit annotation → finding zone links, FR/EN labels) with integrity validation; tables `species`, `anatomical_sheets`, `anatomical_sheet_versions` (published rows immutable, one draft per sheet, deletion preconditions), `anatomical_sheet_assets`; lifecycle RPCs (create, draft, publish, deprecate, delete, fork with provenance, archive, assets) audited and under RLS. Spec: `docs/development/ANATOMICAL_SHEET_MODEL.md`. diff --git a/apps/app/package.json b/apps/app/package.json index b10b734f..b14b2254 100644 --- a/apps/app/package.json +++ b/apps/app/package.json @@ -1,6 +1,6 @@ { "name": "@faunosteo/app", - "version": "0.1.0", + "version": "0.2.0", "private": true, "description": "Faunosteo private application: veterinary osteopathy reports with PDF export/import", "license": "MIT", diff --git a/package.json b/package.json index e8f3f99d..d9c3e2d4 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "faunosteo", - "version": "0.1.0", + "version": "0.2.0", "private": true, "description": "Faunosteo monorepo: private app (apps/app), future public site, worker and shared packages", "license": "MIT", diff --git a/packages/anatomy/package.json b/packages/anatomy/package.json index 8ab41a6b..f218773a 100644 --- a/packages/anatomy/package.json +++ b/packages/anatomy/package.json @@ -1,6 +1,6 @@ { "name": "@faunosteo/anatomy", - "version": "0.1.0", + "version": "0.2.0", "private": true, "description": "Faunosteo anatomy tooling: deterministic legacy importer, curation pipeline (changeset \u2192 draft, report migration map) and the pure annotation-layer renderer shared with the application", "license": "MIT", diff --git a/packages/domain/package.json b/packages/domain/package.json index 0fda4db0..23627444 100644 --- a/packages/domain/package.json +++ b/packages/domain/package.json @@ -1,6 +1,6 @@ { "name": "@faunosteo/domain", - "version": "0.1.0", + "version": "0.2.0", "private": true, "description": "Faunosteo pure domain model: canonical anatomical sheet document, report document (v3 + v2 migration), Zod schemas and integrity rules", "license": "MIT", diff --git a/packages/pdf/package.json b/packages/pdf/package.json index f44abaee..e4072d72 100644 --- a/packages/pdf/package.json +++ b/packages/pdf/package.json @@ -1,6 +1,6 @@ { "name": "@faunosteo/pdf", - "version": "0.1.0", + "version": "0.2.0", "private": true, "description": "Faunosteo PDF engine: exports a report archive (pages + envelope attachment) from explicit inputs and reads an archive back, without a browser", "license": "MIT", diff --git a/packages/supabase/package.json b/packages/supabase/package.json index 9040d825..743b3dbe 100644 --- a/packages/supabase/package.json +++ b/packages/supabase/package.json @@ -1,6 +1,6 @@ { "name": "@faunosteo/supabase", - "version": "0.1.0", + "version": "0.2.0", "private": true, "description": "Faunosteo Supabase access layer: typed browser client, generated database types, SQL test harness", "license": "MIT", diff --git a/version.txt b/version.txt new file mode 100644 index 00000000..0ea3a944 --- /dev/null +++ b/version.txt @@ -0,0 +1 @@ +0.2.0