Skip to content

Releases: react-pdf-kit/agent-skills

v1.0.0

Choose a tag to compare

@github-actions github-actions released this 03 Jul 15:10

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

Changed

  • Every skill's metadata.react_pdf_kit_version moved from
    >=1.0.0 <2.0.0 to >=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-dist is an
    auto-installed peer dependency (default 5.4.530); it is installed
    explicitly only when overriding the version.
  • Default examples use <RPLayout toolbar> and drop the manual
    RPTheme (RPConfig wraps theming and worker setup internally). The
    optional RPConfig licenseKey prop is documented.
  • react-pdf-kit-nextjs-app-router and
    react-pdf-kit-nextjs-pages-router restructured around the
    documented client-only pattern ('use client' + next/dynamic
    ssr: false), targeting Next.js 15 + Turbopack, and now reference
    the Promise.withResolve is not a function server-render error.
  • react-pdf-kit-worker-config rewritten around v2: the worker is
    auto-configured (zero setup by default); the skill now owns the
    pdfjs-dist version-override flow (install + package-manager
    override) and the per-bundler RPConfig workerUrl recipes (Vite
    ?url, Next.js 15 Turbopack import.meta.url, webpack
    copy-webpack-plugin).
  • react-pdf-kit-nextjs14-pdfjs-override rewritten 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/react package) instead of
    the obsolete "pin pdfjs-dist to v4" recipe.

Removed

  • All manual PDF.js worker-configuration guidance (the
    pdfjs-worker.ts side-effect module, GlobalWorkerOptions.workerSrc
    assignment, and the Next.js useEffect worker wiring) removed from
    the general skills react-pdf-kit-setup, react-pdf-kit-vite,
    react-pdf-kit-nextjs-app-router, and
    react-pdf-kit-nextjs-pages-router. These skills now focus solely on
    React PDF Kit usage and defer all worker / pdfjs-dist configuration
    to react-pdf-kit-worker-config.
  • Internal TESTING.md (pre-release, private-repo testing instructions
    not meant for the public catalog).

Fixed

  • samples/generic-react/, samples/vite/, and
    samples/nextjs-app-router/ still pinned @react-pdf-kit/viewer to
    >=1.0.0 <2.0.0, a range no longer published to npm. Bumped to
    >=2.0.0 <3.0.0 to match the skills' own metadata.react_pdf_kit_version.

Known gaps

  • samples/vite/, samples/nextjs-app-router/, and
    samples/nextjs-14-override/ are unhydrated placeholder scaffolds
    and do not build; only samples/generic-react/ is currently
    build-verified. See MAINTENANCE.md's Sample inventory for detail
    and follow-up plan.

v1.0.0-beta.2

Choose a tag to compare

@github-actions github-actions released this 03 Jul 14:58

README polish on top of v1.0.0-beta.1.

Validated against: @react-pdf-kit/viewer >=1.0.0 <2.0.0

Changed

  • README.md Skill Catalog table no longer carries the
    React PDF Kit and pdfjs-dist version-range columns. Seven of
    the eight catalog rows showed identical ranges, so the columns
    were noise. The override skill's distinct pdfjs-dist v4
    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_version and
    metadata.pdfjs_dist_version), which is the canonical source of
    truth.

Catalog content

(No skill content changes since v1.0.0-beta.1. All eight skills,
sample scaffolds, scripts, and CI workflows ship unchanged.)

v1.0.0-beta.1

Choose a tag to compare

@github-actions github-actions released this 14 May 10:31

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

Fixed

  • .github/workflows/release.yml: the "Confirm samples workflow
    green for this commit" step incorrectly assumed samples.yml had
    run against the tag commit on main, but samples.yml only
    triggers on pull_request and push to main, never on tag
    pushes. The query also hard-coded --branch=main even when the
    tag was on develop, so it returned 'unknown' and failed the
    release on v1.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.

Catalog content

(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.)