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);
Add ascii and ulid validation rules
https://github.com/laravel/framework/pull/45218Rename Columns Without doctrine/dbal
https://github.com/laravel/framework/pull/45258
https://www.youtube.com/watch?v=K09n7hoiWFQ
I hope you enjoyed with me and to learn more about this release visit the sources and search more. I adore you who search for everything new.
Source :- https://laravel-news.com/laravel-9-44-0
Source :- https://www.youtube.com/watch?v=HJJUww8brgs
Read also :- https://www.quora.com/How-can-you-integrate-a-Python-script-in-WordPres
Top comments (0)