chore(web): add changelog pages to footer#5239
Conversation
Add a website changelog index and individual release pages backed by existing changelog markdown. Update sitemap entries and desktop external changelog links to the Anarlog domain.
✅ Deploy Preview for old-char ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 2 potential issues.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 42af488. Configure here.
| import: "default", | ||
| query: "?raw", | ||
| }, | ||
| ) as Record<string, string>; |
There was a problem hiding this comment.
AGENTS.md exposed as a public changelog entry
High Severity
The glob *.md in changelog.ts and getChangelogVersions in sitemap.ts both pick up the AGENTS.md file from packages/changelog/content/, which contains internal AI agent instructions — not a release. It passes the .filter((entry) => entry.version) check because "AGENTS" is truthy. This creates a public /changelog/AGENTS page exposing development instructions and adds it to the sitemap. Additionally, compareVersionsDesc receives NaN from "AGENTS".split(".").map(Number), causing undefined sort behavior for the entire list.
Additional Locations (1)
Reviewed by Cursor Bugbot for commit 42af488. Configure here.
| (line) => line && !line.startsWith("#") && !line.startsWith("

Add a website changelog index and individual release pages backed by existing changelog markdown. Update sitemap entries and desktop external changelog links to the Anarlog domain.
Note
Low Risk
Low risk: adds new public, read-only changelog routes and link updates, with no auth or data mutations. Main risk is broken routing/build if markdown glob/import paths or version parsing are incorrect.
Overview
Adds public changelog pages on the web app: a
/changelog/index listing releases and a/changelog/$versiondetail page rendering the markdown release notes with canonical/OG metadata.Introduces
apps/web/src/lib/changelog.tsto load and sort entries frompackages/changelog/content/*.md, format dates, and fetch a specific version; updates the footer to link to the changelog and extends sitemap generation to include/changelog/plus per-version URLs.Updates the desktop changelog’s “Open in web” link to point at
https://anarlog.so/changelog/{version}.Reviewed by Cursor Bugbot for commit 42af488. Bugbot is set up for automated code reviews on this repo. Configure here.