Skip to content

Commit 1c59986

Browse files
authored
Raise minimum supported Swift version from 5.4 to 5.5 (#131)
Motivation: Old Swift versions are periodically dropped. Now that 5.7 has been released, 5.4 will be dropped. Modifications: - Update tools version - Remove 5.4 docker-compose - Update 5.7 docker-compose to use released image and move from focal to jammy - Update docs Result: Swift 5.5 is the minimum supported Swift version
1 parent d89caf3 commit 1c59986

File tree

6 files changed

+31
-45
lines changed

6 files changed

+31
-45
lines changed

Package.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// swift-tools-version:5.4
1+
// swift-tools-version:5.5
22
//===----------------------------------------------------------------------===//
33
//
44
// This source file is part of the SwiftCrypto open source project

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,13 @@ If you believe you have identified a vulnerability in Swift Crypto, please [repo
108108

109109
### Swift versions
110110

111-
Swift Crypto supports Swift 5.4 and later. Swift Crypto supported Swift 5.2 and 5.3 until version 2.1 and Swift 5.1 until version 2.0.
111+
The most recent versions of Swift Crypto support Swift 5.5 and newer. The minimum Swift version supported by Swift Crypto releases are detailed below:
112+
113+
Swift Crypto | Minimum Swift Version
114+
------------------|----------------------
115+
`2.0.0 ..< 2.1.0` | 5.2
116+
`2.1.0 ..< 2.2.0` | 5.4
117+
`2.2.0 ...` | 5.5
112118

113119
### Compatibility
114120

docker/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
ARG swift_version=5.0
2-
ARG ubuntu_version=bionic
1+
ARG swift_version=5.7
2+
ARG ubuntu_version=jammy
33
ARG base_image=swift:$swift_version-$ubuntu_version
44
FROM $base_image
55
# needed to do again after FROM due to docker limitation

docker/docker-compose.1804.54.yaml

Lines changed: 0 additions & 21 deletions
This file was deleted.

docker/docker-compose.2004.57.yaml

Lines changed: 0 additions & 20 deletions
This file was deleted.

docker/docker-compose.2204.57.yaml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
version: "3"
2+
3+
services:
4+
5+
runtime-setup:
6+
image: swift-crypto:22.04-5.7
7+
build:
8+
args:
9+
ubuntu_version: "jammy"
10+
swift_version: "5.7"
11+
12+
test:
13+
image: swift-crypto:22.04-5.7
14+
environment: []
15+
#- SANITIZER_ARG=--sanitize=thread
16+
17+
cmake:
18+
image: swift-crypto:22.04-5.7
19+
20+
shell:
21+
image: swift-crypto:22.04-5.7

0 commit comments

Comments
 (0)