Embed the changelog widget
Goal
Render the Veriko changelog inside any third-party site (status page, internal wiki, partner portal) without writing JavaScript. The widget is a self-contained HTML document with inline CSS; embed it via a single <iframe> and it works everywhere.
Prerequisites
None for the request itself. The widget supports anonymous traffic and serves public-audience entries.
Steps
1. Drop the iframe into your page
Add an <iframe> to your page that loads the changelog widget. Set its width to 100%, its height to 600, no border, and its title to "Veriko Changelog".
The widget renders a scrollable list of recent entries with title, date, summary, and a category badge. A "View all" footer link points to the full changelog page.
2. Customize via query params
All parameters are optional.
| Param | Default | Description |
|---|---|---|
lang | en | Display language. Accepted: en, es. |
limit | 10 | Number of entries to show (1–30; values outside the range are clamped). |
audience | public (admin with a console session and the changelog.internal.read permission) | Audience filter. Accepted: public, admin (console session with the changelog.internal.read permission only). |
You can combine the parameters to tailor the widget. For example, a Spanish widget showing the last 5 entries sets the language to Spanish and the entry count to 5, in a shorter frame (height 400); a public-audience widget showing the last 20 entries sets the audience to public and the entry count to 20, in a taller frame (height 800).
3. Styling
The widget ships with minimal inline CSS. Single-column responsive layout. Typography inherits from the widget's own stylesheet, not from the parent page — this is expected iframe isolation behavior.
The stylesheet reacts to the visitor's OS preference via prefers-color-scheme:
- Light mode: white background, dark text.
- Dark mode: near-black background, light text.
No class names, CSS variables, or theme tokens are exposed for external override. If you need full visual control, fetch the changelog entries directly — see list changelog entries — and render your own HTML.
4. iframe + CORS headers
The widget serves on every response:
Content-Security-Policy: frame-ancestors *
X-Frame-Options: ALLOWALLThe widget can be embedded from any domain, including localhost, file://, and third-party sites. There is no allowlist to configure.
5. Caching
Responses are cached for 5 minutes (Cache-Control: public, max-age=300, must-revalidate). After a new release publishes, the iframe refreshes on the next reload within 5 minutes.
Errors
The widget returns its errors as plain text, with no code; the 429 code comes from the rate limiter.
| Status | Code | Cause |
|---|---|---|
| 400 | — | Invalid lang, audience or limit. |
| 401 | — | Requested audience=admin while unauthenticated. |
| 403 | — | Authenticated, but without the changelog.internal.read permission. |
| 429 | rate_limit_exceeded | Excessive widget requests from the same IP. |
Notes
- The widget is a full HTML document, not a fragment — embed it via
<iframe>, notdangerouslySetInnerHTML. - See Subscribe to the Atom feed or Subscribe to the JSON feed if you want push-style integration with an RSS reader instead of an iframe.
- The widget serves the public catalogue without authentication.