docs(docs): R4 close: J1/J2 results as declared (real iPhone Safari iOS, missing details listed), RUST.md §10.15 residual risks and final checks, PDF_IMPORT_HARDENING.md §7, CHANGELOG headers, TODO R4.13, BDR-067
This commit is contained in:
1 parent
22bbfb4c8b
commit
3a7937e9fb
8 files changed
+174
-44
No files matched your search
+2
-2
@@ -6,7 +6,7 @@ Versions follow [Semantic Versioning](https://semver.org/).
|
||||
|
||||
## [Unreleased]
|
||||
|
||||
### Fixed (2026-10-21, on `feature/rust-r4-pdf-core`, not merged)
|
||||
### Fixed (2026-10-21, R4 close)
|
||||
|
||||
- Sign-in redirects: a `next` value whose dot segments normalise into `//host` (`/..//host`, `/%2e%2e//host`) now falls back to the dashboard instead of being returned as a protocol-relative path. The worker image runs on `distroless/static-debian13:nonroot` (the Debian 12 tags are no longer updated). DEPLOY.md shows `http2 on;` for nginx 1.25.1 and later and keeps the `listen ... http2` form for nginx 1.24 (`docs/development/RUST.md` §10.14).
|
||||
- Dependencies: `rustls-webpki` 0.103.16 and `webpki-roots` 1.0.10 (RUSTSEC-2026-0382, RUSTSEC-2026-0381; the worker's TLS client), `react-router-dom` 7.18.4 (GHSA-wrjc-x8rr-h8h6, GHSA-chx6-hx7r-mcp5 and three RSC / SSR advisories the application does not reach). A worker test proves the HTTPS client refuses an untrusted server certificate (`docs/development/RUST.md` §10.13).
|
||||
@@ -16,7 +16,7 @@ Versions follow [Semantic Versioning](https://semver.org/).
|
||||
|
||||
- Improve Safari/iOS PDF download reliability by attaching the download link to the document during activation and delaying object URL revocation by 30 seconds. The file name and content remain unchanged.
|
||||
|
||||
### Changed (Rust R4, PDF core, 2026-10-18 to 2026-10-19; on `feature/rust-r4-pdf-core`, not merged)
|
||||
### Changed (Rust R4, PDF core, 2026-10-18 to 2026-10-19; validated by the owner's device acceptance on the computer, Android and a real iPhone, and merged 2026-10-21)
|
||||
|
||||
- **The PDF archives are read, written and checked by the Rust core** (`crates/core/src/pdf`, `docs/development/RUST.md` §10). Import: the attachment is located by the core's byte scan, inflated under the 16 MiB cap, probed as JSON and read by the R2 layered reader, inside a module worker created for the file and terminated after it (R4.3; the rescue copy follows the same path). Export: an incremental session in the page's engine composes each view, takes the browser's rasters one by one, decodes and writes each image on arrival, and hands the file out in parts (R4.6; no raster and no second copy of the file kept). `pnpm report:compare` runs the core's `report-compare` binary (R4.7). The PDFs are the ones the TypeScript engine wrote: same streams, images, links, metadata and attachment, pixel-identical through poppler on the reference reports; three declared differences only (`Producer`/`Creator` now `Faunosteo`, the attachment's report in contract key order, hostile files refused where the TypeScript repaired them).
|
||||
- **Removed at R4.8** (2026-10-19): `packages/pdf` (the TypeScript engine and its tests), `pdf-lib`, `@pdf-lib/*` and `@resvg/resvg-js`, the TypeScript CLI `apps/app/scripts/compare-reports.ts`, the application's TypeScript import path and its dependency on `@faunosteo/domain`, the oracle generators. Kept: the frozen oracles, goldens and fixture PDFs, the frozen N-1 readers (`packages/core-wasm/tests/n-1`: the Zod schemas and the byte-scan reader of the R3 build), `packages/anatomy` and `packages/domain` for the curation pipeline until R5.
|
||||
|
||||
Reference in new issue
Block a user