您多久更新一次软件包依赖项?当您更新时,您会检查有什么新内容或更改吗?还是只是运行测试以检查是否没有出错就继续前进?😅
不必感到尴尬。您并不孤单!即使软件包作者精心制作了详细的变更日志,为每个您使用的软件包检查它们也是很痛苦的。难怪没有人花时间去做。
因此,我们构建了一个小工具来简化这项任务。安装 swift-release-notes 工具,并获取一个包含所有待更新软件包的发行说明链接列表。
$ swift release-notes ~/Projects/SPI/spi-server
(... progress output removed)
Release notes URLs (updating from):
https://github.com/vapor/fluent-kit/releases (1.19.0)
https://github.com/apple/swift-llbuild/releases (main)
https://github.com/vapor/vapor/releases (4.54.0)
https://github.com/apple/swift-package-manager/releases (main)
https://github.com/vapor/async-kit/releases (1.11.0)
https://github.com/apple/swift-nio-ssl/releases (2.17.1)
https://github.com/apple/swift-tools-support-core/releases (main)
https://github.com/apple/swift-nio-transport-services/releases (1.11.3)
https://github.com/apple/swift-driver/releases (main)
https://github.com/apple/swift-nio/releases (2.36.0)
试用一下,更好地了解您正在使用的软件包中正在发生的新变化!