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

chore: prepare next release #5068

Merged

Conversation

opentelemetrybot
Copy link
Contributor

@opentelemetrybot opentelemetrybot commented Oct 14, 2024

1.27.0

🚀 (Enhancement)

  • feat: add processors for adding session.id attribute to spans and logs #4972

🐛 (Bug Fix)

🏠 (Internal)

  • deps: set @opentelemetry/api dependency min version to 1.3.0 in examples, experimental/packages, integration-tests and selenium-tests
    #4992
  • refactor(sdk-metrics): replace MetricsAttributes with Attributes #5021 @david-luna
  • refactor(instrumentation-http): replace SpanAttributes and MetricsAttributes with Attributes #5023 @david-luna
  • chore(exporter-zipkin): remove usages of Span constructor #5030 @david-luna
  • test(instrumentation-http): remove usages of new Span in tests #5035 @david-luna

0.54.0

💥 Breaking Change

  • feat(exporter--otlp-)!: rewrite exporter config logic for testability #4971 @pichlermarc
    • (user-facing) getDefaultUrl was intended for internal use has been removed from all exporters
    • (user-facing) getUrlFromConfig was intended for internal use and has been removed from all exporters
    • (user-facing) hostname was intended for internal use and has been removed from all exporters
    • (user-facing) url was intended for internal use and has been removed from all exporters
    • (user-facing) timeoutMillis was intended for internal use and has been removed from all exporters
    • (user-facing) onInit was intended for internal use and has been removed from all exporters
  • feat(otlp-exporter-base)!: do not export functions that are intended for internal use #4971 @pichlermarc
    • Drops the following functions and types that were intended for internal use from the package exports:
      • parseHeaders
      • appendResourcePathToUrl
      • appendResourcePathToUrlIfNeeded
      • configureExporterTimeout
      • invalidTimeout
  • feat(instrumentation-http)!: remove long deprecated options #5085 @pichlermarc
    • ignoreIncomingPaths has been removed, use the more versatile ignoreIncomingRequestHook instead.
    • ignoreOutgoingUrls has been removed, use the more versatile ignoreOutgoingRequestHook instead.
    • isIgnored utility function was intended for internal use and has been removed without replacement.

🚀 (Enhancement)

  • feat(api-logs): Add delegating no-op logger provider #4861 @hectorhdzg
  • feat(instrumentation-http): Add support for Semantic Conventions 1.27+ #4940 #4978 #5026 @dyladan
    • Applies to client and server spans and metrics
    • Generate spans and metrics compliant with Semantic Conventions 1.27+ when OTEL_SEMCONV_STABILITY_OPT_IN contains http or http/dup
    • Generate spans and metrics backwards compatible with previous attributes when OTEL_SEMCONV_STABILITY_OPT_IN contains http/dup or DOES NOT contain http

🐛 (Bug Fix)

  • fix(sampler-jaeger-remote): fixes an issue where package could emit unhandled promise rejections @Just-Sieb
  • fix(otlp-grpc-exporter-base): default compression to 'none' if env vars OTEL_EXPORTER_OTLP_TRACES_COMPRESSION and OTEL_EXPORTER_OTLP_COMPRESSION are falsy @sjvans
  • fix(sdk-events): remove devDependencies to old @opentelemetry/[email protected], @opentelemetry/[email protected] packages #5013 @pichlermarc
  • fix(sdk-logs): remove devDependencies to old @opentelemetry/[email protected] #5013 @pichlermarc
  • fix(sdk-logs): align LogRecord#setAttribute type with types from @opentelemetry/[email protected] #5013 @pichlermarc
  • fix(exporter--otlp-): fixes a bug where signal-specific environment variables would not be applied and the trace-specific one was used instead #4971 @pichlermarc
    • Fixes:
      • OTEL_EXPORTER_OTLP_METRICS_COMPRESSION
      • OTEL_EXPORTER_OTLP_LOGS_COMPRESSION
      • OTEL_EXPORTER_OTLP_METRICS_CLIENT_CERTIFICATE
      • OTEL_EXPORTER_OTLP_LOGS_CLIENT_CERTIFICATE
      • OTEL_EXPORTER_OTLP_METRICS_CLIENT_KEY
      • OTEL_EXPORTER_OTLP_LOGS_CLIENT_KEY
      • OTEL_EXPORTER_OTLP_METRICS_INSECURE
      • OTEL_EXPORTER_OTLP_LOGS_INSECURE
  • fix(sdk-node): use warn instead of error on unknown OTEL_NODE_RESOURCE_DETECTORS values #5034
  • fix(exporter-logs-otlp-proto): Use correct config type in Node constructor
  • fix(instrumentation-http): Fix instrumentation of http.get, http.request, https.get, and https.request when used from ESM code and imported via the import defaultExport from 'http' style. #5024 @trentm

🏠 (Internal)

  • refactor(exporter-prometheus): replace MetricAttributes and MetricAttributeValues with Attributes and AttributeValues #4993

  • refactor(browser-detector): replace ResourceAttributes with Attributes #5004

  • refactor(sdk-logs): replace ResourceAttributes with Attributes #5005 @david-luna

@pichlermarc
Copy link
Member

pichlermarc commented Oct 14, 2024

Looks like I wrote some not-very-robust assertions in the OTLP exporter tests. I'll follow up with a PR to fix this so we can release.

@pichlermarc
Copy link
Member

pichlermarc commented Oct 14, 2024

#5068 will fix the failing tests here. :)
And also the changelog entries that I put in the wrong spot.

Copy link

codecov bot commented Oct 15, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 93.17%. Comparing base (6fee82d) to head (8ab1f95).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #5068      +/-   ##
==========================================
- Coverage   93.18%   93.17%   -0.02%     
==========================================
  Files         315      315              
  Lines        8086     8086              
  Branches     1617     1617              
==========================================
- Hits         7535     7534       -1     
- Misses        551      552       +1     

see 1 file with indirect coverage changes

@pichlermarc
Copy link
Member

Huh, looks like the W3C integration test setup is failing. I'll look into it.

@pichlermarc
Copy link
Member

PR to fix the trace context integration test:
#5071

@opentelemetrybot opentelemetrybot force-pushed the release/next-version branch 2 times, most recently from 555e915 to 45be429 Compare October 17, 2024 09:33
@pichlermarc
Copy link
Member

pichlermarc commented Oct 21, 2024

Required to be merged for release:

@pichlermarc pichlermarc added this pull request to the merge queue Oct 23, 2024
Merged via the queue into open-telemetry:main with commit eb3ca4f Oct 23, 2024
21 checks passed
Annosha pushed a commit to Annosha/opentelemetry-js that referenced this pull request Nov 2, 2024
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