Skip to content

release: develop to main (Forme 0.32, lazy engine, worker fixes) - #10

Merged
aFlamee merged 9 commits into
mainfrom
develop
Nov 20, 2026
Merged

aFlamee merged 9 commits into
mainfrom
develop

Conversation

@aFlamee

@aFlamee aFlamee commented Nov 20, 2026

Copy link
Copy Markdown
Owner

Brings main up to develop so the live registry at pdfcn-angular.com serves the latest components. main only receives merges from develop, and it has no commits of its own.

What ships

Each PR passed pnpm verify and CI on develop.

🤖 Generated with Claude Code

aFlamee and others added 9 commits November 15, 2026 10:37
The repo is public now, with develop as the integration branch. CONTRIBUTING
told people to clone the repo directly, and CI skipped pushes to develop.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
docs(contributing): send contributors through forks and develop
Angular's security.autoCsp writes a meta CSP without 'wasm-unsafe-eval',
so both engines fail to compile their WebAssembly on the page. Document
the worker recipe, the angular.json asset entry, and how to register a
font for characters outside the standard PDF fonts.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
docs(installation): render PDFs in a Web Worker so autoCsp apps work
renderTree parented its injector on platformCore(). bootstrapApplication
creates its platform without the core marker, so platformCore() threw
NG0400 on every render in dev mode. Reuse the existing platform and keep
platformCore() as the fallback when none exists.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
fix(renderer): stop NG0400 on every render in bootstrapApplication apps
… render

The registry pinned @formepdf/core to ^0.25.0, which keeps consumers on
0.25.x. Bump to ^0.32.0 and declare the engine once, on forme/utils.

The browser docs started the worker and fetched the WASM on every app
load. Create the worker and import the document on first render, and
mark @formepdf/react external so ng build drops a chunk nothing loads.

Installed files now end with an MIT notice. shadcn add strips leading
comments, so the notice goes last. build-registry fails on registry
dependencies that no file imports, and four stale ones are removed.

The keep-together docs say what happens to content taller than the
remaining page and that Forme ignores minPresenceAhead.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…orker fails

Address the review on #9. The Forme font snippet passes a theme that names
Noto Sans again. Both worker snippets reject when the worker fails to load
instead of hanging. The registry's reverse dependency check compares source
paths, so a cross-base dependency fails. The license line is called an
attribution line, and keep-together says only text splits across pages.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
fix(forme): move consumers to Forme 0.32 and load the engine on first render
@vercel

vercel Bot commented Nov 20, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
pdfcn-angular Ready Ready Preview Nov 20, 2026 5:35pm UTC

@aFlamee
aFlamee merged commit b8e8c47 into main Nov 20, 2026
3 of 8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant