Laravel 9.9 Released is Now Available With New Features

Laravel 9.9 Released, Laravel 9.9 News

· Laravel

 

Laravel 9.9 Released

There is a configurable pluralizer in Laravel 9.9, SQLite and SQL Server support forget All Tables(), a convenience method for Eloquent Builder, the ability to throw in a pending request, and more:

SQLite and SQL Server All Tables Support

In addition to the capability of calling getAllTables() on SQLite and SQLServer connections, JHavens and Derek MacDonald also contributed:

 Schema::getAllTables();

 The without Eager Loads() method of Eloquent Builder

The Eloquent Builder class now has a without Eager Loads() method. We use it for the following purposes:

// Before$query->setEagerLoads([]); // After$query->withoutEagerLoads();

A "throw" method should be added to the Pending Request class

Laravel's HTTP client provides a throw() method that can be used to resolve Pending Requests:

private function client(): PendingRequest

{    return Http::baseUrl('https://www.getrevue.co/api/v2/'

       ->withHeaders([              'Authorization' => 'Token ' . config('services.revue.api_key'),        ])       ->throw(); }

Pluralizer that is configurable

Contributed language and uncountable words configurable for pluralization. More information can be found in Pull Request #41941.

Notes on the release

Below is a list of updates and new features, along with the diff between version 9.8.0 and version 9.9.0 on GitHub. Directly from the changelog are the following release notes:

Version 9.9.0

Additions

  • The SQLite and SQLServer schema builders now support getAllTables (#41896)
  • Built-in method withoutEagerLoads() added (#41950)
  • PendingRequest now has a 'throw' method (#41953)
  • Support for uncountables and pluralizers (#41941)

Fixed

  • StreamedResponseException (#41955) in Illuminate/Routing/Fixed (#41955)
  • Fix PHP warning when rendering long blade strings (#41956)
  • Fix ExcludeIf regression so Closure is used instead of is_callable() (#41969)
  • Resolves a problem with applying replacements to localization arrays (#42022)

Updated

  • Trim Strings.php and Str::squish() in Illuminate/Foundation/Http/Middleware (#41949, #41971).
  • For maintenance cookies, use the config session domain (#41961)
  • and revert lazy command forcing (#41982)

Conclusion: 

Web developer with full-stack experience. Co-author of Lumen Programming Guide for With Laravel 9.9, the user interface has been updated, and new and advanced features are included. This latest version of Laravel web development company a breeze for Laravel experts.

Source: https://laravel-news.com/laravel-9-9-0