-
Notifications
You must be signed in to change notification settings - Fork 16
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
requiring Sendable from Baggage is source breaking #22
Comments
Thanks for opening the issue, @weissi! 👍 I hit this breaking change in "OpenTelemetry Swift", but am updating now to account for
Agreed, I think it's okay to break while were in the pre-SemVer stage to move more quickly. |
Sure, it's okay by the rules but breakage between 0.2.1 and 0.2.2 is still not acceptable I think. Usually, people depend on 0.x packages with
|
Ah, I thought it was a minor bump. In that case, I agree with your plan to move the change to a |
No reason to panic. We don't need to release a revert. Let's calmly think this through first |
Heh ok I read the reasoning now, ok sure we can do that. Tho that's strictly stronger guarantees than semver ever does 😉 happy with the proposed plan. I will think more how this would have had to be handled in a stable package so we can document it |
Doing the reverts now and I'll talk with concurrency folks how such change could be possible if a module were stable -- I guess this honestly means that users would use it with "@preconcurrency" and by itself is not a breaking change then 🤔 |
Tho to be honest the actual solution is Hope that works @weissi |
If users have to do anything, then it’s a breaking change. Not sure how that’s best expressed in the source language that this should only be Sendable if the client is using a Swift language version that’s new enough. |
This commit required that types confirming to
BaggageKey
are nowSendable
on Swift 5.5+.That change obviously makes sense but unfortunately, it's source breaking...
That's fine by SemVer (because this package is version 0.x) but probably still an issue.
The text was updated successfully, but these errors were encountered: