Skip to content

I21.28 · Watch Next.js #263

Open
Open

Description

@adssib

Part of #185

Moved from I4.3 (wave 3: packages), which is closed.

Story

As a developer who uses Next.js, I want patch-it to know what each Next.js major removes or changes incompatibly, so my app gets the fix before an upgrade breaks it.

Next.js is its own provider (a framework, like NumPy), not a source under the Vercel provider that watches Vercel's platform API.

Sources

Proposed; check each before writing it (verify, don't guess; leave TBD if unknown). Ids follow the provider/source form (I19.2); pick each kind with docs/which-kind.md.

  • nextjs/upgrade-guides · kind migrationguide · layer package · the per-major upgrading guides in vercel/next.js docs/ at each major's first tag (path TBD): breaking changes and their codemods
  • nextjs/releases · kind changelog · layer package · vercel/next.js GitHub releases: breaking changes per release
  • nextjs/surface · kind apisurface · layer package · next on npm (.d.ts): removed exports between releases

Subtasks

  • New provider folder providers/nextjs/: provider.go (provider, category, every source), README.md from docs/provider-template.md, testdata/, tests
  • For each source: link, date checked, why it's the best source and a short quote, in providers/nextjs/README.md under Why this source
  • One source per PR
  • Saved copies in testdata/ (row in testdata/README.md: URL, date fetched, license, quote), a golden file, and one drop test
  • The source lists its versions (I19.8) and every consecutive version pair is read, not only the latest
  • Note what the client needs to fix it (an existing file-type handler, or a new one)
  • make check passes

Acceptance criteria

  • Each new source emits events with source_url and an exact source_excerpt, with version and previous_version
  • The drop test produces no event
  • The provider page lists every source with its date checked
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issuestory

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions