Skip to content

Commit e2bbbb8

Browse files
Update dependencies and use consistent package URL style (#457)
### Motivation About to release a 1.0, we should bump all the minimum dependencies to the latest minor/patch versions, to ensure we get latest bug fixes, whilst still retaining compatibility. Additionally, we were using different versions across the examples. ### Modifications Update dependencies and use consistent package URL style ### Result Dependencies updated. ### Test Plan CI.
1 parent 1e80b37 commit e2bbbb8

File tree

7 files changed

+12
-12
lines changed

7 files changed

+12
-12
lines changed

Examples/AuthenticationClientMiddleware/Package.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ let package = Package(
2121
.package(url: "https://github.com/apple/swift-openapi-generator", exact: "1.0.0-alpha.1"),
2222
.package(url: "https://github.com/apple/swift-openapi-runtime", exact: "1.0.0-alpha.1"),
2323
.package(url: "https://github.com/apple/swift-openapi-urlsession", exact: "1.0.0-alpha.1"),
24-
.package(url: "https://github.com/apple/swift-http-types", from: "1.0.0"),
24+
.package(url: "https://github.com/apple/swift-http-types", from: "1.0.2"),
2525
],
2626
targets: [
2727
.target(

Examples/CommandLineClient/Package.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ let package = Package(
2121
.package(url: "https://github.com/apple/swift-openapi-generator", exact: "1.0.0-alpha.1"),
2222
.package(url: "https://github.com/apple/swift-openapi-runtime", exact: "1.0.0-alpha.1"),
2323
.package(url: "https://github.com/apple/swift-openapi-urlsession", exact: "1.0.0-alpha.1"),
24-
.package(url: "https://github.com/apple/swift-argument-parser", from: "1.2.3"),
24+
.package(url: "https://github.com/apple/swift-argument-parser", from: "1.3.0"),
2525
],
2626
targets: [
2727
.executableTarget(

Examples/LoggingMiddlewareOSLog/Package.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ let package = Package(
2121
.package(url: "https://github.com/apple/swift-openapi-generator", exact: "1.0.0-alpha.1"),
2222
.package(url: "https://github.com/apple/swift-openapi-runtime", exact: "1.0.0-alpha.1"),
2323
.package(url: "https://github.com/apple/swift-openapi-urlsession", exact: "1.0.0-alpha.1"),
24-
.package(url: "https://github.com/apple/swift-http-types", from: "1.0.0"),
24+
.package(url: "https://github.com/apple/swift-http-types", from: "1.0.2"),
2525
],
2626
targets: [
2727
.target(

Examples/LoggingMiddlewareSwiftLog/Package.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ let package = Package(
2121
.package(url: "https://github.com/apple/swift-openapi-generator", exact: "1.0.0-alpha.1"),
2222
.package(url: "https://github.com/apple/swift-openapi-runtime", exact: "1.0.0-alpha.1"),
2323
.package(url: "https://github.com/apple/swift-openapi-urlsession", exact: "1.0.0-alpha.1"),
24-
.package(url: "https://github.com/apple/swift-http-types", from: "1.0.0"),
24+
.package(url: "https://github.com/apple/swift-http-types", from: "1.0.2"),
2525
.package(url: "https://github.com/apple/swift-log", from: "1.5.3"),
2626
],
2727
targets: [

Examples/PostgresDatabaseServer/Package.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ let package = Package(
2222
.package(url: "https://github.com/apple/swift-openapi-runtime", exact: "1.0.0-alpha.1"),
2323
.package(url: "https://github.com/swift-server/swift-openapi-vapor", exact: "1.0.0-alpha.1"),
2424
.package(url: "https://github.com/vapor/vapor", from: "4.89.0"),
25-
.package(url: "https://github.com/vapor/postgres-nio.git", from: "1.16.0"),
25+
.package(url: "https://github.com/vapor/postgres-nio", from: "1.19.1"),
2626
],
2727
targets: [
2828
.executableTarget(

Examples/RetryingClientMiddleware/Package.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ let package = Package(
2121
.package(url: "https://github.com/apple/swift-openapi-generator", exact: "1.0.0-alpha.1"),
2222
.package(url: "https://github.com/apple/swift-openapi-runtime", exact: "1.0.0-alpha.1"),
2323
.package(url: "https://github.com/apple/swift-openapi-urlsession", exact: "1.0.0-alpha.1"),
24-
.package(url: "https://github.com/apple/swift-http-types", from: "1.0.0"),
24+
.package(url: "https://github.com/apple/swift-http-types", from: "1.0.2"),
2525
],
2626
targets: [
2727
.target(

Package.swift

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -48,23 +48,23 @@ let package = Package(
4848
dependencies: [
4949

5050
// General algorithms
51-
.package(url: "https://github.com/apple/swift-algorithms", from: "1.0.0"),
51+
.package(url: "https://github.com/apple/swift-algorithms", from: "1.2.0"),
5252

5353
// Read OpenAPI documents
54-
.package(url: "https://github.com/mattpolzin/OpenAPIKit.git", from: "3.1.2"),
55-
.package(url: "https://github.com/jpsim/Yams.git", "4.0.0"..<"6.0.0"),
54+
.package(url: "https://github.com/mattpolzin/OpenAPIKit", from: "3.1.2"),
55+
.package(url: "https://github.com/jpsim/Yams", "4.0.0"..<"6.0.0"),
5656

5757
// CLI Tool
58-
.package(url: "https://github.com/apple/swift-argument-parser.git", from: "1.0.1"),
58+
.package(url: "https://github.com/apple/swift-argument-parser", from: "1.3.0"),
5959

6060
// Tests-only: Runtime library linked by generated code, and also
6161
// helps keep the runtime library new enough to work with the generated
6262
// code.
6363
.package(url: "https://github.com/apple/swift-openapi-runtime", exact: "1.0.0-alpha.1"),
64-
.package(url: "https://github.com/apple/swift-http-types", from: "1.0.0"),
64+
.package(url: "https://github.com/apple/swift-http-types", from: "1.0.2"),
6565

6666
// Build and preview docs
67-
.package(url: "https://github.com/apple/swift-docc-plugin", from: "1.0.0"),
67+
.package(url: "https://github.com/apple/swift-docc-plugin", from: "1.3.0"),
6868
],
6969
targets: [
7070

0 commit comments

Comments
 (0)