Laravel 7.6 发布

Laravel 7.6 发布了,更新内容包括:

Added

  • 新增 Collection::until() 方法 (#32262)
  • 新增 HtmlString::isEmpty() 方法 (#32289#32300)
  • 新增 Illuminate\Support\Stringable::isNotEmpty() 方法 (#32293)
  • 新增 ltrim() 和 rtrim() 方法到 Illuminate\Support\Stringable 类 (#32288)
  • 增加了跳过中间件的功能 (#32347412261c)
  • 新增 Illuminate\Http\Client\Response::object() 方法 (#32341)
  • 设置组件别名 (#32346)
  • 新增 Illuminate\Database\Eloquent\Collection::append() 方法 (#32324)
  • ……

Fixed

  • 修复 phpredis 的 *scan 方法 (#32336)
  • 修复 Illuminate\Auth\Notifications\ResetPassword::toMail() (#32345)
  • 在 Illuminate\Translation\Translator::__construct() 中调用 setLocale  (1c6a504)
  • 使用了一个映射来防止在 Illuminate\Http\Resources\Json\PaginatedResourceResponse::toResponse() 中不必要的数组访问 (#32296)
  • ……

详情见更新说明: https://laravel-news.com/laravel-7-6-0

猜你喜欢

转载自www.oschina.net/news/115003/laravel-7-6-released
7.6