Laravel Magazine
Laravel 13.23 Ships Monthly Log Rotation and SES Tenant Support

Laravel 13.23 Ships Monthly Log Rotation and SES Tenant Support

Eric Van Johnson ·

Laravel 13.23 landed as a quiet but useful point release, continuing the framework's stated approach for the 13.x line: no breaking changes, steady quality-of-life additions instead. Four changes stand out for teams running Laravel in production.

A monthly log rotation driver

The daily log driver has been the default choice for teams that don't want a single, ever-growing laravel.log file, but daily rotation means high-traffic applications can accumulate hundreds of log files fast. 13.23 adds a monthly rotation driver alongside it:

'channels' => [
    'monthly' => [
        'driver' => 'monthly',
        'path' => storage_path('logs/laravel.log'),
        'level' => env('LOG_LEVEL', 'debug'),
        'days' => 6,
    ],
],

For applications where daily rotation was mostly generating noise rather than useful granularity, this cuts down file count without giving up rotation entirely.

SES tenant support in the SES v2 mail transport

Laravel's SES v2 mail transport now supports tenant-scoped sending, which matters for any application built on Amazon's newer SES multi-tenant configuration sets — useful for platforms sending mail on behalf of multiple customers or brands from a single AWS account while keeping delivery metrics and reputation isolated per tenant.

A using() clause for Postgres column changes

Changing a column's type on PostgreSQL has historically required a raw DB::statement() call when the automatic cast wouldn't do — for example, converting a text column storing numeric strings into an integer. 13.23 adds a using() clause to the schema builder for exactly this case:

Schema::table('invoices', function (Blueprint $table) {
    $table->integer('amount_cents')->change()->using('amount_cents::integer');
});

This generates the USING clause Postgres requires for non-trivial type conversions directly from the migration, instead of dropping to raw SQL.

A timing-safe maintenance mode bypass check

Laravel's maintenance mode has long supported a bypass secret/cookie so specific users (or you, mid-deploy) can access the app while it's down for everyone else. The check comparing the supplied secret against the configured one now uses a timing-safe comparison, closing a minor but real timing-attack surface where an attacker could theoretically narrow down a valid bypass secret by measuring response time differences across many requests.

Should you upgrade?

All four changes are additive — nothing here should require touching existing code. If your team is on Laravel 13, running composer update laravel/framework picks these up with no migration work. The Postgres using() clause in particular is worth remembering next time a migration needs a non-trivial column type change; it replaces a small but easy-to-get-wrong pattern of hand-written DB::statement() calls that used to be the only option.

Stay Updated

Subscribe to our newsletter

Get latest news, tutorials, community articles and podcast episodes delivered to your inbox.

Weekly articles
We send a new issue of the newsletter every week on Friday.
No spam
We'll never share your email address and you can opt out at any time.