-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Since v9.17.0, peer dependencies issues have been introduced #16245
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
The road to hell is paved with peerDependencies. |
Hi, thanks for filing this. We're working on this over here: #16246 |
andreiborza
added a commit
that referenced
this issue
May 12, 2025
…tel v1 deps The `@fastify/otel` instrumentation uses OpenTelemetry v2, but for the time being Sentry only supports OpenTelemetry v1. We forked the library at https://github.com/getsentry/fastify-otel/tree/otel-v1 and downgraded its dependencies to OpenTelemetry v1. Resolves: #16245
andreiborza
added a commit
that referenced
this issue
May 12, 2025
…tel v1 deps (#16256) The `@fastify/otel` instrumentation uses OpenTelemetry v2, but for the time being Sentry only supports OpenTelemetry v1. We forked the library at https://github.com/getsentry/fastify-otel/tree/otel-v1 and downgraded its dependencies to OpenTelemetry v1. For the downgrade work in the fork see: getsentry/fastify-otel@7893f70 **Note**: This also bumps the instrumentation from `0.6.0` to `0.8.0`. Resolves: #16245 --------- Co-authored-by: Francesco Gringl-Novy <francesco.novy@sentry.io>
A PR closing this issue has just been released 🚀This issue was referenced by PR #16256, which was included in the 9.18.0 release. |
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
Is there an existing issue for this?
How do you use Sentry?
Sentry Saas (sentry.io)
Which SDK are you using?
@sentry/nextjs
SDK Version
9.17.0
Framework Version
Next 15.3.2
Link to Sentry event
No response
Reproduction Example/SDK Setup
No response
Steps to Reproduce
This issue is more likely to appear in monorepos as I found, but basically since the introduction of
@fastify/otel
, it clashes with@sentry/opentelemetry
, both of them wanting different versions of@opentelemetry
packages :Expected Result
There should be no peer dependencies issues
Actual Result
The text was updated successfully, but these errors were encountered: