File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -34,8 +34,8 @@ let package = Package(
3434 . package ( url: " https://github.com/apple/swift-crypto.git " , from: " 5.0.0-beta.1 " ) ,
3535 . package ( url: " https://github.com/apple/swift-certificates.git " , from: " 1.19.3 " ) ,
3636 . package ( url: " https://github.com/apple/swift-nio-extras.git " , from: " 1.22.0 " ) ,
37- . package ( url: " https://github.com/apple/swift-nio-quic-helpers.git " , branch : " main " ) ,
38- . package ( url: " https://github.com/apple/swift-nio-quic.git " , branch : " main " ) ,
37+ . package ( url: " https://github.com/apple/swift-nio-quic-helpers.git " , . upToNextMinor ( from : " 0.1.0 " ) ) ,
38+ . package ( url: " https://github.com/apple/swift-nio-quic.git " , . upToNextMinor ( from : " 0.1.0 " ) ) ,
3939 ] ,
4040 targets: [
4141 . target(
Original file line number Diff line number Diff line change @@ -21,8 +21,8 @@ let package = Package(
2121 name : " Application" ,
2222 dependencies : [
2323 .package (url : " https://github.com/apple/swift-nio.git" , from : " 2.100.0" ),
24- .package (url : " https://github.com/apple/swift-nio-http3" , branch : " main " ),
25- .package (url : " https://github.com/apple/swift-nio-quic" , branch : " main " ),
24+ .package (url : " https://github.com/apple/swift-nio-http3" , . upToNextMinor ( from : " 0.1.0 " ) ),
25+ .package (url : " https://github.com/apple/swift-nio-quic" , . upToNextMinor ( from : " 0.1.0 " ) ),
2626 ],
2727 targets : [
2828 .executableTarget (
@@ -75,5 +75,13 @@ SWIFT_CERTIFICATES_ALLOW_SWIFT_CRYPTO_BETA=1 swift test --filter EncoderTests.ma
7575Use ` SWIFT_CERTIFICATES_ALLOW_SWIFT_CRYPTO_BETA=1 xed Package.swift ` to open
7676the project in Xcode with the environment variable set.
7777
78+ ### Versioning
79+
80+ While the library is in the 0.x.x version range, you should adopt it using
81+ the ` .upToNextMinor(from: "0.1.0") ` specifier. During this period, breaking
82+ changes are intended to map to minor version bumps, so depending on the
83+ library this way picks up smaller, non-breaking changes automatically while
84+ protecting against API-breaking ones.
85+
7886[ swift-nio-quic ] : https://github.com/apple/swift-nio-quic
7987[ swift-nio ] : https://github.com/apple/swift-nio
You can’t perform that action at this time.
0 commit comments