News

Laravel 5.5.5 Released With a New Route Fallback to Help Customize Your 404 Views

Published
Laravel 5.5.5 Released With a New Route Fallback to Help Customize Your 404 Views image

Release updates

Never miss a Laravel release

Get an email whenever a new Laravel release lands.

Laravel v5.5.5, was released September 19th and now includes a neat Route::fallback() method to help customize 404 views:

Laravel 5.5.5 is out with a nice Route::fallback() method to help customize your 404 views, you'll have access to sessions, cookies, auth… pic.twitter.com/56d7ntaA22

— Mohamed Said (@themsaid) September 19, 2017

Another standout feature added is the @includeFirst blade directive. Now the following logic:

@if(view()->exists('custom-template'))
@include('custom-template')
@else
@include('default-template')
@endif

Can be replaced with:

@includeFirst(['custom-template', 'default-template'])

v5.5.5 Changelog

Added

  • Added :input placeholder in validation error messages (#21175)
  • Added @includeFirst Blade directive (#21172)
  • Allow setting column styles for tables in Artisan commands (#21169)
  • Added ValidatesRequests::extractInputFromRules() method (#21192)
  • Added -m shortcut to make:factory (#21219)
  • Added ability to set a fallback (catch-all) route (#21234)

Changed

  • Support null on Model::UPDATED_AT (#21178)
  • Render views from config while building error views (#21145)
  • Use multibyte functions in some Str methods (#21207)
  • Perform stable sort in Collection::sortBy() (#21214)

Fixed

  • Ignore SELECT bindings in prepareBindingsForUpdate() (#21173)
  • Fixed remember check in AuthenticatesUsers::attemptLogin() (#21221)
  • Added “hardware” as an uncountable word (#21236)
Paul Redmond photo

Staff writer at Laravel News. Full stack web developer and author.

Sponsored

serpapi logo
SerpApi

The Web Search API for Your LLM and AI Applications

Visit SerpApi

The latest

View all →
Laravel Auditor Audits Your App With Your Own AI Agent image

Laravel Auditor Audits Your App With Your Own AI Agent

Read article
A simple form builder that stays out of your way image

A simple form builder that stays out of your way

Read article
Laravel AI: Trace Agent Runs With Lifecycle Events image

Laravel AI: Trace Agent Runs With Lifecycle Events

Read article
Laravel AI: Get Raw HTTP Responses and Rate Limits image

Laravel AI: Get Raw HTTP Responses and Rate Limits

Read article
Agent Run Observability in Laravel AI SDK 0.11 image

Agent Run Observability in Laravel AI SDK 0.11

Read article
Debounced Queued Event Listeners in Laravel image

Debounced Queued Event Listeners in Laravel

Read article