Skip to content

Commit 89db34b

Browse files
danmolitorclaude
andcommitted
Bump to 0.9.2
Hotfix release covering the redaction precision work plus the rasterizer body-limit fix and the MCP component-set sync. All other packages are version bumps only. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 9d23036 commit 89db34b

35 files changed

Lines changed: 148 additions & 68 deletions

CHANGELOG.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,25 @@
22

33
All notable changes to the Forme monorepo are documented in this file.
44

5+
## [0.9.2] - 2026-04-28
6+
7+
### Fixed
8+
- **Redaction precision**: Text-stripping now uses real per-CID glyph advances when locating regions, so partial-line redactions match the visible overlay precisely. Previously, redacting `Molitor` in `Dear Daniel Molitor` would also strip `Dear Daniel`
9+
- **CID font handling**: Decode CID/Type0 fonts in the redaction text extractor, with parsing that survives binary font streams
10+
- **Multi-style text grouping**: `text_decoration` is now part of the glyph style key, so a `line-through` span inside an otherwise plain text node is no longer merged with its neighbors during PDF emission
11+
12+
### Changed
13+
- **Rasterizer body limit**: Default Axum 2 MB request body limit removed — large PDFs now flow through the rasterizer sidecar without 413 errors
14+
- **MCP tool surfaces**: Synced with the current `@formepdf/react` component set so generated prompts reflect shipping components
15+
16+
## [0.9.1] - 2026-04-06
17+
18+
### Fixed
19+
- **React Compiler compatibility**: `serialize()` now detects when a wrapper component has been compiled by React Compiler (which injects `useMemoCache` hooks that can't run outside React's render cycle) and throws a clear, actionable error pointing users to add `'use no memo'` to the component. Previously these failures surfaced as a cryptic "Invalid hook call" error
20+
21+
### Changed
22+
- Bump rasterizer base image to 0.9.1
23+
524
## [0.9.0] - 2026-04-04
625

726
### Added

engine/CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# Changelog
22

3+
## [0.9.2] - 2026-04-28
4+
5+
### Fixed
6+
- Redaction text-stripping now uses real per-CID glyph advances when locating regions, so partial-line redactions match the visible overlay precisely instead of dropping the surrounding text
7+
- CID font decoding in the redaction text extractor — handles Type0/CIDFontType2 streams correctly
8+
- PDF parsing in CID redaction is robust to binary font streams that previously confused the tokenizer
9+
- `text_decoration` is now part of the glyph style grouping key, so a `line-through` span inside an otherwise plain text node is no longer merged with its neighbors during PDF emission
10+
311
## [0.9.1] - 2026-04-06
412

513
_Version bump only._

engine/Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

engine/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "forme-pdf"
3-
version = "0.9.1"
3+
version = "0.9.2"
44
edition = "2021"
55
description = "A page-native PDF rendering engine. Layout INTO pages, not onto an infinite canvas."
66
license = "MIT"

package-lock.json

Lines changed: 30 additions & 30 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/cli/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22

3+
## [0.9.2] - 2026-04-28
4+
5+
_Version bump only._
6+
37
## [0.9.1] - 2026-04-06
48

59
_Dependency bump only._

packages/cli/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@formepdf/cli",
3-
"version": "0.9.1",
3+
"version": "0.9.2",
44
"description": "CLI for Forme PDF rendering engine — dev server with live preview and build command",
55
"type": "module",
66
"bin": {
@@ -14,7 +14,7 @@
1414
"dist"
1515
],
1616
"dependencies": {
17-
"@formepdf/renderer": "0.9.1",
17+
"@formepdf/renderer": "0.9.2",
1818
"chokidar": "^4.0.0",
1919
"ws": "^8.18.0",
2020
"open": "^10.1.0"

packages/core/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22

3+
## [0.9.2] - 2026-04-28
4+
5+
_Version bump only._
6+
37
## [0.9.1] - 2026-04-06
48

59
_Dependency bump only._

packages/core/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@formepdf/core",
3-
"version": "0.9.1",
3+
"version": "0.9.2",
44
"description": "WASM-powered PDF rendering engine for Forme",
55
"type": "module",
66
"main": "./dist/index.js",
@@ -48,7 +48,7 @@
4848
"test": "vitest run"
4949
},
5050
"dependencies": {
51-
"@formepdf/react": "0.9.1"
51+
"@formepdf/react": "0.9.2"
5252
},
5353
"peerDependencies": {
5454
"react": "^18 || ^19"

packages/hono/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22

3+
## [0.9.2] - 2026-04-28
4+
5+
_Version bump only._
6+
37
## [0.9.1] - 2026-04-06
48

59
### Fixed

0 commit comments

Comments
 (0)