✨ New Features
- Multi-domain links & domain analytics: configure
NUXT_PUBLIC_DOMAINSto scope short links by host, pick domains in the link editor, and filter links and analytics by domain. - Per-user link ownership with Cloudflare Access: scope links, tags, exports, uploads, analytics, and MCP tools by authenticated Cloudflare Access email. Set
NUXT_ADMIN_EMAILSfor admins who can view all links, filter/reassign owners, and run backups or migrations. - Disable social OpenGraph previews: disable social preview cards globally with
NUXT_DISABLE_OG=trueor override per link, serving a minimalnoindexpage to preview bots while browsers redirect normally. - Custom link favicons: upload or specify a custom favicon URL per link, rendered on cloaked, password, and warning pages.
- Automatic expired link cleanup: configure
NUXT_EXPIRED_LINK_RETENTION_DAYSon Workers cron to remove expired links automatically (0cleans up on the next cron run). - Opt-in R2 asset cleanup: optionally delete associated R2 images when deleting a link.
- Flexible imports & cleaner link cards: import minimal link arrays with an optional
versionfield, and show link comments as dashboard card titles.
🐛 Bug Fixes & Improvements
- Make per-link
redirectWithQueryand OpenGraph preview switches honor global defaults automatically. - Keep redirects working when the
KVbinding is omitted, and guard D1 access during expired-link cleanup. - Auto-generate a slug when an empty slug is submitted on create, and send invalid slugs to
NUXT_NOT_FOUND_REDIRECT. - Fix the import file input staying disabled when preview mode is empty, switch destination favicons to
favicon.domain.pizza, and fix TypeScript and test dependency issues.
⚠️ Upgrade Notes
- Adds four D1 migrations (
0006–0009forfavicon,domain,owner_email, anddisable_og), which the deploy scripts apply automatically. - Cloudflare Access deployments: authenticated Access users are now scoped to their own links by default. Add your admin email(s) to
NUXT_ADMIN_EMAILSto retain access to unassigned legacy links, owner management, backups, and migrations (NUXT_SITE_TOKENand Access service tokens remain admin automatically).
What's Changed
- fix(link-store): serve redirects when the KV binding is missing by @jahirfiquitiva in #353
- fix(link): accept an empty slug on create and generate one by @jahirfiquitiva in #356
- fix(analytics): type heatmap cell ref callback parameter by @mariodrengner in #361
- fix(test): declare vue as a direct dev dependency by @mariodrengner in #362
- feat(dashboard): show the link comment as the card title and tidy the link card by @tomelliot in #376
- fix: send invalid slugs to NUXT_NOT_FOUND_REDIRECT by @efeesrefinal in #377
- fix: don't disable the import input when preview mode is empty by @imtoanle in #379
- feat: add support for custom favicons for links by @jahirfiquitiva in #383
New Contributors
- @jahirfiquitiva made their first contribution in #353
- @mariodrengner made their first contribution in #361
- @efeesrefinal made their first contribution in #377
- @imtoanle made their first contribution in #379
Full Changelog: v0.3.1...v0.3.2