From 9324db11a45730dafc5a64b1182c82d8820681e7 Mon Sep 17 00:00:00 2001 From: Honza Dvorsky Date: Thu, 16 Oct 2025 20:12:48 +0200 Subject: [PATCH] Update docs for the 0.2.0 release --- Examples/hello-world-cli-example/Package.swift | 2 +- README.md | 4 ++-- Sources/Configuration/Documentation.docc/Documentation.md | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Examples/hello-world-cli-example/Package.swift b/Examples/hello-world-cli-example/Package.swift index a70d582..5d94efe 100644 --- a/Examples/hello-world-cli-example/Package.swift +++ b/Examples/hello-world-cli-example/Package.swift @@ -10,7 +10,7 @@ let package = Package( dependencies: [ .package( url: "https://github.com/apple/swift-configuration", - .upToNextMinor(from: "0.1.0"), + .upToNextMinor(from: "0.2.0"), traits: [.defaults, "CommandLineArgumentsSupport"] ) ], diff --git a/README.md b/README.md index d492381..76e441c 100644 --- a/README.md +++ b/README.md @@ -61,7 +61,7 @@ If both sources are unavailable, the fallback default of `60` is returned. Add the dependency to your `Package.swift`: ```swift -.package(url: "https://github.com/apple/swift-configuration", .upToNextMinor(from: "0.1.0")) +.package(url: "https://github.com/apple/swift-configuration", .upToNextMinor(from: "0.2.0")) ``` Add the library dependency to your target: @@ -94,7 +94,7 @@ To enable an additional trait on the package, update the package dependency: ```diff .package( url: "https://github.com/apple/swift-configuration", - .upToNextMinor(from: "0.1.0"), + .upToNextMinor(from: "0.2.0"), + traits: [.defaults, "OtherFeatureSupport"] ) ``` diff --git a/Sources/Configuration/Documentation.docc/Documentation.md b/Sources/Configuration/Documentation.docc/Documentation.md index 93af6eb..b10b114 100644 --- a/Sources/Configuration/Documentation.docc/Documentation.md +++ b/Sources/Configuration/Documentation.docc/Documentation.md @@ -154,7 +154,7 @@ These providers can be combined to form a hierarchy, for details check out