-
Notifications
You must be signed in to change notification settings - Fork 821
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
chore: release proposal v1.0.1 / v0.27.0 #2611
Conversation
I see some mixed versions sometimes it is "1.0.0" sometimes "~1.0.0" imho all stable packages (core, @opentelemetry/sdk-trace-base, etc.) we should pin to I think we should simply replace it |
We used to have it like that but we decided to go to pinned versions to allow users to pin if they wanted. If we do This way, it is up to users to decide if they want pinned, A few example scenarios:
When we release 1.0.2 of our packages, the user does not get any package changes because they have pinned. If we used
When we release 1.0.2, the user gets the new tracing package, which also has updated dependencies so they get 1.0.2 of all the packages they have installed.
When we release 1.1.0, the user gets the new tracing package, which also has updated dependencies so they get 1.1.0 of all the packages they have installed. |
Here is the original issue for that #2065 |
The build fails because the experimental dependencies now point to the unreleased stable deps. When I release, I will release the stable packages then I will run the tests again to make sure they pass before releasing the experimental. @obecny @vmarchaud sound ok to you? |
lgtm @dyladan |
@dyladan is the consequence of using pinned version for stable versions of our sdk "1.0.0" instead of "~1.0.0"
I suspect there will be more errors like this sooner or later |
I have noticed the same incompatibility between packages. Could |
Could you expand on this ? Most breaking changes are for metrics so you shouldn't have issues with contrib i believe
We already discussed this in the past and its quite hard to have them done at the same time (and even harder automatically) |
@vmarchaud I have created a repro: https://github.com/tonivj5/otel-deps-issue You should see these errors with instrumentations and node-sdk (see on vscode or running While doing the repro, and following https://github.com/open-telemetry/opentelemetry-js#compatibility-matrix I suppose it's expected. I think no problem then 😅 |
@tonivj5 could you try replacing |
@vmarchaud My bad 😆, the packages are @opentelemetry/exporter-trace-otlp-grpc & @opentelemetry/exporter-trace-otlp-http Anyway, I think it was my bad, https://github.com/open-telemetry/opentelemetry-js#compatibility-matrix says explicit that packages at 0.26 are incompatbile with 0.27: node-sdk's version is 0.27, nest/express instrumentation's version is 0.26 |
Alternative of #2609 which releases both stable and experimental
💥 Breaking Change
opentelemetry-core
🚀 (Enhancement)
opentelemetry-core
opentelemetry-semantic-conventions
opentelemetry-core
,opentelemetry-sdk-trace-base
🐛 (Bug Fix)
opentelemetry-core
opentelemetry-exporter-zipkin
📚 (Refine Doc)
opentelemetry-core
🏠 (Internal)
opentelemetry-sdk-trace-base
,opentelemetry-sdk-trace-node
,opentelemetry-sdk-trace-web
opentelemetry-context-async-hooks
,opentelemetry-context-zone-peer-dep
,opentelemetry-core
,opentelemetry-exporter-jaeger
,opentelemetry-exporter-zipkin
,opentelemetry-propagator-b3
,opentelemetry-propagator-jaeger
,opentelemetry-resources
,opentelemetry-sdk-trace-base
,opentelemetry-sdk-trace-node
,opentelemetry-sdk-trace-web
,opentelemetry-shim-opentracing
opentelemetry-core
Committers: 23