chore(release): 0.2.0 — version.txt + CHANGELOG

This commit is contained in:
bchanot committed 2026-10-11 17:33:59 +02:00
1 parent c746952d7f
commit dac75ab06c
8 files changed
+10 -6

No files matched your search

+3
View File
@@ -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`.
+1 -1
View File
@@ -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",
+1 -1
View File
@@ -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",
+1 -1
View File
@@ -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",
+1 -1
View File
@@ -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",
+1 -1
View File
@@ -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",
+1 -1
View File
@@ -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",
+1
View File
@@ -0,0 +1 @@
0.2.0