Skip to content

[Snyk] Upgrade @opentelemetry/exporter-logs-otlp-http from 0.209.0 to 0.213.0#3063

Open
Mpdreamz wants to merge 1 commit intomainfrom
snyk-upgrade-dd720eea1ee6b03c54db98708c413450
Open

[Snyk] Upgrade @opentelemetry/exporter-logs-otlp-http from 0.209.0 to 0.213.0#3063
Mpdreamz wants to merge 1 commit intomainfrom
snyk-upgrade-dd720eea1ee6b03c54db98708c413450

Conversation

@Mpdreamz
Copy link
Copy Markdown
Member

@Mpdreamz Mpdreamz commented Apr 9, 2026

snyk-top-banner

Snyk has created this PR to upgrade @opentelemetry/exporter-logs-otlp-http from 0.209.0 to 0.213.0.

ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.


  • The recommended version is 4 versions ahead of your current version.

  • The recommended version was released a month ago.

Breaking Change Risk

Merge Risk: High

Notice: This assessment is enhanced by AI.

Release notes
Package name: @opentelemetry/exporter-logs-otlp-http
  • 0.213.0 - 2026-03-03

    0.213.0

    💥 Breaking Changes

    • fix(api-logs)!: drop lingering includeTraceContext from LoggerOptions type #6451 @ trentm

    🚀 Features

    • feat(instrumentation-http): provide http.request.header.<key> at server span creation time #6396 @ vitorvasc

    🐛 Bug Fixes

    • fix(instrumentation-http): guard against double-instrumentation if loaded with require('http') and import 'http' #6428 @ trentm
    • fix(otlp-exporter-base): handle response error #6412 @ pichlermarc
      • Fixes a bug where when the response header was received, but the connection was reset by the server,
        an unhandled error would be thrown.
    • fix(otlp-exporter-base): remove sendBeacon in favor of fetch with keepalive #6391 @ overbalance
      • (user-facing) createOtlpSendBeaconExportDelegate will be removed in a future version
    • fix(otlp-transformer): downgrade protobufjs to version ^7.0.0 #6418 @ vitorvasc
    • fix(instrumentation-fetch): handle HeadersInit tuple arrays in _addHeaders #6341 @ overbalance @ imadha
  • 0.212.0 - 2026-02-12

    0.212.0

    💥 Breaking Changes

    • feat(sdk-logs)!: move environment variable configuration to @ opentelemetry/sdk-node #6325 @ pichlermarc
      • (user-facing): environment variable configuration is no longer applied automatically when instantiating SDK components
        (LoggerProvider, BatchLogRecordProcessor) directly from @ opentelemetry/sdk-logs. Please migrate to using
        NodeSDK from @ opentelemetry/sdk-node to get automatic environment variable configuration.

    🚀 Features

    • feat(configuration): add Prometheus exporter support #6400 @ MikeGoldsmith
    • feat(sampler-composite): add ComposableAnnotatingSampler and ComposableRuleBasedSampler #6305 @ trentm
    • feat(configuration): parse config for rc 3 #6304 @ maryliag
    • feat(instrumentation): use the internals: true option with import-in-the-middle hook, allowing instrumentations to hook internal files in ES modules #6344 @ trentm

    🐛 Bug Fixes

    • fix(configuration): remove default propagator initialization #6399 @ MikeGoldsmith
    • fix(instrumentation-fetch): preserve Response.url, type, and redirected properties #6243 @ AnubhavPurohit691
      • The fetch instrumentation now preserves the read-only url, type, and redirected properties from the original Response object when wrapping it with a Proxy. This fixes issues where code relying on these properties (e.g., CORS type detection) would fail with instrumented fetch.
    • fix(exporter-prometheus): add missing @ opentelemetry/semantic-conventions dependency #6330 @ omizha
    • fix(otlp-transformer): correctly handle Uint8Array attribute values when serializing to JSON #6348 @ pichlermarc
    • fix(otlp-exporter-base): fix unwanted instrumentation of the fetch exports when context is not propagated #6353 @ david-luna

    🏠 Internal

  • 0.211.0 - 2026-01-21

    0.211.0

    💥 Breaking Changes

    • fix(otlp-exporter-base)!: remove xhr transport #6317 @ cjihrig
      • (user-facing) The deprecated XHR-based transport has been removed and replaced with fetch(). This change affects users who relied on XmlHttpRequest instead of fetch() for sending headers with OTLP exports. To maintain compatibility on browsers without a fetch() implementation, include a fetch() polyfill.
    • chore(api-logs)!: remove ProxyLoggerProvider export #6322 @ david-luna

    🚀 Features

    • feat(sdk-logs): export event name from ConsoleLogRecordExporter #6310 @ aicest

    🐛 Bug Fixes

    🏠 Internal

  • 0.210.0 - 2026-01-14
  • 0.209.0 - 2026-01-08
from @opentelemetry/exporter-logs-otlp-http GitHub release notes

Important

  • Check the changes in this PR to ensure they won't cause issues with your project.
  • This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.

For more information:

….213.0

Snyk has created this PR to upgrade @opentelemetry/exporter-logs-otlp-http from 0.209.0 to 0.213.0.

See this package in npm:
@opentelemetry/exporter-logs-otlp-http

See this project in Snyk:
https://app.snyk.io/org/docs-wmk/project/69782e43-c85b-4c27-afd1-ad863be7a38a?utm_source=github&utm_medium=referral&page=upgrade-pr
@Mpdreamz
Copy link
Copy Markdown
Member Author

Mpdreamz commented Apr 9, 2026

Merge Risk: High

This is a minor update for an experimental package, but it includes a breaking change in the associated @opentelemetry/api-logs package within the same release cycle.

Breaking Change:

  • The includeTraceContext option has been removed from LoggerOptions in the @opentelemetry/api-logs package. If your application was using this option when configuring a logger, it must be removed.

Other Notable Changes:

  • Transport Mechanism: In browser environments, the underlying transport mechanism has been changed from sendBeacon to fetch() with the keepalive flag. This is a behavioral change intended to improve reliability.
  • Error Handling: A bug was fixed in the base OTLP exporter to better handle response errors when the server resets a connection.

Recommendation:
Review any LoggerOptions configurations in your code and remove the includeTraceContext property if it is present. Given the experimental nature of the package and the documented breaking change, thorough testing is advised.

Source: OpenTelemetry-JS Experimental Changelog

Notice 🤖: This content was augmented using artificial intelligence. AI-generated content may contain errors and should be reviewed for accuracy before use.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants