Skip to content

Commit aeab95d

Browse files
committed
chore(release): promote Unreleased to v1.0.0
Retarget release for @react-pdf-kit/viewer v2.x.x, moved from [Unreleased] to a dated v1.0.0 CHANGELOG section per the MAINTENANCE.md runbook. Also fixes a real release blocker found while validating the samples: generic-react, vite, and nextjs-app-router still pinned @react-pdf-kit/viewer to the now-unpublished >=1.0.0 <2.0.0 range, which failed pnpm install outright. Bumped to >=2.0.0 <3.0.0 to match the skills' own declared metadata. Documents a pre-existing, previously unflagged gap in MAINTENANCE.md and CHANGELOG.md: three of four samples (vite, nextjs-app-router, nextjs-14-override) have been unhydrated placeholder scaffolds since the initial commit and have never actually been build-verified � samples.yml has zero CI runs on the repo. Only generic-react currently builds successfully. Released anyway per maintainer decision; sample hydration is tracked as follow-up work.
1 parent 3fa0458 commit aeab95d

5 files changed

Lines changed: 40 additions & 11 deletions

File tree

CHANGELOG.md

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ range under a **Validated against** line.
1717
- Reference skills by their kebab-case `name`, not their display
1818
description.
1919

20-
## [Unreleased]
20+
## [1.0.0] - 2026-07-03
2121

2222
Retarget the entire catalog at the `@react-pdf-kit/viewer` v2.x.x
2323
release line, align every skill with the official v2 docs, and
@@ -64,6 +64,23 @@ centralize all worker / `pdfjs-dist` configuration in
6464
`react-pdf-kit-nextjs-pages-router`. These skills now focus solely on
6565
React PDF Kit usage and defer all worker / `pdfjs-dist` configuration
6666
to `react-pdf-kit-worker-config`.
67+
- Internal `TESTING.md` (pre-release, private-repo testing instructions
68+
not meant for the public catalog).
69+
70+
### Fixed
71+
72+
- `samples/generic-react/`, `samples/vite/`, and
73+
`samples/nextjs-app-router/` still pinned `@react-pdf-kit/viewer` to
74+
`>=1.0.0 <2.0.0`, a range no longer published to npm. Bumped to
75+
`>=2.0.0 <3.0.0` to match the skills' own `metadata.react_pdf_kit_version`.
76+
77+
### Known gaps
78+
79+
- `samples/vite/`, `samples/nextjs-app-router/`, and
80+
`samples/nextjs-14-override/` are unhydrated placeholder scaffolds
81+
and do not build; only `samples/generic-react/` is currently
82+
build-verified. See `MAINTENANCE.md`'s Sample inventory for detail
83+
and follow-up plan.
6784

6885
## [1.0.0-beta.2] - 2026-05-15
6986

MAINTENANCE.md

Lines changed: 19 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -113,12 +113,24 @@ release after v1.0.0.
113113

114114
## Sample inventory
115115

116-
| Sample | Framework | pdfjs-dist | Used by |
117-
|--------|-----------|------------|---------|
118-
| `samples/generic-react/` | Vite + React 18 | v5 | `react-pdf-kit-setup`, `react-pdf-kit-toolbar-customization`, `react-pdf-kit-custom-layout` |
119-
| `samples/vite/` | Vite 5 | v5 | `react-pdf-kit-setup`, `react-pdf-kit-vite`, `react-pdf-kit-worker-config` |
120-
| `samples/nextjs-app-router/` | Next.js 15 + Turbopack | v5 | `react-pdf-kit-nextjs-app-router`, `react-pdf-kit-nextjs-pages-router` (via `verification/pages-router/` shim), `react-pdf-kit-worker-config`, `react-pdf-kit-toolbar-customization`, `react-pdf-kit-custom-layout` |
121-
| `samples/nextjs-14-override/` | Next.js 14 + webpack | v4 (post-fix) | `react-pdf-kit-nextjs14-pdfjs-override` |
116+
| Sample | Framework | pdfjs-dist | Used by | Build-verified? |
117+
|--------|-----------|------------|---------|------------------|
118+
| `samples/generic-react/` | Vite + React 18 | v5 | `react-pdf-kit-setup`, `react-pdf-kit-toolbar-customization`, `react-pdf-kit-custom-layout` | Yes — `pnpm install && pnpm build` passes against `@react-pdf-kit/viewer@2.7.2` (v1.0.0 release check). |
119+
| `samples/vite/` | Vite 5 | v5 | `react-pdf-kit-setup`, `react-pdf-kit-vite`, `react-pdf-kit-worker-config` | **No.** Placeholder `package.json` + `README.md` only since the initial scaffold commit — never hydrated into a runnable Vite app (no `tsconfig.json`, `vite.config.ts`, `index.html`, or `src/`). `pnpm build` fails immediately. |
120+
| `samples/nextjs-app-router/` | Next.js 15 + Turbopack | v5 | `react-pdf-kit-nextjs-app-router`, `react-pdf-kit-nextjs-pages-router` (via `verification/pages-router/` shim), `react-pdf-kit-worker-config`, `react-pdf-kit-toolbar-customization`, `react-pdf-kit-custom-layout` | **No.** Same placeholder-only state as `samples/vite/`; no Next.js app scaffold exists yet. |
121+
| `samples/nextjs-14-override/` | Next.js 14 + webpack | v4 (post-fix) | `react-pdf-kit-nextjs14-pdfjs-override` | **No.** Placeholder-only, and its premise (pin `pdfjs-dist` to v4 as a workaround) is now superseded by the skill's rewritten guidance (v2 doesn't support Next.js 14 at all; use Next.js 15 or the legacy `@pdf-viewer/react` package). Needs a rewrite, not just hydration, before it can build-verify anything. |
122+
123+
**Known gap as of `v1.0.0`**: three of four samples have never been
124+
build-verified, on any release including the `v1.0.0-beta.x` line —
125+
`samples.yml` has zero recorded CI runs on the repo. `v1.0.0-beta.0`'s
126+
CHANGELOG entry flagged this as outstanding at the time; it was not
127+
resolved before this release either. Only `samples/generic-react/` is
128+
confirmed working. Treat every skill *other than* `react-pdf-kit-setup`,
129+
`react-pdf-kit-toolbar-customization`, and `react-pdf-kit-custom-layout`
130+
as verified by conformance script only (`scripts/verify-skill.sh`), not
131+
by an actual build. Hydrating the remaining three samples (and
132+
rewriting `nextjs-14-override` to match its current skill content) is
133+
required before their skills can be considered build-verified.
122134

123135
If a skill needs verification against a framework / version combination
124136
not listed above, add a new sample in the same PR as the skill and
@@ -132,7 +144,7 @@ end-to-end to ensure the runbook stays accurate. Record each walk here.
132144
| Date | Flow | Outcome |
133145
|------|------|---------|
134146
| | Deprecation drill (per tasks T038) | TBD |
135-
| | First release (v1.0.0, per tasks T045) | TBD |
147+
| 2026-07-03 | First release (v1.0.0, per tasks T045) | Partial. `scripts/verify-all.sh` passes (8/8 skills). Only `samples/generic-react/` build-verified; `samples/vite/`, `samples/nextjs-app-router/`, `samples/nextjs-14-override/` are unhydrated placeholders (see Sample inventory). Released anyway per maintainer decision; sample hydration tracked as follow-up work, not blocking. |
136148

137149
## Security review
138150

samples/generic-react/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"preview": "vite preview"
1111
},
1212
"dependencies": {
13-
"@react-pdf-kit/viewer": ">=1.0.0 <2.0.0",
13+
"@react-pdf-kit/viewer": ">=2.0.0 <3.0.0",
1414
"pdfjs-dist": "5.4.530",
1515
"react": "^18.3.1",
1616
"react-dom": "^18.3.1"

samples/nextjs-app-router/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"start": "next start"
1010
},
1111
"dependencies": {
12-
"@react-pdf-kit/viewer": ">=1.0.0 <2.0.0",
12+
"@react-pdf-kit/viewer": ">=2.0.0 <3.0.0",
1313
"next": "^15.0.0",
1414
"pdfjs-dist": "5.4.530",
1515
"react": "^18.3.1",

samples/vite/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"preview": "vite preview"
1111
},
1212
"dependencies": {
13-
"@react-pdf-kit/viewer": ">=1.0.0 <2.0.0",
13+
"@react-pdf-kit/viewer": ">=2.0.0 <3.0.0",
1414
"pdfjs-dist": "5.4.530",
1515
"react": "^18.3.1",
1616
"react-dom": "^18.3.1"

0 commit comments

Comments
 (0)