My Blog Posts

Laravel 7.5.0 Out

Laravel 7.5.0 Out


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

New Http Client Approvals

Christoph Rumpel contributed two new testing 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 exists assertSent()completes the method and checks the opposite situations in which your code will cause it to send or send a specific request.

Release notes

The full list of new features and updates is below 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 journal:

v7.5.0

Added

  • Added assertNotSent()And assertNothingSent()Methods Illuminate\Http\Client\Factory# 32197 )
  • renameColumn()# 32205 ) added numbering support for )

Fixed

  • Prevent long URLs from breaking email layouts ( #32189 )
  • Fixed combination boolean or null attributes of combining blade component ( #32245 )
  • Fixed matching double slash in UriValidator (correct inconsistencies between cached and uncached 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 )



Share this article


Comments (0)

Comment