All notable changes to this catalog are documented here. The format
follows Keep a Changelog loosely, and
each release records the validated @react-pdf-kit/viewer version
range under a Validated against line.
- One section per release, header format
## [<X.Y.Z>] - <YYYY-MM-DD>. - Each release section MUST contain a
**Validated against**: @react-pdf-kit/viewer <semver-range>line; the CI release workflow (.github/workflows/release.yml) checks for it viascripts/check-changelog.sh. - Group entries under: Added, Changed, Deprecated, Removed, Fixed, Security. Omit empty groups.
- Reference skills by their kebab-case
name, not their display description.
Retarget the entire catalog at the @react-pdf-kit/viewer v2.x.x
release line, align every skill with the official v2 docs, and
centralize all worker / pdfjs-dist configuration in
react-pdf-kit-worker-config.
Validated against: @react-pdf-kit/viewer >=2.0.0 <3.0.0
- Every skill's
metadata.react_pdf_kit_versionmoved from>=1.0.0 <2.0.0to>=2.0.0 <3.0.0. Descriptions updated to match. - Install instructions across all skills now install only
@react-pdf-kit/viewer. Per the v2 docs,pdfjs-distis an auto-installed peer dependency (default5.4.530); it is installed explicitly only when overriding the version. - Default examples use
<RPLayout toolbar>and drop the manualRPTheme(RPConfigwraps theming and worker setup internally). The optionalRPConfiglicenseKeyprop is documented. react-pdf-kit-nextjs-app-routerandreact-pdf-kit-nextjs-pages-routerrestructured around the documented client-only pattern ('use client'+next/dynamicssr: false), targeting Next.js 15 + Turbopack, and now reference thePromise.withResolve is not a functionserver-render error.react-pdf-kit-worker-configrewritten around v2: the worker is auto-configured (zero setup by default); the skill now owns thepdfjs-distversion-override flow (install + package-manager override) and the per-bundlerRPConfigworkerUrlrecipes (Vite?url, Next.js 15 Turbopackimport.meta.url, webpackcopy-webpack-plugin).react-pdf-kit-nextjs14-pdfjs-overriderewritten as a compatibility note: v2 does not support Next.js 14. It now documents the two supported paths (upgrade to Next.js 15 + Turbopack, or stay on Next.js 14 with the legacy@pdf-viewer/reactpackage) instead of the obsolete "pinpdfjs-distto v4" recipe.
- All manual PDF.js worker-configuration guidance (the
pdfjs-worker.tsside-effect module,GlobalWorkerOptions.workerSrcassignment, and the Next.jsuseEffectworker wiring) removed from the general skillsreact-pdf-kit-setup,react-pdf-kit-vite,react-pdf-kit-nextjs-app-router, andreact-pdf-kit-nextjs-pages-router. These skills now focus solely on React PDF Kit usage and defer all worker /pdfjs-distconfiguration toreact-pdf-kit-worker-config. - Internal
TESTING.md(pre-release, private-repo testing instructions not meant for the public catalog).
samples/generic-react/,samples/vite/, andsamples/nextjs-app-router/still pinned@react-pdf-kit/viewerto>=1.0.0 <2.0.0, a range no longer published to npm. Bumped to>=2.0.0 <3.0.0to match the skills' ownmetadata.react_pdf_kit_version.
samples/vite/,samples/nextjs-app-router/, andsamples/nextjs-14-override/are unhydrated placeholder scaffolds and do not build; onlysamples/generic-react/is currently build-verified. SeeMAINTENANCE.md's Sample inventory for detail and follow-up plan.
README polish on top of v1.0.0-beta.1.
Validated against: @react-pdf-kit/viewer >=1.0.0 <2.0.0
README.mdSkill Catalog table no longer carries theReact PDF Kitandpdfjs-distversion-range columns. Seven of the eight catalog rows showed identical ranges, so the columns were noise. The override skill's distinctpdfjs-distv4 dependency is still surfaced through its own description in the table and through the dedicated Troubleshooting section. Per-skill compatibility ranges remain machine-readable in each skill's YAML frontmatter (metadata.react_pdf_kit_versionandmetadata.pdfjs_dist_version), which is the canonical source of truth.
(No skill content changes since v1.0.0-beta.1. All eight skills,
sample scaffolds, scripts, and CI workflows ship unchanged.)
Patch on top of v1.0.0-beta.0 to fix the release workflow.
Validated against: @react-pdf-kit/viewer >=1.0.0 <2.0.0
.github/workflows/release.yml: the "Confirm samples workflow green for this commit" step incorrectly assumedsamples.ymlhad run against the tag commit onmain, butsamples.ymlonly triggers onpull_requestandpush to main, never on tag pushes. The query also hard-coded--branch=maineven when the tag was ondevelop, so it returned'unknown'and failed the release onv1.0.0-beta.0. The step is now informational only: it reports the samples run conclusion as a notice/warning and no longer fails the release. The maintainer cutting the tag remains responsible for ensuring the green PR for the tagged commit exists.
(No skill or content changes since v1.0.0-beta.0. All eight
skills, README, MAINTENANCE, CLAUDE.md, conformance scripts, and
the rest of the CI surface ship unchanged.)
First public pre-release for testing. The catalog and verification
scripts are feature-complete for v1, but the live build-verification
trials documented in the spec (T026 through T031, T033, T041) have
not yet been executed end to end against real pnpm create next-app
and pnpm create vite projects. Feedback wanted on skill accuracy,
agent activation behavior, and the install workflow before promoting
to v1.0.0.
Validated against: @react-pdf-kit/viewer >=1.0.0 <2.0.0
- Initial scaffolding: LICENSE (MIT), README, MAINTENANCE, .gitignore. (CONTRIBUTING and CODEOWNERS were authored and then removed before first release. See Removed below.)
- Conformance scripts:
scripts/verify-skill.sh,scripts/verify-all.sh,scripts/apply-skill-to-sample.sh,scripts/check-changelog.sh. - Sample-project scaffolds:
samples/generic-react/,samples/vite/,samples/nextjs-app-router/,samples/nextjs-14-override/. - CI workflows:
.github/workflows/verify.yml,.github/workflows/samples.yml,.github/workflows/release.yml. - Skills (v1 catalog):
react-pdf-kit-setupreact-pdf-kit-nextjs-app-routerreact-pdf-kit-nextjs-pages-routerreact-pdf-kit-vitereact-pdf-kit-worker-configreact-pdf-kit-toolbar-customizationreact-pdf-kit-custom-layoutreact-pdf-kit-nextjs14-pdfjs-override
- All skills and the README now teach
RPLayoutas the canonical layout component.RPDefaultLayoutis deprecated in@react-pdf-kit/viewerv2.0.0 and will be removed in a future release. Each affected skill (setup, vite, nextjs-app-router, nextjs-pages-router, toolbar-customization, custom-layout) ships an explicit Gotcha entry calling out the deprecation, and the toolbar-customization skill is rewritten to teachRPLayout'stoolbarprop withRPHorizontalBar/RPVerticalBarslot customization. The "fully custom bar" fallback (composing individual*Toolexports) is preserved as step 4 of that skill. - Catalog prose (SKILL.md bodies, README, CLAUDE.md, MAINTENANCE.md) no longer uses the em dash character. Voice tightened across all authored content.
- (none yet)
CONTRIBUTING.mdandCODEOWNERS. The catalog is not currently accepting external contributions, and the placeholder CODEOWNERS teams (@react-pdf-kit/maintainers,@react-pdf-kit/samples-owners,@react-pdf-kit/infra-owners) do not yet exist on GitHub. README's "Contributions" section now directs would-be contributors to open an issue. Both files will be reintroduced when external contributions open up.
- (none yet)
- (none yet)