News

Laravel 7.13 Released

Published
Laravel 7.13 Released image

Release updates

Never miss a Laravel release

Get an email whenever a new Laravel release lands.

The Laravel team released v7.13.0 with a new method to configure Tailwind pagination views and the latest updates to the 7.x branch.

Tailwind Pagination

Taylor Otwell contributed the useTailwind() method to the AbstractPaginator, along with tailwind pagination views. At the time of writing, the default pagination views are for Bootstrap 4, but you can use the useTailwind() method to override those defaults.

The documentation now has instructions on using Tailwind styling with pagination.

Fixed Route List Command

Taylor Otwell contributed a fix for the artisan route:list command for excluded middleware. See commit 7ebd211 for details, which now uses the router service to gather route middleware.

Using Indexed Arrays in Redis zrangebyscore

@zingimmick contributed the ability to use an indexed array for ZRANGEBYSCORE:

// Previously you would need this:
$redis->zrangebyscore('set', 0, 11, [
'withscores' => true,
'limit' => [
'offset' => 1,
'count' => 2,
],
]);
 
// Now you can also do the following:
$redis->zrangebyscore('set', 0, 11, [
'withscores' => true,
'limit' => [1, 2],
]);

Release Notes

You can see the full list of new features and updates below and the diff between 7.12.0 and 7.13.0 on GitHub.

v7.13.0

Added

Fixed

  • Fixed route list command for excluded middleware (7ebd211)
  • Fixed behavior of oneachside = 1 with paginator in Illuminate\Pagination\UrlWindow (c59cffa, 5d817be)

Changed

  • Using an indexed array as the limit modifier for phpredis zrangebyscore (#32952)
Paul Redmond photo

Staff writer at Laravel News. Full stack web developer and author.

Sponsored

masteringlaravel logo
Laravel Code Review

Get expert guidance in a few days with a Laravel code review

Visit Laravel Code Review

The latest

View all →
Securing Filament plugins with Plumb image

Securing Filament plugins with Plumb

Read article
LayaPHP: Self-Hosted Text Classification for PHP and Laravel image

LayaPHP: Self-Hosted Text Classification for PHP and Laravel

Read article
WhenMounted and BigInt Props in Inertia.js v3.8 image

WhenMounted and BigInt Props in Inertia.js v3.8

Read article
Postcodes for Laravel: GB Postcode Lookup and Geography Data image

Postcodes for Laravel: GB Postcode Lookup and Geography Data

Read article
Laravel 14 Adds a defaults() Method to Eloquent Models image

Laravel 14 Adds a defaults() Method to Eloquent Models

Read article
Laravel AI SDK and Laravel MCP Security Fixes: Update Now image

Laravel AI SDK and Laravel MCP Security Fixes: Update Now

Read article