Never Miss a Laravel Release 🚀
The Laravel team released Laravel 5.8.18 with HTML as a valid extension option for views. With this release, you can pass a path to an HTML file which will not be compiled but rendered as-is—similar to how rendering a file with a .css extension works.
Next, you can provide a notification callback with Swift message, providing developers direct access to the Swift message before it is fired off:
$message = new MailMessage();$message->withSwiftMessage(function ($message) { // ....});
You can see the full list of fixes below, and the whole diff between 5.8.17 and 5.8.18 on GitHub. The full release notes for Laravel 5.8 are available in the GitHub 5.8 changelog:
v5.8.18
Added
- Added
htmlas a new valid extension for views (#28541) - Added: provide notification callback
withSwiftMessageinMailMessage(#28535)
Fixed
- Fixed
Illuminate\Cache\FileStore::getPayload()in case of broken cache (#28536) - Fixed exception:
The filename fallback must only contain ASCII charactersin theIlluminate\Filesystem\FilesystemAdapter::response()(#28551)
Changed
- Make
Support\Testing\Fakes\MailFake::failures()returns an empty array (#28538) - Make
Support\Testing\Fakes\BusFake::pipeThrough()returns$this(#28564)
Refactoring
- Cleanup html (#28583)