Skip to content

Experimental v0.49.0

Compare
Choose a tag to compare
@pichlermarc pichlermarc released this 29 Feb 09:18
· 228 commits to main since this release
7be35c7

0.49.0

💥 Breaking Change

  • fix(otlp-exporter-base)!: remove unload event from OTLPExporterBrowserBase #4438 @eldavojohn
    • Reason: The 'unload' event prevents sites from taking advantage of Google's backward/forward cache and will be deprecated. It is now up to the consuming site to implement these shutdown events.
    • This breaking change affects users under this scenario:
      1. A user extends the exporter and overrides the shutdown function, and does something which is usually called by the unload listener
      2. We remove the unload event listener
      3. That user's overridden shutdown function no longer gets called

🚀 (Enhancement)

  • feat(instrumentation): allow LoggerProvider to be specified in Instrumentations #4314 @hectorhdzg
  • feat(instrumentation): add getModuleDefinitions() to InstrumentationBase #4475 @pichlermarc
  • feat(exporter-metrics-otlp-http): add option to set the exporter aggregation preference #4409 @AkselAllas
  • feat(node-sdk): add spanProcessors option #4454 @naseemkullah

🐛 (Bug Fix)

  • fix(sdk-node): allow using samplers when the exporter is defined in the environment #4394 @JacksonWeber
  • fix(instrumentation): normalize paths for internal files in scoped packages #4467 @pichlermarc
    • Fixes a bug where, on Windows, internal files on scoped packages would not be instrumented.
  • fix(otlp-transformer): only use BigInt inside hrTimeToNanos() #4484 @pichlermarc
  • fix(instrumentation-fetch): do not enable in Node.js; clarify in docs this instr is for web fetch only #4498 @trentm