Skip to content

docs: point README's upgrade section at UPGRADE.md instead of duplicating it - #231

Merged
morcen merged 1 commit into
mainfrom
fix/issue-161-dedupe-upgrade-docs
Sep 9, 2026
Merged

docs: point README's upgrade section at UPGRADE.md instead of duplicating it#231
morcen merged 1 commit into
mainfrom
fix/issue-161-dedupe-upgrade-docs

Conversation

@morcen

@morcen morcen commented Sep 8, 2026

Copy link
Copy Markdown
Owner

What was broken

UPGRADE.md and the README's ## Upgrading from v2 section (README.md:566-615) independently described the same v2→v3 breaking changes and migration steps, written with different wording and detail. Neither file referenced the other.

Because the two guides weren't derived from one source, a future breaking change was likely to get documented in only one of them, leaving the other stale and potentially contradictory — misleading for whichever guide a reader happened to land on.

What changed

  • Replaced the README's duplicated "What changed" table and step-by-step migration instructions with a short pointer to UPGRADE.md#upgrading-from-v2x-to-v30, which is now the single source of truth for the v2→v3 migration guide.
  • Kept the ## Upgrading from v2 heading (and its anchor) intact, since it's still referenced by the "Upgrading from v2?" callout earlier in the README.
  • UPGRADE.md itself is unchanged — it already covers this content in full and can grow to cover future major versions without bloating the README.

Testing

  • vendor/bin/pint --dirty --test — no PHP files changed, nothing to format.
  • vendor/bin/pest — 250 passed (631 assertions), including the existing README/documentation link tests.

Fixes #161

…ting it

UPGRADE.md and the README's  section independently
described the same v3.0.0 migration steps, with no reference from one
to the other. Because neither is derived from the other, a future
breaking change is likely to be documented in only one of them,
leaving the other stale or contradictory.

Replace the README's duplicated migration content with a short pointer
to UPGRADE.md, which becomes the single source of truth and can grow
to cover future major versions without bloating the README.

Fixes #161
@morcen
morcen merged commit 78329f1 into main Sep 9, 2026
18 checks passed
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.

UPGRADE.md and README's "Upgrading from v2" section are two independently-maintained copies of the same migration guide

1 participant