Skip to content

Update Nextjs to 16.2.9#4687

Merged
marcoacierno merged 11 commits into
mainfrom
update-nextjs-7
Jun 22, 2026
Merged

Update Nextjs to 16.2.9#4687
marcoacierno merged 11 commits into
mainfrom
update-nextjs-7

Conversation

@marcoacierno

@marcoacierno marcoacierno commented Jun 20, 2026

Copy link
Copy Markdown
Member

What

Update Next.js to 16.2.9 and cleanup/remove some old deps

@vercel

vercel Bot commented Jun 20, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
pycon Ready Ready Preview Jun 22, 2026 11:01am

@claude

claude Bot commented Jun 20, 2026

Copy link
Copy Markdown
Contributor

This PR upgrades Next.js to 16.2.9 and React to 19.2.7, swaps the cache handler library, and removes Vercel Analytics, dead dependencies, and the Jest test suite.

Critical: Middleware silently disabled

middleware.ts was renamed to proxy.ts and the exported function was renamed from middleware to proxy. Next.js only recognizes middleware.ts (or middleware.js) as middleware — any other filename is ignored. After this PR, locale detection and the auth redirect (e.g. /cfp, /grants, /voting) will silently stop enforcing, because the file with the config matcher will never be executed by the framework. A new middleware.ts that re-exports the proxy function (or simply keeping the original name) is needed.

Testing infrastructure removed with no replacement

jest.config.js, jest.global.setup.js, jest.setup.js, src/test-utils.tsx, all @testing-library/* devDependencies, and the pnpm test script are deleted. There is no indication a replacement test runner (e.g. Vitest) is being introduced. This leaves the frontend with zero test coverage and no runnable test command.

Node.js version requirement for new cache handler

@fortedigital/nextjs-cache-handler requires node >= 22.0.0. Confirm the Docker image and any CI/CD runners are pinned to Node 22+; if they are on 20 the cache handler initialization in instrumentation.ts will fail at startup.

@marcoacierno marcoacierno changed the title Update Nextjs Update Nextjs 16.2.9 Jun 22, 2026
@marcoacierno marcoacierno changed the title Update Nextjs 16.2.9 Update Nextjs to 16.2.9 Jun 22, 2026
@marcoacierno marcoacierno merged commit d249997 into main Jun 22, 2026
7 checks passed
@marcoacierno marcoacierno deleted the update-nextjs-7 branch June 22, 2026 11:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant