Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drop support for Swift 5.2 and 5.3 #141

Merged
merged 1 commit into from
Apr 20, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Package.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// swift-tools-version:5.2
// swift-tools-version:5.4
//===----------------------------------------------------------------------===//
//
// This source file is part of the SwiftNIO open source project
Expand Down
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,12 +63,14 @@ declaring [SwiftNIO's Public API](https://github.com/apple/swift-nio/blob/main/d

### `swift-nio-transport-services ` 1.x

`swift-nio-transport-services ` versions 1.x is part of the SwiftNIO 2 family of repositories and does not have any dependencies besides [`swift-nio`](https://github.com/apple/swift-nio), Swift 5, and an Apple OS supporting `Network.framework`. As the latest version, it lives on the [`main`](https://github.com/apple/swift-nio-transport-services) branch.
`swift-nio-transport-services` versions 1.x is part of the SwiftNIO 2 family of repositories and does not have any dependencies besides [`swift-nio`](https://github.com/apple/swift-nio), Swift 5.4, and an Apple OS supporting `Network.framework`. As the latest version, it lives on the [`main`](https://github.com/apple/swift-nio-transport-services) branch.

To depend on `swift-nio-transport-services `, put the following in the `dependencies` of your `Package.swift`:

.package(url: "https://github.com/apple/swift-nio-transport-services.git", from: "1.0.0"),

`swift-nio-transport-services` version 1.11.x and earlier support Swift 5.2 and 5.3. Earlier 1.x versions also support Swift 5.0 and 5.1.

### `swift-nio-transport-services ` 0.x

The legacy `swift-nio-transport-services` 0.x is part of the SwiftNIO 1 family of repositories and works with Swift 4.1 and newer. The source code can be found on the [`swift-nio-transport-services-swift-4-maintenance`](https://github.com/apple/swift-nio-transport-services/tree/swift-nio-transport-services-swift-4-maintenance) branch.
Expand Down
16 changes: 0 additions & 16 deletions docker/docker-compose.1604.52.yaml

This file was deleted.

16 changes: 0 additions & 16 deletions docker/docker-compose.1804.53.yaml

This file was deleted.

16 changes: 16 additions & 0 deletions docker/docker-compose.1804.54.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
version: "3"

services:

runtime-setup:
image: swift-nio-transport-services:18.04-5.4
build:
args:
ubuntu_version: "bionic"
swift_version: "5.4"

test:
image: swift-nio-transport-services:18.04-5.4

shell:
image: swift-nio-transport-services:18.04-5.4
16 changes: 0 additions & 16 deletions docker/docker-compose.2004.54.yaml

This file was deleted.

2 changes: 1 addition & 1 deletion docker/docker-compose.2004.56.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ services:
build:
args:
ubuntu_version: "focal"
base_image: "swiftlang/swift:nightly-5.6-focal"
swift_version: "5.6"

test:
image: swift-nio-transport-services:20.04-5.6
Expand Down
16 changes: 16 additions & 0 deletions docker/docker-compose.2004.57.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
version: "3"

services:

runtime-setup:
image: swift-nio-transport-services:20.04-5.7
build:
args:
ubuntu_version: "focal"
base_image: "swiftlang/swift:nightly-main-focal"

test:
image: swift-nio-transport-services:20.04-5.7

shell:
image: swift-nio-transport-services:20.04-5.7