Skip to content

Open-source social media scheduler built for AI agents and the teams behind them. Create, schedule and publish posts to every network through MCP or the REST API, or write them yourself in a composer your team will love.

What's New: in-app changelog with per-user views (#424)

Paulo Castellanoa2447b8027d0
diff --git a/.claude/commands/changelog.md b/.claude/commands/changelog.md
new file mode 100644
index 000000000..b55bda954
--- /dev/null
+++ b/.claude/commands/changelog.md
@@ -0,0 +1,170 @@
+---
+description: Write a "What's New" entry (title, tag, body and cover) for a shipped feature, under resources/changelog/
+argument-hint: <PR number, branch or a short description of the feature>
+allowed-tools: Bash, Write, Read, Edit, Skill
+---
+
+You are writing one in-app "What's New" entry for TryPost. Entries live in the repo
+and reach production through `php artisan changelog:sync`, which runs on every deploy.
+
+Feature to announce: $ARGUMENTS
+
+## What an entry is
+
+```
+resources/changelog/<YYYY-MM-DD>-<slug>/
+ entry.md front matter + Markdown body
+ cover.png 16:9 cover (rendered at 2400×1350), the card and modal slot
+```
+
+The cover is a Vite asset: the build versions it and the app links it with `Vite::asset()`.
+Nothing is uploaded anywhere.
+
+```markdown
+---
+title: Music, collaborators and trial reels for Instagram
+date: 2026-10-14
+tags: [new] # optional, any of: new, improved, fixed, beta
+---
+
+Body in Markdown.
+```
+
+- The folder name is the slug and never changes once synced (views and reactions are keyed to the row it creates).
+- `date` is the day users see and must be the date in the folder name. A future date hides the entry until that day (UTC).
+- The sidebar card announces only the newest entry dated on or after the user's signup day; the
+ "What's New" list shows every published entry.
+- Entry content is **English only**. Never add lang keys for it.
+
+## Workflow
+
+### Step 1 — Understand the feature
+
+- PR number: `gh pr view <n> --json title,body,mergedAt,files` and skim the diff.
+- Branch or description: read the relevant commits and code.
+
+Find what changed **for the user**: what they can do now, where it lives on screen, and any
+condition (plan, network, connection method). Verify every claim against the code or the lang
+files; never describe behaviour you have not confirmed.
+
+### Step 2 — Write the copy
+
+Load the `in-app-copy` skill first, then write:
+
+- **title**: what the user can now do, in their words, sentence case, max ~60 characters.
+- **tags** (render above the title, each with a fixed color):
+ - `new`: a capability users did not have before.
+ - `improved`: something that already existed works better.
+ - `fixed`: something that was broken works again.
+ - `beta`: the feature is in beta (combine with `new` when both apply).
+
+ Adding a tag means a case in `App\Enums\Changelog\Tag` with its English `label()`, and its
+ color in `ChangelogTagBadge.vue`. Tags are not translated, like the rest of the entry.
+- **body**: one short lead sentence on the benefit, then details. Use a bullet list when there
+ are several parts (bold the part's name). Use the names the user sees on screen. No internal
+ names, no PR or commit references, no apologies, 40–120 words.
+
+Run the text through the `humanizer` skill before saving.
+
+### Step 3 — Draw the cover
+
+The cover is a drawing, never a screenshot and never a headline on a background: the entry's
+title already sits right under it. It shows the product's own UI, drawn, so it looks like
+TryPost and stays true when the real screen changes.
+
+**Style rules (every cover): flat colors, a firm border, the content inside.** Use the style,
+never another product's composition, elements or sample content.
+
+- **Background:** (Template 1; Templates 2 and 3 use the tile grid described below) one app tint with the home hero's dot grid, which `.canvas` already draws only
+ in the bottom-left and top-right corners, fading out toward the middle; add nothing else:
+ `bg-violet` (the app's
+ `--primary`, the default), `bg-blue`, `bg-green`, `bg-peach` (the app's light tints). Vary it
+ between consecutive entries.
+- **Surfaces:** white, with the 2.5px ink border (`#292928`, the app's text color), rounded, and
+ **no shadow**. Dividers inside a surface use the same ink line.
+- **Draw where the feature lives, not a device.** For new settings, one `panel has-badge` with
+ the new settings as `setting` rows, all the same height, and the network's `badge` centered
+ above the panel, outside it. No
+ header, phones, browser frames or mockups of hardware.
+- **One icon per idea, everywhere:** a reel is always `movie`, people are always `users` (the
+ `@` already lives in the handles). Never two icons for the same thing.
+- **Settings are drawn the way the app shows them:** the Tabler icon of the idea (`users` for
+ collaborators, `music`, `movie` for reels), the label exactly as on screen, and the real
+ control: `handle` chips with `@`, a `track` playing (`eq`: a thin green sound wave (five 3px bars, 4px gap) centered on its axis, then title and muted artist), the
+ app's violet `switch`.
+- **Content is ours:** handles are the team's own, `@paulocastellano` then `@luizmazini`, never
+ an invented handle that may belong to someone else, and never a customer's account or data. Tracks are songs known worldwide (e.g. Bohemian Rhapsody ·
+ Queen), never an invented one. Make the panel wider
+ rather than let a chip touch its border.
+- **No decoration:** no sparkles, confetti, glows or shadows. The UI is the picture.
+- **Readable small:** labels about 28px semibold, nothing under 19px; the cover also shows small
+ in the sidebar card. Keep everything inside the 1200×675 canvas, nothing overlapping by
+ accident.
+
+**Pick the template.** Every cover is one of the numbered templates in
+`.claude/release-assets/changelog-covers/`. The pattern is shared and never changes per entry:
+`cover.css` draws the tinted background with the corner dots, the 2.5px ink borders, the white
+surfaces, the badge, the switch and the chips. A template fixes the layout; an entry only swaps
+the content inside it. Copy the template to the scratchpad and edit the copy (the templates stay
+as they are), then compare your render with the template's example.
+
+| # | Template | File | Example | Use it for |
+| --- | --- | --- | --- | --- |
+| 1 | Settings panel (default) | `settings-panel.html` | `examples/settings-panel.png` | A new or improved option, control or screen of a network. |
+| 2 | Integration | `integration.html` | `examples/integration.png` | A new network, app or service: the TryPost mark, a plus and the service's official logo. |
+| 3 | Announcement | `announcement.html` | `examples/announcement.png` | Broad news with nothing to draw (a release, a milestone, a round-up). |
+
+**Template 1 · Settings panel.**
+- Fixed: the panel's place and width (`left: 190px; top: 252px; width: 820px`), the network's
+ `badge` centered above it, rows of equal height, the background tint unless the previous entry
+ used it.
+- Swap: the badge (brand color + Tabler brand icon), the 2–4 `setting` rows (the idea's icon, the
+ label exactly as on screen, the real control: `handle` chips, a `track`, a `switch`).
+- Keep 3 rows when you can; with 2 or 4, move the panel's `top` so it stays centered.
+
+Templates 2 and 3 share one layout, a tile grid (`.tiles`): soft tiles split by white lines,
+with three stronger tiles in the middle row. Nothing else goes on them.
+
+**Template 2 · Integration.**
+- Fixed: the grid, the TryPost mark on the left (filling its tile, no white square behind it),
+ the `+` in the center, the service's white tile on the right.
+- Swap: the service's **official** logo, a PNG in `logos/` taken from the brand's own assets
+ (e.g. Google's `gstatic.com/images/branding/product`), never a look-alike Tabler icon. The tint stays
+ `tiles-violet`, like every cover. No settings, no text.
+
+**Template 3 · Announcement.**
+- Fixed: the grid, three emojis in the middle row, 📣 in the center.
+- Swap: the tint pair (`tiles-violet` by default) and the two side emojis, from the approved
+ set only: 🎁 🎉 🎈 🚀 (default 🎁 📣 🎉). Never a bell, sparkles or any other emoji. The emojis
+ render as Apple's set, so render covers on a Mac.
+
+A fix usually uses Template 1 with the control that works again. Render the copy:
+
+```bash
+node .claude/release-assets/changelog-covers/render.mjs \
+ --scene <scratchpad>/scene.html \
+ --out resources/changelog/<YYYY-MM-DD>-<slug>/cover.png
+```
+
+The renderer links `cover.css`, inlines Tabler icons (`<i data-icon="users"></i>`, add
+`data-filled` for the filled set) and the TryPost mark (`{{TRYPOST_MARK}}`), and saves the
+cover at 2× (2400×1350, 16:9). Never resize or crop it afterwards.
+
+Open the PNG and check it against the style rules: nothing clipped or overflowing (chips
+inside the panel, media filling its card), labels readable at the size of the sidebar card,
+no borders or decoration.
+
+### Step 4 — Validate
+
+```bash
+php artisan changelog:sync
+```
+
+It fails loud, naming the folder, when the folder name is not `<YYYY-MM-DD>-<slug>`, the `date`
+is not that same day, the front matter or tags are invalid, `entry.md` or `cover.png` is
+missing, or the cover is not 16:9. Locally it also writes the entry to the database, so it shows in the sidebar
+card and the "What's New" list.
+
+### Step 5 — Hand over
+
+Show the user the title, tags, body and the entry's folder. Do not commit or push unless asked.
diff --git a/.claude/release-assets/changelog-covers/announcement.html b/.claude/release-assets/changelog-covers/announcement.html
new file mode 100644
index 000000000..f259f443c
--- /dev/null
+++ b/.claude/release-assets/changelog-covers/announcement.html
@@ -0,0 +1,13 @@
+<!--
+ TEMPLATE 3 · ANNOUNCEMENT: broad news with nothing to draw (a release, a
+ milestone, a round-up). A grid of tinted tiles split by white lines; the
+ middle row is the stronger tint and holds three emojis.
+ Fixed: the grid, three emojis in the middle row, 📣 in the center.
+ Swap: the tint pair, and the two side emojis from the approved set only:
+ 🎉 🎈 🎁 🚀 (default 🎁 📣 🎉). Never a bell, sparkles or any other emoji.
+-->
+<div class="canvas tiles tiles-violet">
+ <i></i><i></i><i></i><i></i><i></i>
+ <i></i><b>🎁</b><b>📣</b><b>🎉</b><i></i>
+ <i></i><i></i><i></i><i></i><i></i>
+</div>
diff --git a/.claude/release-assets/changelog-covers/cover.css b/.claude/release-assets/changelog-covers/cover.css
new file mode 100644
index 000000000..df6e02048
--- /dev/null
+++ b/.claude/release-assets/changelog-covers/cover.css
@@ -0,0 +1,158 @@
+/*
+ * TryPost "What's New" covers: flat colors, a firm ink border and the content
+ * inside. One flat background from the app's light tints, white surfaces with
+ * the ink border and no shadow, Inter, Tabler icons, the app's violet switch.
+ * No headline and no props: the entry's title sits right under the cover. The
+ * background carries the home hero's dot grid, only in the bottom-left and
+ * top-right corners, fading out toward the middle.
+ */
+:root {
+ --ink: #292928;
+ --muted-foreground: #5a5a59;
+ --secondary: #eae8e5;
+ --accent: #f3f2f0;
+ --primary-strong: #6d28d9;
+
+ /* Backgrounds: the app's own light tints. */
+ --bg-violet: #d2c7fd;
+ --bg-blue: #def0ff;
+ --bg-green: #d9f1d1;
+ --bg-peach: #ffdbd6;
+ --bg-cream: #f4f1ec;
+ --bg-yellow: #fdefc3;
+}
+
+* { margin: 0; padding: 0; box-sizing: border-box; }
+
+html, body { width: 1200px; height: 675px; }
+
+body {
+ font-family: 'Inter', ui-sans-serif, system-ui, sans-serif;
+ color: var(--ink);
+ -webkit-font-smoothing: antialiased;
+}
+
+.canvas {
+ position: relative;
+ width: 1200px;
+ height: 675px;
+ overflow: hidden;
+ isolation: isolate;
+}
+.canvas::before {
+ content: '';
+ position: absolute;
+ inset: 0;
+ z-index: -1;
+ background: radial-gradient(circle, rgb(10 10 10 / 0.22) 1.2px, transparent 1.8px) 0 0 / 24px 24px;
+ mask-image:
+ radial-gradient(circle at 100% 0%, #000, transparent 38%),
+ radial-gradient(circle at 0% 100%, #000, transparent 38%);
+}
+.bg-violet { background-color: var(--bg-violet); }
+.bg-blue { background-color: var(--bg-blue); }
+.bg-green { background-color: var(--bg-green); }
+.bg-peach { background-color: var(--bg-peach); }
+.bg-cream { background-color: var(--bg-cream); }
+.bg-yellow { background-color: var(--bg-yellow); }
+
+.at { position: absolute; }
+.icon { width: 1em; height: 1em; flex-shrink: 0; stroke-width: 1.7; }
+
+/* A white surface with the ink border, no shadow. */
+.surface { background: #fff; border: 2.5px solid var(--ink); border-radius: 24px; }
+
+/* A network's mark in its brand circle. */
+.badge {
+ display: grid;
+ place-items: center;
+ width: 100px;
+ height: 100px;
+ border: 2.5px solid var(--ink);
+ border-radius: 999px;
+ color: #fff;
+ font-size: 54px;
+}
+
+/* A settings panel, like the composer's section for a network. */
+.panel { position: relative; width: 610px; }
+/* The network's badge sits above the panel, centered, outside it. */
+.panel.has-badge > .badge { position: absolute; left: 50%; top: -52px; transform: translate(-50%, -100%); }
+.setting {
+ display: flex;
+ align-items: center;
+ gap: 18px;
+ padding: 24px 28px;
+ font-size: 29px;
+ font-weight: 600;
+ letter-spacing: -0.01em;
+ white-space: nowrap;
+}
+.setting + .setting { border-top: 2.5px solid var(--ink); }
+.setting > .icon { font-size: 36px; }
+.setting .control { margin-left: auto; display: flex; align-items: center; gap: 12px; }
+
+.handle {
+ display: inline-flex;
+ align-items: center;
+ height: 52px;
+ padding: 0 18px;
+ border-radius: 14px;
+ background: var(--secondary);
+ font-size: 25px;
+ font-weight: 600;
+}
+
+.track {
+ display: flex;
+ align-items: center;
+ gap: 14px;
+ height: 62px;
+ padding: 0 20px 0 8px;
+ border: 2.5px solid var(--ink);
+ border-radius: 14px;
+ font-size: 23px;
+ font-weight: 600;
+}
+.track .art { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 9px; color: #fff; font-size: 22px; }
+.track .artist { margin-left: -6px; color: var(--muted-foreground); font-weight: 500; }
+
+/* A track playing: a sound wave in green, centered on its axis. */
+.eq { display: flex; align-items: center; gap: 4px; height: 28px; }
+.eq > i { display: block; width: 3px; border-radius: 999px; background: #16a34a; }
+
+/* The app's switch: primary-strong with the white knob. */
+.switch { position: relative; width: 84px; height: 46px; border: 2.5px solid var(--ink); border-radius: 999px; background: var(--primary-strong); }
+.switch::after { content: ''; position: absolute; top: 50%; right: 4px; width: 34px; height: 34px; border: 2.5px solid var(--ink); border-radius: 999px; background: #fff; transform: translateY(-50%); }
+
+/* A chip the user picked: the ink border on white. */
+.handle.is-selected { background: #fff; box-shadow: inset 0 0 0 2.5px var(--ink); }
+
+/* Integration: two app icons joined by a plus. */
+.pair { display: flex; align-items: center; justify-content: center; gap: 48px; }
+.app-icon { display: grid; place-items: center; width: 200px; height: 200px; border: 2.5px solid var(--ink); border-radius: 48px; background: #fff; overflow: hidden; }
+.app-icon .icon { font-size: 112px; color: #fff; stroke-width: 1.5; }
+.app-icon .trypost-mark { width: 100%; height: 100%; }
+/* The TryPost mark on its own: no white square behind it, the canvas shows through. */
+.app-icon.is-mark { background: none; }
+.app-icon.is-mark .trypost-mark rect { fill: transparent; }
+/* A service's official logo on white. */
+.app-icon .logo { width: 136px; height: 136px; }
+.plus { font-size: 60px; }
+.plus .icon { stroke-width: 2.4; }
+
+/* Announcement: tinted tiles split by white lines, three emojis in the middle row. */
+.tiles {
+ display: grid;
+ grid-template-columns: 1fr 330px 330px 330px 1fr;
+ grid-template-rows: 1fr 330px 1fr;
+ gap: 6px;
+ background: #fff;
+}
+.tiles::before { display: none; }
+.tiles > i { background: var(--tile-soft); }
+.tiles > b { display: grid; place-items: center; background: var(--tile-strong); font-size: 104px; font-weight: 400; line-height: 1; }
+.tiles-violet { --tile-soft: #ede9fe; --tile-strong: #d2c7fd; }
+.tiles-green { --tile-soft: #e3f5dc; --tile-strong: #bfe8b0; }
+.tiles-blue { --tile-soft: #e6f3ff; --tile-strong: #c5e3ff; }
+.tiles-peach { --tile-soft: #ffe9e5; --tile-strong: #ffcdc5; }
diff --git a/.claude/release-assets/changelog-covers/examples/announcement.png b/.claude/release-assets/changelog-covers/examples/announcement.png
new file mode 100644
index 000000000..b9e5f614f
Binary files /dev/null and b/.claude/release-assets/changelog-covers/examples/announcement.png differ
diff --git a/.claude/release-assets/changelog-covers/examples/integration.png b/.claude/release-assets/changelog-covers/examples/integration.png
new file mode 100644
index 000000000..92fe55b81
Binary files /dev/null and b/.claude/release-assets/changelog-covers/examples/integration.png differ
diff --git a/.claude/release-assets/changelog-covers/examples/settings-panel.png b/.claude/release-assets/changelog-covers/examples/settings-panel.png
new file mode 100644
index 000000000..ae8a711a3
Binary files /dev/null and b/.claude/release-assets/changelog-covers/examples/settings-panel.png differ
diff --git a/.claude/release-assets/changelog-covers/integration.html b/.claude/release-assets/changelog-covers/integration.html
new file mode 100644
index 000000000..5284d1955
--- /dev/null
+++ b/.claude/release-assets/changelog-covers/integration.html
@@ -0,0 +1,18 @@
+<!--
+ TEMPLATE 2 · INTEGRATION: a new network, app or service. The announcement's
+ tile grid in its own tint, with the TryPost mark, a plus and the service's
+ official logo in the middle row.
+ Fixed: the grid, the TryPost mark on the left, the plus in the center.
+ Swap: the service's official logo on the right (a PNG in logos/, from the
+ brand's own assets, never a look-alike icon). The tint stays violet, like
+ every other cover.
+-->
+<div class="canvas tiles tiles-violet">
+ <i></i><i></i><i></i><i></i><i></i>
+ <i></i>
+ <b><span class="app-icon is-mark">{{TRYPOST_MARK}}</span></b>
+ <b><span class="plus"><i data-icon="plus"></i></span></b>
+ <b><span class="app-icon"><img class="logo" src="logos/google-business-profile.png" alt=""></span></b>
+ <i></i>
+ <i></i><i></i><i></i><i></i><i></i>
+</div>
diff --git a/.claude/release-assets/changelog-covers/logos/google-business-profile.png b/.claude/release-assets/changelog-covers/logos/google-business-profile.png
new file mode 100644
index 000000000..7cfa42e9d
Binary files /dev/null and b/.claude/release-assets/changelog-covers/logos/google-business-profile.png differ
diff --git a/.claude/release-assets/changelog-covers/render.mjs b/.claude/release-assets/changelog-covers/render.mjs
new file mode 100644
index 000000000..d65d959ea
--- /dev/null
+++ b/.claude/release-assets/changelog-covers/render.mjs
@@ -0,0 +1,88 @@
+// Render a "What's New" cover (1200x675, saved at 2x) from an HTML scene.
+//
+// Usage:
+// node .claude/release-assets/changelog-covers/render.mjs \
+// --scene path/to/scene.html \
+// --out resources/changelog/<YYYY-MM-DD>-<slug>/cover.png
+//
+// The scene is plain HTML using the classes in cover.css (linked for you).
+// Placeholders the renderer fills in:
+// <i data-icon="users"></i> Tabler outline icon (node_modules/@tabler/icons)
+// <i data-icon="heart" data-filled></i> Tabler filled icon
+// {{TRYPOST_MARK}} the TryPost mark as inline SVG
+// <img src="logos/x.png"> a service's official logo from logos/, inlined
+//
+// Playwright and the icons are resolved from the repo's node_modules.
+
+import { existsSync, readFileSync, unlinkSync, writeFileSync } from 'fs';
+import { createRequire } from 'module';
+import { tmpdir } from 'os';
+import { dirname, join, resolve } from 'path';
+import { fileURLToPath } from 'url';
+
+const here = dirname(fileURLToPath(import.meta.url));
+const repoRoot = join(here, '..', '..', '..');
+const require = createRequire(join(repoRoot, 'package.json'));
+const { chromium } = require('playwright');
+
+const args = {};
+for (let i = 2; i < process.argv.length; i += 2) {
+ args[process.argv[i].replace(/^--/, '')] = process.argv[i + 1];
+}
+
+if (!args.scene || !args.out) {
+ console.error('usage: render.mjs --scene scene.html --out cover.png');
+ process.exit(1);
+}
+
+const iconsRoot = join(repoRoot, 'node_modules', '@tabler', 'icons', 'icons');
+
+const icon = (name, filled) => {
+ const file = join(iconsRoot, filled ? 'filled' : 'outline', `${name}.svg`);
+
+ if (!existsSync(file)) {
+ throw new Error(`Unknown Tabler icon: ${name}${filled ? ' (filled)' : ''}`);
+ }
+
+ return readFileSync(file, 'utf8')
+ .replace(/<!--[\s\S]*?-->/g, '')
+ .replace(/\s(width|height)="[^"]*"/g, '')
+ .replace('<svg', '<svg class="icon" aria-hidden="true"');
+};
+
+const trypostMark = `<svg class="trypost-mark" viewBox="0 0 410 410" aria-hidden="true"><rect width="410" height="410" fill="#fff"/><path d="M410 109.736V410H128.863L410 109.736Z" fill="#3660E0"/><path d="M410 0H281.138L205 81.3178L410 300.264V0Z" fill="#855ED4"/><path d="M0 0V300.264L205 81.3178L281.138 0H0Z" fill="#FFCC33"/><path d="M0 109.736V410H128.862L205 328.682L0 109.736Z" fill="#F39200"/></svg>`;
+
+const scene = readFileSync(resolve(args.scene), 'utf8')
+ .replace(/<i data-icon="([a-z0-9-]+)"( data-filled)?><\/i>/g, (_, name, filled) => icon(name, Boolean(filled)))
+ .replaceAll('{{TRYPOST_MARK}}', trypostMark)
+ .replace(/src="(logos\/[^"]+\.png)"/g, (_, file) => `src="data:image/png;base64,${readFileSync(join(here, file)).toString('base64')}"`);
+
+const css = readFileSync(join(here, 'cover.css'), 'utf8');
+
+const html = `<!doctype html>
+<html lang="en">
+<head>
+<meta charset="utf-8" />
+<link rel="preconnect" href="https://fonts.googleapis.com" />
+<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
+<link href="https://fonts.googleapis.com/css2?family=Inter:[email protected]&display=swap" rel="stylesheet" />
+<style>${css}</style>
+</head>
+<body>${scene}</body>
+</html>`;
+
+const tmpFile = join(tmpdir(), `trypost-changelog-cover-${process.pid}.html`);
+writeFileSync(tmpFile, html);
+
+const browser = await chromium.launch();
+try {
+ const page = await browser.newPage({ viewport: { width: 1200, height: 675 }, deviceScaleFactor: 2 });
+ await page.goto(`file://${tmpFile}`, { waitUntil: 'networkidle' });
+ await page.evaluate(() => document.fonts.ready);
+ await page.screenshot({ path: args.out });
+} finally {
+ await browser.close();
+ unlinkSync(tmpFile);
+}
+
+console.log('wrote', args.out);
diff --git a/.claude/release-assets/changelog-covers/settings-panel.html b/.claude/release-assets/changelog-covers/settings-panel.html
new file mode 100644
index 000000000..2295bdbdf
--- /dev/null
+++ b/.claude/release-assets/changelog-covers/settings-panel.html
@@ -0,0 +1,26 @@
+<!--
+ TEMPLATE 1 · SETTINGS PANEL (default): the composer-like panel with the new
+ settings and the network's badge centered above it. Rendered example:
+ examples/settings-panel.png (Instagram reels gain collaborators, music and
+ trial reels).
+ Fixed: the panel's place and width, the badge above it, rows of equal height.
+ Swap: the badge (brand color + brand icon), the 2–4 rows (icon, label as on
+ screen, real control) and the background tint.
+-->
+<div class="canvas bg-violet">
+ <div class="surface panel has-badge at" style="left: 190px; top: 252px; width: 820px">
+ <div class="badge" style="background: #e1306c"><i data-icon="brand-instagram"></i></div>
+ <div class="setting">
+ <i data-icon="users"></i>Collaborators
+ <span class="control"><span class="handle">@paulocastellano</span><span class="handle">@luizmazini</span></span>
+ </div>
+ <div class="setting">
+ <i data-icon="music"></i>Music
+ <span class="control"><span class="track" style="padding-left: 18px"><span class="eq"><i style="height: 12px"></i><i style="height: 24px"></i><i style="height: 16px"></i><i style="height: 28px"></i><i style="height: 10px"></i></span>Bohemian Rhapsody<span class="artist">· Queen</span></span></span>
+ </div>
+ <div class="setting">
+ <i data-icon="movie"></i>Trial Reels
+ <span class="control"><span class="switch"></span></span>
+ </div>
+ </div>
+</div>
diff --git a/.env.example b/.env.example
index 09e2b9113..61d3a26a0 100644
--- a/.env.example
+++ b/.env.example
@@ -18,6 +18,10 @@ SELF_HOSTED=true
# X does not bill them at the link-post rate. Self-hosted installs publish through
# their own X app and pay their own bill, so set true only if you want it.
X_DEFUSE_LINKS=false
+
+# Show the "What's New" sidebar card and modal (entries under
+# resources/changelog/, synced with `php artisan changelog:sync`).
+CHANGELOG_ENABLED=true
META_PAGE_WALK_SECONDS=20
# Passport OAuth keys (API tokens / MCP). Prefer env vars over key files so
diff --git a/AGENTS.md b/AGENTS.md
index 7c2f4670c..faf84b6df 100644
--- a/AGENTS.md
+++ b/AGENTS.md
@@ -750,8 +750,74 @@ view turns a forgotten variable into a runtime-only failure.
- The page size ALWAYS comes from `config('app.pagination.default')` — never a magic number, and never a `perPage`/`per_page` value supplied by the request or frontend. Action/service list methods must NOT accept a `$perPage` parameter; call `->paginate((int) config('app.pagination.default'))` directly.
- **Exception — the per-post table on the channel insights page** (owner decision 2026-10-05): it is page-based with numbered pages, 10 posts per page (`ListChannelPublicationPerformance::INSIGHTS_PAGE_SIZE`, through `insightsPage()`), and keeps `?page=` in the URL; a sort, period or filter change goes back to page 1. The API endpoint and the MCP tool for the same list keep the config page size through `handle()`.
- **Exception — the ideas board columns** (owner decision 2026-10-06): each stage column (and Unassigned) is its own scroll prop, `columns.<stage id|unassigned>`, with its own page name, and loads 10 ideas per page (`ListIdeas::BOARD_PAGE_SIZE`) as the column scrolls. A label filter change resets every column to page 1. Column counts come from the database (`stages.*.ideas_count`, `unassigned_count`), never from the loaded cards. The web board moves a card with `after_idea_id` (`MoveIdea::after()`), since a partly loaded column cannot send the full order; the API and MCP keep the full `idea_ids` contract. The gallery keeps the config page size.
+ - **Exception — the "What's New" modal** (owner decision 2026-10-14): it loads 5 entries per page, enough to fill the modal (capped at 640px) and the next one loads only when the user scrolls (`ListChangelogEntries::PAGE_SIZE`) under the page name `changelog_page`, as the shared optional scroll prop `changelogEntries` (built with the `changelog` card prop by `BuildChangelogProps`, which `HandleInertiaRequests` only spreads), requested by a partial reload when the modal opens.
- **This includes the public REST API** (`app/Http/Controllers/Api`). It used to pin its own page size of 15 as a stable contract; that exception is gone, so a list endpoint reads the same config as everything else. Changing `app.pagination.default` therefore changes the API's page size too — deliberate, and the reason a list response always carries `meta.per_page` for clients to read rather than assume.
+## Changelog ("What's New")
+
+The in-app announcements: a card at the bottom of the sidebar announcing the newest
+entry, and a "What's New" modal (Help menu) listing every published entry.
+
+- **Each entry is one folder in the repo**, `resources/changelog/<YYYY-MM-DD>-<slug>/` with
+ `entry.md` (front matter `title`, `date`, optional `tags` from `App\Enums\Changelog\Tag`: `new`, `improved`, `fixed`, `beta`, shown above the title with a fixed color each in `ChangelogTagBadge.vue`)
+ and `cover.png` (16:9, rendered at 2400×1350). Covers come from three numbered templates in `.claude/release-assets/changelog-covers/`, rendered by its `render.mjs`: 1 settings panel (a composer-like panel with the network's badge on a tint with corner dots, white surfaces with a 2.5px ink border), 2 integration (a tile grid with the TryPost mark, a plus and the service's official logo from `logos/`) and 3 announcement (the same grid with 🎁 📣 🎉). An entry only swaps the content; the style only, never another product's sample content, never screenshots or headlines. The folder holds a `.gitkeep` so it exists with no entries.
+ There is no admin panel. Write them with the `/changelog` command.
+- **Covers are Vite assets** (owner decision 2026-10-14): `vite.config.ts` lists
+ `resources/changelog/**/*.png` in the plugin's `assets`, so the build versions them, and
+ `ChangelogEntry::coverUrl()` reads `Vite::asset()`. A cover missing from the build gives a null
+ `cover_url` (not reported) and the UI keeps the empty muted frame; factories hit this, production
+ does not because the build and the sync run from the same commit. Never upload covers to a disk
+ or put them in `public/`.
+- **`php artisan changelog:sync` runs on every deploy** (after `migrate`). Each folder is validated against
+ `App\Http\Requests\App\Changelog\SyncChangelogEntryRequest` (rules and messages live there, like
+ every other request); `SyncChangelogEntries` reads the files, validates and writes. DTOs never validate. It upserts
+ `changelog_entries` by slug, deletes rows whose folder is gone, and fails loud without writing
+ anything when the folder itself is missing (never "no entries, delete everything") or one folder is invalid (its name must be `<YYYY-MM-DD>-<slug>` and its `date` that same day, which also catches an impossible unquoted date YAML would roll over) (missing `entry.md` or `cover.png`, or a cover that is not
+ 16:9). Never edit the rows by hand, and never rename a synced folder (its views are keyed to
+ the row).
+- **The entries and the modal are English only** (owner decision 2026-10-14): the entries, the
+ tag labels (`Tag::label()`), the modal title, its empty state, the "Do you like it?" block (its
+ `Like` / `Dislike` labels and its error toast), the card's "Read more" and the entry's "All updates" button are hard-coded English,
+ never lang keys. The exception is the Help menu item, which is part
+ of the app menu and is translated (`sidebar.support.changelog`, all 16 locales). The close
+ button's `aria-label` reuses `common.close`. An open entry's header drops the "What's New"
+ title for an "← All updates" button (English, like the rest) and the X; the dialog's title
+ for screen readers is then the entry's title (`sr-only`).
+- **"Viewed" means the user opened the entry's detail**, never that it was shown in the
+ card or the list. `changelog_entry_views` holds one row per user and entry, and
+ `ChangelogEntryViewObserver` queues `TrackChangelogEntryEvent` (`posthog` queue) when the row
+ is created, so `changelog.entry_viewed` goes to PostHog on the first open only.
+- **"Do you like it?"** sits at the end of an entry's detail with 👍 / 👎
+ (`App\Enums\Changelog\Reaction`: `like`, `dislike`), shown as emoji that grow on hover; once
+ one is picked, the other turns grayscale. The answer is the `reaction` column on the
+ user's view row (owner decision 2026-10-14: no separate reactions table); clicking the chosen
+ one again clears it. `ReactToChangelogEntry` (`PUT app.changelog.reaction.update`) records the
+ view if needed and stores the reaction; the observer queues `TrackChangelogEntryEvent` with
+ `changelog.entry_reacted` on every change, carrying the reaction picked (null when cleared). Counts are never shown in the app.
+- **PostHog events go through queued jobs**, like the rest of the app: actions never call
+ `PostHogService::capture()`; the observer dispatches `app/Jobs/PostHog` jobs on the `posthog` queue.
+- **The sidebar card announces one entry only** (owner decision 2026-10-14): the newest
+ one dated since the user's signup day (`ChangelogEntry::scopeAnnouncedTo`), and only
+ while the user has not opened it (`ShowChangelogCard::execute`). Opening it hides
+ the card; older unopened entries never take its place. A new user never gets the backlog.
+ The card is cached per user for 10 minutes (`ShowChangelogCard::cached()`), so a page change
+ does not query it. The cache holds the entry's raw attributes, never the model:
+ `cache.serializable_classes` is off, so a cached object comes back as `__PHP_Incomplete_Class`.
+ The action owns its keys (private, like `ListPinterestBoards`). `RecordChangelogEntryView`
+ clears one user's card when it creates a view, and a sync that changed anything bumps the cards'
+ version (`ShowChangelogCard::forgetAll()`), so a new, removed or re-dated entry shows at once.
+- **The modal closes when the page changes** (`useChangelogDialog` closes on every Inertia
+ `navigate`, which fires for pushed visits and browser Back/Forward); its own requests (list load,
+ scroll pages, card reload) are same-URL visits Inertia replaces without `navigate`, so they leave
+ it open. Layouts are not persistent, so keeping it open across pages would remount it
+ with stale state.
+- **The modal list shows every published entry** (`scopePublished`, dated today or earlier),
+ including those from before the user signed up, with a dot on the ones not opened yet. A
+ future date schedules an entry for both.
+- On by default (`CHANGELOG_ENABLED`, `trypost.changelog.enabled`), self-hosted included: the
+ Docker entrypoint runs `changelog:sync` after `migrate`. Turning it off means no shared data, no
+ card, no menu item, and the view and reaction routes 404.
+
## Empty states on list pages
A list page answers two different questions, and each needs its own data:
diff --git a/app/Actions/Changelog/BuildChangelogProps.php b/app/Actions/Changelog/BuildChangelogProps.php
new file mode 100644
index 000000000..a816c9b10
--- /dev/null
+++ b/app/Actions/Changelog/BuildChangelogProps.php
@@ -0,0 +1,40 @@
+<?php
+
+declare(strict_types=1);
+
+namespace App\Actions\Changelog;
+
+use App\Http\Resources\App\Changelog\ChangelogEntryResource;
+use App\Models\ChangelogEntry;
+use App\Models\User;
+use Illuminate\Http\Resources\Json\AnonymousResourceCollection;
+use Inertia\Inertia;
+use Inertia\ScrollProp;
+
+/**
+ * The shared Inertia props of the "What's New" feature: the sidebar card
+ * (`changelog`) and the modal list (`changelogEntries`, loaded only by the
+ * partial reload the modal makes when it opens).
+ */
+class BuildChangelogProps
+{
+ /**
+ * @return array<string, mixed>
+ */
+ public static function execute(User $user): array
+ {
+ if (! config('trypost.changelog.enabled')) {
+ return ['changelog' => null];
+ }
+
+ return [
+ 'changelog' => fn (): array => ['latest' => transform(
+ ShowChangelogCard::cached($user),
+ fn (ChangelogEntry $entry): array => ChangelogEntryResource::make($entry)->resolve(),
+ )],
+ 'changelogEntries' => Inertia::optional(fn (): ScrollProp => Inertia::scroll(
+ fn (): AnonymousResourceCollection => ChangelogEntryResource::collection(ListChangelogEntries::execute($user)),
+ )),
+ ];
+ }
+}
diff --git a/app/Actions/Changelog/ListChangelogEntries.php b/app/Actions/Changelog/ListChangelogEntries.php
new file mode 100644
index 000000000..c0ff9e02e
--- /dev/null
+++ b/app/Actions/Changelog/ListChangelogEntries.php
@@ -0,0 +1,33 @@
+<?php
+
+declare(strict_types=1);
+
+namespace App\Actions\Changelog;
+
+use App\Models\ChangelogEntry;
+use App\Models\User;
+use Illuminate\Pagination\LengthAwarePaginator;
+
+class ListChangelogEntries
+{
+ /**
+ * The "What's New" modal loads five entries per page (owner decision
+ * 2026-10-14, an exception to `app.pagination.default`).
+ */
+ public const PAGE_SIZE = 5;
+
+ public const PAGE_NAME = 'changelog_page';
+
+ /**
+ * @return LengthAwarePaginator<int, ChangelogEntry>
+ */
+ public static function execute(User $user): LengthAwarePaginator
+ {
+ return ChangelogEntry::query()
+ ->published()
+ ->withSeenBy($user)
+ ->withReactionBy($user)
+ ->latestFirst()
+ ->paginate(self::PAGE_SIZE, pageName: self::PAGE_NAME);
+ }
+}
diff --git a/app/Actions/Changelog/ReactToChangelogEntry.php b/app/Actions/Changelog/ReactToChangelogEntry.php
new file mode 100644
index 000000000..e3ae419d9
--- /dev/null
+++ b/app/Actions/Changelog/ReactToChangelogEntry.php
@@ -0,0 +1,21 @@
+<?php
+
+declare(strict_types=1);
+
+namespace App\Actions\Changelog;
+
+use App\Enums\Changelog\Reaction;
+use App\Models\ChangelogEntry;
+use App\Models\User;
+
+class ReactToChangelogEntry
+{
+ /**
+ * Stores the user's reaction on their view of the entry (null removes it).
+ * ChangelogEntryViewObserver tracks each change.
+ */
+ public static function execute(User $user, ChangelogEntry $entry, ?Reaction $reaction): void
+ {
+ RecordChangelogEntryView::execute($user, $entry)->update(['reaction' => $reaction]);
+ }
+}
diff --git a/app/Actions/Changelog/RecordChangelogEntryView.php b/app/Actions/Changelog/RecordChangelogEntryView.php
new file mode 100644
index 000000000..375dd740e
--- /dev/null
+++ b/app/Actions/Changelog/RecordChangelogEntryView.php
@@ -0,0 +1,28 @@
+<?php
+
+declare(strict_types=1);
+
+namespace App\Actions\Changelog;
+
+use App\Models\ChangelogEntry;
+use App\Models\ChangelogEntryView;
+use App\Models\User;
+
+class RecordChangelogEntryView
+{
+ /**
+ * Records that the user opened the entry and returns that view. Only the
+ * first open creates the row (tracked by ChangelogEntryViewObserver) and
+ * clears the user's sidebar card.
+ */
+ public static function execute(User $user, ChangelogEntry $entry): ChangelogEntryView
+ {
+ $view = ChangelogEntryView::firstOrCreate(['changelog_entry_id' => $entry->id, 'user_id' => $user->id]);
+
+ if ($view->wasRecentlyCreated) {
+ ShowChangelogCard::forget($user);
+ }
+
+ return $view;
+ }
+}
diff --git a/app/Actions/Changelog/ShowChangelogCard.php b/app/Actions/Changelog/ShowChangelogCard.php
new file mode 100644
index 000000000..ebc3959fa
--- /dev/null
+++ b/app/Actions/Changelog/ShowChangelogCard.php
@@ -0,0 +1,70 @@
+<?php
+
+declare(strict_types=1);
+
+namespace App\Actions\Changelog;
+
+use App\Models\ChangelogEntry;
+use App\Models\User;
+use Illuminate\Support\Facades\Cache;
+
+/**
+ * The entry the sidebar card announces: the newest one dated since the user
+ * signed up, only while the user has not opened it. Older unopened entries
+ * never take its place; they stay in the "What's New" list.
+ */
+class ShowChangelogCard
+{
+ public static function execute(User $user): ?ChangelogEntry
+ {
+ $latest = ChangelogEntry::query()
+ ->announcedTo($user)
+ ->withSeenBy($user)
+ ->latestFirst()
+ ->first();
+
+ return $latest?->seen ? null : $latest;
+ }
+
+ /**
+ * Cached for 10 minutes so changing pages does not query it. The cache
+ * holds the raw attributes, never the model: the cache store refuses to
+ * unserialize objects (`cache.serializable_classes`).
+ */
+ public static function cached(User $user): ?ChangelogEntry
+ {
+ $attributes = Cache::remember(
+ self::cacheKey($user),
+ now()->addMinutes(10),
+ fn (): array => self::execute($user)?->getAttributes() ?? [],
+ );
+
+ return filled($attributes) ? (new ChangelogEntry)->newFromBuilder($attributes) : null;
+ }
+
+ public static function forget(User $user): void
+ {
+ Cache::forget(self::cacheKey($user));
+ }
+
+ /**
+ * Drops every user's cached card at once, after a sync changed the entries.
+ */
+ public static function forgetAll(): void
+ {
+ Cache::add(self::versionKey(), 0);
+ Cache::increment(self::versionKey());
+ }
+
+ private static function cacheKey(User $user): string
+ {
+ $version = Cache::get(self::versionKey(), 0);
+
+ return "changelog-card.{$version}.{$user->id}";
+ }
+
+ private static function versionKey(): string
+ {
+ return 'changelog-card:version';
+ }
+}
diff --git a/app/Actions/Changelog/SyncChangelogEntries.php b/app/Actions/Changelog/SyncChangelogEntries.php
new file mode 100644
index 000000000..75a27b214
--- /dev/null
+++ b/app/Actions/Changelog/SyncChangelogEntries.php
@@ -0,0 +1,112 @@
+<?php
+
+declare(strict_types=1);
+
+namespace App\Actions\Changelog;
+
+use App\Http\Requests\App\Changelog\SyncChangelogEntryRequest;
+use App\Models\ChangelogEntry;
+use Carbon\CarbonImmutable;
+use Illuminate\Http\File as HttpFile;
+use Illuminate\Support\Collection;
+use Illuminate\Support\Facades\DB;
+use Illuminate\Support\Facades\File;
+use Illuminate\Support\Facades\Validator;
+use Illuminate\Support\Str;
+use InvalidArgumentException;
+use League\CommonMark\Exception\CommonMarkException;
+use League\CommonMark\Extension\FrontMatter\Data\SymfonyYamlFrontMatterParser;
+use League\CommonMark\Extension\FrontMatter\FrontMatterParser;
+
+/**
+ * Mirrors the entry folders (`<YYYY-MM-DD>-<slug>/entry.md` plus a 16:9
+ * `cover.png`) into `changelog_entries`. Every folder is read and validated
+ * against SyncChangelogEntryRequest before anything is written, a row whose
+ * folder is gone is deleted, and any change drops the cached sidebar cards.
+ */
+class SyncChangelogEntries
+{
+ /**
+ * @return array{created: int, updated: int, deleted: int}
+ */
+ public static function execute(string $directory): array
+ {
+ throw_unless(File::isDirectory($directory), InvalidArgumentException::class, "The changelog folder [{$directory}] does not exist.");
+
+ $entries = collect(File::directories($directory))->map(fn (string $folder): array => self::read($folder));
+
+ $result = DB::transaction(fn (): array => [
+ ...self::save($entries),
+ 'deleted' => ChangelogEntry::query()->whereNotIn('slug', $entries->pluck('slug'))->delete(),
+ ]);
+
+ if (array_sum($result) > 0) {
+ ShowChangelogCard::forgetAll();
+ }
+
+ return $result;
+ }
+
+ /**
+ * @param Collection<int, array<string, mixed>> $entries
+ * @return array{created: int, updated: int}
+ */
+ private static function save(Collection $entries): array
+ {
+ $models = $entries->map(
+ fn (array $entry): ChangelogEntry => ChangelogEntry::firstOrNew(['slug' => data_get($entry, 'slug')])->fill($entry),
+ );
+
+ $counts = [
+ 'created' => $models->reject->exists->count(),
+ 'updated' => $models->filter(fn (ChangelogEntry $model): bool => $model->exists && $model->isDirty())->count(),
+ ];
+
+ $models->each->save();
+
+ return $counts;
+ }
+
+ /**
+ * @return array{slug: string, title: string, tags: list<string>, body: string, published_on: string}
+ */
+ private static function read(string $folder): array
+ {
+ $slug = File::basename($folder);
+
+ throw_if(File::missing("{$folder}/entry.md"), InvalidArgumentException::class, "Changelog entry [{$slug}] has no entry.md.");
+ throw_if(File::missing("{$folder}/cover.png"), InvalidArgumentException::class, "Changelog entry [{$slug}] has no cover.png.");
+
+ try {
+ $document = (new FrontMatterParser(new SymfonyYamlFrontMatterParser))->parse(File::get("{$folder}/entry.md"));
+ } catch (CommonMarkException $exception) {
+ throw new InvalidArgumentException("Changelog entry [{$slug}] has invalid front matter: {$exception->getMessage()}");
+ }
+
+ $date = data_get($document->getFrontMatter(), 'date');
+
+ $request = (new SyncChangelogEntryRequest)->merge([
+ 'slug' => $slug,
+ 'cover' => new HttpFile("{$folder}/cover.png"),
+ 'title' => data_get($document->getFrontMatter(), 'title'),
+ 'tags' => transform(data_get($document->getFrontMatter(), 'tags'), fn (mixed $tags): mixed => $tags, []),
+ 'date' => is_int($date) ? CarbonImmutable::createFromTimestampUTC($date)->toDateString() : $date,
+ 'body' => Str::trim($document->getContent()),
+ ]);
+
+ $validator = Validator::make($request->all(), $request->rules(), $request->messages());
+ $errors = collect($validator->errors()->all())->implode(' ');
+
+ throw_if($validator->fails(), InvalidArgumentException::class, "Changelog entry [{$slug}] is invalid: {$errors}");
+
+ $entry = $validator->validated();
+
+ return [
+ 'slug' => $slug,
+ 'title' => data_get($entry, 'title'),
+ 'tags' => data_get($entry, 'tags'),
+ 'body' => data_get($entry, 'body'),
+ 'published_on' => data_get($entry, 'date'),
+ ];
+ }
+}
diff --git a/app/Console/Commands/SyncChangelog.php b/app/Console/Commands/SyncChangelog.php
new file mode 100644
index 000000000..2bf4e7e57
--- /dev/null
+++ b/app/Console/Commands/SyncChangelog.php
@@ -0,0 +1,31 @@
+<?php
+
+declare(strict_types=1);
+
+namespace App\Console\Commands;
+
+use App\Actions\Changelog\SyncChangelogEntries;
+use Illuminate\Console\Command;
+use InvalidArgumentException;
+
+class SyncChangelog extends Command
+{
+ protected $signature = 'changelog:sync';
+
+ protected $description = 'Sync the "What\'s New" entries under resources/changelog/ into the database';
+
+ public function handle(): int
+ {
+ try {
+ $result = SyncChangelogEntries::execute(config('trypost.changelog.path'));
+ } catch (InvalidArgumentException $exception) {
+ $this->error($exception->getMessage());
+
+ return self::FAILURE;
+ }
+
+ $this->info("Changelog synced: {$result['created']} created, {$result['updated']} updated, {$result['deleted']} deleted.");
+
+ return self::SUCCESS;
+ }
+}
diff --git a/app/Enums/Changelog/Reaction.php b/app/Enums/Changelog/Reaction.php
new file mode 100644
index 000000000..5cdb5ac0a
--- /dev/null
+++ b/app/Enums/Changelog/Reaction.php
@@ -0,0 +1,14 @@
+<?php
+
+declare(strict_types=1);
+
+namespace App\Enums\Changelog;
+
+/**
+ * The answer to "Do you like it?" at the end of a "What's New" entry.
+ */
+enum Reaction: string
+{
+ case Like = 'like';
+ case Dislike = 'dislike';
+}
diff --git a/app/Enums/Changelog/Tag.php b/app/Enums/Changelog/Tag.php
new file mode 100644
index 000000000..cf42d3ed6
--- /dev/null
+++ b/app/Enums/Changelog/Tag.php
@@ -0,0 +1,28 @@
+<?php
+
+declare(strict_types=1);
+
+namespace App\Enums\Changelog;
+
+/**
+ * The labels a "What's New" entry may carry, shown above its title. Like the
+ * entry itself, the label is English only; each tag has a fixed color in
+ * `ChangelogTagBadge.vue`.
+ */
+enum Tag: string
+{
+ case New = 'new';
+ case Improved = 'improved';
+ case Fixed = 'fixed';
+ case Beta = 'beta';
+
+ public function label(): string
+ {
+ return match ($this) {
+ self::New => 'New',
+ self::Improved => 'Improved',
+ self::Fixed => 'Fixed',
+ self::Beta => 'Beta',
+ };
+ }
+}
diff --git a/app/Enums/PostHog/ChangelogEvent.php b/app/Enums/PostHog/ChangelogEvent.php
new file mode 100644
index 000000000..b314e9703
--- /dev/null
+++ b/app/Enums/PostHog/ChangelogEvent.php
@@ -0,0 +1,11 @@
+<?php
+
+declare(strict_types=1);
+
+namespace App\Enums\PostHog;
+
+enum ChangelogEvent: string
+{
+ case EntryViewed = 'changelog.entry_viewed';
+ case EntryReacted = 'changelog.entry_reacted';
+}
diff --git a/app/Http/Controllers/App/ChangelogEntryReactionController.php b/app/Http/Controllers/App/ChangelogEntryReactionController.php
new file mode 100644
index 000000000..a6ed76a7e
--- /dev/null
+++ b/app/Http/Controllers/App/ChangelogEntryReactionController.php
@@ -0,0 +1,28 @@
+<?php
+
+declare(strict_types=1);
+
+namespace App\Http\Controllers\App;
+
+use App\Actions\Changelog\ReactToChangelogEntry;
+use App\Enums\Changelog\Reaction;
+use App\Http\Controllers\Controller;
+use App\Http\Requests\App\Changelog\UpdateChangelogEntryReactionRequest;
+use App\Models\ChangelogEntry;
+use Symfony\Component\HttpFoundation\Response;
+
+class ChangelogEntryReactionController extends Controller
+{
+ public function update(UpdateChangelogEntryReactionRequest $request, ChangelogEntry $changelogEntry): Response
+ {
+ abort_unless($changelogEntry->isVisible(), Response::HTTP_NOT_FOUND);
+
+ ReactToChangelogEntry::execute(
+ $request->user(),
+ $changelogEntry,
+ $request->enum('reaction', Reaction::class),
+ );
+
+ return response()->noContent();
+ }
+}
diff --git a/app/Http/Controllers/App/ChangelogEntryViewController.php b/app/Http/Controllers/App/ChangelogEntryViewController.php
new file mode 100644
index 000000000..010bcee81
--- /dev/null
+++ b/app/Http/Controllers/App/ChangelogEntryViewController.php
@@ -0,0 +1,23 @@
+<?php
+
+declare(strict_types=1);
+
+namespace App\Http\Controllers\App;
+
+use App\Actions\Changelog\RecordChangelogEntryView;
+use App\Http\Controllers\Controller;
+use App\Models\ChangelogEntry;
+use Illuminate\Http\Request;
+use Symfony\Component\HttpFoundation\Response;
+
+class ChangelogEntryViewController extends Controller
+{
+ public function store(Request $request, ChangelogEntry $changelogEntry): Response
+ {
+ abort_unless($changelogEntry->isVisible(), Response::HTTP_NOT_FOUND);
+
+ RecordChangelogEntryView::execute($request->user(), $changelogEntry);
+
+ return response()->noContent();
+ }
+}
diff --git a/app/Http/Middleware/App/HandleInertiaRequests.php b/app/Http/Middleware/App/HandleInertiaRequests.php
index 7ec1cdcb7..946a901a1 100644
--- a/app/Http/Middleware/App/HandleInertiaRequests.php
+++ b/app/Http/Middleware/App/HandleInertiaRequests.php
@@ -4,6 +4,7 @@ declare(strict_types=1);
namespace App\Http\Middleware\App;
+use App\Actions\Changelog\BuildChangelogProps;
use App\Enums\Auth\SocialAuthProvider;
use App\Enums\Media\Source as MediaSource;
use App\Enums\Media\Type as MediaType;
@@ -70,6 +71,7 @@ class HandleInertiaRequests extends Middleware
: null,
'usage' => fn (): ?array => $account && ! $isSelfHosted ? $account->usage() : null,
'features' => fn (): ?array => $account && ! $isSelfHosted ? $account->featureLimits() : null,
+ ...($user ? BuildChangelogProps::execute($user) : []),
'flash' => $request->session()->get('flash', []),
'applicationUrl' => config('app.url'),
'env' => config('app.env'),
diff --git a/app/Http/Requests/App/Changelog/SyncChangelogEntryRequest.php b/app/Http/Requests/App/Changelog/SyncChangelogEntryRequest.php
new file mode 100644
index 000000000..5b942d1cf
--- /dev/null
+++ b/app/Http/Requests/App/Changelog/SyncChangelogEntryRequest.php
@@ -0,0 +1,49 @@
+<?php
+
+declare(strict_types=1);
+
+namespace App\Http\Requests\App\Changelog;
+
+use App\Enums\Changelog\Tag;
+use Illuminate\Foundation\Http\FormRequest;
+use Illuminate\Support\Str;
+use Illuminate\Validation\Rule;
+
+/**
+ * One "What's New" entry folder as `changelog:sync` reads it: the folder name
+ * (`slug`), its `cover.png` and the front matter and body of its `entry.md`.
+ */
+class SyncChangelogEntryRequest extends FormRequest
+{
+ public function authorize(): bool
+ {
+ return true;
+ }
+
+ /**
+ * @return array<string, mixed>
+ */
+ public function rules(): array
+ {
+ return [
+ 'slug' => ['alpha_dash:ascii', 'lowercase'],
+ 'cover' => [Rule::dimensions()->ratio(16 / 9)],
+ 'title' => ['required', 'string', 'max:255'],
+ 'tags' => ['list'],
+ 'tags.*' => ['required', 'distinct', Rule::enum(Tag::class)],
+ 'date' => ['required', 'date_format:Y-m-d', Rule::in([Str::substr((string) $this->input('slug'), 0, 10)])],
+ 'body' => ['required', 'string'],
+ ];
+ }
+
+ /**
+ * @return array<string, string>
+ */
+ public function messages(): array
+ {
+ return [
+ 'cover.dimensions' => 'The cover.png must be 16:9 (1200x675).',
+ 'date.in' => 'The folder name must start with the date (<YYYY-MM-DD>-<slug>).',
+ ];
+ }
+}
diff --git a/app/Http/Requests/App/Changelog/UpdateChangelogEntryReactionRequest.php b/app/Http/Requests/App/Changelog/UpdateChangelogEntryReactionRequest.php
new file mode 100644
index 000000000..cdd1c7717
--- /dev/null
+++ b/app/Http/Requests/App/Changelog/UpdateChangelogEntryReactionRequest.php
@@ -0,0 +1,27 @@
+<?php
+
+declare(strict_types=1);
+
+namespace App\Http\Requests\App\Changelog;
+
+use App\Enums\Changelog\Reaction;
+use Illuminate\Foundation\Http\FormRequest;
+use Illuminate\Validation\Rule;
+
+class UpdateChangelogEntryReactionRequest extends FormRequest
+{
+ public function authorize(): bool
+ {
+ return true;
+ }
+
+ /**
+ * @return array<string, mixed>
+ */
+ public function rules(): array
+ {
+ return [
+ 'reaction' => ['present', 'nullable', Rule::enum(Reaction::class)],
+ ];
+ }
+}
diff --git a/app/Http/Resources/App/Changelog/ChangelogEntryResource.php b/app/Http/Resources/App/Changelog/ChangelogEntryResource.php
new file mode 100644
index 000000000..965452c28
--- /dev/null
+++ b/app/Http/Resources/App/Changelog/ChangelogEntryResource.php
@@ -0,0 +1,37 @@
+<?php
+
+declare(strict_types=1);
+
+namespace App\Http\Resources\App\Changelog;
+
+use App\Enums\Changelog\Tag;
+use App\Models\ChangelogEntry;
+use Illuminate\Http\Request;
+use Illuminate\Http\Resources\Json\JsonResource;
+
+/**
+ * @mixin ChangelogEntry
+ */
+class ChangelogEntryResource extends JsonResource
+{
+ /**
+ * @return array<string, mixed>
+ */
+ public function toArray(Request $request): array
+ {
+ return [
+ 'id' => $this->id,
+ 'slug' => $this->slug,
+ 'title' => $this->title,
+ 'tags' => collect($this->tags)
+ ->map(fn (Tag $tag): array => ['value' => $tag->value, 'label' => $tag->label()])
+ ->all(),
+ 'cover_url' => $this->coverUrl(),
+ 'published_on' => $this->published_on->toDateString(),
+ 'excerpt' => $this->excerpt(),
+ 'body_html' => $this->bodyHtml(),
+ 'seen' => (bool) ($this->seen ?? false),
+ 'reaction' => $this->reaction ?? null,
+ ];
+ }
+}
diff --git a/app/Jobs/PostHog/TrackChangelogEntryEvent.php b/app/Jobs/PostHog/TrackChangelogEntryEvent.php
new file mode 100644
index 000000000..1dfeac9ea
--- /dev/null
+++ b/app/Jobs/PostHog/TrackChangelogEntryEvent.php
@@ -0,0 +1,63 @@
+<?php
+
+declare(strict_types=1);
+
+namespace App\Jobs\PostHog;
+
+use App\Enums\Changelog\Reaction;
+use App\Enums\PostHog\ChangelogEvent;
+use App\Models\ChangelogEntryView;
+use App\Services\PostHogService;
+use Illuminate\Bus\Queueable;
+use Illuminate\Contracts\Queue\ShouldQueue;
+use Illuminate\Foundation\Bus\Dispatchable;
+use Illuminate\Queue\InteractsWithQueue;
+use Illuminate\Queue\SerializesModels;
+
+/**
+ * A reaction event carries the reaction picked at the click, so a later
+ * change does not rewrite what it reports.
+ */
+class TrackChangelogEntryEvent implements ShouldQueue
+{
+ use Dispatchable, InteractsWithQueue, Queueable, SerializesModels;
+
+ public int $tries = 3;
+
+ public int $timeout = 30;
+
+ public function __construct(
+ public string $viewId,
+ public ChangelogEvent $event,
+ public ?Reaction $reaction = null,
+ ) {
+ $this->onQueue('posthog');
+ }
+
+ public function handle(PostHogService $postHog): void
+ {
+ if (! PostHogService::isEnabled()) {
+ return;
+ }
+
+ $view = ChangelogEntryView::query()
+ ->with(['entry', 'user.account.plan'])
+ ->find($this->viewId);
+
+ if (blank($view)) {
+ return;
+ }
+
+ $postHog->capture(
+ $view->user_id,
+ $this->event->value,
+ [
+ 'slug' => $view->entry->slug,
+ 'title' => $view->entry->title,
+ 'published_on' => $view->entry->published_on->toDateString(),
+ ...($this->event === ChangelogEvent::EntryReacted ? ['reaction' => $this->reaction?->value] : []),
+ ],
+ $view->user->account,
+ );
+ }
+}
diff --git a/app/Models/ChangelogEntry.php b/app/Models/ChangelogEntry.php
new file mode 100644
index 000000000..39df28165
--- /dev/null
+++ b/app/Models/ChangelogEntry.php
@@ -0,0 +1,134 @@
+<?php
+
+declare(strict_types=1);
+
+namespace App\Models;
+
+use App\Enums\Changelog\Tag;
+use Database\Factories\ChangelogEntryFactory;
+use Illuminate\Database\Eloquent\Builder;
+use Illuminate\Database\Eloquent\Casts\AsEnumCollection;
+use Illuminate\Database\Eloquent\Concerns\HasUuids;
+use Illuminate\Database\Eloquent\Factories\HasFactory;
+use Illuminate\Database\Eloquent\Model;
+use Illuminate\Database\Eloquent\Relations\HasMany;
+use Illuminate\Support\Facades\Vite;
+use Illuminate\Support\Str;
+use League\CommonMark\Extension\ExternalLink\ExternalLinkExtension;
+
+/**
+ * A "What's New" announcement. The rows are written only by `changelog:sync`
+ * from the folders under `resources/changelog/`; never edit them by hand.
+ */
+class ChangelogEntry extends Model
+{
+ /** @use HasFactory<ChangelogEntryFactory> */
+ use HasFactory, HasUuids;
+
+ protected $fillable = [
+ 'slug',
+ 'title',
+ 'tags',
+ 'body',
+ 'published_on',
+ ];
+
+ protected function casts(): array
+ {
+ return [
+ 'tags' => AsEnumCollection::of(Tag::class),
+ 'published_on' => 'date',
+ ];
+ }
+
+ public function views(): HasMany
+ {
+ return $this->hasMany(ChangelogEntryView::class);
+ }
+
+ /**
+ * Entries whose date has come. The "What's New" list shows all of them.
+ *
+ * @param Builder<self> $query
+ */
+ public function scopePublished(Builder $query): void
+ {
+ $query->where('published_on', '<=', today()->toDateString());
+ }
+
+ /**
+ * Published entries dated on or after the day the user signed up: the only
+ * ones the sidebar card may announce, so a new user never gets the backlog.
+ *
+ * @param Builder<self> $query
+ */
+ public function scopeAnnouncedTo(Builder $query, User $user): void
+ {
+ $query->published()->where('published_on', '>=', $user->created_at->toDateString());
+ }
+
+ /**
+ * @param Builder<self> $query
+ */
+ public function scopeWithSeenBy(Builder $query, User $user): void
+ {
+ $query->withExists(['views as seen' => fn (Builder $views) => $views->where('user_id', $user->id)]);
+ }
+
+ /**
+ * Adds the user's `reaction` to each entry (null when they gave none).
+ *
+ * @param Builder<self> $query
+ */
+ public function scopeWithReactionBy(Builder $query, User $user): void
+ {
+ $query->withAggregate(['views as reaction' => fn (Builder $views) => $views->where('user_id', $user->id)], 'reaction');
+ }
+
+ /**
+ * @param Builder<self> $query
+ */
+ public function scopeLatestFirst(Builder $query): void
+ {
+ $query->orderByDesc('published_on')->orderByDesc('slug');
+ }
+
+ /**
+ * Whether a user may open the entry: the changelog is on and its date has come.
+ */
+ public function isVisible(): bool
+ {
+ return config('trypost.changelog.enabled') && $this->published_on->lte(today());
+ }
+
+ /**
+ * The cover's versioned URL from the Vite build, or null when the build has
+ * no such file, as with entries made by a factory.
+ */
+ public function coverUrl(): ?string
+ {
+ return rescue(fn (): string => Vite::asset("resources/changelog/{$this->slug}/cover.png"), report: false);
+ }
+
+ public function bodyHtml(): string
+ {
+ return once(fn (): string => Str::markdown($this->body, [
+ 'html_input' => 'strip',
+ 'allow_unsafe_links' => false,
+ 'external_link' => [
+ 'internal_hosts' => [parse_url((string) config('app.url'), PHP_URL_HOST)],
+ 'open_in_new_window' => true,
+ ],
+ ], [new ExternalLinkExtension]));
+ }
+
+ public function excerpt(): string
+ {
+ return Str::of($this->bodyHtml())
+ ->stripTags()
+ ->pipe(fn (string $text): string => html_entity_decode($text, ENT_QUOTES | ENT_HTML5))
+ ->squish()
+ ->limit(160)
+ ->toString();
+ }
+}
diff --git a/app/Models/ChangelogEntryView.php b/app/Models/ChangelogEntryView.php
new file mode 100644
index 000000000..7afa2e664
--- /dev/null
+++ b/app/Models/ChangelogEntryView.php
@@ -0,0 +1,48 @@
+<?php
+
+declare(strict_types=1);
+
+namespace App\Models;
+
+use App\Enums\Changelog\Reaction;
+use App\Observers\ChangelogEntryViewObserver;
+use Database\Factories\ChangelogEntryViewFactory;
+use Illuminate\Database\Eloquent\Attributes\ObservedBy;
+use Illuminate\Database\Eloquent\Concerns\HasUuids;
+use Illuminate\Database\Eloquent\Factories\HasFactory;
+use Illuminate\Database\Eloquent\Model;
+use Illuminate\Database\Eloquent\Relations\BelongsTo;
+
+/**
+ * A user opened a changelog entry, and their answer to "Do you like it?".
+ * One row per user and entry.
+ */
+#[ObservedBy([ChangelogEntryViewObserver::class])]
+class ChangelogEntryView extends Model
+{
+ /** @use HasFactory<ChangelogEntryViewFactory> */
+ use HasFactory, HasUuids;
+
+ protected $fillable = [
+ 'changelog_entry_id',
+ 'user_id',
+ 'reaction',
+ ];
+
+ protected function casts(): array
+ {
+ return [
+ 'reaction' => Reaction::class,
+ ];
+ }
+
+ public function entry(): BelongsTo
+ {
+ return $this->belongsTo(ChangelogEntry::class, 'changelog_entry_id');
+ }
+
+ public function user(): BelongsTo
+ {
+ return $this->belongsTo(User::class);
+ }
+}
diff --git a/app/Observers/ChangelogEntryViewObserver.php b/app/Observers/ChangelogEntryViewObserver.php
new file mode 100644
index 000000000..f50fdb484
--- /dev/null
+++ b/app/Observers/ChangelogEntryViewObserver.php
@@ -0,0 +1,27 @@
+<?php
+
+declare(strict_types=1);
+
+namespace App\Observers;
+
+use App\Enums\PostHog\ChangelogEvent;
+use App\Jobs\PostHog\TrackChangelogEntryEvent;
+use App\Models\ChangelogEntryView;
+use App\Services\PostHogService;
+
+class ChangelogEntryViewObserver
+{
+ public function created(ChangelogEntryView $view): void
+ {
+ if (PostHogService::isEnabled()) {
+ TrackChangelogEntryEvent::dispatch($view->id, ChangelogEvent::EntryViewed);
+ }
+ }
+
+ public function updated(ChangelogEntryView $view): void
+ {
+ if (PostHogService::isEnabled() && $view->wasChanged('reaction')) {
+ TrackChangelogEntryEvent::dispatch($view->id, ChangelogEvent::EntryReacted, $view->reaction);
+ }
+ }
+}
diff --git a/app/Providers/AppServiceProvider.php b/app/Providers/AppServiceProvider.php
index 67c7db6ec..be65acf6d 100644
--- a/app/Providers/AppServiceProvider.php
+++ b/app/Providers/AppServiceProvider.php
@@ -11,6 +11,8 @@ use App\Models\AnalyticsAccountDailySnapshot;
use App\Models\AnalyticsPublication;
use App\Models\AnalyticsPublicationDailySnapshot;
use App\Models\AnalyticsSyncState;
+use App\Models\ChangelogEntry;
+use App\Models\ChangelogEntryView;
use App\Models\Idea;
use App\Models\IdeaStage;
use App\Models\Invite;
@@ -108,6 +110,8 @@ class AppServiceProvider extends ServiceProvider
'analyticsPublication' => AnalyticsPublication::class,
'analyticsPublicationDailySnapshot' => AnalyticsPublicationDailySnapshot::class,
'analyticsSyncState' => AnalyticsSyncState::class,
+ 'changelogEntry' => ChangelogEntry::class,
+ 'changelogEntryView' => ChangelogEntryView::class,
'idea' => Idea::class,
'ideaStage' => IdeaStage::class,
'invite' => Invite::class,
diff --git a/config/trypost.php b/config/trypost.php
index a682d06aa..f1c8841db 100644
--- a/config/trypost.php
+++ b/config/trypost.php
@@ -16,6 +16,22 @@ return [
'self_hosted' => env('SELF_HOSTED', true),
+ /*
+ |--------------------------------------------------------------------------
+ | Changelog ("What's New")
+ |--------------------------------------------------------------------------
+ |
+ | Shows the sidebar card and the "What's New" modal fed by the entries
+ | under resources/changelog/, synced with `php artisan changelog:sync`
+ | on every deploy. On by default, self-hosted included.
+ |
+ */
+
+ 'changelog' => [
+ 'enabled' => (bool) env('CHANGELOG_ENABLED', true),
+ 'path' => resource_path('changelog'),
+ ],
+
/*
|--------------------------------------------------------------------------
| Legal pages
diff --git a/database/factories/ChangelogEntryFactory.php b/database/factories/ChangelogEntryFactory.php
new file mode 100644
index 000000000..e8b3f3eae
--- /dev/null
+++ b/database/factories/ChangelogEntryFactory.php
@@ -0,0 +1,34 @@
+<?php
+
+declare(strict_types=1);
+
+namespace Database\Factories;
+
+use App\Models\ChangelogEntry;
+use Illuminate\Database\Eloquent\Factories\Factory;
+use Illuminate\Support\Str;
+
+/**
+ * @extends Factory<ChangelogEntry>
+ */
+class ChangelogEntryFactory extends Factory
+{
+ /**
+ * Define the model's default state.
+ *
+ * @return array<string, mixed>
+ */
+ public function definition(): array
+ {
+ $publishedOn = now()->subDay()->toDateString();
+ $name = Str::slug(fake()->unique()->words(3, true));
+
+ return [
+ 'slug' => "{$publishedOn}-{$name}",
+ 'title' => fake()->sentence(5),
+ 'tags' => [],
+ 'body' => fake()->paragraph(),
+ 'published_on' => $publishedOn,
+ ];
+ }
+}
diff --git a/database/factories/ChangelogEntryViewFactory.php b/database/factories/ChangelogEntryViewFactory.php
new file mode 100644
index 000000000..6640c8bb9
--- /dev/null
+++ b/database/factories/ChangelogEntryViewFactory.php
@@ -0,0 +1,29 @@
+<?php
+
+declare(strict_types=1);
+
+namespace Database\Factories;
+
+use App\Models\ChangelogEntry;
+use App\Models\ChangelogEntryView;
+use App\Models\User;
+use Illuminate\Database\Eloquent\Factories\Factory;
+
+/**
+ * @extends Factory<ChangelogEntryView>
+ */
+class ChangelogEntryViewFactory extends Factory
+{
+ /**
+ * Define the model's default state.
+ *
+ * @return array<string, mixed>
+ */
+ public function definition(): array
+ {
+ return [
+ 'changelog_entry_id' => ChangelogEntry::factory(),
+ 'user_id' => User::factory(),
+ ];
+ }
+}
diff --git a/database/migrations/2026_10_14_213015_create_changelog_entries_table.php b/database/migrations/2026_10_14_213015_create_changelog_entries_table.php
new file mode 100644
index 000000000..30fde0636
--- /dev/null
+++ b/database/migrations/2026_10_14_213015_create_changelog_entries_table.php
@@ -0,0 +1,28 @@
+<?php
+
+declare(strict_types=1);
+
+use Illuminate\Database\Migrations\Migration;
+use Illuminate\Database\Schema\Blueprint;
+use Illuminate\Support\Facades\Schema;
+
+return new class extends Migration
+{
+ public function up(): void
+ {
+ Schema::create('changelog_entries', function (Blueprint $table) {
+ $table->uuid('id')->primary();
+ $table->string('slug')->unique();
+ $table->string('title');
+ $table->json('tags')->nullable();
+ $table->text('body');
+ $table->date('published_on')->index();
+ $table->timestamps();
+ });
+ }
+
+ public function down(): void
+ {
+ Schema::dropIfExists('changelog_entries');
+ }
+};
diff --git a/database/migrations/2026_10_14_213016_create_changelog_entry_views_table.php b/database/migrations/2026_10_14_213016_create_changelog_entry_views_table.php
new file mode 100644
index 000000000..177a26f83
--- /dev/null
+++ b/database/migrations/2026_10_14_213016_create_changelog_entry_views_table.php
@@ -0,0 +1,28 @@
+<?php
+
+declare(strict_types=1);
+
+use Illuminate\Database\Migrations\Migration;
+use Illuminate\Database\Schema\Blueprint;
+use Illuminate\Support\Facades\Schema;
+
+return new class extends Migration
+{
+ public function up(): void
+ {
+ Schema::create('changelog_entry_views', function (Blueprint $table) {
+ $table->uuid('id')->primary();
+ $table->foreignUuid('changelog_entry_id')->constrained()->cascadeOnDelete();
+ $table->foreignUuid('user_id')->constrained()->cascadeOnDelete();
+ $table->string('reaction')->nullable();
+ $table->timestamps();
+
+ $table->unique(['changelog_entry_id', 'user_id']);
+ });
+ }
+
+ public function down(): void
+ {
+ Schema::dropIfExists('changelog_entry_views');
+ }
+};
diff --git a/docker/entrypoint.sh b/docker/entrypoint.sh
index 8fdc403ab..742753b41 100755
--- a/docker/entrypoint.sh
+++ b/docker/entrypoint.sh
@@ -78,6 +78,9 @@ done
echo "[entrypoint] running migrations"
php artisan migrate --force
+echo "[entrypoint] syncing the What's New entries"
+php artisan changelog:sync
+
# 8) storage:link if missing.
if [ ! -L public/storage ]; then
echo "[entrypoint] linking storage"
diff --git a/lang/ar/sidebar.php b/lang/ar/sidebar.php
index 8ca126d5a..7accbc31f 100644
--- a/lang/ar/sidebar.php
+++ b/lang/ar/sidebar.php
@@ -48,6 +48,7 @@ return [
'github' => 'GitHub',
'status' => 'حالة التطبيق',
'chat' => 'الدعم عبر الدردشة',
+ 'changelog' => 'ما الجديد',
'referral' => 'اربح عمولة إحالة 30%',
'discord' => 'مجتمع Discord',
'community' => 'المجتمع',
diff --git a/lang/de/sidebar.php b/lang/de/sidebar.php
index 83fc2c6c8..b2cb82a3a 100644
--- a/lang/de/sidebar.php
+++ b/lang/de/sidebar.php
@@ -48,6 +48,7 @@ return [
'github' => 'GitHub',
'status' => 'App-Status',
'chat' => 'Chat-Support',
+ 'changelog' => 'Neuigkeiten',
'referral' => '30% Provision verdienen',
'discord' => 'Discord-Community',
'community' => 'Community',
diff --git a/lang/el/sidebar.php b/lang/el/sidebar.php
index 53412646e..d2289dede 100644
--- a/lang/el/sidebar.php
+++ b/lang/el/sidebar.php
@@ -48,6 +48,7 @@ return [
'github' => 'GitHub',
'status' => 'Κατάσταση εφαρμογής',
'chat' => 'Υποστήριξη μέσω chat',
+ 'changelog' => 'Τι νέο υπάρχει',
'referral' => 'Κερδίστε 30% από συστάσεις',
'discord' => 'Κοινότητα Discord',
'community' => 'Κοινότητα',
diff --git a/lang/en/sidebar.php b/lang/en/sidebar.php
index 5822056b0..155e4a5fa 100644
--- a/lang/en/sidebar.php
+++ b/lang/en/sidebar.php
@@ -48,6 +48,7 @@ return [
'github' => 'GitHub',
'status' => 'App status',
'chat' => 'Chat support',
+ 'changelog' => 'What\'s New',
'referral' => 'Earn 30% referral',
'discord' => 'Discord community',
'community' => 'Community',
diff --git a/lang/es/sidebar.php b/lang/es/sidebar.php
index 66c07f67e..02cabaeb5 100644
--- a/lang/es/sidebar.php
+++ b/lang/es/sidebar.php
@@ -48,6 +48,7 @@ return [
'github' => 'GitHub',
'status' => 'Estado de la app',
'chat' => 'Soporte por chat',
+ 'changelog' => 'Novedades',
'referral' => 'Gana 30% de comisión',
'discord' => 'Comunidad de Discord',
'community' => 'Comunidad',
diff --git a/lang/fr/sidebar.php b/lang/fr/sidebar.php
index 56d224fdd..9004c177a 100644
--- a/lang/fr/sidebar.php
+++ b/lang/fr/sidebar.php
@@ -48,6 +48,7 @@ return [
'github' => 'GitHub',
'status' => 'État de l\'app',
'chat' => 'Support par chat',
+ 'changelog' => 'Nouveautés',
'referral' => 'Gagnez 30 % de parrainage',
'discord' => 'Communauté Discord',
'community' => 'Communauté',
diff --git a/lang/it/sidebar.php b/lang/it/sidebar.php
index ba4fac199..07393313e 100644
--- a/lang/it/sidebar.php
+++ b/lang/it/sidebar.php
@@ -48,6 +48,7 @@ return [
'github' => 'GitHub',
'status' => 'Stato dell\'app',
'chat' => 'Supporto via chat',
+ 'changelog' => 'Novità',
'referral' => 'Guadagna il 30% di referral',
'discord' => 'Community Discord',
'community' => 'Community',
diff --git a/lang/ja/sidebar.php b/lang/ja/sidebar.php
index 368fdfd11..a9231e6e8 100644
--- a/lang/ja/sidebar.php
+++ b/lang/ja/sidebar.php
@@ -48,6 +48,7 @@ return [
'github' => 'GitHub',
'status' => 'アプリのステータス',
'chat' => 'チャットサポート',
+ 'changelog' => '新機能',
'referral' => '30% の紹介報酬を獲得',
'discord' => 'Discord コミュニティ',
'community' => 'コミュニティ',
diff --git a/lang/ko/sidebar.php b/lang/ko/sidebar.php
index b956a1057..e26b0b1c1 100644
--- a/lang/ko/sidebar.php
+++ b/lang/ko/sidebar.php
@@ -48,6 +48,7 @@ return [
'github' => 'GitHub',
'status' => '앱 상태',
'chat' => '채팅 지원',
+ 'changelog' => '새로운 기능',
'referral' => '30% 추천 수익 받기',
'discord' => 'Discord 커뮤니티',
'community' => '커뮤니티',
diff --git a/lang/nl/sidebar.php b/lang/nl/sidebar.php
index b64795782..692a9b309 100644
--- a/lang/nl/sidebar.php
+++ b/lang/nl/sidebar.php
@@ -48,6 +48,7 @@ return [
'github' => 'GitHub',
'status' => 'App-status',
'chat' => 'Chatsupport',
+ 'changelog' => 'Wat is er nieuw',
'referral' => 'Verdien 30% referral',
'discord' => 'Discord-community',
'community' => 'Community',
diff --git a/lang/pl/sidebar.php b/lang/pl/sidebar.php
index e616bef9f..d887cdfb4 100644
--- a/lang/pl/sidebar.php
+++ b/lang/pl/sidebar.php
@@ -48,6 +48,7 @@ return [
'github' => 'GitHub',
'status' => 'Status aplikacji',
'chat' => 'Wsparcie na czacie',
+ 'changelog' => 'Nowości',
'referral' => 'Zarabiaj 30% z poleceń',
'discord' => 'Społeczność Discord',
'community' => 'Społeczność',
diff --git a/lang/pt-BR/sidebar.php b/lang/pt-BR/sidebar.php
index 367964038..dc4143d69 100644
--- a/lang/pt-BR/sidebar.php
+++ b/lang/pt-BR/sidebar.php
@@ -48,6 +48,7 @@ return [
'github' => 'GitHub',
'status' => 'Status do app',
'chat' => 'Suporte via chat',
+ 'changelog' => 'Novidades',
'referral' => 'Ganhe 30% de indicação',
'discord' => 'Comunidade Discord',
'community' => 'Comunidade',
diff --git a/lang/ru/sidebar.php b/lang/ru/sidebar.php
index 3e2b0d6ee..7a6a620d5 100644
--- a/lang/ru/sidebar.php
+++ b/lang/ru/sidebar.php
@@ -48,6 +48,7 @@ return [
'github' => 'GitHub',
'status' => 'Статус приложения',
'chat' => 'Поддержка в чате',
+ 'changelog' => 'Что нового',
'referral' => 'Зарабатывайте 30% по реферальной программе',
'discord' => 'Сообщество Discord',
'community' => 'Сообщество',
diff --git a/lang/tr/sidebar.php b/lang/tr/sidebar.php
index 257b6e400..55b09d806 100644
--- a/lang/tr/sidebar.php
+++ b/lang/tr/sidebar.php
@@ -48,6 +48,7 @@ return [
'github' => 'GitHub',
'status' => 'Uygulama durumu',
'chat' => 'Sohbet desteği',
+ 'changelog' => 'Yenilikler',
'referral' => '%30 referans kazanın',
'discord' => 'Discord topluluğu',
'community' => 'Topluluk',
diff --git a/lang/uk/sidebar.php b/lang/uk/sidebar.php
index 07d8f2353..79c85c0d9 100644
--- a/lang/uk/sidebar.php
+++ b/lang/uk/sidebar.php
@@ -48,6 +48,7 @@ return [
'github' => 'GitHub',
'status' => 'Статус застосунку',
'chat' => 'Підтримка в чаті',
+ 'changelog' => 'Що нового',
'referral' => 'Отримуйте 30% за рефералами',
'discord' => 'Спільнота Discord',
'community' => 'Спільнота',
diff --git a/lang/zh/sidebar.php b/lang/zh/sidebar.php
index 7e2e749cf..7f5b55d96 100644
--- a/lang/zh/sidebar.php
+++ b/lang/zh/sidebar.php
@@ -48,6 +48,7 @@ return [
'github' => 'GitHub',
'status' => '应用状态',
'chat' => '在线客服',
+ 'changelog' => '新功能',
'referral' => '赚取 30% 推荐奖励',
'discord' => 'Discord 社区',
'community' => '社区',
diff --git a/resources/changelog/.gitkeep b/resources/changelog/.gitkeep
new file mode 100644
index 000000000..e69de29bb
diff --git a/resources/changelog/2026-09-21-google-business-profile/cover.png b/resources/changelog/2026-09-21-google-business-profile/cover.png
new file mode 100644
index 000000000..92fe55b81
Binary files /dev/null and b/resources/changelog/2026-09-21-google-business-profile/cover.png differ
diff --git a/resources/changelog/2026-09-21-google-business-profile/entry.md b/resources/changelog/2026-09-21-google-business-profile/entry.md
new file mode 100644
index 000000000..068985ac9
--- /dev/null
+++ b/resources/changelog/2026-09-21-google-business-profile/entry.md
@@ -0,0 +1,11 @@
+---
+title: Google Business Profile is now on TryPost
+date: 2026-09-21
+tags: [new]
+---
+
+Post to your Google Business Profile from the same place you plan the rest of your week. Connect each business location as its own channel and schedule for it like any other network.
+
+- **What's New:** share news and updates, with a photo and a button like Book, Order online or Call now.
+- **Events:** add a title and dates so people see what's coming up.
+- **Offers:** promote a sale with a coupon code, a link to redeem it and your terms.
diff --git a/resources/changelog/2026-10-14-trypost-2-0/cover.png b/resources/changelog/2026-10-14-trypost-2-0/cover.png
new file mode 100644
index 000000000..b9e5f614f
Binary files /dev/null and b/resources/changelog/2026-10-14-trypost-2-0/cover.png differ
diff --git a/resources/changelog/2026-10-14-trypost-2-0/entry.md b/resources/changelog/2026-10-14-trypost-2-0/entry.md
new file mode 100644
index 000000000..7936e90d5
--- /dev/null
+++ b/resources/changelog/2026-10-14-trypost-2-0/entry.md
@@ -0,0 +1,11 @@
+---
+title: TryPost 2.0 is here
+date: 2026-10-14
+tags: [new, improved]
+---
+
+This update is big enough that we're calling it TryPost 2.0. Here's what changed.
+
+- **Each channel gets its own post:** every channel keeps its own text, media, settings and schedule. Write once, use **Customize for each network** to adjust, then edit or reschedule the LinkedIn version without touching the others.
+- **Workspace insights:** see every channel together, with follower counts recorded daily and this month next to last month.
+- **Image editor:** crop for each network, add alt text, and adjust filters, brightness, contrast, saturation and warmth without leaving the composer.
diff --git a/resources/changelog/2026-10-15-instagram-music-collaborators-trial-reels/cover.png b/resources/changelog/2026-10-15-instagram-music-collaborators-trial-reels/cover.png
new file mode 100644
index 000000000..ae8a711a3
Binary files /dev/null and b/resources/changelog/2026-10-15-instagram-music-collaborators-trial-reels/cover.png differ
diff --git a/resources/changelog/2026-10-15-instagram-music-collaborators-trial-reels/entry.md b/resources/changelog/2026-10-15-instagram-music-collaborators-trial-reels/entry.md
new file mode 100644
index 000000000..ff3943b07
--- /dev/null
+++ b/resources/changelog/2026-10-15-instagram-music-collaborators-trial-reels/entry.md
@@ -0,0 +1,11 @@
+---
+title: Music, collaborators and trial reels for Instagram
+date: 2026-10-15
+tags: [new]
+---
+
+Your Instagram reels and feed posts can now have music, co-authors and a test run with non-followers, all set from TryPost.
+
+- **Music:** search Instagram's audio library, preview a track and set the music and video volume. Music is available on accounts connected through Facebook. If yours uses Instagram Login, **Save & link** reconnects the same channel through Facebook and keeps its posts.
+- **Collaborators:** invite up to three Instagram accounts as co-authors on a feed post, carousel or reel.
+- **Trial reels:** share a reel with non-followers first, then let Instagram graduate it automatically or do it yourself.
diff --git a/resources/js/components/AppSidebar.vue b/resources/js/components/AppSidebar.vue
index 16cda3e8d..cb9506da7 100644
--- a/resources/js/components/AppSidebar.vue
+++ b/resources/js/components/AppSidebar.vue
@@ -15,6 +15,7 @@ import { computed, ref } from 'vue';
import { index as postsIndex } from '@/actions/App/Http/Controllers/App/PostController';
import AppLogo from '@/components/AppLogo.vue';
+import ChangelogCard from '@/components/changelog/ChangelogCard.vue';
import InviteMemberDialog from '@/components/members/InviteMemberDialog.vue';
import NavChannels from '@/components/NavChannels.vue';
import NavMain from '@/components/NavMain.vue';
@@ -236,6 +237,7 @@ const mainNavItems = computed<NavItem[]>(() => [
<NavChannels v-if="currentWorkspace" />
</SidebarContent>
<SidebarFooter class="gap-0 p-0">
+ <ChangelogCard />
<SidebarUserMenu />
</SidebarFooter>
diff --git a/resources/js/components/WorkspaceMenuContent.vue b/resources/js/components/WorkspaceMenuContent.vue
index 872771d33..46c72652e 100644
--- a/resources/js/components/WorkspaceMenuContent.vue
+++ b/resources/js/components/WorkspaceMenuContent.vue
@@ -16,6 +16,7 @@ import {
IconMoon,
IconPlus,
IconSettings,
+ IconSparkles,
IconSun,
IconUsers,
} from '@tabler/icons-vue';
@@ -35,6 +36,7 @@ import {
DropdownMenuSubContent,
DropdownMenuSubTrigger,
} from '@/components/ui/dropdown-menu';
+import { useChangelogDialog } from '@/composables/useChangelogDialog';
import { clearAllComposerAutosaves } from '@/composables/useComposerAutosave';
import { useWorkspaceAbilities } from '@/composables/useWorkspaceAbilities';
import { useWorkspaceLimit } from '@/composables/useWorkspaceLimit';
@@ -145,6 +147,8 @@ const handleLogout = (): void => {
};
const showChatSupport = computed(() => page.props.selfHosted === false);
+const showChangelog = computed(() => Boolean(page.props.changelog));
+const { openList: openChangelog } = useChangelogDialog();
const statusTheme = computed(() =>
currentTheme.value === 'dark' ||
@@ -449,6 +453,14 @@ const supportLinks = [
<IconMessageChatbot />
{{ $t('sidebar.support.chat') }}
</DropdownMenuItem>
+ <DropdownMenuItem
+ v-if="showChangelog"
+ data-testid="sidebar-support-changelog"
+ @click="openChangelog"
+ >
+ <IconSparkles />
+ {{ $t('sidebar.support.changelog') }}
+ </DropdownMenuItem>
<DropdownMenuSeparator />
<DropdownMenuLabel
class="px-2 py-1.5 text-xs font-medium tracking-normal text-muted-foreground normal-case"
diff --git a/resources/js/components/changelog/ChangelogCard.vue b/resources/js/components/changelog/ChangelogCard.vue
new file mode 100644
index 000000000..bf50864b4
--- /dev/null
+++ b/resources/js/components/changelog/ChangelogCard.vue
@@ -0,0 +1,69 @@
+<script setup lang="ts">
+import { usePage } from '@inertiajs/vue3';
+import { IconArrowRight } from '@tabler/icons-vue';
+import { computed } from 'vue';
+
+import { useChangelogDialog } from '@/composables/useChangelogDialog';
+
+const page = usePage();
+const { openEntry } = useChangelogDialog();
+
+const entry = computed(
+ () => page.props.changelog?.latest ?? null,
+);
+
+const openLatestEntry = (): void => {
+ if (entry.value) {
+ openEntry(entry.value);
+ }
+};
+</script>
+
+<template>
+ <div
+ v-if="entry"
+ class="px-3 pb-3 group-data-[collapsible=icon]:hidden"
+ >
+ <button
+ type="button"
+ class="group/changelog flex w-full flex-col rounded-xl border border-border-strong bg-card p-3 text-start transition-[background-color,box-shadow] duration-200 ease-out hover:shadow-md focus-visible:outline-2 focus-visible:outline-offset-1 focus-visible:outline-ring"
+ :aria-label="entry.title"
+ data-testid="changelog-card"
+ @click="openLatestEntry"
+ >
+ <span
+ class="line-clamp-2 text-[13px] leading-5 font-medium text-foreground"
+ data-testid="changelog-card-title"
+ >
+ {{ entry.title }}
+ </span>
+ <span
+ class="mt-3 block aspect-video overflow-hidden rounded-lg bg-muted"
+ >
+ <img
+ v-if="entry.cover_url"
+ :src="entry.cover_url"
+ alt=""
+ class="size-full object-cover"
+ draggable="false"
+ data-testid="changelog-card-cover"
+ />
+ </span>
+ <span
+ class="grid grid-rows-[0fr] opacity-0 transition-[grid-template-rows,opacity] duration-200 ease-out group-hover/changelog:grid-rows-[1fr] group-hover/changelog:opacity-100 group-focus-visible/changelog:grid-rows-[1fr] group-focus-visible/changelog:opacity-100"
+ aria-hidden="true"
+ >
+ <span class="overflow-hidden">
+ <span
+ class="flex items-center gap-1 pt-3 text-xs font-medium text-foreground"
+ >
+ Read more
+ <IconArrowRight
+ class="size-3.5 transition-transform duration-200 ease-out motion-safe:group-hover/changelog:translate-x-0.5"
+ />
+ </span>
+ </span>
+ </span>
+ </button>
+ </div>
+</template>
diff --git a/resources/js/components/changelog/ChangelogDialog.vue b/resources/js/components/changelog/ChangelogDialog.vue
new file mode 100644
index 000000000..09c9c9e09
--- /dev/null
+++ b/resources/js/components/changelog/ChangelogDialog.vue
@@ -0,0 +1,357 @@
+<script setup lang="ts">
+import { InfiniteScroll, router, useHttp, usePage } from '@inertiajs/vue3';
+import { IconChevronLeft, IconX } from '@tabler/icons-vue';
+import { computed, ref, useTemplateRef, watch } from 'vue';
+import { toast } from 'vue-sonner';
+
+import { update as updateReaction } from '@/actions/App/Http/Controllers/App/ChangelogEntryReactionController';
+import { store as storeView } from '@/actions/App/Http/Controllers/App/ChangelogEntryViewController';
+import ChangelogTagBadge from '@/components/changelog/ChangelogTagBadge.vue';
+import { Button } from '@/components/ui/button';
+import {
+ Dialog,
+ DialogClose,
+ DialogContent,
+ DialogDescription,
+ DialogTitle,
+} from '@/components/ui/dialog';
+import { useChangelogDialog } from '@/composables/useChangelogDialog';
+import date from '@/date';
+import type { ChangelogEntry, ChangelogReaction } from '@/types/changelog';
+
+const page = usePage();
+const {
+ isOpen,
+ entry: activeEntry,
+ openEntry,
+ backToList,
+ close,
+} = useChangelogDialog();
+const viewHttp = useHttp<Record<string, never>, null>({});
+const reactionHttp = useHttp<{ reaction: ChangelogReaction | null }, null>({
+ reaction: null,
+});
+
+const REACTION_OPTIONS: { value: ChangelogReaction; emoji: string; label: string }[] = [
+ { value: 'like', emoji: '👍', label: 'Like' },
+ { value: 'dislike', emoji: '👎', label: 'Dislike' },
+];
+
+const header = useTemplateRef<HTMLElement>('header');
+const openedIds = ref(new Set<string>());
+const reactions = ref<Record<string, ChangelogReaction | null>>({});
+
+const entries = computed(() => page.props.changelogEntries?.data ?? null);
+
+const isUnseen = (entry: ChangelogEntry): boolean =>
+ !entry.seen && !openedIds.value.has(entry.id);
+
+const showLoadError = (): false => {
+ toast.error("Couldn't load What's New. Try again.");
+
+ return false;
+};
+
+const loadEntries = (): void => {
+ router.reload({
+ only: ['changelogEntries'],
+ reset: ['changelogEntries'],
+ onHttpException: showLoadError,
+ onNetworkError: showLoadError,
+ });
+};
+
+const recordView = async (entry: ChangelogEntry): Promise<void> => {
+ if (!isUnseen(entry)) {
+ return;
+ }
+
+ openedIds.value.add(entry.id);
+
+ try {
+ await viewHttp.post(storeView.url(entry.id));
+
+ if (entry.id === page.props.changelog?.latest?.id) {
+ router.reload({ only: ['changelog'] });
+ }
+ } catch {
+ openedIds.value.delete(entry.id);
+ }
+};
+
+const reactionOf = (entry: ChangelogEntry): ChangelogReaction | null =>
+ entry.id in reactions.value ? reactions.value[entry.id] : entry.reaction;
+
+const react = async (
+ entry: ChangelogEntry,
+ reaction: ChangelogReaction,
+): Promise<void> => {
+ if (reactionHttp.processing) {
+ return;
+ }
+
+ const previous = reactionOf(entry);
+ const next = previous === reaction ? null : reaction;
+
+ reactions.value[entry.id] = next;
+ reactionHttp.reaction = next;
+
+ try {
+ await reactionHttp.put(updateReaction.url(entry.id));
+ } catch {
+ reactions.value[entry.id] = previous;
+ toast.error("Couldn't save your answer. Try again.");
+ }
+};
+
+const isDimmed = (
+ entry: ChangelogEntry,
+ reaction: ChangelogReaction,
+): boolean => {
+ const current = reactionOf(entry);
+
+ return current !== null && current !== reaction;
+};
+
+const handleOpenChange = (open: boolean): void => {
+ if (!open) {
+ close();
+ }
+};
+
+watch(isOpen, (open) => {
+ if (open) {
+ loadEntries();
+ }
+});
+
+watch(activeEntry, (entry) => {
+ header.value?.parentElement?.scrollTo({ top: 0 });
+
+ if (entry) {
+ void recordView(entry);
+ }
+});
+</script>
+
+<template>
+ <Dialog :open="isOpen" @update:open="handleOpenChange">
+ <DialogContent
+ class="gap-0 px-0 pt-0 pb-0 sm:max-h-[min(640px,80dvh)] sm:max-w-lg"
+ :show-close-button="false"
+ data-testid="changelog-dialog"
+ >
+ <div
+ ref="header"
+ class="sticky top-0 z-10 flex h-16 shrink-0 items-center gap-2 bg-background px-6"
+ >
+ <template v-if="activeEntry">
+ <button
+ type="button"
+ class="group -ms-1 inline-flex h-8 cursor-pointer items-center gap-1 rounded-md px-1 text-sm font-medium text-muted-foreground transition-colors outline-none hover:text-foreground focus-visible:outline-2 focus-visible:outline-offset-1 focus-visible:outline-ring"
+ data-testid="changelog-back"
+ @click="backToList"
+ >
+ <IconChevronLeft
+ class="size-4 transition-transform group-hover:-translate-x-0.5"
+ />
+ All updates
+ </button>
+ <DialogTitle class="sr-only">
+ {{ activeEntry.title }}
+ </DialogTitle>
+ </template>
+ <DialogTitle v-else class="text-lg font-semibold">
+ <span aria-hidden="true">✨</span>
+ What's New
+ </DialogTitle>
+ <DialogDescription class="sr-only">
+ What's New
+ </DialogDescription>
+ <DialogClose as-child>
+ <Button
+ variant="ghost"
+ size="icon"
+ class="-me-2 ms-auto"
+ :aria-label="$t('common.close')"
+ data-testid="changelog-close"
+ >
+ <IconX class="size-4" />
+ </Button>
+ </DialogClose>
+ </div>
+
+ <article
+ v-if="activeEntry"
+ class="flex flex-col gap-4 px-6 pb-6"
+ data-testid="changelog-entry"
+ >
+ <div
+ class="aspect-video w-full overflow-hidden rounded-xl bg-muted"
+ >
+ <img
+ v-if="activeEntry.cover_url"
+ :src="activeEntry.cover_url"
+ alt=""
+ class="size-full object-cover"
+ />
+ </div>
+ <div class="flex flex-col gap-1">
+ <div
+ v-if="activeEntry.tags.length"
+ class="mb-1 flex flex-wrap gap-1.5"
+ data-testid="changelog-entry-tags"
+ >
+ <ChangelogTagBadge
+ v-for="tag in activeEntry.tags"
+ :key="tag.value"
+ :tag="tag"
+ />
+ </div>
+ <h2
+ class="text-xl leading-7 font-medium text-foreground"
+ data-testid="changelog-entry-title"
+ >
+ {{ activeEntry.title }}
+ </h2>
+ <p class="text-sm text-muted-foreground">
+ {{ date.formatDateOnly(activeEntry.published_on) }}
+ </p>
+ </div>
+ <div
+ class="prose prose-base max-w-none text-foreground dark:prose-invert prose-a:text-primary-text"
+ v-html="activeEntry.body_html"
+ />
+ <div
+ class="mt-2 flex items-center justify-center gap-2 border-t border-border pt-5"
+ data-testid="changelog-reaction"
+ >
+ <p class="text-sm font-medium text-foreground">
+ Do you like it?
+ </p>
+ <div class="-me-1 flex items-center gap-1">
+ <Button
+ v-for="option in REACTION_OPTIONS"
+ :key="option.value"
+ variant="ghost"
+ size="icon"
+ :aria-label="option.label"
+ :aria-pressed="reactionOf(activeEntry) === option.value"
+ class="group/reaction size-auto p-1 hover:bg-transparent"
+ :data-testid="`changelog-reaction-${option.value}`"
+ @click="react(activeEntry, option.value)"
+ >
+ <span
+ class="block text-xl leading-none transition duration-200 ease-out will-change-transform motion-safe:group-hover/reaction:scale-125"
+ :class="{
+ 'opacity-50 grayscale': isDimmed(
+ activeEntry,
+ option.value,
+ ),
+ }"
+ aria-hidden="true"
+ >{{ option.emoji }}</span
+ >
+ </Button>
+ </div>
+ </div>
+ </article>
+
+ <div v-else class="px-6 pb-6">
+ <div
+ v-if="entries === null"
+ class="flex flex-col gap-5"
+ aria-hidden="true"
+ >
+ <div
+ v-for="index in 3"
+ :key="index"
+ class="h-24 animate-pulse rounded-lg bg-secondary"
+ />
+ </div>
+ <p
+ v-else-if="entries.length === 0"
+ class="py-10 text-center text-sm text-muted-foreground"
+ data-testid="changelog-empty"
+ >
+ Nothing new yet. New features will show up here.
+ </p>
+ <InfiniteScroll
+ v-else
+ data="changelogEntries"
+ items-element="#changelog-list"
+ only-next
+ preserve-url
+ >
+ <div id="changelog-list" class="flex flex-col gap-4">
+ <button
+ v-for="entry in entries"
+ :key="entry.id"
+ type="button"
+ class="-mx-3 flex flex-col gap-3 rounded-xl p-3 text-start transition-control hover:bg-sidebar focus-visible:bg-sidebar focus-visible:outline-2 dark:hover:bg-accent dark:focus-visible:bg-accent focus-visible:outline-offset-1 focus-visible:outline-ring"
+ :data-testid="`changelog-item-${entry.slug}`"
+ @click="openEntry(entry)"
+ >
+ <span
+ class="group/cover relative block aspect-video overflow-hidden rounded-lg bg-muted"
+ :data-testid="`changelog-item-cover-${entry.slug}`"
+ >
+ <span
+ class="block size-full transition-transform duration-500 ease-out motion-safe:group-hover/cover:scale-[1.04]"
+ :data-testid="`changelog-item-zoom-${entry.slug}`"
+ >
+ <img
+ v-if="entry.cover_url"
+ :src="entry.cover_url"
+ alt=""
+ class="size-full object-cover"
+ draggable="false"
+ />
+ </span>
+ </span>
+ <span class="flex min-w-0 flex-col gap-1">
+ <span
+ class="flex flex-wrap items-center gap-1.5"
+ >
+ <ChangelogTagBadge
+ v-for="tag in entry.tags"
+ :key="tag.value"
+ :tag="tag"
+ />
+ <span
+ v-if="entry.tags.length"
+ class="size-1 rounded-full bg-muted-foreground/50"
+ aria-hidden="true"
+ />
+ <span class="text-xs text-muted-foreground">
+ {{
+ date.formatDateOnly(
+ entry.published_on,
+ )
+ }}
+ </span>
+ </span>
+ <span
+ class="text-base leading-6 font-medium text-foreground"
+ :data-testid="`changelog-item-title-${entry.slug}`"
+ >
+ <span
+ v-if="isUnseen(entry)"
+ class="me-1.5 inline-block size-2 rounded-full bg-primary-strong align-[2px]"
+ :data-testid="`changelog-unseen-${entry.slug}`"
+ />
+ {{ entry.title }}
+ </span>
+ <span
+ class="line-clamp-2 text-sm text-muted-foreground"
+ >
+ {{ entry.excerpt }}
+ </span>
+ </span>
+ </button>
+ </div>
+ </InfiniteScroll>
+ </div>
+ </DialogContent>
+ </Dialog>
+</template>
diff --git a/resources/js/components/changelog/ChangelogTagBadge.vue b/resources/js/components/changelog/ChangelogTagBadge.vue
new file mode 100644
index 000000000..d2d070e89
--- /dev/null
+++ b/resources/js/components/changelog/ChangelogTagBadge.vue
@@ -0,0 +1,24 @@
+<script setup lang="ts">
+import type { ChangelogTag, ChangelogTagValue } from '@/types/changelog';
+
+defineProps<{
+ tag: ChangelogTag;
+}>();
+
+const TAG_CLASSES: Record<ChangelogTagValue, string> = {
+ new: 'bg-green-50 text-green-700 dark:bg-green-400/15 dark:text-green-300',
+ improved: 'bg-sky-50 text-sky-700 dark:bg-sky-400/15 dark:text-sky-300',
+ fixed: 'bg-pink-50 text-pink-700 dark:bg-pink-400/15 dark:text-pink-300',
+ beta: 'bg-teal-50 text-teal-700 dark:bg-teal-400/15 dark:text-teal-300',
+};
+</script>
+
+<template>
+ <span
+ class="inline-flex h-5 shrink-0 items-center rounded-md px-1.5 text-xs font-medium"
+ :class="TAG_CLASSES[tag.value]"
+ :data-testid="`changelog-tag-${tag.value}`"
+ >
+ {{ tag.label }}
+ </span>
+</template>
diff --git a/resources/js/composables/useChangelogDialog.ts b/resources/js/composables/useChangelogDialog.ts
new file mode 100644
index 000000000..0fa12240a
--- /dev/null
+++ b/resources/js/composables/useChangelogDialog.ts
@@ -0,0 +1,37 @@
+import { router } from '@inertiajs/vue3';
+import { readonly, ref, shallowReadonly, shallowRef } from 'vue';
+
+import type { ChangelogEntry } from '@/types/changelog';
+
+const isOpen = ref(false);
+const entry = shallowRef<ChangelogEntry | null>(null);
+
+const openList = (): void => {
+ entry.value = null;
+ isOpen.value = true;
+};
+
+const openEntry = (selected: ChangelogEntry): void => {
+ entry.value = selected;
+ isOpen.value = true;
+};
+
+const backToList = (): void => {
+ entry.value = null;
+};
+
+const close = (): void => {
+ isOpen.value = false;
+ entry.value = null;
+};
+
+router.on('navigate', close);
+
+export const useChangelogDialog = () => ({
+ isOpen: readonly(isOpen),
+ entry: shallowReadonly(entry),
+ openList,
+ openEntry,
+ backToList,
+ close,
+});
diff --git a/resources/js/layouts/app/AppSidebarLayout.vue b/resources/js/layouts/app/AppSidebarLayout.vue
index f1e385eab..9665edb22 100644
--- a/resources/js/layouts/app/AppSidebarLayout.vue
+++ b/resources/js/layouts/app/AppSidebarLayout.vue
@@ -9,6 +9,7 @@ import { ref, watch } from 'vue';
import AppHeader from '@/components/AppHeader.vue';
import AppLogo from '@/components/AppLogo.vue';
import AppSidebar from '@/components/AppSidebar.vue';
+import ChangelogDialog from '@/components/changelog/ChangelogDialog.vue';
import ConnectChannelDialog from '@/components/channels/ConnectChannelDialog.vue';
import CommandPalette from '@/components/command-palette/CommandPalette.vue';
import GlobalPostComposer from '@/components/posts/composer/GlobalPostComposer.vue';
@@ -118,6 +119,7 @@ watch(isCompactViewport, (isCompact) => {
</SidebarProvider>
<GlobalPostComposer />
<ConnectChannelDialog />
+ <ChangelogDialog />
<CommandPalette />
<ReferralSourceSurvey />
<Toast />
diff --git a/resources/js/types/changelog.ts b/resources/js/types/changelog.ts
new file mode 100644
index 000000000..5d7f3fd86
--- /dev/null
+++ b/resources/js/types/changelog.ts
@@ -0,0 +1,29 @@
+export type ChangelogReaction = 'like' | 'dislike';
+
+export type ChangelogTagValue = 'new' | 'improved' | 'fixed' | 'beta';
+
+export interface ChangelogTag {
+ value: ChangelogTagValue;
+ label: string;
+}
+
+export interface ChangelogEntry {
+ id: string;
+ slug: string;
+ title: string;
+ tags: ChangelogTag[];
+ cover_url: string | null;
+ published_on: string;
+ excerpt: string;
+ body_html: string;
+ seen: boolean;
+ reaction: ChangelogReaction | null;
+}
+
+export interface SharedChangelog {
+ latest: ChangelogEntry | null;
+}
+
+export interface ScrollChangelogEntries {
+ data: ChangelogEntry[];
+}
diff --git a/resources/js/types/index.d.ts b/resources/js/types/index.d.ts
index d810508ee..40395126f 100644
--- a/resources/js/types/index.d.ts
+++ b/resources/js/types/index.d.ts
@@ -9,6 +9,7 @@ import type {
TimeFormat,
WeekStart,
} from '@/preferences';
+import type { ScrollChangelogEntries, SharedChangelog } from '@/types/changelog';
import type { AuthPlan, Features, PlanOption } from '@/types/plan';
export type { AuthPlan, BillingInterval, Features, PlanOption } from '@/types/plan';
@@ -112,6 +113,8 @@ export interface SharedData {
plans?: PlanOption[];
mediaSources?: { menu: MediaSourceOption[] } | null;
referralSources?: string[] | null;
+ changelog?: SharedChangelog | null;
+ changelogEntries?: ScrollChangelogEntries;
mediaUploadLimits?: MediaUploadLimits | null;
[key: string]: unknown;
}
diff --git a/routes/app.php b/routes/app.php
index cbc5671ce..9a356257c 100644
--- a/routes/app.php
+++ b/routes/app.php
@@ -6,6 +6,8 @@ use App\Enums\Analytics\ExportFormat;
use App\Http\Controllers\App\ApiKeyController;
use App\Http\Controllers\App\BillingController;
use App\Http\Controllers\App\CanvaController;
+use App\Http\Controllers\App\ChangelogEntryReactionController;
+use App\Http\Controllers\App\ChangelogEntryViewController;
use App\Http\Controllers\App\ChannelController;
use App\Http\Controllers\App\ChannelPostingScheduleController;
use App\Http\Controllers\App\ChannelQueueController;
@@ -104,6 +106,12 @@ Route::middleware(['auth'])->group(function () {
Route::post('referral-source', [ReferralSourceController::class, 'store'])
->middleware('throttle:6,1')
->name('app.referral-source.store');
+ Route::post('changelog/{changelogEntry}/views', [ChangelogEntryViewController::class, 'store'])
+ ->middleware('throttle:60,1')
+ ->name('app.changelog.views.store');
+ Route::put('changelog/{changelogEntry}/reaction', [ChangelogEntryReactionController::class, 'update'])
+ ->middleware('throttle:60,1')
+ ->name('app.changelog.reaction.update');
Route::get('welcome/subscription-required', [WelcomeController::class, 'subscriptionRequired'])->name('app.welcome.subscription-required');
Route::get('billing/processing', [BillingController::class, 'processing'])->name('app.billing.processing');
diff --git a/tests/Browser/ChangelogTest.php b/tests/Browser/ChangelogTest.php
new file mode 100644
index 000000000..705a7ba2f
--- /dev/null
+++ b/tests/Browser/ChangelogTest.php
@@ -0,0 +1,460 @@
+<?php
+
+declare(strict_types=1);
+
+use App\Enums\Changelog\Reaction;
+use App\Enums\Changelog\Tag;
+use App\Enums\User\Locale;
+use App\Enums\User\ReferralSource;
+use App\Models\ChangelogEntry;
+use App\Models\ChangelogEntryView;
+use App\Models\User;
+use App\Models\Workspace;
+
+function waitForChangelogCondition(mixed $page, string $condition): void
+{
+ $page->script(<<<JS
+ (async () => {
+ for (let attempt = 0; attempt < 200; attempt++) {
+ if ({$condition}) return;
+ await new Promise((resolve) => setTimeout(resolve, 50));
+ }
+ })();
+ JS);
+}
+
+function waitForChangelogTestId(mixed $page, string $testId): void
+{
+ waitForChangelogCondition($page, "document.querySelector('[data-testid=\"{$testId}\"]')");
+}
+
+function waitForChangelogText(mixed $page, string $testId, string $text): void
+{
+ waitForChangelogCondition($page, "document.querySelector('[data-testid=\"{$testId}\"]')?.textContent.includes('{$text}')");
+}
+
+function waitForChangelogTestIdGone(mixed $page, string $testId): void
+{
+ waitForChangelogCondition($page, "!document.querySelector('[data-testid=\"{$testId}\"]')");
+}
+
+function waitForChangelogViews(mixed $page, User $user, int $count): void
+{
+ for ($attempt = 0; $attempt < 100 && ChangelogEntryView::where('user_id', $user->id)->count() < $count; $attempt++) {
+ $page->script('new Promise((resolve) => setTimeout(resolve, 50))');
+ }
+}
+
+function waitForChangelogReaction(mixed $page, ChangelogEntry $entry, ?Reaction $reaction): void
+{
+ for ($attempt = 0; $attempt < 100 && ChangelogEntryView::where('changelog_entry_id', $entry->id)->value('reaction') !== $reaction?->value; $attempt++) {
+ $page->script('new Promise((resolve) => setTimeout(resolve, 50))');
+ }
+}
+
+function createChangelogUser(array $attributes = []): User
+{
+ $user = User::factory()->create(['referral_source' => ReferralSource::Google->value, ...$attributes]);
+ $workspace = Workspace::factory()->create([
+ 'account_id' => $user->account_id,
+ 'user_id' => $user->id,
+ ]);
+ $workspace->members()->attach($user->id, membershipPivot('admin'));
+ $user->update(['current_workspace_id' => $workspace->id]);
+ subscribeAccount($user->account);
+
+ return $user;
+}
+
+/**
+ * The Help item is a Radix sub-trigger, which opens on a pointer move before the click.
+ */
+function openChangelogHelpMenu(mixed $page): void
+{
+ $page->script(<<<'JS'
+ (async () => {
+ const find = async (testId) => {
+ for (let attempt = 0; attempt < 100; attempt++) {
+ const element = document.querySelector(`[data-testid="${testId}"]`);
+ if (element) return element;
+ await new Promise((resolve) => setTimeout(resolve, 50));
+ }
+ };
+ (await find('sidebar-workspace-menu')).click();
+ const trigger = await find('sidebar-support-trigger');
+ trigger.dispatchEvent(new PointerEvent('pointermove', { bubbles: true }));
+ trigger.click();
+ await find('sidebar-support-changelog');
+ })();
+ JS);
+}
+
+test('opening the sidebar card shows the newest entry, records the view, hides the card and takes a reaction', function () {
+ config(['trypost.changelog.enabled' => true]);
+
+ $user = createChangelogUser([
+ 'created_at' => now()->subDays(30),
+ ]);
+
+ $newest = ChangelogEntry::factory()->create([
+ 'slug' => '2026-10-14-newest',
+ 'title' => 'Newest feature',
+ 'body' => 'The **newest** feature body.',
+ 'tags' => [Tag::New, Tag::Beta],
+ 'published_on' => today(),
+ ]);
+ $older = ChangelogEntry::factory()->create([
+ 'slug' => '2026-10-13-older',
+ 'title' => 'Older feature',
+ 'published_on' => today()->subDay(),
+ ]);
+
+ $this->actingAs($user->fresh());
+
+ $page = visit(route('app.calendar'))->resize(1280, 900);
+ waitForChangelogText($page, 'changelog-card-title', 'Newest feature');
+
+ expect($page->script("document.querySelector('[data-testid=\"changelog-card\"] [data-testid^=\"changelog-tag-\"]') === null"))->toBeTrue();
+
+ $page->click('@changelog-card');
+ waitForChangelogText($page, 'changelog-entry-title', 'Newest feature');
+ $page->assertSeeIn('@changelog-entry', 'The newest feature body.')
+ ->assertSeeIn('@changelog-entry-tags', 'New')
+ ->assertSeeIn('@changelog-entry-tags', 'Beta')
+ ->assertSeeIn('@changelog-back', 'All updates');
+ expect($page->script("document.querySelector('[data-testid=\"changelog-dialog\"]').getAttribute('aria-labelledby') && document.getElementById(document.querySelector('[data-testid=\"changelog-dialog\"]').getAttribute('aria-labelledby')).textContent.trim()"))
+ ->toBe('Newest feature');
+ waitForChangelogTestIdGone($page, 'changelog-card');
+
+ expect(ChangelogEntryView::where('user_id', $user->id)->pluck('changelog_entry_id')->all())
+ ->toBe([$newest->id]);
+
+ $page->click('@changelog-back');
+ waitForChangelogTestId($page, 'changelog-item-2026-10-13-older');
+ $page->assertPresent('@changelog-unseen-2026-10-13-older')
+ ->assertMissing('@changelog-unseen-2026-10-14-newest');
+
+ $page->click('@changelog-item-2026-10-13-older');
+ waitForChangelogText($page, 'changelog-entry-title', 'Older feature');
+ waitForChangelogViews($page, $user, 2);
+
+ expect(ChangelogEntryView::where('user_id', $user->id)->pluck('changelog_entry_id')->sort()->values()->all())
+ ->toEqual(collect([$newest->id, $older->id])->sort()->values()->all());
+
+ $page->assertSeeIn('@changelog-reaction', 'Do you like it?')
+ ->click('@changelog-reaction-like');
+ waitForChangelogReaction($page, $older, Reaction::Like);
+ expect(ChangelogEntryView::where('changelog_entry_id', $older->id)->sole()->reaction)->toBe(Reaction::Like)
+ ->and($page->script("document.querySelector('[data-testid=\"changelog-reaction-like\"]').getAttribute('aria-pressed')"))->toBe('true')
+ ->and($page->script("getComputedStyle(document.querySelector('[data-testid=\"changelog-reaction-dislike\"] span')).filter"))->toContain('grayscale')
+ ->and($page->script("getComputedStyle(document.querySelector('[data-testid=\"changelog-reaction-like\"] span')).filter"))->toBe('none');
+
+ $page->click('@changelog-reaction-dislike');
+ waitForChangelogReaction($page, $older, Reaction::Dislike);
+ expect(ChangelogEntryView::where('changelog_entry_id', $older->id)->sole()->reaction)->toBe(Reaction::Dislike);
+
+ $page->click('@changelog-reaction-dislike');
+ waitForChangelogReaction($page, $older, null);
+ expect(ChangelogEntryView::where('changelog_entry_id', $older->id)->sole()->reaction)->toBeNull();
+
+ $page->click('@changelog-close');
+ waitForChangelogTestIdGone($page, 'changelog-dialog');
+
+ $page->assertMissing('@changelog-card')
+ ->assertMissing('@changelog-dialog')
+ ->assertNoJavaScriptErrors();
+});
+
+test('the help menu item is translated and opens the list', function () {
+ config(['trypost.changelog.enabled' => true]);
+
+ $user = createChangelogUser([
+ 'locale' => Locale::PortugueseBrazil,
+ ]);
+
+ ChangelogEntry::factory()->create(['slug' => '2026-10-13-listed', 'published_on' => today()->subYear()]);
+
+ $this->actingAs($user->fresh());
+
+ $page = visit(route('app.calendar'))->resize(1280, 900);
+ waitForChangelogTestId($page, 'sidebar-workspace-menu');
+
+ openChangelogHelpMenu($page);
+
+ $page->assertSeeIn('@sidebar-support-changelog', __('sidebar.support.changelog', [], 'pt-BR'));
+ expect(__('sidebar.support.changelog', [], 'pt-BR'))->toBe('Novidades');
+
+ $page->click('@sidebar-support-changelog');
+ waitForChangelogTestId($page, 'changelog-item-2026-10-13-listed');
+
+ $page->assertPresent('@changelog-unseen-2026-10-13-listed')
+ ->assertMissing('@changelog-card')
+ ->assertNoJavaScriptErrors();
+});
+
+test('hovering a list item highlights it, only hovering its cover zooms the cover, and the whole item opens the entry', function () {
+ config(['trypost.changelog.enabled' => true]);
+
+ $user = createChangelogUser();
+
+ ChangelogEntry::factory()->create([
+ 'slug' => '2026-10-13-hovered',
+ 'title' => 'Hovered feature',
+ 'published_on' => today()->subYear(),
+ ]);
+
+ $this->actingAs($user->fresh());
+
+ $page = visit(route('app.calendar'))->resize(1280, 900);
+ waitForChangelogTestId($page, 'sidebar-workspace-menu');
+
+ openChangelogHelpMenu($page);
+ $page->click('@sidebar-support-changelog');
+ waitForChangelogTestId($page, 'changelog-item-cover-2026-10-13-hovered');
+
+ $coverScale = "getComputedStyle(document.querySelector('[data-testid=\"changelog-item-zoom-2026-10-13-hovered\"]')).scale";
+ $itemBackground = "getComputedStyle(document.querySelector('[data-testid=\"changelog-item-2026-10-13-hovered\"]')).backgroundColor";
+ $idleBackground = $page->script($itemBackground);
+
+ $page->hover('@changelog-item-title-2026-10-13-hovered');
+ waitForChangelogCondition($page, "{$itemBackground} !== '{$idleBackground}'");
+ expect($page->script($itemBackground))->not->toBe($idleBackground)
+ ->and($page->script($coverScale))->toBe('none');
+
+ $page->hover('@changelog-item-cover-2026-10-13-hovered');
+ waitForChangelogCondition($page, "{$coverScale} === '1.04'");
+ expect($page->script($coverScale))->toBe('1.04');
+
+ $page->click('@changelog-item-title-2026-10-13-hovered');
+ waitForChangelogText($page, 'changelog-entry-title', 'Hovered feature');
+
+ $page->assertSeeIn('@changelog-entry-title', 'Hovered feature')
+ ->assertNoJavaScriptErrors();
+});
+
+test('the list loads the next page on scroll, reopens on the list and shows an empty state when there is nothing', function () {
+ config(['trypost.changelog.enabled' => true]);
+
+ $user = createChangelogUser();
+ collect(range(1, 7))->each(fn (int $daysAgo) => ChangelogEntry::factory()->create([
+ 'slug' => "2026-09-0{$daysAgo}-paged",
+ 'published_on' => today()->subDays($daysAgo),
+ ]));
+
+ $this->actingAs($user->fresh());
+
+ $page = visit(route('app.calendar'))->resize(1280, 900);
+ waitForChangelogTestId($page, 'sidebar-workspace-menu');
+ openChangelogHelpMenu($page);
+ $page->click('@sidebar-support-changelog');
+ waitForChangelogTestId($page, 'changelog-item-2026-09-01-paged');
+
+ expect($page->script("document.querySelectorAll('[data-testid^=\"changelog-item-cover-\"]').length"))->toBe(5);
+
+ $page->script("document.querySelector('[data-testid=\"changelog-dialog\"]').scrollTop = 100000");
+ waitForChangelogTestId($page, 'changelog-item-2026-09-07-paged');
+
+ expect($page->script("document.querySelectorAll('[data-testid^=\"changelog-item-cover-\"]').length"))->toBe(7);
+
+ $page->click('@changelog-item-title-2026-09-07-paged');
+ waitForChangelogTestId($page, 'changelog-entry');
+ waitForChangelogCondition($page, "document.querySelector('[data-testid=\"changelog-dialog\"]').scrollTop === 0");
+
+ expect($page->script("document.querySelector('[data-testid=\"changelog-dialog\"]').scrollTop"))->toBe(0);
+ $page->click('@changelog-close');
+ waitForChangelogTestIdGone($page, 'changelog-dialog');
+
+ openChangelogHelpMenu($page);
+ $page->click('@sidebar-support-changelog');
+ waitForChangelogTestId($page, 'changelog-item-2026-09-01-paged');
+ waitForChangelogCondition($page, "document.querySelectorAll('[data-testid^=\"changelog-item-cover-\"]').length === 5");
+
+ expect($page->script("document.querySelectorAll('[data-testid^=\"changelog-item-cover-\"]').length"))->toBe(5);
+ $page->assertMissing('@changelog-entry')
+ ->assertNoJavaScriptErrors();
+
+ ChangelogEntry::query()->delete();
+
+ $empty = visit(route('app.calendar'))->resize(1280, 900);
+ waitForChangelogTestId($empty, 'sidebar-workspace-menu');
+ openChangelogHelpMenu($empty);
+ $empty->click('@sidebar-support-changelog');
+ waitForChangelogTestId($empty, 'changelog-empty');
+
+ $empty->assertSeeIn('@changelog-empty', 'Nothing new yet')
+ ->assertNoJavaScriptErrors();
+});
+
+test('a reaction that fails to save is undone and explained', function () {
+ config(['trypost.changelog.enabled' => true]);
+
+ $user = createChangelogUser();
+ $entry = ChangelogEntry::factory()->create(['slug' => '2026-10-13-failing', 'published_on' => today()->subYear()]);
+
+ $this->actingAs($user->fresh());
+
+ $page = visit(route('app.calendar'))->resize(1280, 900);
+ waitForChangelogTestId($page, 'sidebar-workspace-menu');
+ openChangelogHelpMenu($page);
+ $page->click('@sidebar-support-changelog');
+ waitForChangelogTestId($page, 'changelog-item-title-2026-10-13-failing');
+ $page->click('@changelog-item-title-2026-10-13-failing');
+ waitForChangelogTestId($page, 'changelog-reaction-like');
+ waitForChangelogViews($page, $user, 1);
+
+ $entry->delete();
+ $page->click('@changelog-reaction-like');
+ waitForChangelogCondition($page, "document.body.innerText.includes(\"Couldn't save your answer\")");
+
+ expect($page->script("document.querySelector('[data-testid=\"changelog-reaction-like\"]').getAttribute('aria-pressed')"))->toBe('false');
+ $page->assertSee("Couldn't save your answer. Try again.");
+});
+
+test('nothing of the changelog shows when it is turned off', function () {
+ config(['trypost.changelog.enabled' => false]);
+
+ $user = createChangelogUser(['created_at' => now()->subDays(30)]);
+ ChangelogEntry::factory()->create(['published_on' => today()]);
+
+ $this->actingAs($user->fresh());
+
+ $page = visit(route('app.calendar'))->resize(1280, 900);
+ waitForChangelogTestId($page, 'sidebar-workspace-menu');
+ $page->script(<<<'JS'
+ (async () => {
+ const find = async (testId) => {
+ for (let attempt = 0; attempt < 100; attempt++) {
+ const element = document.querySelector(`[data-testid="${testId}"]`);
+ if (element) return element;
+ await new Promise((resolve) => setTimeout(resolve, 50));
+ }
+ };
+ (await find('sidebar-workspace-menu')).click();
+ const trigger = await find('sidebar-support-trigger');
+ trigger.dispatchEvent(new PointerEvent('pointermove', { bubbles: true }));
+ trigger.click();
+ await find('sidebar-support-community-title');
+ })();
+ JS);
+
+ $page->assertPresent('@sidebar-support-community-title')
+ ->assertMissing('@sidebar-support-changelog')
+ ->assertMissing('@changelog-card')
+ ->assertNoJavaScriptErrors();
+});
+
+test('a second reaction click while the first is saving is ignored', function () {
+ config(['trypost.changelog.enabled' => true]);
+
+ $user = createChangelogUser();
+ $entry = ChangelogEntry::factory()->create(['slug' => '2026-10-13-double', 'published_on' => today()->subYear()]);
+
+ $this->actingAs($user->fresh());
+
+ $page = visit(route('app.calendar'))->resize(1280, 900);
+ waitForChangelogTestId($page, 'sidebar-workspace-menu');
+ openChangelogHelpMenu($page);
+ $page->click('@sidebar-support-changelog');
+ waitForChangelogTestId($page, 'changelog-item-title-2026-10-13-double');
+ $page->click('@changelog-item-title-2026-10-13-double');
+ waitForChangelogTestId($page, 'changelog-reaction-like');
+ waitForChangelogViews($page, $user, 1);
+
+ $page->script("document.querySelector('[data-testid=\"changelog-reaction-like\"]').click(); document.querySelector('[data-testid=\"changelog-reaction-dislike\"]').click();");
+ waitForChangelogReaction($page, $entry, Reaction::Like);
+ $page->script('new Promise((resolve) => setTimeout(resolve, 500))');
+
+ expect(ChangelogEntryView::where('changelog_entry_id', $entry->id)->sole()->reaction)->toBe(Reaction::Like)
+ ->and($page->script("document.querySelector('[data-testid=\"changelog-reaction-like\"]').getAttribute('aria-pressed')"))->toBe('true')
+ ->and($page->script("document.querySelector('[data-testid=\"changelog-reaction-dislike\"]').getAttribute('aria-pressed')"))->toBe('false');
+});
+
+test('a browser Back closes the modal, and reopening shows a fresh list', function () {
+ config(['trypost.changelog.enabled' => true]);
+
+ $user = createChangelogUser();
+ ChangelogEntry::factory()->create(['slug' => '2026-10-13-fresh', 'published_on' => today()->subYear()]);
+ $calendarPath = route('app.calendar', absolute: false);
+ $insightsPath = route('app.insights', absolute: false);
+
+ $this->actingAs($user->fresh());
+
+ $page = visit(route('app.calendar'))->navigate(route('app.calendar'))->resize(1280, 900);
+ waitForChangelogTestId($page, 'sidebar-workspace-menu');
+ openChangelogHelpMenu($page);
+ $page->click('@sidebar-support-changelog');
+ waitForChangelogTestId($page, 'changelog-unseen-2026-10-13-fresh');
+ $page->click('@changelog-item-title-2026-10-13-fresh');
+ waitForChangelogViews($page, $user, 1);
+ $page->click('@changelog-close');
+ waitForChangelogTestIdGone($page, 'changelog-dialog');
+
+ $page->script("document.querySelector('[data-testid=\"nav-{$insightsPath}\"]').click()");
+ waitForChangelogCondition($page, "location.pathname === '{$insightsPath}'");
+ openChangelogHelpMenu($page);
+ $page->click('@sidebar-support-changelog');
+ waitForChangelogTestId($page, 'changelog-item-2026-10-13-fresh');
+
+ $page->back();
+ waitForChangelogCondition($page, "location.pathname === '{$calendarPath}'");
+ waitForChangelogTestIdGone($page, 'changelog-dialog');
+
+ $page->assertPathIs($calendarPath)->assertMissing('@changelog-dialog');
+
+ openChangelogHelpMenu($page);
+ $page->click('@sidebar-support-changelog');
+ waitForChangelogTestId($page, 'changelog-item-2026-10-13-fresh');
+
+ $page->assertMissing('@changelog-unseen-2026-10-13-fresh')
+ ->assertNoJavaScriptErrors();
+
+ expect(ChangelogEntryView::where('user_id', $user->id)->count())->toBe(1);
+});
+
+test('a browser Back between two entries of the same page closes the modal too', function () {
+ config(['trypost.changelog.enabled' => true]);
+
+ $user = createChangelogUser();
+ ChangelogEntry::factory()->create(['slug' => '2026-10-13-same', 'published_on' => today()->subYear()]);
+
+ $this->actingAs($user->fresh());
+
+ $page = visit(route('app.calendar'))->navigate(route('app.calendar'))->resize(1280, 900);
+ waitForChangelogTestId($page, 'sidebar-workspace-menu');
+ $page->script('window.history.pushState(window.history.state, "", location.href)');
+
+ openChangelogHelpMenu($page);
+ $page->click('@sidebar-support-changelog');
+ waitForChangelogTestId($page, 'changelog-item-2026-10-13-same');
+
+ $page->back();
+ waitForChangelogTestIdGone($page, 'changelog-dialog');
+
+ $page->assertPathIs(route('app.calendar', absolute: false))
+ ->assertMissing('@changelog-dialog')
+ ->assertNoJavaScriptErrors();
+});
+
+test('an open that fails to record keeps the entry marked as unseen', function () {
+ config(['trypost.changelog.enabled' => true]);
+
+ $user = createChangelogUser();
+ $entry = ChangelogEntry::factory()->create(['slug' => '2026-10-13-unrecorded', 'published_on' => today()->subYear()]);
+
+ $this->actingAs($user->fresh());
+
+ $page = visit(route('app.calendar'))->resize(1280, 900);
+ waitForChangelogTestId($page, 'sidebar-workspace-menu');
+ openChangelogHelpMenu($page);
+ $page->click('@sidebar-support-changelog');
+ waitForChangelogTestId($page, 'changelog-unseen-2026-10-13-unrecorded');
+
+ $entry->update(['published_on' => today()->addDay()]);
+ $page->click('@changelog-item-title-2026-10-13-unrecorded');
+ waitForChangelogTestId($page, 'changelog-entry');
+ $page->click('@changelog-back');
+ waitForChangelogTestId($page, 'changelog-unseen-2026-10-13-unrecorded');
+
+ $page->assertPresent('@changelog-unseen-2026-10-13-unrecorded');
+ expect(ChangelogEntryView::count())->toBe(0);
+});
diff --git a/tests/Feature/Changelog/ChangelogEntryReactionTest.php b/tests/Feature/Changelog/ChangelogEntryReactionTest.php
new file mode 100644
index 000000000..d1a56c197
--- /dev/null
+++ b/tests/Feature/Changelog/ChangelogEntryReactionTest.php
@@ -0,0 +1,89 @@
+<?php
+
+declare(strict_types=1);
+
+use App\Enums\Changelog\Reaction;
+use App\Enums\PostHog\ChangelogEvent;
+use App\Jobs\PostHog\TrackChangelogEntryEvent;
+use App\Models\ChangelogEntry;
+use App\Models\ChangelogEntryView;
+use App\Models\User;
+use Illuminate\Support\Facades\Bus;
+
+beforeEach(function () {
+ config([
+ 'trypost.changelog.enabled' => true,
+ 'services.posthog.enabled' => true,
+ 'services.posthog.api_key' => 'phc_test',
+ ]);
+ Bus::fake();
+
+ $this->user = User::factory()->create(['created_at' => now()->subDays(30)]);
+ $this->entry = ChangelogEntry::factory()->create(['title' => 'Music for reels']);
+ ChangelogEntryView::factory()->create(['changelog_entry_id' => $this->entry->id, 'user_id' => $this->user->id]);
+});
+
+function queuedChangelogReactions(): array
+{
+ return Bus::dispatched(TrackChangelogEntryEvent::class, fn (TrackChangelogEntryEvent $job): bool => $job->event === ChangelogEvent::EntryReacted)
+ ->map(fn (TrackChangelogEntryEvent $job): ?string => $job->reaction?->value)
+ ->values()
+ ->all();
+}
+
+test('a reaction is stored on the view and every change queues a PostHog event', function () {
+ foreach (['like', 'like', 'dislike', null] as $reaction) {
+ $this->actingAs($this->user)
+ ->putJson(route('app.changelog.reaction.update', $this->entry), ['reaction' => $reaction])
+ ->assertNoContent();
+ }
+
+ expect(ChangelogEntryView::sole()->reaction)->toBeNull()
+ ->and(queuedChangelogReactions())->toBe(['like', 'dislike', null]);
+});
+
+test('reacting to an entry the user has not opened records the view too', function () {
+ ChangelogEntryView::query()->delete();
+
+ $this->actingAs($this->user)
+ ->putJson(route('app.changelog.reaction.update', $this->entry), ['reaction' => 'like'])
+ ->assertNoContent();
+
+ expect(ChangelogEntryView::sole())
+ ->user_id->toBe($this->user->id)
+ ->reaction->toBe(Reaction::Like);
+ Bus::assertDispatched(TrackChangelogEntryEvent::class, fn (TrackChangelogEntryEvent $job): bool => $job->viewId === ChangelogEntryView::sole()->id
+ && $job->event === ChangelogEvent::EntryViewed);
+});
+
+test('an unknown or missing reaction is rejected', function (array $payload) {
+ $this->actingAs($this->user)
+ ->putJson(route('app.changelog.reaction.update', $this->entry), $payload)
+ ->assertUnprocessable()
+ ->assertJsonValidationErrors('reaction');
+
+ expect(ChangelogEntryView::sole()->reaction)->toBeNull()
+ ->and(queuedChangelogReactions())->toBe([]);
+})->with([
+ 'unknown' => [['reaction' => 'love']],
+ 'missing' => [[]],
+]);
+
+test('an entry the user cannot see is not found', function (Closure $setup) {
+ $setup($this->entry);
+
+ $this->actingAs($this->user)
+ ->putJson(route('app.changelog.reaction.update', $this->entry), ['reaction' => 'like'])
+ ->assertNotFound();
+
+ expect(queuedChangelogReactions())->toBe([]);
+})->with([
+ 'changelog turned off' => [fn () => config(['trypost.changelog.enabled' => false])],
+ 'published in the future' => [fn (ChangelogEntry $entry) => $entry->update(['published_on' => today()->addDay()])],
+]);
+
+test('guests cannot react', function () {
+ $this->putJson(route('app.changelog.reaction.update', $this->entry), ['reaction' => 'like'])->assertUnauthorized();
+
+ expect(ChangelogEntryView::sole()->reaction)->toBeNull();
+});
diff --git a/tests/Feature/Changelog/ChangelogEntryViewTest.php b/tests/Feature/Changelog/ChangelogEntryViewTest.php
new file mode 100644
index 000000000..b53ae4a0d
--- /dev/null
+++ b/tests/Feature/Changelog/ChangelogEntryViewTest.php
@@ -0,0 +1,69 @@
+<?php
+
+declare(strict_types=1);
+
+use App\Enums\PostHog\ChangelogEvent;
+use App\Jobs\PostHog\TrackChangelogEntryEvent;
+use App\Models\ChangelogEntry;
+use App\Models\ChangelogEntryView;
+use App\Models\User;
+use Illuminate\Support\Facades\Bus;
+
+beforeEach(function () {
+ config([
+ 'trypost.changelog.enabled' => true,
+ 'services.posthog.enabled' => true,
+ 'services.posthog.api_key' => 'phc_test',
+ ]);
+ Bus::fake();
+
+ $this->user = User::factory()->create(['created_at' => now()->subDays(30)]);
+ $this->entry = ChangelogEntry::factory()->create(['title' => 'Music for reels']);
+});
+
+test('opening an entry records the view once and queues its PostHog event once', function () {
+ $this->actingAs($this->user)
+ ->post(route('app.changelog.views.store', $this->entry))
+ ->assertNoContent();
+
+ $this->actingAs($this->user)
+ ->post(route('app.changelog.views.store', $this->entry))
+ ->assertNoContent();
+
+ expect(ChangelogEntryView::where('user_id', $this->user->id)->pluck('changelog_entry_id')->all())
+ ->toBe([$this->entry->id]);
+
+ Bus::assertDispatchedTimes(TrackChangelogEntryEvent::class, 1);
+ Bus::assertDispatched(TrackChangelogEntryEvent::class, fn (TrackChangelogEntryEvent $job): bool => $job->viewId === ChangelogEntryView::sole()->id
+ && $job->event === ChangelogEvent::EntryViewed);
+});
+
+test('an entry the user cannot see is not found', function (Closure $setup) {
+ $setup($this->entry);
+
+ $this->actingAs($this->user)
+ ->post(route('app.changelog.views.store', $this->entry))
+ ->assertNotFound();
+
+ expect(ChangelogEntryView::count())->toBe(0);
+ Bus::assertNotDispatched(TrackChangelogEntryEvent::class);
+})->with([
+ 'changelog turned off' => [fn () => config(['trypost.changelog.enabled' => false])],
+ 'published in the future' => [fn (ChangelogEntry $entry) => $entry->update(['published_on' => today()->addDay()])],
+]);
+
+test('an entry published before the user signed up can still be opened from the list', function () {
+ $this->entry->update(['published_on' => today()->subDays(31)]);
+
+ $this->actingAs($this->user)
+ ->post(route('app.changelog.views.store', $this->entry))
+ ->assertNoContent();
+
+ expect(ChangelogEntryView::where('user_id', $this->user->id)->count())->toBe(1);
+});
+
+test('guests cannot record a view', function () {
+ $this->post(route('app.changelog.views.store', $this->entry))->assertRedirect(route('login'));
+
+ expect(ChangelogEntryView::count())->toBe(0);
+});
diff --git a/tests/Feature/Changelog/ChangelogSharedPropsTest.php b/tests/Feature/Changelog/ChangelogSharedPropsTest.php
new file mode 100644
index 000000000..6d91983ba
--- /dev/null
+++ b/tests/Feature/Changelog/ChangelogSharedPropsTest.php
@@ -0,0 +1,201 @@
+<?php
+
+declare(strict_types=1);
+
+use App\Actions\Changelog\ShowChangelogCard;
+use App\Enums\Changelog\Reaction;
+use App\Enums\Changelog\Tag;
+use App\Models\ChangelogEntry;
+use App\Models\ChangelogEntryView;
+use App\Models\User;
+use App\Models\Workspace;
+use Illuminate\Support\Facades\Cache;
+use Illuminate\Support\Facades\DB;
+use Illuminate\Support\Str;
+use Inertia\Testing\AssertableInertia;
+
+beforeEach(function () {
+ config(['trypost.changelog.enabled' => true]);
+
+ $this->user = User::factory()->create(['created_at' => now()->subDays(30)]);
+ $workspace = Workspace::factory()->create([
+ 'account_id' => $this->user->account_id,
+ 'user_id' => $this->user->id,
+ ]);
+ $workspace->members()->attach($this->user->id, membershipPivot('admin'));
+ $this->user->update(['current_workspace_id' => $workspace->id]);
+ subscribeAccount($this->user->account);
+});
+
+test('the card gets the newest entry while the user has not opened it', function () {
+ $newest = ChangelogEntry::factory()->create([
+ 'published_on' => today(),
+ 'title' => 'Newest entry',
+ 'tags' => [Tag::New, Tag::Beta],
+ ]);
+ ChangelogEntry::factory()->create(['published_on' => today()->subDay()]);
+ ChangelogEntry::factory()->create(['published_on' => today()->addDay()]);
+
+ $this->actingAs($this->user->fresh())
+ ->get(route('app.calendar'))
+ ->assertOk()
+ ->assertInertia(fn (AssertableInertia $page) => $page
+ ->where('changelog.latest.id', $newest->id)
+ ->where('changelog.latest.title', 'Newest entry')
+ ->where('changelog.latest.seen', false)
+ ->where('changelog.latest.tags', [
+ ['value' => 'new', 'label' => 'New'],
+ ['value' => 'beta', 'label' => 'Beta'],
+ ])
+ ->missing('changelogEntries'));
+});
+
+test('the card is empty once the newest entry was opened, even with older ones unopened', function () {
+ $newest = ChangelogEntry::factory()->create(['published_on' => today()]);
+ ChangelogEntry::factory()->create(['published_on' => today()->subDay()]);
+ ChangelogEntryView::factory()->create(['changelog_entry_id' => $newest->id, 'user_id' => $this->user->id]);
+
+ $this->actingAs($this->user->fresh())
+ ->get(route('app.calendar'))
+ ->assertInertia(fn (AssertableInertia $page) => $page->where('changelog.latest', null));
+});
+
+test('the card is cached for ten minutes and cleared when the user opens the entry', function () {
+ $first = ChangelogEntry::factory()->create(['published_on' => today()->subDay()]);
+
+ $this->actingAs($this->user->fresh())
+ ->get(route('app.calendar'))
+ ->assertInertia(fn (AssertableInertia $page) => $page->where('changelog.latest.id', $first->id));
+
+ $newer = ChangelogEntry::factory()->create(['published_on' => today()]);
+ DB::enableQueryLog();
+
+ $this->actingAs($this->user->fresh())
+ ->get(route('app.calendar'))
+ ->assertInertia(fn (AssertableInertia $page) => $page->where('changelog.latest.id', $first->id));
+
+ expect(collect(DB::getQueryLog())->pluck('query')->filter(fn (string $query): bool => Str::contains($query, 'changelog_entries')))->toBeEmpty();
+
+ $this->actingAs($this->user->fresh())
+ ->post(route('app.changelog.views.store', $newer))
+ ->assertNoContent();
+
+ $this->actingAs($this->user->fresh())
+ ->get(route('app.calendar'))
+ ->assertInertia(fn (AssertableInertia $page) => $page->where('changelog.latest', null));
+
+ $newer->views()->delete();
+ $this->travel(11)->minutes();
+
+ $this->actingAs($this->user->fresh())
+ ->get(route('app.calendar'))
+ ->assertInertia(fn (AssertableInertia $page) => $page->where('changelog.latest.id', $newer->id));
+});
+
+test('reacting to the card entry before opening it also hides the card', function () {
+ $entry = ChangelogEntry::factory()->create(['published_on' => today()]);
+
+ $this->actingAs($this->user->fresh())
+ ->get(route('app.calendar'))
+ ->assertInertia(fn (AssertableInertia $page) => $page->where('changelog.latest.id', $entry->id));
+
+ $this->actingAs($this->user->fresh())
+ ->putJson(route('app.changelog.reaction.update', $entry), ['reaction' => 'like'])
+ ->assertNoContent();
+
+ $this->actingAs($this->user->fresh())
+ ->get(route('app.calendar'))
+ ->assertInertia(fn (AssertableInertia $page) => $page->where('changelog.latest', null));
+});
+
+test('the card works with a cache store that serializes its values', function () {
+ config(['cache.stores.array.serialize' => true]);
+ Cache::forgetDriver('array');
+ $entry = ChangelogEntry::factory()->create(['published_on' => today(), 'body' => 'Some <b>bold</b> **news** here.']);
+
+ foreach ([1, 2] as $visit) {
+ $this->actingAs($this->user->fresh())
+ ->get(route('app.calendar'))
+ ->assertOk()
+ ->assertInertia(fn (AssertableInertia $page) => $page
+ ->where('changelog.latest.id', $entry->id)
+ ->where('changelog.latest.published_on', today()->toDateString())
+ ->where('changelog.latest.excerpt', 'Some bold news here.')
+ ->where('changelog.latest.body_html', "<p>Some bold <strong>news</strong> here.</p>\n"));
+ }
+});
+
+test('a sync that changes the entries refreshes every cached card at once', function () {
+ $this->actingAs($this->user->fresh())
+ ->get(route('app.calendar'))
+ ->assertInertia(fn (AssertableInertia $page) => $page->where('changelog.latest', null));
+
+ $newest = ChangelogEntry::factory()->create(['published_on' => today()]);
+ ShowChangelogCard::forgetAll();
+
+ $this->actingAs($this->user->fresh())
+ ->get(route('app.calendar'))
+ ->assertInertia(fn (AssertableInertia $page) => $page->where('changelog.latest.id', $newest->id));
+});
+
+test('a user who signed up today never gets an older entry on the card', function () {
+ $this->user->forceFill(['created_at' => now()])->save();
+ ChangelogEntry::factory()->create(['published_on' => today()->subDay()]);
+
+ $this->actingAs($this->user->fresh())
+ ->get(route('app.calendar'))
+ ->assertInertia(fn (AssertableInertia $page) => $page->where('changelog.latest', null));
+});
+
+test('nothing is shared when the changelog is turned off', function () {
+ config(['trypost.changelog.enabled' => false]);
+ ChangelogEntry::factory()->create();
+
+ $this->actingAs($this->user->fresh())
+ ->get(route('app.calendar'))
+ ->assertInertia(fn (AssertableInertia $page) => $page
+ ->where('changelog', null)
+ ->missing('changelogEntries'));
+});
+
+test('guests get no changelog data', function () {
+ ChangelogEntry::factory()->create();
+
+ $this->get(route('login'))
+ ->assertOk()
+ ->assertInertia(fn (AssertableInertia $page) => $page
+ ->missing('changelog')
+ ->missing('changelogEntries'));
+});
+
+test('the modal list loads every published entry, five per page, newest first, with whether the user opened and liked each one', function () {
+ $this->user->forceFill(['created_at' => now()->subDays(2)])->save();
+ $entries = collect(range(0, 6))->map(fn (int $daysAgo) => ChangelogEntry::factory()->create([
+ 'published_on' => today()->subDays($daysAgo),
+ ]));
+ ChangelogEntry::factory()->create(['published_on' => today()->addDay()]);
+ ChangelogEntryView::factory()->create([
+ 'changelog_entry_id' => $entries[1]->id,
+ 'user_id' => $this->user->id,
+ 'reaction' => Reaction::Like,
+ ]);
+ ChangelogEntryView::factory()->create(['changelog_entry_id' => $entries[1]->id, 'reaction' => Reaction::Dislike]);
+
+ $this->actingAs($this->user->fresh())
+ ->get(route('app.calendar'))
+ ->assertInertia(fn (AssertableInertia $page) => $page
+ ->reloadOnly('changelogEntries', fn (AssertableInertia $reload) => $reload
+ ->has('changelogEntries.data', 5)
+ ->where('changelogEntries.data.0.id', $entries[0]->id)
+ ->where('changelogEntries.data.1.seen', true)
+ ->where('changelogEntries.data.0.seen', false)
+ ->where('changelogEntries.data.1.reaction', 'like')
+ ->where('changelogEntries.data.0.reaction', null)));
+
+ $this->actingAs($this->user->fresh())
+ ->get(route('app.calendar', ['changelog_page' => 2]))
+ ->assertInertia(fn (AssertableInertia $page) => $page
+ ->reloadOnly('changelogEntries', fn (AssertableInertia $reload) => $reload
+ ->has('changelogEntries.data', 2)
+ ->where('changelogEntries.data.1.id', $entries[6]->id)));
+});
diff --git a/tests/Feature/Changelog/ChangelogTagTest.php b/tests/Feature/Changelog/ChangelogTagTest.php
new file mode 100644
index 000000000..e13258a96
--- /dev/null
+++ b/tests/Feature/Changelog/ChangelogTagTest.php
@@ -0,0 +1,13 @@
+<?php
+
+declare(strict_types=1);
+
+use App\Enums\Changelog\Tag;
+use Illuminate\Support\Facades\File;
+use Illuminate\Support\Str;
+
+test('every changelog tag has an English label and a color on the badge', function (Tag $tag) {
+ expect($tag->label())->toBe(Str::ucfirst($tag->value))
+ ->and(File::get(resource_path('js/components/changelog/ChangelogTagBadge.vue')))
+ ->toContain("{$tag->value}: 'bg-");
+})->with(Tag::cases());
diff --git a/tests/Feature/Commands/SyncChangelogTest.php b/tests/Feature/Commands/SyncChangelogTest.php
new file mode 100644
index 000000000..01649443e
--- /dev/null
+++ b/tests/Feature/Commands/SyncChangelogTest.php
@@ -0,0 +1,207 @@
+<?php
+
+declare(strict_types=1);
+
+use App\Actions\Changelog\ShowChangelogCard;
+use App\Actions\Changelog\SyncChangelogEntries;
+use App\Enums\Changelog\Tag;
+use App\Models\ChangelogEntry;
+use App\Models\ChangelogEntryView;
+use App\Models\User;
+use Illuminate\Http\UploadedFile;
+use Illuminate\Support\Facades\File;
+use Illuminate\Support\Str;
+
+function writeSyncChangelogEntry(string $folder, string $markdown): void
+{
+ File::ensureDirectoryExists($folder);
+ File::put("{$folder}/entry.md", $markdown);
+ File::put("{$folder}/cover.png", UploadedFile::fake()->image('cover.png', 1600, 900)->getContent());
+}
+
+beforeEach(function () {
+ $random = Str::random(8);
+ $this->directory = storage_path("framework/testing/changelog-{$random}");
+ writeSyncChangelogEntry("{$this->directory}/2026-10-01-first", "---\ntitle: First entry\ndate: 2026-10-01\n---\n\nThe first **entry**.\n");
+ writeSyncChangelogEntry("{$this->directory}/2026-10-02-second", "---\ntitle: Second entry\ndate: 2026-10-02\ntags: [new, beta]\n---\n\nThe second entry.\n");
+
+ config(['trypost.changelog.path' => $this->directory]);
+});
+
+afterEach(function () {
+ File::deleteDirectory($this->directory);
+});
+
+test('it stores every entry', function () {
+ $this->artisan('changelog:sync')->assertSuccessful();
+
+ $first = ChangelogEntry::where('slug', '2026-10-01-first')->firstOrFail();
+ $second = ChangelogEntry::where('slug', '2026-10-02-second')->firstOrFail();
+
+ expect($first->title)->toBe('First entry')
+ ->and($first->tags->all())->toBe([])
+ ->and($first->body)->toBe('The first **entry**.')
+ ->and($first->published_on->toDateString())->toBe('2026-10-01')
+ ->and($second->tags->all())->toBe([Tag::New, Tag::Beta]);
+});
+
+test('running it again changes nothing', function () {
+ $this->artisan('changelog:sync')->assertSuccessful();
+ $updatedAt = ChangelogEntry::pluck('updated_at', 'slug');
+
+ $this->travel(1)->minute();
+ $this->artisan('changelog:sync')->expectsOutputToContain('0 created, 0 updated, 0 deleted')->assertSuccessful();
+
+ expect(ChangelogEntry::pluck('updated_at', 'slug')->map->toIso8601String()->all())
+ ->toEqual($updatedAt->map->toIso8601String()->all());
+});
+
+test('a changed title, tags or body is counted and saved as an update', function () {
+ $this->artisan('changelog:sync')->expectsOutputToContain('2 created, 0 updated, 0 deleted')->assertSuccessful();
+
+ File::put("{$this->directory}/2026-10-01-first/entry.md", "---\ntitle: Renamed entry\ndate: 2026-10-01\ntags: [fixed]\n---\n\nNew body.\n");
+
+ $this->artisan('changelog:sync')->expectsOutputToContain('0 created, 1 updated, 0 deleted')->assertSuccessful();
+
+ expect(ChangelogEntry::where('slug', '2026-10-01-first')->sole())
+ ->title->toBe('Renamed entry')
+ ->body->toBe('New body.')
+ ->tags->all()->toBe([Tag::Fixed]);
+});
+
+test('an entry whose folder is gone is deleted with its views', function () {
+ $this->artisan('changelog:sync')->assertSuccessful();
+ ChangelogEntryView::factory()->create([
+ 'changelog_entry_id' => ChangelogEntry::where('slug', '2026-10-01-first')->value('id'),
+ ]);
+
+ File::deleteDirectory("{$this->directory}/2026-10-01-first");
+ $this->artisan('changelog:sync')->assertSuccessful();
+
+ expect(ChangelogEntry::pluck('slug')->all())->toBe(['2026-10-02-second'])
+ ->and(ChangelogEntryView::count())->toBe(0);
+});
+
+test('an invalid entry fails the sync, names it and writes nothing', function (Closure $break) {
+ $break("{$this->directory}/2026-10-02-second/entry.md", "{$this->directory}/2026-10-02-second/cover.png");
+
+ $this->artisan('changelog:sync')
+ ->expectsOutputToContain('2026-10-02-second')
+ ->assertFailed();
+
+ expect(ChangelogEntry::count())->toBe(0);
+})->with([
+ 'missing title' => [fn (string $entry) => File::put($entry, "---\ndate: 2026-10-02\n---\n\nBody.\n")],
+ 'invalid date' => [fn (string $entry) => File::put($entry, "---\ntitle: Second\ndate: next week\n---\n\nBody.\n")],
+ 'unknown tag' => [fn (string $entry) => File::put($entry, "---\ntitle: Second\ndate: 2026-10-02\ntags: [new, hot]\n---\n\nBody.\n")],
+ 'repeated tag' => [fn (string $entry) => File::put($entry, "---\ntitle: Second\ndate: 2026-10-02\ntags: [new, new]\n---\n\nBody.\n")],
+ 'empty body' => [fn (string $entry) => File::put($entry, "---\ntitle: Second\ndate: 2026-10-02\n---\n")],
+ 'cover not 16:9' => [fn (string $entry, string $cover) => File::put($cover, UploadedFile::fake()->image('cover.png', 1200, 750)->getContent())],
+ 'missing cover' => [fn (string $entry, string $cover) => File::delete($cover)],
+ 'missing entry file' => [fn (string $entry) => File::delete($entry)],
+ 'missing date' => [fn (string $entry) => File::put($entry, "---\ntitle: Second\n---\n\nBody.\n")],
+ 'impossible date' => [fn (string $entry) => File::put($entry, "---\ntitle: Second\ndate: \"2026-02-30\"\n---\n\nBody.\n")],
+ 'tags as a single string' => [fn (string $entry) => File::put($entry, "---\ntitle: Second\ndate: 2026-10-02\ntags: new\n---\n\nBody.\n")],
+ 'a blank tag' => [fn (string $entry) => File::put($entry, "---\ntitle: Second\ndate: 2026-10-02\ntags: [new, \"\"]\n---\n\nBody.\n")],
+ 'tags as a map' => [fn (string $entry) => File::put($entry, "---\ntitle: Second\ndate: 2026-10-02\ntags: {first: new}\n---\n\nBody.\n")],
+ 'title too long' => [fn (string $entry) => File::put($entry, Str::replace('LONG', Str::repeat('a', 256), "---\ntitle: LONG\ndate: 2026-10-02\n---\n\nBody.\n"))],
+ 'malformed front matter' => [fn (string $entry) => File::put($entry, "---\ntitle: [unclosed\ndate: 2026-10-02\n---\n\nBody.\n")],
+]);
+
+test('a missing changelog folder fails the sync and keeps every entry', function () {
+ $this->artisan('changelog:sync')->assertSuccessful();
+ File::deleteDirectory($this->directory);
+
+ $this->artisan('changelog:sync')
+ ->expectsOutputToContain('does not exist')
+ ->assertFailed();
+
+ expect(ChangelogEntry::count())->toBe(2);
+});
+
+test('the entries shipped in resources/changelog are valid', function () {
+ expect(fn () => SyncChangelogEntries::execute(resource_path('changelog')))->not->toThrow(InvalidArgumentException::class);
+});
+
+test('a sync that changes nothing keeps the cached cards, and one that changes the entries refreshes them', function () {
+ $user = User::factory()->create(['created_at' => now()->subYear()]);
+ $this->artisan('changelog:sync')->assertSuccessful();
+
+ expect(ShowChangelogCard::cached($user)?->slug)->toBe('2026-10-02-second');
+
+ ChangelogEntryView::factory()->create([
+ 'changelog_entry_id' => ChangelogEntry::where('slug', '2026-10-02-second')->value('id'),
+ 'user_id' => $user->id,
+ ]);
+ $this->artisan('changelog:sync')->expectsOutputToContain('0 created, 0 updated, 0 deleted')->assertSuccessful();
+
+ expect(ShowChangelogCard::cached($user)?->slug)->toBe('2026-10-02-second');
+
+ writeSyncChangelogEntry("{$this->directory}/2026-10-03-third", "---\ntitle: Third entry\ndate: 2026-10-03\n---\n\nThe third entry.\n");
+ $this->artisan('changelog:sync')->assertSuccessful();
+
+ expect(ShowChangelogCard::cached($user)?->slug)->toBe('2026-10-03-third');
+});
+
+test('a folder that is not named <YYYY-MM-DD>-<slug> fails the sync and writes nothing', function (string $folder) {
+ File::moveDirectory("{$this->directory}/2026-10-02-second", "{$this->directory}/{$folder}");
+
+ $this->artisan('changelog:sync')
+ ->expectsOutputToContain($folder)
+ ->assertFailed();
+
+ expect(ChangelogEntry::count())->toBe(0);
+})->with([
+ 'spaces and capitals' => ['2026-10-02-Launch Day'],
+ 'accents' => ['2026-10-02-lançamento'],
+ 'no date' => ['launch'],
+]);
+
+test('a quoted date is read the same as a plain one', function () {
+ File::put("{$this->directory}/2026-10-01-first/entry.md", "---\ntitle: First entry\ndate: \"2026-10-01\"\n---\n\nBody.\n");
+
+ $this->artisan('changelog:sync')->assertSuccessful();
+
+ expect(ChangelogEntry::where('slug', '2026-10-01-first')->value('published_on')->toDateString())->toBe('2026-10-01');
+});
+
+test('a date that is not the one in the folder name fails the sync, including an impossible one YAML rolls over', function (string $folder, string $date) {
+ File::moveDirectory("{$this->directory}/2026-10-02-second", "{$this->directory}/{$folder}");
+ File::put("{$this->directory}/{$folder}/entry.md", "---\ntitle: Second\ndate: {$date}\n---\n\nBody.\n");
+
+ $this->artisan('changelog:sync')
+ ->expectsOutputToContain($folder)
+ ->assertFailed();
+
+ expect(ChangelogEntry::count())->toBe(0);
+})->with([
+ 'another day' => ['2026-10-02-second', '2026-10-05'],
+ 'unquoted impossible date' => ['2026-02-30-impossible', '2026-02-30'],
+ 'impossible folder date' => ['2026-13-45-impossible', '"2026-13-45"'],
+]);
+
+test('empty, null or missing tags are stored as no tags', function (string $tags) {
+ File::put("{$this->directory}/2026-10-01-first/entry.md", "---\ntitle: First entry\ndate: 2026-10-01\n{$tags}---\n\nBody.\n");
+
+ $this->artisan('changelog:sync')->assertSuccessful();
+
+ expect(ChangelogEntry::where('slug', '2026-10-01-first')->sole()->tags->all())->toBe([]);
+})->with([
+ 'empty list' => ["tags: []\n"],
+ 'null' => ["tags:\n"],
+ 'blank string' => ["tags: \"\"\n"],
+ 'missing' => [''],
+]);
+
+test('an empty changelog folder deletes every entry and its views', function () {
+ $this->artisan('changelog:sync')->assertSuccessful();
+ ChangelogEntryView::factory()->create(['changelog_entry_id' => ChangelogEntry::value('id')]);
+
+ File::deleteDirectory("{$this->directory}/2026-10-01-first");
+ File::deleteDirectory("{$this->directory}/2026-10-02-second");
+
+ $this->artisan('changelog:sync')->expectsOutputToContain('0 created, 0 updated, 2 deleted')->assertSuccessful();
+
+ expect(ChangelogEntry::count())->toBe(0)
+ ->and(ChangelogEntryView::count())->toBe(0);
+});
diff --git a/tests/Feature/Jobs/PostHog/TrackChangelogEntryEventTest.php b/tests/Feature/Jobs/PostHog/TrackChangelogEntryEventTest.php
new file mode 100644
index 000000000..be2b82ac1
--- /dev/null
+++ b/tests/Feature/Jobs/PostHog/TrackChangelogEntryEventTest.php
@@ -0,0 +1,64 @@
+<?php
+
+declare(strict_types=1);
+
+use App\Enums\Changelog\Reaction;
+use App\Enums\PostHog\ChangelogEvent;
+use App\Jobs\PostHog\SendEvent;
+use App\Jobs\PostHog\TrackChangelogEntryEvent;
+use App\Models\ChangelogEntry;
+use App\Models\ChangelogEntryView;
+use App\Models\User;
+use App\Services\PostHogService;
+use Illuminate\Support\Facades\Queue;
+use Illuminate\Support\Str;
+
+beforeEach(function () {
+ config(['services.posthog.enabled' => true, 'services.posthog.api_key' => 'phc_test_key']);
+ Queue::fake();
+
+ $this->user = User::factory()->create();
+ $this->entry = ChangelogEntry::factory()->create(['title' => 'Music for reels', 'published_on' => '2026-10-14']);
+ $this->view = ChangelogEntryView::factory()->create([
+ 'changelog_entry_id' => $this->entry->id,
+ 'user_id' => $this->user->id,
+ 'reaction' => Reaction::Dislike,
+ ]);
+});
+
+test('job is queued on the posthog queue', function () {
+ expect((new TrackChangelogEntryEvent((string) Str::uuid(), ChangelogEvent::EntryViewed))->queue)->toBe('posthog');
+});
+
+test('a view captures changelog.entry_viewed for the viewer with the entry and account group', function () {
+ (new TrackChangelogEntryEvent($this->view->id, ChangelogEvent::EntryViewed))->handle(app(PostHogService::class));
+
+ Queue::assertPushed(SendEvent::class, fn (SendEvent $job): bool => $job->method === 'capture'
+ && data_get($job->payload, 'event') === ChangelogEvent::EntryViewed->value
+ && data_get($job->payload, 'distinctId') === $this->user->id
+ && data_get($job->payload, 'properties.slug') === $this->entry->slug
+ && data_get($job->payload, 'properties.title') === 'Music for reels'
+ && data_get($job->payload, 'properties.published_on') === '2026-10-14'
+ && ! array_key_exists('reaction', data_get($job->payload, 'properties'))
+ && data_get($job->payload, 'properties.$groups.account') === $this->user->account_id);
+});
+
+test('a reaction captures changelog.entry_reacted with the reaction it was given, not the stored one', function (?Reaction $reaction) {
+ (new TrackChangelogEntryEvent($this->view->id, ChangelogEvent::EntryReacted, $reaction))->handle(app(PostHogService::class));
+
+ Queue::assertPushed(SendEvent::class, fn (SendEvent $job): bool => data_get($job->payload, 'event') === ChangelogEvent::EntryReacted->value
+ && data_get($job->payload, 'properties.slug') === $this->entry->slug
+ && array_key_exists('reaction', data_get($job->payload, 'properties'))
+ && data_get($job->payload, 'properties.reaction') === $reaction?->value);
+})->with(['like' => [Reaction::Like], 'cleared' => [null]]);
+
+test('nothing is captured when the view is gone or PostHog is off', function (Closure $setup) {
+ $setup($this->view);
+
+ (new TrackChangelogEntryEvent($this->view->id, ChangelogEvent::EntryReacted, Reaction::Like))->handle(app(PostHogService::class));
+
+ Queue::assertNotPushed(SendEvent::class);
+})->with([
+ 'view deleted' => [fn (ChangelogEntryView $view) => $view->delete()],
+ 'posthog off' => [fn () => config(['services.posthog.enabled' => false])],
+]);
diff --git a/tests/Feature/Models/ChangelogEntryModelTest.php b/tests/Feature/Models/ChangelogEntryModelTest.php
new file mode 100644
index 000000000..e382fb08f
--- /dev/null
+++ b/tests/Feature/Models/ChangelogEntryModelTest.php
@@ -0,0 +1,118 @@
+<?php
+
+declare(strict_types=1);
+
+use App\Models\ChangelogEntry;
+use App\Models\ChangelogEntryView;
+use App\Models\User;
+use Illuminate\Support\Facades\File;
+use Illuminate\Support\Facades\Vite;
+use Illuminate\Support\Str;
+
+beforeEach(function () {
+ $this->user = User::factory()->create(['created_at' => now()->subDays(10)]);
+});
+
+test('published entries are the ones dated today or earlier', function () {
+ $today = ChangelogEntry::factory()->create(['published_on' => today()]);
+ $beforeSignup = ChangelogEntry::factory()->create(['published_on' => today()->subDays(11)]);
+ ChangelogEntry::factory()->create(['published_on' => today()->addDay()]);
+
+ expect(ChangelogEntry::published()->pluck('id')->sort()->values()->all())
+ ->toEqual(collect([$today->id, $beforeSignup->id])->sort()->values()->all());
+});
+
+test('the card may only announce published entries dated since the signup day', function () {
+ $recent = ChangelogEntry::factory()->create(['published_on' => today()->subDays(3)]);
+ $signupDay = ChangelogEntry::factory()->create(['published_on' => today()->subDays(10)]);
+ ChangelogEntry::factory()->create(['published_on' => today()->addDay()]);
+ ChangelogEntry::factory()->create(['published_on' => today()->subDays(11)]);
+
+ expect(ChangelogEntry::announcedTo($this->user)->pluck('id')->sort()->values()->all())
+ ->toEqual(collect([$recent->id, $signupDay->id])->sort()->values()->all());
+});
+
+test('an entry the user opened is flagged as seen for that user only', function () {
+ $opened = ChangelogEntry::factory()->create();
+ $unopened = ChangelogEntry::factory()->create();
+ ChangelogEntryView::factory()->create(['changelog_entry_id' => $opened->id, 'user_id' => $this->user->id]);
+ ChangelogEntryView::factory()->create(['changelog_entry_id' => $unopened->id]);
+
+ $seen = ChangelogEntry::withSeenBy($this->user)->get()->pluck('seen', 'id');
+
+ expect((bool) $seen[$opened->id])->toBeTrue()
+ ->and((bool) $seen[$unopened->id])->toBeFalse();
+});
+
+test('entries are ordered newest first', function () {
+ $older = ChangelogEntry::factory()->create(['published_on' => today()->subDays(2)]);
+ $newer = ChangelogEntry::factory()->create(['published_on' => today()->subDay()]);
+
+ expect(ChangelogEntry::latestFirst()->pluck('id')->all())->toBe([$newer->id, $older->id]);
+});
+
+test('the body renders markdown and strips raw html', function () {
+ $entry = ChangelogEntry::factory()->make([
+ 'body' => "Hello **world**\n\n<script>alert(1)</script>\n\n[bad](javascript:alert(1))",
+ ]);
+
+ expect($entry->bodyHtml())
+ ->toContain('<strong>world</strong>')
+ ->not->toContain('<script>')
+ ->not->toContain('javascript:');
+});
+
+test('views go with the user and with the entry', function () {
+ $entry = ChangelogEntry::factory()->create();
+ ChangelogEntryView::factory()->create(['changelog_entry_id' => $entry->id, 'user_id' => $this->user->id]);
+ ChangelogEntryView::factory()->create(['changelog_entry_id' => $entry->id]);
+
+ $this->user->delete();
+ expect(ChangelogEntryView::count())->toBe(1);
+
+ $entry->delete();
+ expect(ChangelogEntryView::count())->toBe(0);
+});
+
+test('the cover url is the versioned file from the Vite build, or null when the build has no cover', function () {
+ $random = Str::lower(Str::random(8));
+ $buildDirectory = "changelog-test-build-{$random}";
+ $built = ChangelogEntry::factory()->create(['slug' => '2026-10-01-built']);
+ $missing = ChangelogEntry::factory()->create(['slug' => '2026-10-02-missing']);
+
+ File::ensureDirectoryExists(public_path($buildDirectory));
+ File::put(public_path("{$buildDirectory}/manifest.json"), json_encode([
+ 'resources/changelog/2026-10-01-built/cover.png' => [
+ 'file' => 'assets/cover-a1b2c3.png',
+ 'src' => 'resources/changelog/2026-10-01-built/cover.png',
+ ],
+ ]));
+
+ $this->withVite();
+ Vite::useHotFile(storage_path('framework/testing/no-vite-hot-file'))->useBuildDirectory($buildDirectory);
+
+ try {
+ expect($built->coverUrl())->toBe(asset("{$buildDirectory}/assets/cover-a1b2c3.png"))
+ ->and($missing->coverUrl())->toBeNull();
+ } finally {
+ File::deleteDirectory(public_path($buildDirectory));
+ }
+});
+
+test('the excerpt is plain text: Markdown and tags stripped, entities decoded, whitespace collapsed, cut at 160 characters', function () {
+ $entry = ChangelogEntry::factory()->make(['body' => "Posts & stories with \"quotes\", **bold** and <b>tags</b>.\n\n- One\n- Two"]);
+ $long = ChangelogEntry::factory()->make(['body' => Str::repeat('word ', 60)]);
+
+ expect($entry->excerpt())->toBe('Posts & stories with "quotes", bold and tags. One Two')
+ ->and(Str::length($long->excerpt()))->toBeLessThanOrEqual(163)
+ ->and($long->excerpt())->toEndWith('...');
+});
+
+test('links in the body open in a new tab, except links to the app itself', function () {
+ config(['app.url' => 'https://app.trypost.test']);
+ $entry = ChangelogEntry::factory()->make(['body' => '[Docs](https://docs.trypost.it) and [settings](https://app.trypost.test/settings)']);
+
+ expect($entry->bodyHtml())
+ ->toContain('<a rel="noopener noreferrer" target="_blank" href="https://docs.trypost.it">Docs</a>')
+ ->toContain('<a href="https://app.trypost.test/settings">settings</a>');
+});
diff --git a/tests/Feature/Observers/ChangelogEntryViewObserverTest.php b/tests/Feature/Observers/ChangelogEntryViewObserverTest.php
new file mode 100644
index 000000000..9dbb73d31
--- /dev/null
+++ b/tests/Feature/Observers/ChangelogEntryViewObserverTest.php
@@ -0,0 +1,40 @@
+<?php
+
+declare(strict_types=1);
+
+use App\Enums\Changelog\Reaction;
+use App\Enums\PostHog\ChangelogEvent;
+use App\Jobs\PostHog\TrackChangelogEntryEvent;
+use App\Models\ChangelogEntryView;
+use Illuminate\Support\Facades\Bus;
+
+beforeEach(function () {
+ config(['services.posthog.enabled' => true, 'services.posthog.api_key' => 'phc_test_key']);
+ Bus::fake();
+});
+
+test('creating a view queues the viewed event and changing the reaction queues the reacted event', function () {
+ $view = ChangelogEntryView::factory()->create();
+ $view->update(['reaction' => Reaction::Like]);
+
+ expect(Bus::dispatched(TrackChangelogEntryEvent::class)->map(fn (TrackChangelogEntryEvent $job): array => [$job->event, $job->reaction])->all())
+ ->toBe([[ChangelogEvent::EntryViewed, null], [ChangelogEvent::EntryReacted, Reaction::Like]]);
+});
+
+test('a change to anything but the reaction queues nothing', function () {
+ $view = ChangelogEntryView::factory()->create();
+ Bus::fake();
+
+ $this->travel(1)->minute();
+ $view->touch();
+
+ Bus::assertNotDispatched(TrackChangelogEntryEvent::class);
+});
+
+test('nothing is queued while PostHog is off', function () {
+ config(['services.posthog.enabled' => false]);
+
+ ChangelogEntryView::factory()->create()->update(['reaction' => Reaction::Like]);
+
+ Bus::assertNotDispatched(TrackChangelogEntryEvent::class);
+});
diff --git a/tests/fixtures/single-line-copy.php b/tests/fixtures/single-line-copy.php
index 5a8305f72..4847b1e71 100644
--- a/tests/fixtures/single-line-copy.php
+++ b/tests/fixtures/single-line-copy.php
@@ -150,6 +150,7 @@ return [
'sidebar.plans_billing' => 26,
'sidebar.settings' => 13,
'sidebar.support.menu' => 20,
+ 'sidebar.support.changelog' => 15,
'sidebar.theme' => 26,
'signatures.description' => 43,
'webhooks.actions.delete' => 11,
diff --git a/vite.config.ts b/vite.config.ts
index 1a19f6bdc..b1784941c 100644
--- a/vite.config.ts
+++ b/vite.config.ts
@@ -10,6 +10,7 @@ export default defineConfig({
laravel({
input: ['resources/js/app.ts', 'resources/css/app.css'],
ssr: 'resources/js/ssr.ts',
+ assets: ['resources/changelog/**/*.png'],
refresh: true,
}),
tailwindcss(),