Repository navigation
Update Next.js to 15.5.29 for its security fixes - #983
Merged
Merged
Conversation
15.5.29 patches three moderate advisories. The one that applies here is GHSA-f3mh-rxg3-f5g2: an HttpOnly cookie could be exposed through an internal response header on Edge runtime routes. The /app middleware runs on Edge and the Auth.js session cookie is HttpOnly. The other two (forwarded fetch responses, SVG handling in the image optimizer) don't reach this app, since the optimizer is off. The patch adds about 0.1 kB to every page, which takes /s/[slug]/c/[id] from 110.0 to 110.1 kB, so its budget goes from 110 to 111. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016YZ9SSp8A6Uv3Fh2JknsDe
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016YZ9SSp8A6Uv3Fh2JknsDe
richshaw
pushed a commit
that referenced
this pull request
Nov 15, 2026
budgets.json conflicted with main's Next.js update (#983), which raised /s/[slug]/c/[id] from 110 to 111. This PR had already raised that line and the two beside it, so the PR's numbers are kept; main's other lines are unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016YZ9SVnYjqfPQCMgeA7pDt
richshaw
pushed a commit
that referenced
this pull request
Nov 15, 2026
main's Next.js update (#983) adds about 0.1 kB to every page. With this PR's messages on top, /s/[slug]/c/[id] now loads 113,846 B (gzip), over its 113.8 kB budget, so the budget goes to 113.9 kB, the measured figure rounded up. Pre-approved by the owner for the Next.js update. The other three pages this PR budgets still fit their numbers. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016YZ9SVnYjqfPQCMgeA7pDt
richshaw
pushed a commit
that referenced
this pull request
Nov 15, 2026
main's Next.js update (#983) adds about 0.1 kB to every page. With this PR's changes on top, /s/[slug]/c/[id] now loads 113,633 B (gzip), over its 113.6 kB budget, so the budget goes to 113.7 kB, the measured figure rounded up. Pre-approved by the owner for the Next.js update. The other three pages this PR budgets still fit their numbers. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016YZ9SVnYjqfPQCMgeA7pDt
This was referenced Nov 15, 2026
richshaw
pushed a commit
that referenced
this pull request
Nov 16, 2026
main's Next.js update (#983) adds about 0.1 kB to every page. With this PR's changes on top, /s/[slug]/c/[id] now loads 113,564 B (gzip), over its 113.5 kB budget, so the budget goes to 113.6 kB, the measured figure rounded up. Pre-approved by the owner for the Next.js update. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016YZ9SVnYjqfPQCMgeA7pDt
This was referenced Nov 16, 2026
richshaw
pushed a commit
that referenced
this pull request
Nov 16, 2026
main moved on by 62 commits since this branch was built: the whole localization stack (#897 to #999) plus #806, #890, #983 and #984. Files main added in folders this branch moved now sit in the route groups: eleven under src/app/(organizer)/app/(chrome)/, six under src/app/(organizer)/login/ and one under src/app/(organizer)/oauth/. main's footer `locale` on src/app/s/layout.tsx moves into src/app/s/[slug]/layout.tsx, which absorbed it, and the global 404 passes one too. CHANGELOG.md keeps both sides' entries, CLAUDE.md the new consent paths and main's Languages line, and a11y.spec.ts both new tests. The lint rule lists in eslint.config.mjs, the file list in no-hard-coded-text.test.ts, two test imports and two comments now name the new paths. The signup page's metadata test expects the tab title the page writes itself (`title.absolute`), as it does on this branch. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016YZ9SVnYjqfPQCMgeA7pDt
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Moves
nextfrom 15.5.28 to 15.5.29, the latest 15.5 patch (published 3 November). It fixes three moderate advisories:src/middleware.tsruns on Edge for/app/*, and the Auth.js session cookie is HttpOnly.output: 'standalone'.images.unoptimizedis on.The lockfile diff covers only
nextand its@next/*packages.Budget
The patch adds about 0.1 kB of framework code to every page. I built
mainand this branch and compared thepnpm budgetstables./s/[slug]/c/[id]was already right at its cap (110.0 kB against 110), so it moves to 110.1 kB. Its budget goes from 110 to 111 because the framework grew, not because of app code. Every other page still fits within its current budget.Checks run on this branch
pnpm lint && pnpm format:check && pnpm typecheck && pnpm knip && pnpm test: all pass (2362 unit tests)pnpm test:db: 680 pass, query-budget test includedpnpm build && pnpm budgets: passGET /app?tab=xreturns 307 to/login?callbackUrl=%2Fapp%3Ftab%3Dx. The response has nox-middleware-*header and no cookie in it, even when the request carries a session cookie. Security headers (CSP, HSTS, X-Frame-Options) are unchanged.Not in this PR
pnpm audit --prodalso reports:readJsonand the MCP route, which limits what this advisory can do here.@react-email/render>html-to-text): no patched version exists, and it only ever handles our own email templates.Generated by Claude Code