Skip to content
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

Update for Swift 5.10 and strict concurrency #127

Merged
merged 7 commits into from
Apr 9, 2024

Conversation

ameter
Copy link
Contributor

@ameter ameter commented Mar 27, 2024

Updates the template for Swift 5.10

This is an extension of work by @gwynne in #125.

@ameter ameter requested review from 0xTim and gwynne as code owners March 27, 2024 21:12
Comment on lines -33 to -37
// Workaround for https://github.com/apple/swift-package-manager/issues/6940
.product(name: "Vapor", package: "vapor"),{{#fluent}}
.product(name: "Fluent", package: "Fluent"),
.product(name: "Fluent{{fluent.db.module}}Driver", package: "fluent-{{fluent.db.url}}-driver"),{{/fluent}}{{#leaf}}
.product(name: "Leaf", package: "leaf"),{{/leaf}}
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I tested this on Ubuntu with swift build --build-tests and confirmed that the workaround was required with swift 5.9.0 and 5.9.1, but has been fixed and is no longer needed in 5.9.2 and 5.10.0.

Copy link
Member

@0xTim 0xTim left a comment

Choose a reason for hiding this comment

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

Thanks!

@0xTim 0xTim enabled auto-merge (squash) April 9, 2024 15:21
@0xTim 0xTim disabled auto-merge April 9, 2024 15:40
@0xTim 0xTim merged commit 0720a2f into vapor:main Apr 9, 2024
11 checks passed
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