Open epinault opened 1 year ago
What SDK version are you using?
what do you mean by SDK? what the package you are looking for?
opentelemetry
Same here. opentelemetry
version is 1.2.1
Pls try opentelemetry
1.3.1
it works with that version of opentelemetry 👍
same here, works with 1.3.1. Problem is tooling like Dependabot had 2 package changes so seems that it caused the problem .Once I upgraded the 1.3.1 and rebased the other one , it was all good
For context. Updating both does fix the issue, but it's tricky with automation tools like dependabot, unfortunately.
@tsloughter if possible, maybe a good move is to retire the API 1.2.2 and introduce a new version which forces minimal version on the SDK. That should help, I assume.
The API doesn't and can't depend on the SDK.
Would it have worked out if I had properly bumped the version numbers as minors instead of patches?
Not that it would have forced the SDK upgrade to be included but it maybe would have been handled different by tooling?
The API doesn't and can't depend on the SDK.
Right, I completely forgot about that!
Would it have worked out if I had properly bumped the version numbers as minors instead of patches?
I think everyone just assumes the library is 100% semver, which in here wasn't the case. So minor bump would not help :/
Yea. "semver". Definitely want to follow it as much as possible, and believe the Otel project requires it, but mistakes are made.
We keep backwards compatible functionality throughout the API to follow semver, the issue with my thinking here was that it is a call I thought of as only the API made to the SDK and not by users, so it wouldn't be noticed. But that doesn't work in this situation where the API doesn't actually depend on the SDK so it can't define a version constraint :)
The function that actually calls this code, start_tracer_provider
was deprecated instead of removed for this very semver reason but apparently I failed at actually keeping it backwards compatible, haha.
Sorry about the issue, clearly need some testing setup that will verify the new API works with older SDKs.
no worries . it s all fixed up for now for us. And yea dependabot can be tricky sometime for some packag
and hello @andrewhr :)
I am trying to apply a patch but my build get this error
what changed that could cause this? 1.2.1 worked fine. So something underlying is breaking now this is with Elixir 1.14 and OTP 25