Skip to content

Commit 48f2f23

Browse files
committed
use and recommend upToNextMinor
1 parent 2b29aad commit 48f2f23

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

Package.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ let package = Package(
9696
.package(url: "https://github.com/apple/swift-log.git", from: "1.0.0"),
9797
.package(url: "https://github.com/apple/swift-collections.git", from: "1.5.0"),
9898
.package(url: "https://github.com/apple/swift-crypto.git", from: "5.0.0-beta.1"),
99-
.package(url: "https://github.com/apple/swift-tls.git", from: "0.1.0"),
99+
.package(url: "https://github.com/apple/swift-tls.git", .upToNextMinor(from: "0.1.0")),
100100
],
101101
targets: [
102102
.target(

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,10 @@ Unit tests can also be run by filtering a specific class or function:
3939

4040
All unit tests are run automatically upon creation or update of a Pull Request. See [CONTRIBUTING](https://github.com/apple/swift-network-evolution/blob/main/CONTRIBUTING.md) for details.
4141

42+
### Versioning
43+
44+
Whilst the library is in the `0.x.x` version range, you should adopt it using the `.upToNextMinor(from: "0.1.0")` specifier. During this period, breaking changes are intended to map to minor version bumps, so depending on the library this way picks up smaller, non-breaking changes automatically while protecting against API-breaking ones.
45+
4246
### Logging Levels
4347

4448
By default, Swift Network will emit logs at `debug`, `info`, `notice`, `error`, and `fault` levels. There are also datapath-specific debug logs, referred to as `datapath` logs, that are disabled by default.

0 commit comments

Comments
 (0)