Skip to content

Raise minimum supported Swift version from 5.4 to 5.5 #27

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
Sep 28, 2022

Conversation

glbrntt
Copy link
Contributor

@glbrntt glbrntt commented Sep 28, 2022

Motivation:

We periodically drop support for older Swift versions. Now that 5.7 has been released, 5.4 can be dropped.

Modifications:

  • Remove 5.4 specific Package.swift and docker-compose
  • Update the 5.7 docker-compose to use the released 5.7 and move from focal (2004) to jammy (2204)

Results:

Minimum Swift version is 5.5

@glbrntt glbrntt requested a review from Lukasa September 28, 2022 08:17
@glbrntt glbrntt added the 🆕 semver/minor Adds new public API. label Sep 28, 2022
image: swift-http-structured-headers:22.04-5.7
build:
args:
base_image: "swift:5.7-jammy"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we're supposed to use the ubuntu_version/swift_version split, not base_image.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah okay, I just modified the existing 5.7 yaml. Looks like all the others use ubuntu_version/swift_version though.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is base_image just used for nightlies?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes.

Motivation:

We periodically drop support for older Swift versions. Now that
5.7 has been released, 5.4 can be dropped.

Modifications:

- Remove 5.4 specific Package.swift and docker-compose
- Update the 5.7 docker-compose to use the released 5.7 and move from
  focal (2004) to jammy (2204)

Results:

Minimum Swift version is 5.5
@yim-lee
Copy link
Member

yim-lee commented Sep 28, 2022

CI updated. @swift-server-bot test this please

@glbrntt glbrntt merged commit 521f041 into apple:main Sep 28, 2022
@glbrntt glbrntt deleted the gb-add-5.7 branch September 28, 2022 16:17
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