Skip to content

Changelog: add product repository sources and finish removing Algolia - #4498

Draft
thodges-gh wants to merge 2 commits into
devin/changelog-dynamic-rssfrom
feat/changelog-product-sources
Draft

thodges-gh wants to merge 2 commits into
devin/changelog-dynamic-rssfrom
feat/changelog-product-sources

Conversation

@thodges-gh

Copy link
Copy Markdown
Contributor

Stacked on #4497. Merges into devin/changelog-dynamic-rss.

Summary

Finishes moving the changelog off Algolia, and adds product repositories as a second changelog source next to the existing hand- and bot-written public/changelog.json. Products move to automation one at a time.

Fixes to #4497

  • ChangelogSnippet no longer queries Algolia. The "latest update" cards on the CCIP, CRE, Data Feeds, and Data Streams pages read the same bundled data as /changelog. Nothing in the changelog path uses Algolia now; site search is unchanged.
  • Dedupe drops only identical entries. It keyed on title|date, which silently dropped the second 2026-08-13 "Cross-chain token (CCT) standard: Added support for new tokens" entry (Frontier Stable Token). Production already lost it through the Algolia sync. Both entries now render, each with its own slug.
  • Undated entries no longer fail validation (see below). This mattered once product feeds landed, since the POC emits date: null for Changesets-style and Unreleased sections.

Product changelog sources

  • public/changelog.json is unchanged and still documentation-owned. The detect-new-data and detect-new-tokens workflows and hand-edited PRs keep working as before.
  • src/scripts/changelog/aggregate.ts (from the changelog POC) reads each repository in src/data/changelog-products.json through the GitHub Contents and Releases APIs. It writes only public/product-changelogs.json and public/release-notes.json.
  • The site merges both sources at build time.
  • Each product has a since cutover, set to the day after its last hand-written notice, so automated and manual entries never overlap. To move a product over, add it to the manifest, then stop writing its notices. To roll it back, remove it.
  • Undated sections take the date of the matching GitHub Release. Sections with no date and no matching release are skipped, as are Unreleased sections. Topic and display name come from the manifest.
  • New update-product-changelogs.yml runs hourly. It validates the merged data, then opens or refreshes one bot PR that changes only the two product feeds.
  • New reusable validate-product-changelog.yml lets product repositories validate their CHANGELOG.md on their own PRs.
  • Maintainer and product-team docs are in src/scripts/changelog/README.md.

Visible effect now: 10 new entries. Nine are Chainlink Node v2.67.0–v2.75.0, which were never written up by hand. The tenth is CCIP Tools v1.18.1.

For review

  • Cutovers: Chainlink Node 2026-09-29, CRE CLI 2026-11-28, CRE TS SDK 2026-08-15. Products with no hand-written history start at 2026-12-01.
  • Topics: chainlink maps to the existing Nodes topic, and chainlink-ccv to CCIP.
  • ccip-api is internal. It is skipped with a warning until an INTERNAL_SOURCE_GITHUB_TOKEN secret exists, and its content would then be published publicly. Confirm with the owning team first.
  • Follow-up after merge: remove the algolia-changelog step from chainlink-cms and retire the Algolia Changelog index. First confirm nothing else reads that index.

Verified locally

  • astro build passes. /changelog renders 732 entries, /changelog/chainlink-v2-75-0 and /changelog/ccip-tools-v1-18-1 exist, rss.xml has 50 items, and rss-full.xml has 732.
  • npm run typecheck and ESLint pass.
  • Jest passes for src/components/ChangelogSnippet (43 tests), and npm run test:changelog-aggregate passes (43 tests).
  • npm run validate:changelog passes.
  • A live npm run changelog:aggregate run against GitHub produced the checked-in feeds. ccip-api was skipped because no internal token was available locally.

🤖 Generated with Claude Code

Builds on the JSON-backed changelog in this branch:

- ChangelogSnippet reads the bundled changelog data instead of the Algolia
  Changelog index, so product-page cards match /changelog.
- Dedupe drops only identical entries. Distinct entries that share a title
  and date (2026-08-13 CCT token additions) each keep their own slug.
- Adds the product changelog aggregator (from documentation-changelog-poc)
  as src/scripts/changelog/aggregate.ts. It writes only
  public/product-changelogs.json and public/release-notes.json;
  public/changelog.json stays documentation-owned and unchanged.
- The site merges both sources. Each product in
  src/data/changelog-products.json has a `since` cutover so automated
  entries take over from hand-written notices without overlap. Undated
  sections use the matching GitHub Release date; Unreleased is not shown.
- Adds the hourly update-product-changelogs workflow, a reusable
  validate-product-changelog workflow for product repos, and aggregator
  contract tests in the Validate changelog CI job.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@vercel

vercel Bot commented Dec 2, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated
documentation Ready Ready Preview Dec 2, 2026 6:50pm UTC

Request Review

Chainlink Node changesets tag entries with hashtags (#added, #bugfix,
#internal, ...) that showed up verbatim on docs.chain.link. When product
entries are mapped:

- Drop #internal items and "Minor bump to start next version", plus any
  heading they leave empty.
- Turn #breaking_change into a "Breaking change:" label.
- Remove other tags, keeping the word when a tag is used as a verb
  ("#removed the X table" -> "Removed the X table").
- Show "This release contains internal changes only." when nothing
  public remains.

Only the fixed tag vocabulary is matched, code is never touched, and
changelogs without these tags pass through unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

This branch was successfully deployed

1 active deployment
Preview — 2d528827 Deployed Dec 2, 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.

1 participant