Skip to content

Drop macOS requirement to 10.15 with availability annotations #38

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

stackotter
Copy link

This pull request drops the required macOS version to 10.15 and the required Swift version to 5.9 by introducing availability annotations and some alternative implementations for localisation-related code.

I believe that this is worth the effort because ErrorKit is a widely useful package that could become quite a core dependency within the Swift ecosystem, and requiring macOS 13 limits adoption of not just ErrorKit, but any package looking to depend on ErrorKit.

I've focused on macOS in this PR, but I believe that dropping the other deployment targets wouldn't require much extra effort. The only reason I didn't drop them was because I didn't have a simple way to test those changes at the time and I didn't need to for my own project.

If you'd like me to update this PR to drop the requirements for the other Apple platforms as well let me know and I'll happily do so.

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