Laravel 5.7.9 Released

Laravel 5.7.9 was released on Tuesday with some changes and fixes, along with a new 401 exception view, new session assertion methods, and PendingResourceRegistration is macroable. First, a new assertion in the TestResponse class called assertSessionDoesntHaveErrors() can be used to ensure that the session doesnt include an error for a given field: You can also use the assertSessionHasNoErrors() assertion to verify that the session doesnt have any errors. Next, a new 401.blade.php for unauthorized 401 responses, with some updated verbiage for the 403 templatechanging the text from Unauthorized to Forbidden. The PendingResourceRegistration class is now macroable. An example of a definition and usage (as provided from the pull request) could be as follows:

Read Full Article at