Repository navigation
v0.5.110
Upgrading
- No feature is re-pinned: the mail views and account mail ship in the package. To show the brand's lockup in mail, add a PNG of it for a light background (2x the 220px it shows at, or more) and set
KIT_BRAND_MAIL_LOCKUP(kit.brand.mail_lockup) to its path inpublic/or an absolute file path. Without it, the mail header is the product's name, centred. - A host that published its own
resources/views/vendor/mailkeeps its views. To leave the manage-notifications link off security mail there too, give itsmessageandfooterviews themanageprop (see docs/mail.md › Account mail). - A host that set its own
ResetPassword::toMailUsing()orVerifyEmail::toMailUsing()keeps it, and doesn't get the kit's account mail.
Changed
- The mail header is the brand lockup, centred (docs/mail.md › The header: the brand lockup). The branded layout is now Laravel's base markdown layout with the lockup image centred above the message, linked to
app.url: 220px wide, its height kept to the image's ratio, and the product's name as alt text. It's a local PNG embedded inline as a CID attachment, never a remote image. With no lockup, a missing file or a non-PNG, the header is the product's name, centred, and never a broken image. The left-aligned mark, bold name and accent rule are gone. Buttons and links keep the brand accent.kit:statusreports a configured lockup that isn't a PNG as attention, not blocking. - Password reset and email check mail are the kit's (docs/mail.md › Account mail). With session-ui, Fortify's reset and verification mail use the kit's copy instead of Laravel's stock "Hello!", with sentence-case buttons ("Reset password", "Verify email address"). As security mail, they have no "Manage notifications" link.
FluentMailMessage::security()does the same for a host's own security mail.
Fixed
- Mail links are https on an https app. The manage-notifications link and the password reset link were built from the current request, so behind a TLS-terminating proxy they could read
http://. They're now built onapp.url.
What's Changed
- Center the brand lockup in mail, embedded inline; kit account mail (0.5.x) by @jaspertey in #497
- Release v0.5.110 by @jaspertey in #508
Full Changelog: v0.5.109...v0.5.110