v1.2.0
What's new
Added
- Version History UI — Version history now displays in a proper Filament table with per-row preview and restore actions
- Version Preview — Preview any version's email content directly from the version history modal
- Version Restore — Restore any previous version with one click; current content is automatically saved as a new version first
- Upgrade Command — New
php artisan fin-mail:upgradecommand to migrate existing data after package updates (supports--dry-run)
Fixed
- Versioning not working — Version cleanup query was deleting all versions instead of keeping the most recent ones
- Version history crash — Subject column was passed as an array to
Str::limit(), causing a TypeError - Seeded template buttons stripped by editor — Inline-styled
<a>tags in seeded templates were stripped by TipTap; buttons now use the nativecustomBlockformat - Custom blocks not rendered in previews — Button blocks were not converted to visible HTML in the View and Compose page previews
- Button preview ignores theme colors — Button block preview in the RichEditor now reflects the selected template theme
Changed
- Added
blocksandversioningtranslation keys for all 59 supported languages - Button block default labels now use translation keys instead of hardcoded English
Upgrading from v1.1.0
composer update finity-labs/fin-mail
php artisan fin-mail:upgradeFull changelog: https://github.com/finity-labs/fin-mail/blob/main/CHANGELOG.md