DEV Community

Morcos Gad
Morcos Gad

Posted on • Edited on

Great Things Laravel 9.44 Released

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 Exit fullscreen mode

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

Sentry blog image

How to reduce TTFB

In the past few years in the web dev world, we’ve seen a significant push towards rendering our websites on the server. Doing so is better for SEO and performs better on low-powered devices, but one thing we had to sacrifice is TTFB.

In this article, we’ll see how we can identify what makes our TTFB high so we can fix it.

Read more

Top comments (0)

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay