In this version, I found that it supported a lot of important things for us as developers, such as Vite 4 and rename/drop columns in databases, and these are the basic features of this version. HTTP client "throw if" Closure support passing a Closure to the HTTP client throwIf() method. Previously, only a boolean was supported, but now you can customize the logic to determine if you should throw an exception https://github.com/laravel/framework/pull/45251 Http::throwIf(fn ($response) => $response->status()!== 404) ->get('https://laravel.com/foo'); Http::get('https://laravel.com/foo') ->throwIf(fn ($response) => $response->status()!== 404); Enter fullscreen mode

I hope you enjoyed with me and to learn more about this release visit the sources and search more.
Newsletter

Get the latest Laravel/PHP jobs, events and curated articles straight to your inbox, once a week

Fathom Analytics | Fast, simple and privacy-focused website analytics. Fathom Analytics | Fast, simple and privacy-focused website analytics.
Achieve superior email deliverability with ToastMail! Our AI-driven tool warms up inboxes, monitors reputation, and ensures emails reach their intended destination. Sign up today for a spam-free future. Achieve superior email deliverability with ToastMail! Our AI-driven tool warms up inboxes, monitors reputation, and ensures emails reach their intended destination. Sign up today for a spam-free future.
Community Partners