Laravel 7.5.0 Out

The Laravel team released v7.5.0 with new features, fixes, and optimizations.

New Http Client Approvals

Christoph Rumpel contributed two new test methods for the Http client:

Http::assertNotSent(function ($request) {
return $request->hasHeader('X-First', 'foo') &&
$request->url() == 'http://test.com/users' &&
$request['name'] == 'Taylor' &&
$request['role'] == 'Developer';
});
Http::assertNothingSent();

This method is assertSent()completes the method and checks for the opposite situations in which your code will cause it to send or not send a specific request.

Release notes

Below is the full list of new features and updates, and you can see the differences between 7.4.0 and 7.5.0 on GitHub. You can find all version notes for Laravel 7.x in the latest v7 change log:

v7.5.0

Added

  • Added assertNotSent()and assertNothingSent()Methods Illuminate\Http\Client\Factory# 32197 )
  • renameColumn()# 32205 ) has been added

constant

  • Prevent long URLs from breaking email layouts ( #32189 )
  • Fixed boolean or null attributes merging blade component ( #32245 )
  • Fixed matching double slash in UriValidator (correct inconsistencies between cached and un cached paths) ( #32260 )
  • Fixed setting mail header ( #32272 )

optimization

  • Optimizing Container::resolve()method ( # 32194 )
  • data_get()Optimize performance for the method ( # 32192 )
  • Optimize Str::startsWith()# 32243 )

  Quote

KARABAY A, 2020 . Laravel 7.5.0 Out,

https://www.karabayyazilim.com/blog/php/framework/laravel/laravel-705-cikti-2020-04-08-215500

(Accessed April 08, 2020).


  Share this post

Comments (0)

Comment

Subscribe
Sign up for the email newsletter to be the first to know about my blog posts