-
Notifications
You must be signed in to change notification settings - Fork 68
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
If FoundationEssentials is available use it #158
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As noted in other repos, this is a semver major change, so we’ll need to work out how to stage this in.
Is this a breaking change? It was a breaking change in |
Yes, it's a breaking change. Reproducing my comment from swift-crypto:
|
pfff |
Yeah :( I wonder if we could get away with it, though. Today, most apps (knowingly or unknowingly) anyhow somehow |
There's a certain "if a tree falls in the forest and no-one is around to hear it" quality to this argument. It's true that whether a change is source-breaking is a function of whether anyone is actually using the API. The wrinkle is that it's very hard for us to validate that they aren't. My bias is strongly against taking that risk, usually. In the case of metrics in particular, there are good reasons to think that we may want to modernise the API. We could do these two things at once, put the more modern API in a new module and deprecate the old interface. This will cause a natural community migration away from the deprecated API and toward a new one, while avoiding a source break. |
Use FoundationEssentials if it is available
Motivation:
Reduce size of any application using swift-metrics on linux