1.3.0 — Resend, update check & visual alignment
What's new in 1.3.0
✉️ Resend API support
A third email delivery method joins PHP mail() and SMTP: Resend. No SMTP configuration needed — just an API key and a verified sender address. Falls back to PHP mail() automatically if the API call fails.
🔔 Automatic update check
The plugin now checks GitHub Releases for new versions and shows a banner on the settings page and a badge next to the page title when an update is available. The check is cached for 12 hours and uses in-process memoization to avoid redundant database reads.
🎨 Visual alignment
The admin interface has been overhauled to match the shared YOURLS plugin design standard:
- Consistent panel palette (
#fffbackground,#d9e6efborder,border-radius: 10px) - Gradient applied to the title text only, never to the emoji
- All action buttons converted to
<button>elements with the aligned style - Section headings (
h3/h4/h5) now have explicitfont-sizeandfont-weightto prevent YOURLS base styles from shrinking them - All inline
style=""attributes replaced with dedicated CSS classes - Asset cache-busting via
filemtime()instead of the static version string - Footer redesigned: left-aligned, official plugin page link + GitHub link on the left, ↑ Back to top on the right
🐛 Bug fixes
- CSS specificity:
.reset-button(danger zone) was being overridden by the higher-specificity.form-section .buttonrule — reset buttons were appearing white instead of red - Update cache: API failures were previously cached for 12 hours, silencing valid update notices after a transient network error
use_smtpboolean: radio value was coerced to 0/1 boolean on save, making it impossible to extend to a third method
🗂️ Structural
require_oncemoved to the top ofplugin.phpbefore function definitions.gitattributesadded for LF line-ending normalizationlanguages/yourls-change-notifier.pottemplate added