The Swift Package Index logo.Swift Package Index

Keeping up with dependency changes

How often do you update your package dependencies, and when you do, do you check what’s new or changed, or do you just run your tests to check nothing broke and move on? 😅

Don’t be embarrassed. You’re not alone! Even if the package authors have lovingly crafted a detailed change log, checking them for every package you use is painful. It’s no wonder no one takes the time to do it.

So we built a little tool to make the task easier. Install the swift-release-notes tool, and get a list of links to the release notes for all the packages that have pending updates.

$ swift release-notes ~/Projects/SPI/spi-server

(... progress output removed)

Release notes URLs (updating from): (1.19.0) (main) (4.54.0) (main) (1.11.0) (2.17.1) (main) (1.11.3) (main) (2.36.0)

Give it a try and be better aware of what new changes are happening in the packages you’re using!

About this blog

The Swift Package Index is a search engine and metadata index for Swift packages. Our main goal is to help you make better decisions about the dependencies you include in your apps and projects. If you're new here, the best place to get started is by searching for packages.