Closed t089 closed 2 years ago
Yes, I remember this from the Swift forums. I guess you may be referring to this one: https://forums.swift.org/t/semantic-versioning-should-removing-a-dependency-be-a-semver-major/51179
Thanks for the PR 👍
I think, I'll have to update the workflows for Swift v5.5
Motivation
When compiling with Swift 5.5 on linux I get the following errors
In
StreamingDelegate.swift
we are importing and using methods fromNIO
and we are using API fromNIOFoundationCompat
without explicitly importing this package.Neither
NIO
, norNIOFoundationCompat
are explicitly declared dependencies inPackage.swift
. Adding those fixes the compilation.Changes
Add explicit dependency on
NIO
andNIOFoundationCompat
.Result
Compilation completes successfully on linux with Swift 5.5.2.
I remember vaguely that there was a recent change on how transitive dependencies are handled in Swift but I could not find any reference anymore.