My Blog Posts

Laravel 7.10 Released

Laravel 7.10 Released


The Laravel team released between v7.10.0 for cache security with the database driver and with the same session ID, with concurrency restriction and simplified accuracy testing. It also includes the latest fixes and options in branch 7.10, 7.x, as well as several new features.

Session ID Request Concurrency Restriction

Taylor Otwell has been found to be a long-needed feature for session concurrency:

It was a long-requested feature.

7.x SAME Session ID request concurrency limitation Make sure you check · Full description Click here for details 32636 Numbered Pick Request .

Number of Pages as subqueries

Taylor Otwell found a subquery for the group number and havings refer to pagination count.

Authentication Mode for SMTP Mail Driver

fragkp an SMTP driver requiredauth_mode

: Possible Values NullPlainloginOr cram-md5.

Add hasNamedScope to model

Alex Bowers and Graham Campbell are based on individual PR's coverage of the model.

The HasScope method checks whether a scope exists dynamically.

public function index(Request $request)
{
$post = Post::query();
foreach ($request->get('filters', []) as $filter) {
if ($post->hasNamedScope($filter)) {
$post->{$filter}();
}
}
return $post->paginate();
}

Cache Security Support for Database Cache Driver

Taylor Otwell contributed to cache lock support for database driver from Symfony's Lock Component PDOStore. Check out Pick Request for #32639 application details.

Release notes

Although we look at all the new features in this publication, you can see the full list of the new features and updates below and the differences between 7.9.0 and 7.10.0 on GitHub. There are some impressive new features in this version.

v7.10.0

Added

  • Added Artisan make:castcommand ( # 32594 )
  • Added Illuminate\Foundation\Testing\Concerns\InteractsWithDatabase::assertDatabaseCount()# 32597 )
  • Allows auth_mode configuration for SMTP mail drive ( #32616 )
  • hasNamedScope()added function ( # 32622 , # 32631 )
  • Pagination runs count as subquery for group and havings ( #32624 )
  • Cache::lock()Added lock support for database cache driver ( # 32639 , 573831b )
  • Same session ID request concurrency limitation ( #32636 )
  • Add to collections skipUntiland adding and adding Skipwhilemethods ( # 32672 , # 32676 )
  • Support for deleting with a limit on SQLSRv (f16d325 )
  • Added mergeFillable()And mergeGuarded()# 32679 )

Fixed

  • Prevents memory leakage in Faker ( 2228233 )
  • Fixed component name and attributes adjustment feature ( #32599 , f8ff3ca )
  • Illuminate\Foundation\Testing\TestResponse::assertSessionHasInput()f0639fd )
  • Filternull value hasMorph()# 32614 )

Updated

  • Illuminate/Database/Eloquent/Relations/Concerns/AsPivot::fromRawAttributes()6c502c1 )
  • Restoring common files ( #32613 , d82f78b , 48e4d60 )
  • Illuminate\Mail\Mailer::addContent()0557622 ) if plain email is empty, use a single space
  • Illuminate\Foundation\PackageManifest::getManifest()# 32646 ) remove the read removal when loading packet notification



Share this article


Comments (0)

Comment