Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Move to Swift 5.9 as the minimum version #26

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
czechboy0 merged 3 commits into swift-server:main from czechboy0:hd-5.9-bump
Nov 27, 2023

Conversation

Copy link
Collaborator

@czechboy0 czechboy0 commented Nov 27, 2023

Motivation

Part of addressing apple/swift-openapi-generator#75 and apple/swift-openapi-generator#119.

Modifications

Bumped Swift tools version to 5.9 and made the ExistentialAny build setting unconditional.

Result

Building the package requires 5.9 now.

Test Plan

Ran tests, all passed when using a Swift 5.9 toolchain.

@czechboy0 czechboy0 marked this pull request as ready for review November 27, 2023 15:17
@czechboy0 czechboy0 merged commit 8c6cc59 into swift-server:main Nov 27, 2023
@czechboy0 czechboy0 deleted the hd-5.9-bump branch November 27, 2023 15:19
simonjbeaumont added a commit that referenced this pull request Nov 27, 2023
### Motivation
In #26 we bumped the minimum tools version to Swift 5.9, but we left the
`#if swift(>5.9)` compiler directive when enabling existential any by
default.
### Modifications
Remove #if swift(>=5.9) check in Package.swift
### Result
No checking for Swift 5.9+, because that's now the default.
### Test Plan
CI.
@czechboy0 czechboy0 added the ⚠️ semver/major Breaks existing public API. label Nov 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
⚠️ semver/major Breaks existing public API.
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

1 participant

AltStyle によって変換されたページ (->オリジナル) /