Skip to content

Commit

Permalink
Drop Swift 5.5 support. (#140)
Browse files Browse the repository at this point in the history
Motivation:

Per our support policy, with the release of 5.8 we are no longer support
Swift 5.5.

Modifications:

Drop infrastructure supporting 5.5
Remove conditional compilation guards.

Result:

Nice clean Swift 5.6+ repo.
  • Loading branch information
Lukasa authored Apr 13, 2023
1 parent 64ab3fb commit c56abab
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 128 deletions.
83 changes: 0 additions & 83 deletions [email protected]

This file was deleted.

5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,15 @@ There are a number of reasons to provide a programmatic SSH implementation. One

Another good reason to provide programmatic SSH is that it is not uncommon for services to need to interact with other services in a way that involves running commands. While `Process` solves this for the local use-case, sometimes the commands that need to be invoked are remote. While `Process` could launch an `ssh` client as a sub-process in order to run this invocation, it can be substantially more straightforward to simply invoke SSH directly. This is [`libssh2`](https://www.libssh2.org)'s target use-case. SwiftNIO SSH provides the equivalent of the networking and cryptographic layer of libssh2, allowing motivated users to drive SSH sessions directly from within Swift services.

The most recent versions of SwiftNIO SSH support Swift 5.5.2 and newer. The minimum Swift version supported by SwiftNIO SSH releases are detailed below:
The most recent versions of SwiftNIO SSH support Swift 5.6 and newer. The minimum Swift version supported by SwiftNIO SSH releases are detailed below:

SwiftNIO SSH | Minimum Swift Version
------------------|----------------------
`0.0.0 ..< 0.3.0` | 5.1
`0.3.0 ..< 0.4.0` | 5.2
`0.4.0 ..< 0.5.0` | 5.4
`0.5.0 ...` | 5.5.2
`0.5.0 ..< 0.6.2` | 5.5.2
`0.6.2 ...` | 5.6

## What does SwiftNIO SSH support?

Expand Down
2 changes: 0 additions & 2 deletions Sources/NIOSSH/Child Channels/SSHChannelData.swift
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,8 @@ public struct SSHChannelData {

extension SSHChannelData: Equatable {}

#if swift(>=5.6)
@available(*, unavailable)
extension SSHChannelData: Sendable {}
#endif

extension SSHChannelData {
/// The type of this channel data. Regular ``SSHChannelData/DataType/channel`` data is the standard type of data on an `SSHChannel`,
Expand Down
5 changes: 3 additions & 2 deletions Sources/NIOSSH/Docs.docc/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,15 @@ There are a number of reasons to provide a programmatic SSH implementation. One

Another good reason to provide programmatic SSH is that it is not uncommon for services to need to interact with other services in a way that involves running commands. While `Process` solves this for the local use-case, sometimes the commands that need to be invoked are remote. While `Process` could launch an `ssh` client as a sub-process in order to run this invocation, it can be substantially more straightforward to simply invoke SSH directly. This is [`libssh2`](https://www.libssh2.org)'s target use-case. SwiftNIO SSH provides the equivalent of the networking and cryptographic layer of libssh2, allowing motivated users to drive SSH sessions directly from within Swift services.

The most recent versions of SwiftNIO SSH support Swift 5.5.2 and newer. The minimum Swift version supported by SwiftNIO SSH releases are detailed below:
The most recent versions of SwiftNIO SSH support Swift 5.6 and newer. The minimum Swift version supported by SwiftNIO SSH releases are detailed below:

SwiftNIO SSH | Minimum Swift Version
------------------|----------------------
`0.0.0 ..< 0.3.0` | 5.1
`0.3.0 ..< 0.4.0` | 5.2
`0.4.0 ..< 0.5.0` | 5.4
`0.5.0 ...` | 5.5.2
`0.5.0 ..< 0.6.2` | 5.5.2
`0.6.2 ...` | 5.6

### What does SwiftNIO SSH support?

Expand Down
14 changes: 0 additions & 14 deletions Tests/LinuxMain.swift

This file was deleted.

25 changes: 0 additions & 25 deletions docker/docker-compose.2004.55.yaml

This file was deleted.

0 comments on commit c56abab

Please sign in to comment.