2024-03-12infra

Next.js 14 upgrade

  • Change: Next.js bumped from 13 to 14.1.3 (863de141 "bumped next version to 14"). Pages Router retained; no migration to App Router.
  • Why: Next 14 brought SSG and ISR performance improvements plus security patches that warranted the bump without requiring an architecture change.
  • Affected Modules: package.json, next.config.js
  • Trade-offs:
    • Pro: Free perf gains on static generation with no code changes required.
    • Con: App Router adoption skipped a second time; Pages Router is now a formally legacy path. The migration cost for a codebase this size (16+ pages with getStaticProps) wasn't justified given the project's trajectory toward maintenance mode.