侯体宗的博客
  • 首页
  • Hyperf版
  • beego仿版
  • 人生(杂谈)
  • 技术
  • 关于我
  • 更多分类
    • 文件下载
    • 文字修仙
    • 中国象棋ai
    • 群聊
    • 九宫格抽奖
    • 拼图
    • 消消乐
    • 相册

Laravel 10.29版本发布

Laravel  /  管理员 发布于 1年前   460


本周的2023年10月25日,Laravel 团队发布了 v10.29,新增了在 route:list 中查看所有中间件的功能、

CLI dump 输出更新等。本周发布的版本有许多小修复、新增测试和其他改动;完整更新列表请参见更新日志。


在 route:list 中扩展中间件组

@NickSdot 提供了在使用 route:list 时使用 -vv 标志扩展中间件组的功能:

1.png

该命令已经支持通过 -v|--verbose 标志列出与路由相关的中间件组。

下面是一个使用verbose 标志查看组的示例:

2.png


将 CliDumper 源文件内容移至最后一行

@CalebW 对 CLI 上 dd() 和 dump() 的输出进行了调整,

将转储的源文件从转储的第一行移到了最后一行。

在很长的转储输出中,你必须扫描到输出的开始/顶部才能找到源文件,

而现在它被方便地放在了最后。


以下是本周发布(<10.29)之前的输出结果:

laravel-10-29|main => art app:demo
array:10 [ // app/Console/Commands/Demo.php:29
0 => 1
1 => 2
2 => 3
3 => 4
4 => 5
5 => 6
6 => 7
7 => 8
8 => 9
9 => 10
]

以下是本周发布的 v10.29.0 中的更新输出:

laravel-10-29|main => art app:demo
array:10 [ 
0 => 1
1 => 2
2 => 3
3 => 4
4 => 5
5 => 6
6 => 7
7 => 8
8 => 9
9 => 10
] // app/Console/Commands/Demo.php:29


版本说明

您可以在 GitHub 上查看以下新功能和更新的完整列表,以及 10.28.0 和 10.29.0 之间的差异。

以下版本说明直接来自更新日志:

https://github.com/laravel/framework/compare/v10.28.0...v10.29.0
https://github.com/laravel/framework/blob/d9003667018a8546a3cffc140415506ce20988fe/CHANGELOG.md


v10.29.0

[10.x] 由 @crynobone 在 https://github.com/laravel/framework/pull/48681 中
提出的 Str::password() 不总是生成带数字的密码的问题得到了修正

[10.x] 修复 cache:prune-stale-tags preg_match 分隔符未转义的问题
(由 @ame1973 在 https://github.com/laravel/framework/pull/48702 提供

[10.x] 允许 route:list 在 "VeryVerbose "模式下扩展中间件组
(由 @NickSdot 发布于 https://github.com/laravel/framework/pull/48703

[10.x] 修复 model:prune 命令在非类 php 文件中的错误,
作者 @zlodes,发布于 https://github.com/laravel/framework/pull/48708

[10.x] 在最后一行显示 CliDumper 源内容
by @CalebDW in https://github.com/laravel/framework/pull/48707

[10.x] 恢复 10.25.0 中已还原的更改:
通过 createOrFirst 改进 firstOrCreate updateOrCreate + 附加查询测试
by @mpyw in https://github.com/laravel/framework/pull/48637

[10.x] 允许从闭包解析视图,
作者 @PH7-Jack 发布于 https://github.com/laravel/framework/pull/48719

[10.x] 允许使用合并数据创建 PSR 请求,
作者 @timacdonald 发布于 https://github.com/laravel/framework/pull/48696

[10.x] 更新 convertCase 方法的 DocBlock 以反映可选的 $encoding 参数,
作者 @salehhashemi1992 发布于 https://github.com/laravel/framework/pull/48729

[10.x] 从 Validator 属性中使用 ValidationException 类
by @a-h-abid in https://github.com/laravel/framework/pull/48736

[10.x] 实现 Str::convertCase 方法的测试覆盖率
by @salehhashemi1992 in https://github.com/laravel/framework/pull/48730

[10.x] 扩展 Str::take 函数的测试覆盖范围
@salehhashemi1992 发表于 https://github.com/laravel/framework/pull/48728

[10.x] 为 Str 类添加 replaceMatches
作者 @hosmelq 发布于 https://github.com/laravel/framework/pull/48727

[10.x] 修复 createOrFirst() 下重试 SELECT 调用时的重复条件
by @KentarouTakeda in https://github.com/laravel/framework/pull/48725

[10.x] 使用 stefanzweifel/git-auto-commit-action[@v5](https://github.com/v5)
by @nunomaduro in https://github.com/laravel/framework/pull/48763

[10.x] 修正 @vintagesucks 在 https://github.com/laravel/framework/pull/48770 中
评论中的拼写错误

[10.x] 安装时要求 DBAL 3
by @Jubeki in https://github.com/laravel/framework/pull/48769

[10.x] @standaniels 在 https://github.com/laravel/framework/pull/48765 中
提出的在从文本中提取摘录时使用转义分隔符的问题

[10.x] 修复 Str 类中的 replaceMatches,
作者 @hosmelq,原文地址:https://github.com/laravel/framework/pull/48760

[10.x] 将日志记录器实例创建移至受保护的方法中
@rodrigopedra 发表于 https://github.com/laravel/framework/pull/48759

[10.x] 添加 runningConsoleCommand(...$commands) 方法,
作者 @trevorgehman,原文地址:https://github.com/laravel/framework/pull/48751

[10.x] 更新 wrap 方法中的注解以适应集合实例
(由 @salehhashemi1992 在 https://github.com/laravel/framework/pull/48746 提供

[10.x] 为 Str::replaceMatches 方法添加测试。
作者 @salehhashemi1992 发布于 https://github.com/laravel/framework/pull/48771

[10.x]当调试为 false 时,不要让渲染错误视图时抛出的异常冒泡(防止无限循环),
作者 @simensen 发表于 https://github.com/laravel/framework/pull/48732

[10.x] 更正语法::setConnection 的 phpdoc
by @Neol3108 in https://github.com/laravel/framework/pull/48779

[10.x] 为队列中的 Artisan 命令添加 displayName
作者 @jessarcher 发布于 https://github.com/laravel/framework/pull/48778

[10.x] 测试改进
@crynobone 在 https://github.com/laravel/framework/pull/48797

[10.x] 在 model:show 命令中显示继承关系和虚拟属性
by @sebj54 in https://github.com/laravel/framework/pull/48800

转:

https://laravel-news.com/laravel-10-29-0

  • 上一条:
    2024年国务院办公厅放假安排:除夕不放假,春节连休8天
    下一条:
    在php语言中实现BCC异或校验功能示例
  • 昵称:

    邮箱:

    0条评论 (评论内容有缓存机制,请悉知!)
    最新最热
    • 分类目录
    • 人生(杂谈)
    • 技术
    • linux
    • Java
    • php
    • 框架(架构)
    • 前端
    • ThinkPHP
    • 数据库
    • 微信(小程序)
    • Laravel
    • Redis
    • Docker
    • Go
    • swoole
    • Windows
    • Python
    • 苹果(mac/ios)
    • 相关文章
    • Laravel 11.15版本发布 - Eloquent Builder中添加的泛型(0个评论)
    • Laravel 11.14版本发布 - 新的字符串助手和ServeCommand改进(0个评论)
    • Laravel 11.12版本发布 - Artisan的`make`命令自动剪切`.php `扩展(0个评论)
    • Laravel的轻量型购物车扩展包:binafy/laravel-cart(0个评论)
    • Laravel 11.11版本发布 - 查看模型中的第三方关系:show(0个评论)
    • 近期文章
    • 在go+gin中使用"github.com/skip2/go-qrcode"实现url转二维码功能(0个评论)
    • 在go语言中使用api.geonames.org接口实现根据国际邮政编码获取地址信息功能(1个评论)
    • 在go语言中使用github.com/signintech/gopdf实现生成pdf分页文件功能(0个评论)
    • gmail发邮件报错:534 5.7.9 Application-specific password required...解决方案(0个评论)
    • 欧盟关于强迫劳动的规定的官方举报渠道及官方举报网站(0个评论)
    • 在go语言中使用github.com/signintech/gopdf实现生成pdf文件功能(0个评论)
    • Laravel从Accel获得5700万美元A轮融资(0个评论)
    • 在go + gin中gorm实现指定搜索/区间搜索分页列表功能接口实例(0个评论)
    • 在go语言中实现IP/CIDR的ip和netmask互转及IP段形式互转及ip是否存在IP/CIDR(0个评论)
    • PHP 8.4 Alpha 1现已发布!(0个评论)
    • 近期评论
    • 122 在

      学历:一种延缓就业设计,生活需求下的权衡之选中评论 工作几年后,报名考研了,到现在还没认真学习备考,迷茫中。作为一名北漂互联网打工人..
    • 123 在

      Clash for Windows作者删库跑路了,github已404中评论 按理说只要你在国内,所有的流量进出都在监控范围内,不管你怎么隐藏也没用,想搞你分..
    • 原梓番博客 在

      在Laravel框架中使用模型Model分表最简单的方法中评论 好久好久都没看友情链接申请了,今天刚看,已经添加。..
    • 博主 在

      佛跳墙vpn软件不会用?上不了网?佛跳墙vpn常见问题以及解决办法中评论 @1111老铁这个不行了,可以看看近期评论的其他文章..
    • 1111 在

      佛跳墙vpn软件不会用?上不了网?佛跳墙vpn常见问题以及解决办法中评论 网站不能打开,博主百忙中能否发个APP下载链接,佛跳墙或极光..
    • 2016-10
    • 2016-11
    • 2017-07
    • 2017-08
    • 2020-03
    • 2020-04
    • 2020-05
    • 2020-06
    • 2020-07
    • 2020-08
    • 2020-09
    • 2020-10
    • 2020-11
    • 2021-01
    • 2021-02
    • 2021-03
    • 2021-04
    • 2021-05
    • 2021-06
    • 2021-07
    • 2021-08
    • 2021-09
    • 2021-10
    • 2021-11
    • 2021-12
    • 2022-01
    • 2022-02
    • 2022-03
    • 2022-04
    • 2022-05
    • 2022-06
    • 2022-07
    • 2022-08
    • 2022-09
    • 2022-10
    • 2022-11
    • 2022-12
    • 2023-01
    • 2023-02
    • 2023-03
    • 2023-04
    • 2023-05
    • 2023-06
    • 2023-07
    • 2023-08
    • 2023-09
    • 2023-10
    • 2023-11
    • 2023-12
    • 2024-01
    • 2024-02
    • 2024-03
    • 2024-04
    • 2024-05
    • 2024-06
    • 2024-07
    Top

    Copyright·© 2019 侯体宗版权所有· 粤ICP备20027696号 PHP交流群

    侯体宗的博客