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.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
0
Dislike
0
Love
0
Funny
0
Angry
0
Sad
0
Wow
0