The Laravel team released v6.6.0 this week and it contains mostly changes and fixes.
One of the new additions is the
ResponseFactory::view() can now return the first view. This will allow things like this:
return response()->view(['my/view1', 'my/view2'], ['data'], 404, ['headers']);
Another new feature is
assertDeleted for database testing. This allows you to simplify the following code:
$this->assertDatabaseMissing('posts', [ 'id' => $post->id ]);
For the full changelog and to see all the new features check the changelog below.
- Allowed explicit Model definitions in database rules (#30653, 9beceac)
ResponseFactory::view()to return first view (#30651)
- Added options in
SqlServerConnectorto encrypt data with Azure Key vault (#30636)
- Fixed errors in
- Fixed routing bug that causes missing parameters to be ignored (#30659)
- Updated error message in
PhpRedisConnector::createClient()if redis extension is not loaded (#30673, 184a0f4)
windows_os()helper to use PHP_OS_FAMILY (#30660)
Join 31,000+ others and never miss out on new tips, tutorials, and more.