Skip to content

Drop Swift 5 support, update toolchain to 6.0#59

Merged
kukushechkin merged 3 commits intoapple:mainfrom
kukushechkin:drop-swift-5-support
Nov 3, 2025
Merged

Drop Swift 5 support, update toolchain to 6.0#59
kukushechkin merged 3 commits intoapple:mainfrom
kukushechkin:drop-swift-5-support

Conversation

@kukushechkin
Copy link
Copy Markdown
Contributor

@kukushechkin kukushechkin commented Oct 30, 2025

Make Swift 6.0 the minimum support version.

Motivation:

swift-metrics-extras supports 3 latest Swift releases, which is at this point 6.0, 6.1 and 6.2. Swift 5 is no longer supported.

Modifications:

  • Package.swift swift tools
  • CI configs
  • Set package .swiftLanguageMode to v5 as a migration to Swift 6 workaround

Result:

Swift 5 is no longer supported.

@kukushechkin kukushechkin added 🆕 semver/minor Adds new public API. 🔨 semver/patch No public API change. and removed 🔨 semver/patch No public API change. labels Oct 30, 2025
@kukushechkin kukushechkin marked this pull request as draft October 30, 2025 18:49
@kukushechkin kukushechkin force-pushed the drop-swift-5-support branch 2 times, most recently from f09775a to cebe45e Compare October 30, 2025 20:47
Comment thread Sources/SystemMetrics/SystemMetrics.swift
@kukushechkin kukushechkin marked this pull request as ready for review October 30, 2025 21:05
@kukushechkin
Copy link
Copy Markdown
Contributor Author

@czechboy0 needs a similar change for the expected jobs list

Comment thread Sources/SystemMetrics/SystemMetrics.swift Outdated
@czechboy0
Copy link
Copy Markdown
Contributor

@czechboy0 needs a similar change for the expected jobs list

Fixed

@kukushechkin kukushechkin changed the title Drop swift 5 support Drop Swift 5 support, update toolchain to 6.0 Nov 3, 2025
@kukushechkin kukushechkin enabled auto-merge (squash) November 3, 2025 13:18
@kukushechkin kukushechkin merged commit a506777 into apple:main Nov 3, 2025
27 checks passed
@kukushechkin kukushechkin deleted the drop-swift-5-support branch November 3, 2025 13:56
This was referenced Nov 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🆕 semver/minor Adds new public API.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants