Laravel 6.5.1 發布了,這是一個補丁版本,包含一些更改和修復。
除非條件為假,否則 @includeUnless 指令包括模板:
{{-- Instead of this --}}
@includeWhen(! $headless, 'dashboard/partials/nav')
{{-- You can do this --}}
@includeUnless($headless, 'dashboard/partials/nav')
此外,新版本通過傳遞計數值並將默認值更新為等於 1 來修復 PhpRedis spop 實現。
Model::isDirty() 檢查也獲得了針對集合和對象強制轉換的修復程序。
6.5.1 版本更新列表:
[admin
]