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

Swift 5.10 #78

Merged
merged 4 commits into from
Mar 9, 2024
Merged

Swift 5.10 #78

merged 4 commits into from
Mar 9, 2024

Conversation

swhitty
Copy link
Owner

@swhitty swhitty commented Mar 9, 2024

Adds support for Swift 5.10 fixing some concurrency warnings.

Enables .enableUpcomingFeature("ExistentialAny")

protocol Logging

A breaking change has been made to protocol Logging which impacts those who have implemented custom loggers. @autoclosure is now used for log messages, these closures are only executed if required.

A new DisabledLogger has been added removing the need for (any Logging)?. The disabled logger does not execute the message closure and therefore is a no-op.

let logger: some Logging = .disabled

@swhitty swhitty merged commit 5c60e1c into main Mar 9, 2024
15 checks passed
@swhitty swhitty deleted the swift-5.10 branch March 9, 2024 02:29
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