IT资讯 Laravel framework 12.42.0 发布

jackie · 2025-12-11 11:00:10 · 热度: 19

Laravel framework v12.42.0 现已,主要更新内容如下:

  • [12.x] 改进Context::scope()返回类型 #58012
  • [12.x] 允许 CarbonInterval 的 duration 辅助函数中使用浮点值 #58006
  • 将 whenTableHasIndex 和 whenTableDoesntHaveIndex 添加到 Builder 中 #58005
  • [12.x] 添加 commandFileFinder 方法,并从命令发现中排除测试文件 #58017
  • 遵循 queue:work 命令中的 --quiet 和 --silent 参数 #58024
  • [12.x] 添加对容器的依赖项支持 #58026
  • 修复 tests/Support/SupportStringableTest.php 中 StringableObjectStub 类的自动加载问题 #58030
  • [12.x] 移除对optional()的调用 #58027
  • [12.x] 添加newRequest()到 Pool 和 Batch #58038
  • [12.x] 调整监听器文档块并为查询形状添加单元测试 #58040
  • [12.x] feat::在并行测试中设置数据库时添加 pre-migration hook #58011
  • [12.x] 支持 PHPUnit 12.5 #58042
  • [12.x] 添加对 Translator replacements 中枚举的支持 #58048
  • [12.x] 修复PendingRequest@pool() && batch()并发问题 #57973
  • 统一队列命令选项描述规范   #58058
  • [12.x] 为illuminate/reflection添加 LICENSE 文件、PR 自动关闭功能及.gitattributes配置 ​​​​​​​#58055
  • [12.x] PendingRequest@withRequestContext()#58054

详情可查看更新说明:https://github.com/laravel/framework/releases/tag/v12.42.0

为您推荐与 laravel 相关的帖子:

暂无回复。
需要 登录 后方可回复, 如果你还没有账号请点击这里 注册