My Blog Posts

Laravel 6.4 Out

Laravel 6.4 Out


First, a security fix was provided for password reset. 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 their to check the following missing()AndRequestadded has() method

// Before
if (! $request->has('foo')) {
    //
}

// using missing
if ($request->missing('foo')) {
    //
}

 pipes() Pipeline Class $pipes )  feature directly instead of using allows for more dynamic pipes:

class BackupAction extends Pipeline
{
    protected function pipes(): 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 have a description for :

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

// A convenient 201 assertion
$response->assertCreated();

The full list of the new features and updates below and At GitHub 6.3.0 to 6.4.0 you can see the differences between Full version notes for Laravel 6.0 GitHub v6 changelog :


v6.4.0

ADDED

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

UPDATED

FIXED

  • Fixed retry() the $times value later 1 ( # 30356 )
  • Fixed last_modifiedOption SetCacheHeader# 30335 )
  • File System administrator on unsupported driver fixed ( # 30331 , # 30369 )
  • shouldQueue() For connected event listeners Fixed control ( # 30378 )
  • Transition 1 table can not be found output code used # 30321 )
  • Alleviate the break changes that occur with password verification feature ( # 30389 )

SECURITY:



Share this article


Comments (0)

Comment