If FoundationEssentials is available use it#158
Conversation
Lukasa
left a comment
There was a problem hiding this comment.
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. |
|
Given the official ESG stance on this, we should move to take this change, and we will not consider this a major bump. Resolved merge conflicts, kicking off CI, re-requesting reviews. |
Removed unused import of Dispatch from Metrics.swift
|
@Lukasa I'm going to assume you're ok with us following the ESG conclusion here 🫡 |
Use FoundationEssentials if it is available
Motivation:
Reduce size of any application using swift-metrics on linux