Skip to content

Update availability macros for macOS 15 deployment target #1397

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

Merged
merged 1 commit into from
Jul 1, 2025

Conversation

jmschonfeld
Copy link
Contributor

This PR does the following:

  • Removes all FoundationPredicate/FoundationPredicateRegex availability: since these are always available in the package there is no longer a distinction between these and FoundationPreview so they are no longer needed
  • Replace all FoundationPreview 0.x availability with the "real" availability: all of these versions match OS versions lower than the deployment target of the package (macOS 15) so it does not have any impact on the availability of things within the package
  • Update FoundationSpan to list macOS 26-aligned availability instead of future availability to match the availability of Span types in the standard library

@jmschonfeld jmschonfeld requested review from parkera and itingliu July 1, 2025 17:36
@jmschonfeld
Copy link
Contributor Author

@swift-ci please test

@jmschonfeld jmschonfeld merged commit bca5d3d into swiftlang:main Jul 1, 2025
16 checks passed
@jmschonfeld jmschonfeld deleted the remove-0.x-availability branch July 1, 2025 18:27
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.

3 participants