Skip to content

fix: Pin @opentelemetry/api to 1.9.0 across all SDK packages #19993

Description

@github-actions

Note

The pull request "fix: Pin @opentelemetry/api to 1.9.0 across all SDK packages" was created by @logaretm but did not reference an issue. Therefore this issue was created for better visibility in external tools like Linear.

Summary

  • @opentelemetry/api@1.9.1 was released on Mar 25 and introduced export { Foo, type Bar } syntax (inline type modifiers) in its .d.ts files, which requires TypeScript 4.5+
  • Our SDK packages declare "@opentelemetry/api": "^1.9.0", so users installing Sentry SDKs would transitively resolve to 1.9.1
  • Users with skipLibCheck: false and TypeScript < 4.5 would get type errors from OTel's types
  • This pins @opentelemetry/api to exactly 1.9.0 (no caret) in all 13 affected SDK packages

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions