
Laravel v5.8.29
The Laravel team released v5.8.29 which includes a few new features, performance improvement to MorphTo relationships, and a few bug fixes.
A notable new feature in this release is a new feature to pass an array of columns to whereNull and whereNotNull. Here is how you would have to write these before.
$query->whereNull('id')->whereNull('expires_at');
$query->whereNotNull('id')->whereNotNull('expires_at');
This can be simplified into:
$query->whereNull(['id', 'expires_at']);
$query->whereNotNull(['id', 'expires_at']);
See below for the full change log on Laravel v5.8.29:
Added
- Added possibility for
WithFaker::makeFaker()
use localapp.faker_locale
config (#29123) - Added ability to set a theme for mail notifications (#29132)
- Added runtime for each migration to output (#29149)
- Added possibility for
whereNull
andwhereNotNull
to accept array columns argument (#29154) - Allowed
Console\Scheduling\ManagesFrequencies::hourlyAt()
to accept array of integers (#29173)
Performance
- Improved eager loading performance for MorphTo relation (#29129)
Fixed
- Fixed
Builder::whereDay()
andBuilder::whereMonth()
with raw expressions - Fixed DELETE queries with alias on SQLite (#29164)
- Fixed queue jobs using SerializesModels losing order of passed in collections (#29136)
- Fixed conditional binding for nested optional dependencies (#29180)
- Fixed: validator not failing on custom rule when message is null (#29174)
- Fixed DELETE query bindings (#29165)
Newsletter

Join 31,000+ others and never miss out on new tips, tutorials, and more.
Laravel Jobs

- Software Developer
-
Remote (US & Canada)
Alley - 😎 Laravel Developer
-
Remote
Jogg, Inc - Junior, Mid, and Senior Software Engineers. Laravel / Vue. Saint Petersburg, FL
-
Saint Petersburg, FL and Remote
ShineOn - Senior PHP Developer (Laravel)
-
Remote
The Interaction Design Foundation - Fullstack Laravel Engineer (Munich/Remote) 💻
-
Munich, Germany or Remote
AirLST GmbH