Laravel 13.45 adds timing and memory data to framework events

The Laravel update adds migration durations and peak job memory to events developers can use for monitoring.

Laravel 13.45 adds timing and memory data to framework events

Laravel 13.45.0 adds two measurements to framework events that applications can already listen for. MigrationEnded now reports migration duration, and JobAttempted reports peak memory usage for a job attempt, according to Laravel News.

Where the measurements help

Migration timing can show which schema changes took longest in a deployment. Peak memory can identify jobs worth reviewing for capacity planning. Teams can record the values alongside migration names or job classes to put changes in context.

Other changes in the release

The release also batches database cache writes and deletes. Laravel News reported security fixes involving SVG uploads and trusted proxies. Review the release details and test affected features in the environments where they are used.

Sources: laravel-news.com, whatsnew.fyi.

Share

What's Your Reaction?

Like Like 0
Dislike Dislike 0
Love Love 0
Funny Funny 0
Angry Angry 0
Sad Sad 0
Wow Wow 0