Laravel 5.6.21 was released on May 8th with some new comparison validation rules and Redis connections now implement a new
Connection contract interface.
The new comparison validation rules include:
lte. These validation rules can be used to compare numeric values, file sizes, array sizes, and string length.
You should add the new language config for the newly added validation rules. Because of the new Redis contract, if you have any custom Redis connections, you need to add this new interface. Check out the PR for more details.
In Laravel 5.6.22, a new Eloquent collection method
Collection::loadMissing() was added. You can learn more about
loadMissing from the Eloquent relationships documentation.
Here’s the full changelog for both 5.6.21 and 5.6.22:
- Support updating NPM dependencies from preset (#24189, a6542b0)
- Support returning
Responsablefrom middleware (#24201)
FilesystemManager::forgetDisk()method (#24057, cbfb4fb)
- Added more comparison validation rules (
lte) (#24091, #24135)
- Redis connections now implement the
- Fixed unsetting request parameters during
HasManyThroughreturning incorrect results with
dateBasedWhere()with raw expressions when using SQLite (#24102)
whereYear()not accepting integers when using SQLite (#24115)
- Remove full base URL from generated paths (#24101)
Full stack web developer. Author of Lumen Programming Guide and Docker for PHP Developers.