Skip to content
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

[Snyk] Upgrade @opentelemetry/sdk-node from 0.41.2 to 0.50.0 #136

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

s-laugh
Copy link
Member

@s-laugh s-laugh commented May 1, 2024

This PR was automatically created by Snyk using the credentials of a real user.


Snyk has created this PR to upgrade @opentelemetry/sdk-node from 0.41.2 to 0.50.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 11 versions ahead of your current version.
  • The recommended version was released a month ago, on 2024-04-03.
Release notes
Package name: @opentelemetry/sdk-node
  • 0.50.0 - 2024-04-03

    0.50.0

    💥 Breaking Change

    • fix(exporter-*-otlp-grpc)!: lazy load gRPC to improve compatibility with @ opentelemetry/instrumenation-grpc #4432 @ pichlermarc
      • Fixes a bug where requiring the gRPC exporter before enabling the instrumentation from @ opentelemetry/instrumentation-grpc would lead to missing telemetry
      • Breaking changes, removes several functions and properties that were used internally and were not intended for end-users
        • getServiceClientType()
          • this returned a static enum value that would denote the export type (SPAN, METRICS, LOGS)
        • getServiceProtoPath()
          • this returned a static enum value that would correspond to the gRPC service path
        • metadata
          • was used internally to access metadata, but as a side effect allowed end-users to modify metadata on runtime.
        • serviceClient
          • was used internally to keep track of the service client used by the exporter, as a side effect it allowed end-users to modify the gRPC service client that was used
        • compression
          • was used internally to keep track of the compression to use but was unintentionally exposed to the users. It allowed to read and write the value, writing, however, would have no effect.
    • feat(api-events)!: removed domain from the Events API #4569 @ martinkuba
    • fix(api-events)!: renamed EventEmitter to EventLogger in the Events API #4569 @ martinkuba
    • feat(api-logs)!: changed LogRecord body data type to AnyValue and AnyValueMap types #4575 @ martinkuba

    🚀 (Enhancement)

    🐛 (Bug Fix)

    • fix(exporter--otlp-): use parseHeaders() to ensure header-values are not 'undefined' #4540
      • Fixes a bug where passing undefined as a header value would crash the end-user app after the export timeout elapsed.
    • fix(sdk-logs): ensure default resource attributes are used as fallbacks when a resource is passed to LoggerProvider.

    📚 (Refine Doc)

    • docs(instrumentation-http): document semantic conventions and attributes in use. #4587 @ JamieDanielson
  • 0.49.1 - 2024-02-29

    0.49.1

    🐛 (Bug Fix)

    • fix(instrumentation): don't add @ opentelemetry/api-logs as a peerDependency #4515 @ pichlermarc
  • 0.49.0 - 2024-02-29

    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
  • 0.48.0 - 2024-01-26

    0.48.0

    💥 Breaking Change

    • fix(instrumentation)!: pin [email protected] #4441
      • Fixes a bug where, in some circumstances, ESM instrumentation packages would try to instrument CJS exports on ESM, causing the end-user application to crash.
      • This breaking change only affects users that are using the experimental @ opentelemetry/instrumentation/hook.mjs loader hook AND Node.js 18.19 or later:
        • This reverts back to an older version of import-in-the-middle due to DataDog/import-in-the-middle#57
        • This version does not support Node.js 18.19 or later

    🐛 (Bug Fix)

    • fix(exporter-prometheus): avoid invoking callback synchronously #4431 @ legendecas
    • fix(exporter-logs-otlp-grpc): set User-Agent header #4398 @ Vunovati
    • fix(exporter-logs-otlp-http): set User-Agent header #4398 @ Vunovati
    • fix(exporter-logs-otlp-proto): set User-Agent header #4398 @ Vunovati
    • fix(instrumentation-fetch): compatibility with Map types for fetch headers

    🏠 (Internal)

  • 0.47.0 - 2024-01-15
  • 0.46.0 - 2023-12-14
  • 0.45.1 - 2023-11-08
  • 0.45.0 - 2023-11-07
  • 0.44.0 - 2023-10-10
  • 0.43.0 - 2023-09-12
  • 0.42.0 - 2023-09-11
  • 0.41.2 - 2023-08-08
from @opentelemetry/sdk-node GitHub release notes
Commit messages
Package name: @opentelemetry/sdk-node
  • 5231aa2 chore: prepare release 1.23.0/0.50.0 (#4601)
  • 928796d feat(sdk-metrics): added synchronous gauge to SDK (#4565)
  • d66e1d7 Add `data` field to the Event interface (#4575)
  • f3aedb7 chore(deps): bump express from 4.17.3 to 4.19.2 (#4591)
  • b418d36 perf(instrumentation-http): remove obvious temp allocations (#4576)
  • 9a5688e chore(deps): update dependency chromedriver to v123 (#4577)
  • 1a0fb4f docs(instr-http): document semantic conventions and attributes in use (#4587)
  • 900b7d8 feat(opentelemetry-instrumentation-xhr): optionally ignore network events (#4571)
  • f6a075b Rename EventEmitter to EventLogger in the Events API (#4568)
  • 97af8e6 feat(sdk-node): add `HostDetector` as default resource detector (#4566)
  • fec6286 Remove domain from the Events API (#4569)
  • 5fb65b4 perf(export): do not allocate arrays if resource has no pending async attributes (#4550)
  • f9a0d3e refactor(instr-http): use exported strings for semconv (#4573)
  • 6547440 fix(sdk-logs): ensure default resource attributes are used as fallbacks when a resource is passed to LoggerProvider (#4564)
  • 5489797 chore(changelog): move entry that accidentally ended up in a previous version (#4559)
  • aabd1a9 SBOM workflow using "npm sbom" (#4521)
  • 3a426e8 fix(exporters): use parseHeaders() to ensure header-values are not 'undefined' (#4540)
  • 1b4999f docs: spelling corrections (#4530)
  • 7fa2c84 chore(deps-dev): bump ip from 1.1.8 to 1.1.9 (#4495)
  • 63d74cd chore(renovate): remove import-in-the-middle from all-patch group (#4513)
  • 5a033e5 fix(exporter-*-otlp-grpc)!: lazy load gRPC (#4432)
  • 75bd723 fix: ConsoleMetricExporter Should Not Export Shallowly (#4522)
  • 3920b15 chore: prepare release Experimental 0.49.1 (#4517)
  • 8e1996e fix(instrumentation): remove peer-dependency on @ opentelemetry/api-logs (#4515)

Compare


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:

🧐 View latest project report

🛠 Adjust upgrade PR settings

🔕 Ignore this dependency or unsubscribe from future upgrade PRs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants