github miantiao-me/Sink v0.3.2

latest release: v0.3.3
one hour ago

✨ New Features

  • Multi-domain links & domain analytics: configure NUXT_PUBLIC_DOMAINS to 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_EMAILS for 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=true or override per link, serving a minimal noindex page 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_DAYS on Workers cron to remove expired links automatically (0 cleans 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 version field, and show link comments as dashboard card titles.

🐛 Bug Fixes & Improvements

  • Make per-link redirectWithQuery and OpenGraph preview switches honor global defaults automatically.
  • Keep redirects working when the KV binding 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–0009 for favicon, domain, owner_email, and disable_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_EMAILS to retain access to unassigned legacy links, owner management, backups, and migrations (NUXT_SITE_TOKEN and Access service tokens remain admin automatically).

What's Changed

New Contributors

Full Changelog: v0.3.1...v0.3.2

Don't miss a new Sink release

NewReleases is sending notifications on new releases.