Skip to content

fix(blog): keep the roadmaps below the release posts - #8409

Merged
alexander-akait merged 1 commit into
webpack:mainfrom
alexander-akait:claude/webpack-docs-release-xioi5h
Sep 14, 2026
Merged

alexander-akait merged 1 commit into
webpack:mainfrom
alexander-akait:claude/webpack-docs-release-xioi5h

Conversation

@alexander-akait

Copy link
Copy Markdown
Member

Summary

The blog list is ordered by date, so a roadmap published between two releases sits among them: Roadmap 2026 (2026-02-04) renders above Webpack 5.105 (2026-02-03) in the sidebar and on /blog/. Roadmaps outlive the releases they plan, so they are now grouped after every other post, where the existing date comparison orders them from the highest year down.

Order after the change:

Blog
Webpack 5.111 … Webpack 5.105
Webpack 5 release
Roadmap 2026
Roadmap 2021

The RSS feed is left alone, since it is a chronological feed with per-item pubDate.

What kind of change does this PR introduce?

fix

Did you add tests for your changes?

Yes, a case in src/utilities/content-tree-enhancers.test.mjs covering index first, releases newest first, roadmaps last from the highest year down. It fails without the change.

Does this PR introduce a breaking change?

No.

If relevant, what needs to be documented once your changes are merged or what have you already documented?

n/a

Use of AI

Claude Code was used to locate the sorting logic, write the change and its test, and verify the resulting order by building the content tree locally. Every change was reviewed before pushing, and the full unit suite passes.

🤖 Generated with Claude Code

https://claude.ai/code/session_012ee7dGaRGKqYPxUzFEEU65


Generated by Claude Code

The blog list is ordered by date, so a roadmap published between two
releases sat among them: roadmap 2026 (2026-02-04) above webpack 5.105
(2026-02-03). Group the roadmaps after every other post, where the date
comparison then orders them from the highest year down.
@vercel

vercel Bot commented Sep 14, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
webpack-js-org Ready Ready Preview Sep 14, 2026 6:29am UTC

Request Review

@alexander-akait
alexander-akait merged commit 59edbde into webpack:main Sep 14, 2026
12 checks passed

This branch was successfully deployed

1 active deployment
Preview — 60e20b4a Deployed Sep 14, 2026 by vercel[bot]
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.

2 participants