From 3caa41e5633a2526365b91a2e93eababb8e15d03 Mon Sep 17 00:00:00 2001 From: krflol Date: Sun, 4 Oct 2026 07:38:21 -0500 Subject: [PATCH] docs: use Node 0.1.3 in the Next.js starter --- examples/nextjs/README.md | 6 +++++- examples/nextjs/package-lock.json | 8 ++++---- examples/nextjs/package.json | 6 ++++-- 3 files changed, 13 insertions(+), 7 deletions(-) diff --git a/examples/nextjs/README.md b/examples/nextjs/README.md index 31b956d..64bae74 100644 --- a/examples/nextjs/README.md +++ b/examples/nextjs/README.md @@ -20,7 +20,7 @@ Open `http://127.0.0.1:3000` and select **Download sample PDF**. The route IDs return 404. Use `npm run dev` while editing the app. `PORT` changes the port; `FULLBLEED_HOST` changes the production server's loopback binding. -The lockfile pins Next.js 16.3.8, React 19.3.0 and Fullbleed Node 0.1.2 +The lockfile pins Next.js 16.3.8, React 19.3.0 and Fullbleed Node 0.1.3 (engine 2.5.6) from npm. The registry package is byte-identical to the verified GitHub release tarball. Installing this starter needs no Python, Rust, system fonts or browser renderer. @@ -72,6 +72,10 @@ content length and `nosniff`. Jobs have a 15-second rendering deadline and a five-page cap, and receive the request's abort signal. No generated PDF is written to application storage by the route. +The render promise waits for its worker to exit, including after errors, +timeouts, or cancellation. The route therefore holds its capacity slot until +that worker stops; sequential downloads do not overlap worker lifetimes. + Use shared rate/usage controls for multiple processes or replicas. Measure your host's memory and CPU before increasing capacity; each render worker can grow to the package's 512 MiB WASM ceiling. Private document delivery also requires diff --git a/examples/nextjs/package-lock.json b/examples/nextjs/package-lock.json index a79f5a1..4bd3097 100644 --- a/examples/nextjs/package-lock.json +++ b/examples/nextjs/package-lock.json @@ -9,7 +9,7 @@ "version": "1.0.0", "license": "MIT", "dependencies": { - "fullbleed": "0.1.2", + "fullbleed": "0.1.3", "next": "16.3.8", "react": "19.3.0", "react-dom": "19.3.0" @@ -787,9 +787,9 @@ } }, "node_modules/fullbleed": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/fullbleed/-/fullbleed-0.1.2.tgz", - "integrity": "sha512-mAwvG4R4YgXPW0b5dT/ne7HUTBUKQcmwaDkvtYPK/bMkBhoU/mTGXQFjh4AwLCv0aWV2vgNpmguhgGW48iDKHQ==", + "version": "0.1.3", + "resolved": "https://registry.npmjs.org/fullbleed/-/fullbleed-0.1.3.tgz", + "integrity": "sha512-0X05ow1By4yS/CaiCUGar6xlRc21flrILDSrTkIMe8hr7wzwBpaFmHAb1wXONWreoA3QRuA1dDhISVDHJecujg==", "license": "MIT", "dependencies": { "@bjorn3/browser_wasi_shim": "0.4.2" diff --git a/examples/nextjs/package.json b/examples/nextjs/package.json index 0936eaf..9d8ddc2 100644 --- a/examples/nextjs/package.json +++ b/examples/nextjs/package.json @@ -4,7 +4,9 @@ "private": true, "type": "module", "license": "MIT", - "engines": { "node": ">=22" }, + "engines": { + "node": ">=22" + }, "scripts": { "dev": "next dev --hostname 127.0.0.1", "build": "next build", @@ -14,7 +16,7 @@ "verify": "node tools/verify.mjs" }, "dependencies": { - "fullbleed": "0.1.2", + "fullbleed": "0.1.3", "next": "16.3.8", "react": "19.3.0", "react-dom": "19.3.0"