The Swift Package Index Blog

Keeping up with dependency changes

Posted Tuesday, January 25, 2022.

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!

The Swift Package Index is a search engine for Swift packages with one goal. To help you make better decisions about dependencies. For more information, the best place to start is with the Frequently Asked Questions.