Laravel 6.4 Out

First, a security fix for password reset was provided. The fix prevents users from creating only one password reset record every 60 seconds. This prevents attackers from sending many password requests that will transfer users' emails.

after to check the following missing()andRequesthas() method added

// Beforeif (! $request->has('foo')) {//} // using missingif ($request->missing('foo')) { //} 

 pipes() Pipeline class $pipes )  property directly instead of using allows for more dynamic pipes:

classBackupActionextendsPipeline{ protectedfunctionpipes(): array{ return config('actions.backup.tasks', [ Tasks\SetupPassable::class, Tasks\CreateTemporaryDirectory::class, Tasks\PrepareFilesToBackup::class, Tasks\CreateZipBackupFile::class, Tasks\MoveZipArchiveToDisks::class, Tasks\SendNotification::class, ]); }}

Finally, a new assertCreated() convenience method is a 201 response status CODE allows you to find an explanation for :

// Instead of the following$response->assertStatus(Response::HTTP_CREATED); // A convenient 2015$$response->assertCreated(); 

The full list of new features and updates below and the full On GitHub 6.3.0 vs. 6.4.0 you can see the differences between Full release notes for Laravel 6.0 on GitHub v6 is available on the changelog :


v6.4.0

ADDED

  • Class missing()method Added Request# 30320 )
  • Added Pipeline::p ipes()method ( # 30346 )
  • Added TestResponse::assertCreated()method ( # 30368 )

UPDATED

FIXED

  • constant retry() one $times 1 ( # 30356 )
  • constant last_modifiedalternative SetCacheHeader# 30335 )
  • File System administrator on unsupported drive fixed ( # 30331 , # 30369 )
  • shouldQueue() For connected event listeners constant control ( # 30378 )
  • transition 1 table not found issue ID used # 30321 )
  • Mitigate the breakage changes resulting from the password confirmation feature ( # 30389 )

SECURITY:

  Quote

KARABAY A, 2019 . Laravel 6.4 Out,

https://www.karabayyazilim.com/blog/laravel-64-cikti-2019-10-25-124036

(Accessed October 25, 2019).


  Share this post

Comments (0)

Comment

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