Skip to content

Update the Swift tools version to 6.1 #1268

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

d-ronnqvist
Copy link
Contributor

Bug/issue #, if applicable:

Summary

This updated the Swift tools versions for DocC to 6.1 while continuing to use the Swift 5 language mode.
This change is only intended for main, meaning that the first release it applies to is the 6.3 release.

This PR explicitly doesn't start adopting any Swift 6.x features. It simply exists to enable future adopting of Swift 6.x features gradually and incrementally in their own dedicated PRs.

Updating the platforms to macOS 13/iOS 16 (from 2022) provides access to a wide range of Regex API. It's possible that we'll want to bump this again during this release, but for now this more careful bump shouldn't be too disruptive to contributors.

At this time, this update only applies to DocC itself, not SymbolKit or Swift Markdown.

Dependencies

None.

Testing

Nothing in particular. This isn't a user-facing change.

Checklist

Make sure you check off the following items. If they cannot be completed, provide a reason.

  • [ ] Added tests
  • Ran the ./bin/test script and it succeeded
  • [ ] Updated documentation if necessary

This is only intended for main, meaning that the first release it applies to is the 6.3 release.
Updating the platforms to macOS 13/iOS 16 provides access to a wide range of Regex API.
@d-ronnqvist
Copy link
Contributor Author

I made this Swift Forums post on behalf of the team to let the community know of our intention to bump this swift-tools-version and these platform versions.

@d-ronnqvist d-ronnqvist marked this pull request as ready for review August 14, 2025 11:19
@d-ronnqvist
Copy link
Contributor Author

@swift-ci please test

@d-ronnqvist
Copy link
Contributor Author

Looks like the macOS CI is pinned to an older Swift version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant