Laravel 6
Job middleware
Lazy collection
For example, imagine your application needs to process a multi-gigabyte log file while taking advantage of Laravel's collection methods to parse the logs.
Instead of reading the entire file into memory at once, lazy collections may be used to keep only a small part of the file in memory at a given time
imagine you need to iterate through 10,000 Eloquent models. When using traditional Laravel collections, all 10,000 Eloquent models must be loaded into memory at the same time
Eloquentのサブクエリのパフォーマンス改善
フロントエンドのスキャッフォルドがlaravel/uiパッケージに切り出された
キューのリトライが無期限→デフォルト1回に
In previous releases of Laravel, the php artisan queue:work command would retry jobs indefinitely. Beginning with Laravel 6.0, this command will now try a job one time by default. If you would like to force jobs to be tried indefinitely, you may pass 0 to the --tries option: