Skip to content

Changelog Widget

A React component that renders your published changelog entries as a vertical timeline. Entries are fetched automatically from the API.

Terminal window
npm install @saas-maker/changelog-widget
import { ChangelogTimeline } from '@saas-maker/changelog-widget';
function WhatsNew() {
return (
<ChangelogTimeline
projectId="pk_your_api_key"
apiBaseUrl="https://saasmaker-api.sarthakagrawal927.workers.dev"
/>
);
}
PropTypeDefaultDescription
projectIdstringYour project API key (required)
apiBaseUrlstringAPI base URL (required)
theme'light' | 'dark' | 'auto''auto'Color theme
maxItemsnumberLimit the number of entries shown

Each timeline entry displays:

  • Date — formatted publish date
  • Version badge — shown if a version string is set (e.g., v1.2.0)
  • Type badge — color-coded by entry type (feature, improvement, fix, breaking)
  • Title and content — the changelog entry body

Entries are sorted newest-first and only published entries are shown.

The widget supports light, dark, and auto themes:

<ChangelogTimeline
projectId="pk_your_api_key"
apiBaseUrl="https://saasmaker-api.sarthakagrawal927.workers.dev"
theme="dark"
maxItems={10}
/>