Revert #4784: restore dist/docs versioned snapshots accidentally deleted#4798
Merged
Conversation
3 tasks
bokelley
added a commit
that referenced
this pull request
May 19, 2026
…4800) Re-applies the 3.0 → 3.1 announcement page on a fresh branch from current main. The original landing (PR #4784, commit e01cbf9) accidentally deleted 1,131 dist/docs/ versioned-snapshot files because its branch tree-state was based on a stale local main. That was reverted in PR #4798 (commit 181d8b7), restoring the dist artifacts but also removing this page. This commit re-adds the page (content identical to the original) on a clean branch base. Verified diff stat shows only 3 file changes (docs/reference/whats-new-in-3-1.mdx + docs.json nav entries + changeset) — no dist/ touch. Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Emergency restore. PR #4784 (whats-new-in-3-1.mdx, merged as `e01cbf907b`) accidentally deleted 1,131 files (~925K lines) under `dist/docs/` — the versioned doc snapshots (`2.5.3/`, `3.0.0/`, `3.0.0-beta.3/`, etc.) that adopters fetch from raw.githubusercontent.com URLs.
Root cause
The whats-new-in-3-1 branch was created from a stale local `main` (Apr 28). Despite a subsequent `git pull origin main` and a `git reset --hard origin/main`, the branch's tree-state at push time was missing the `dist/docs/` artifacts. The squash-merge faithfully applied that diff — 1131 file deletions on top of 1 file addition. The pre-push broken-links hook scanned for broken markdown links on changed files but didn't notice the large-scale deletion.
What this PR does
`git revert e01cbf9` — restores all 2,718 `dist/docs/` files (the full versioned-snapshot tree) and removes the `whats-new-in-3-1.mdx` page + its nav entry + changeset. A clean re-application of the whats-new page will follow in a separate PR opened from current main with no carry-over from the stale branch base.
Test plan
🤖 Generated with Claude Code