Laravel 9.51 release is now available with a host of new features covering database, URI templates, Laravel Sail and more.
A new DatabaseTruncation
trait that will migrate your database and then truncate your tables to speed up rerunning database migrations has been added by Patrick O’Meara. A test expectation for database query count that ensures code doesn’t inadvertently introduce new database queries has been introduced by Tim MacDonald who has also contributed a pending builder for has-one-through and has-many-through relationships.
A sail:add command that users can use to add new services to an existing Sail installation is now available courtesy of Tony Messias. HTTP client URI templates that use guzzlehttp/uri-templates
under the hood has been contributed by James Brooks.
More details about this release can be retrieved from the official Laravel 9.51 Release changelog here.
Found this article interesting? Follow Brightwhiz on Facebook, Twitter, and YouTube to read and watch more content we post.