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

Remove support for Swift 5.9 #837

Merged
merged 1 commit into from
Dec 14, 2024
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
8 changes: 2 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,16 +33,14 @@ jobs:
strategy:
fail-fast: false
matrix:
xcode: ["16.1", "16.0", "15.4", "15.2"]
xcode: ["16.1", "16.0", "15.4"]
include:
- xcode: "16.1"
macos: macos-15
- xcode: "16.0"
macos: macos-15
- xcode: "15.4"
macos: macos-14
- xcode: "15.2"
macos: macos-14
runs-on: ${{ matrix.macos }}
name: macOS
steps:
Expand Down Expand Up @@ -77,14 +75,12 @@ jobs:
strategy:
fail-fast: false
matrix:
swift: ["6.0", "5.10", "5.9"]
swift: ["6.0", "5.10"]
include:
- swift: "6.0"
container: "swift:6.0"
- swift: "5.10"
container: "swift:5.10"
- swift: "5.9"
container: "swift:5.9"
runs-on: ubuntu-20.04
container: ${{ matrix.container }}
name: Linux
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
##### Breaking

- Support for installing via CocoaPods has been removed.
- Removed support for Swift 5.9/Xcode 15.2.

##### Enhancements

Expand Down
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.9
// swift-tools-version:5.10
import PackageDescription

var dependencies: [Package.Dependency] = [
Expand Down
1 change: 0 additions & 1 deletion Sources/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ swift_library(
"SourceGraph/Mutators/AncestralReferenceEliminator.swift",
"SourceGraph/Mutators/AssetReferenceRetainer.swift",
"SourceGraph/Mutators/AssignOnlyPropertyReferenceEliminator.swift",
"SourceGraph/Mutators/CapitalSelfFunctionCallRetainer.swift",
"SourceGraph/Mutators/CodablePropertyRetainer.swift",
"SourceGraph/Mutators/CodingKeyEnumReferenceBuilder.swift",
"SourceGraph/Mutators/ComplexPropertyAccessorReferenceBuilder.swift",
Expand Down
2 changes: 1 addition & 1 deletion Sources/Shared/SwiftVersion.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import Extensions
import Foundation

public struct SwiftVersion {
static let minimumVersion = "5.9"
static let minimumVersion = "5.10"

public let version: VersionString
public let fullVersion: String
Expand Down
28 changes: 0 additions & 28 deletions Sources/SourceGraph/Mutators/CapitalSelfFunctionCallRetainer.swift

This file was deleted.

1 change: 0 additions & 1 deletion Sources/SourceGraph/SourceGraphMutatorRunner.swift
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ public final class SourceGraphMutatorRunner {
StringInterpolationAppendInterpolationRetainer.self,
PropertyWrapperRetainer.self,
ResultBuilderRetainer.self,
CapitalSelfFunctionCallRetainer.self,
CodablePropertyRetainer.self,
ExternalOverrideRetainer.self,

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// swift-tools-version:5.9
// swift-tools-version:5.10
import PackageDescription

let package = Package(
Expand Down
2 changes: 1 addition & 1 deletion Tests/Fixtures/Package.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// swift-tools-version:5.9
// swift-tools-version:5.10
import PackageDescription

var targets: [PackageDescription.Target] = [
Expand Down
2 changes: 1 addition & 1 deletion Tests/SPMTests/SPMProject/Package.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// swift-tools-version:5.9
// swift-tools-version:5.10
import PackageDescription

let package = Package(
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// swift-tools-version: 5.9
// swift-tools-version: 5.10
import PackageDescription

let package = Package(
Expand Down
Loading