The Laravel team released Laravel 5.8.19 with the latest framework additions, fixes, and a notable performance improvement which affects doing large bulk inserts with Eloquent.
First, a performance improvement was made that improves the speed of doing large bulk insertions on thousands of items. The underlying change was made to
Arr::flatten() to avoid
array_merge–you can review the Pull Request #28614 for more specifics on what was changed.
isProduction() method was added to the Application class to see if the environment matches the value “production.” If you are using
prd you will need to use something like:
Next, an optional
DYNAMODB_ENDPOINT configuration option was added. The new environment variable enables the ability to use a local version of DynamoDB for local development and testing.
Last, parsing a Redis configuration URL is possible with the
url configuration option—which overrides the other configuration values when defined:
1[2 // Coming directly from Heroku documentation3 'url' => 'redis://h:firstname.lastname@example.org:111',4 'host' => '127.0.0.1',5 // ...6]
Various databases are configurable via URLs now thanks to contributions from Mathieu TUDISCO. For more details on how to configure databases with the
url key check out the Database configuration documentation.
- Added optional
DYNAMODB_ENDPOINTenv variable to configure endpoint for DynamoDB (#28600)
- Allowed exception reporting in
rescue()to be disabled (#28617)
- Allowed to parse Url in Redis configuration (#28612, f4cfb32)
- Allowed setting additional (
localdomain) smtp config options (#28631, 435c05b)
- Fixed Eloquent UPDATE queries with alias (#28607)
event:listcommand, when using a combination of manually registering events and event auto discovering (#28624)
- Improve performance for