Laravel Views now support html as a file type in v5.8.18

Laravel Views now support html as a file type in v5.8.18

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 html as a new valid extension for views (#28541)
  • Added: provide notification callback withSwiftMessage in MailMessage (#28535)

Fixed

  • Fixed Illuminate\Cache\FileStore::getPayload() in case of broken cache (#28536)
  • Fixed exception: The filename fallback must only contain ASCII characters in the Illuminate\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


Filed in: News / Releases


Newsletter

Join the weekly newsletter and never miss out on new tips, tutorials, and more.

Laravel News Partners

Laravel Jobs

Laravel Developer
San Jose, CA
X3 Builders
Lead Front End Developer
Remote
continued
Full-Stack Laravel Developer
Cologne
Revive Interior
Intermediate PHP Developer (Full Stack | CakePHP | Laravel | Vue | jQuery)
Remote
continued
Senior PHP Developer (Full Stack | CakePHP | Laravel | Vue | jQuery)
Remote
continued
Laravel Developer
Amsterdam (partially remote possible)
Let's Book
Web Developer (Laravel)
Tweed Heads, New South Wales, AUSTRALIA
Tursa Employment & Training