Skip to content

fix: remove deprecated typedRoutes config - #664

Merged
richshaw merged 2 commits into
richshaw:mainfrom
agammann:fix/typed-routes-config
Oct 26, 2026
Merged

richshaw merged 2 commits into
richshaw:mainfrom
agammann:fix/typed-routes-config

Conversation

@agammann

Copy link
Copy Markdown
Contributor

Fixes #659.

Remove the obsolete experimental.typedRoutes: false block. false is already the default, so this clears the build warning without changing typed routes behavior.

Verified with Node 22 and pnpm 9.15.9:

  • pnpm lint
  • pnpm typecheck
  • pnpm knip
  • pnpm test (1,764 passed)
  • pnpm build (no moved-option warning or Experiments list)
  • pnpm budgets

@richshaw
richshaw self-requested a review October 26, 2026 18:32

@richshaw richshaw left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM Next version we use, false is already the default, so only the build warning goes away.

@richshaw
richshaw merged commit b0bd916 into richshaw:main Oct 26, 2026
2 checks passed
@richshaw

Copy link
Copy Markdown
Owner

Thanks, this is exactly what richshaw/OpenSignup#659 asked for. I checked Next 15.5’s config handling, the old experimental.typedRoutes value is only copied to the top-level setting, which already defaults to false, so removing it changes nothing but the warning. Merging now.

richshaw pushed a commit that referenced this pull request Oct 27, 2026
Through the server, telemetry and screen branches. No conflicts.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UW9ZpEu4MWkeqTv2Qe14ks
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.

next build warns that experimental.typedRoutes has moved

2 participants