Skip to content

Conversation

@aryan-25
Copy link
Contributor

@aryan-25 aryan-25 commented Nov 14, 2025

Motivation:

Swift 5.10 is no longer supported. We should raise the minimum Swift tools version to 6.0, fix consequent build warnings/errors, and remove 5.10 CI jobs.

Modifications:

  • Raised the Swift tools version to 6.0 in both the main swift-certificates package and the Benchmark package.
  • Removed the now redundant StrictConcurrency=complete flag in swift-certificates' Package.swift.
  • Removed 5.10 CI job arguments.
  • Removed 5.10 benchmark thresholds.
  • Added an explicit type annotation to the package-benchmark setup closure to address a build error.
  • Updated VerifierBenchmark to use newer, non-deprecated RFC5280Policy initializers (as a result of Update RFC5280Policy and OCSPVerifierPolicy initializers #276).
  • Updated a test case in Tests/X509Tests/PEMTests.swift to no longer use a deprecated String initializer.

Result:

Code reflects our support window.

Swift 5.10 is no longer supported. We should raise the minimum Swift tools version to 6.0, fix consequent build warnings/errors, and remove 5.10 CI jobs.

Modifications:
- Raised the Swift tools version to 6.0 in both the main swift-certificates package and the Benchmark package.
- Removed the now redundant `StrictConcurrency=complete` flag in `swift-certificates`' `Package.swift`.
- Removed 5.10 CI job arguments.
- Removed 5.10 benchmark thresholds.
- Added an explicit type annotation to the `package-benchmark` setup closure to address a build error.
- Updated `VerifierBenchmark` to use newer, non-deprecated `RFC5280Policy` initializers (as a result of apple#276).

Result:
Code reflects our support window.
@aryan-25 aryan-25 added the 🆕 semver/minor Adds new public API. label Nov 14, 2025
@simonjbeaumont
Copy link
Contributor

This looks like there's some deprecation warnings that are bubbling up as errors.

@aryan-25 aryan-25 merged commit 66a8512 into apple:main Nov 18, 2025
44 checks passed
@aryan-25 aryan-25 deleted the swift-6.0 branch November 18, 2025 14:55
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