Laravel 6.6.0 发布

Laravel 6.6.0 发布了,包含一些更改和修复。更新内容如下:

新增

  • 数据库规则中允许的显式模型定义 (#306539beceac)
  • 允许 ResponseFactory::view() 返回第一个视图 (#30651)
  • 添加了 Foundation\Testing\Concerns\InteractsWithDatabase::assertDeleted() 方法 (#30648)
  • 添加了 Illuminate\Routing\Router::head() (#30646)
  • 向 BelongsToMany 添加了 wherePivotNotIn() 和 orWherePivotNotIn() 方法(#30671)
  • 在 SqlServerConnector 中添加了使用 Azure Key 保管库加密数据的选项 (#30636)

修复

  • 修复了 Illuminate\Http\Testing\FileFactory::create() 中的错误 (#30632)
  • 修复了导致忽略参数丢失的路由错误 (#30659)

更新说明:https://laravel-news.com/laravel-v6-6-0-is-now-released

猜你喜欢

转载自www.oschina.net/news/111737/laravel-6-6-0-released