Upgrade Next.js from 16.0.3 to 16.0.11

✅ merged · #2 · foolish-bandit/gary ← foolish-bandit/gary · opened 19d ago by foolish-bandit · merged 19d ago by foolish-bandit · self · +93-133 across 4 files · ↗ on GitHub

From the PR description

Summary

This PR updates the Next.js dependency to the latest patch version in the 16.0.x release line.

Changes

  • Upgraded Next.js from version 16.0.3 to 16.0.11

Details

This patch upgrade includes bug fixes and improvements from Next.js releases 16.0.4 through 16.0.11. The lockfile has been updated to reflect the new dependency resolution.

https://claude.ai/code/session_01McEfVnpbGdMs5TgeTM7P3R

Our analysis

Add Cloudflare Workers deploy path — read the full analysis →

Think the analysis missed something the PR description covers?

Commits in this PR (3)

SHA Subject Author Date
b6dc0e42 Bump next to 16.0.11 for Cloudflare deploy compatibility Claude 2026-05-07 ↗ GitHub
commit body
@opennextjs/cloudflare requires next ~16.0.11 or ^16.1.5; the pin at
16.0.3 broke install on the Cloudflare deploy. Bumping to 16.0.11
satisfies the peer range with the smallest possible version change.
React, React DOM, @opennextjs/cloudflare, and other deps are unchanged
- the lockfile churn beyond the next version bump is just npm
renormalizing dev/devOptional flags and deduping transitive deps.

https://claude.ai/code/session_01McEfVnpbGdMs5TgeTM7P3R
f01df75f Add minimal wrangler.jsonc for Cloudflare deploy Claude 2026-05-07 ↗ GitHub
commit body
After bumping next to satisfy the peer range, the next failure on the
Cloudflare deploy was that opennextjs-cloudflare build couldn't find
a wrangler config. Adding the canonical default the @opennextjs/cloudflare
CLI emits: project name "gary", nodejs_compat + global_fetch_strictly_public
flags, ASSETS binding, the OpenNext self-reference service binding (required
for the OpenNext caching layer per opennext.js.org/cloudflare/caching), and
the IMAGES binding for image optimization.

https://claude.ai/code/session_01McEfVnpbGdMs5TgeTM7P3R
befcd221 Add cf:* scripts and Workers deploy docs Claude 2026-05-07 ↗ GitHub
commit body
The frontend deploys to Cloudflare Workers via @opennextjs/cloudflare,
not Cloudflare Pages. Add explicit cf:build, cf:deploy, cf:preview
scripts so the Cloudflare project's build/deploy commands map directly
to npm scripts (the existing combined preview/deploy/upload scripts
are kept for backward compatibility). Document the Workers deploy
flow in the README so contributors don't reach for the Pages path.

wrangler.jsonc already satisfies the OpenNext-on-Workers requirements
(main: .open-next/worker.js, assets.directory: .open-next/assets,
assets.binding: ASSETS, compatibility_flags includes nodejs_compat).

https://claude.ai/code/session_01McEfVnpbGdMs5TgeTM7P3R

Capture this PR into my fork

Download a Markdown prompt that tells Claude how to port every commit in this PR into your working tree. Run it via claude -p < capture-pull-2.md from inside the repo you want the changes in.

⬇ Download capture-pull-2.md