Skip to content

v1.13.0 release

Compare
Choose a tag to compare
@marcalff marcalff released this 06 Dec 20:12
· 232 commits to main since this release
4bd64c9

v1.13.0 release

Release of core packages

  • opentelemetry-api
  • opentelemetry-sdk

and exporter packages:

  • opentelemetry-exporter-otlp (gRPC + HTTP/JSON)
  • opentelemetry-exporter-prometheus

What's Changed

  • [BUILD] Remove WITH_REMOVE_METER_PREVIEW, use WITH_ABI_VERSION_2 instead by @marcalff in #2370
  • [SDK] Metrics ObservableRegistry Cleanup by @perhapsmaple in #2376
  • [BUILD] Make WITH_OTLP_HTTP_SSL_PREVIEW mainstream by @marcalff in #2378
  • [SDK] Creating DoubleUpDownCounter with no matching view by @lalitb in #2379
  • [API] Add InstrumentationScope attributes in TracerProvider::GetTracer() by @marcalff in #2371
  • Bump peter-evans/create-or-update-comment from 3.0.2 to 3.1.0 by @dependabot in #2381
  • [BUILD] DLL export interface for Metrics by @perhapsmaple in #2344
  • [BUILD] enum CanonicalCode names too generic... conflict with old C defines by @marcalff in #2385
  • [BUILD] Fix cpack broken package version by @jafonso in #2386
  • [API] Add a new AddLink() operation to Span by @marcalff in #2380
  • [opentracing-shim] Add check for sampled context by @chusitoo in #2390
  • [BUILD] Fix exported definitions when building DLL with STL by @perhapsmaple in #2387
  • [BUILD] Add missing includes to runtime_context_test by @perhapsmaple in #2395
  • [ADMIN] Add file .github/repository-settings.md by @marcalff in #2392
  • [SDK] Fix GetLogger with empty library name by @ThomsonTan in #2398
  • [TEST] Fix compiling problem and removed -DENABLE_TEST by @owent in #2401
  • [BUILD] Check windows options are not passed to non-Windows build by @ThomsonTan in #2399
  • [EXPORTER] Rework OTLP/HTTP and OTLP/GRPC exporter options by @marcalff in #2388
  • Bump actions/github-script from 6 to 7 by @dependabot in #2403
  • [Build] Update vcpkg to latest release by @ThomsonTan in #2412
  • [SDK] Cardinality limits for metrics streams (Sync Instruments + Delta Temporality) by @lalitb in #2255
  • [EXPORTER] Prometheus: Add unit to names, convert to word by @esigo in #2213
  • [Metrics] Make context optional for histogram instruments in Metrics SDK by @ThomsonTan in #2416
  • [BUILD] Fix references to trace namespace to be fully qualified by @bogdandrutu in #2422
  • [BUILD] Bump third_party/googletest to same version as bazel by @bogdandrutu in #2421
  • [BUILD] Remove defining NOMINMAX from api by @ThomsonTan in #2420
  • [BUILD] 'uint8_t' not declared in this scope with gcc 13.2.1 by @Thomas-Barbier-1A in #2423
  • [BUILD] Improve the handling of OPENTELEMETRY_HAVE_WORKING_REGEX. by @kylepl in #2430
  • [SEMANTIC CONVENTIONS] Upgrade to semconv version 1.23.1 by @marcalff in #2428
  • [BUILD] Use fully qualified references to trace/common namespace by @bogdandrutu in #2424
  • [API] Create root span with active span by @lalitb in #2427
  • [REMOVAL] Remove ZPAGES by @marcalff in #2433
  • [RELEASE] Prepare release 1.13.0 by @marcalff in #2432

Important changes

  • [API] Add InstrumentationScope attributes in TracerProvider::GetTracer()
    #2371

    • TracerProvider::GetTracer() now accepts InstrumentationScope attributes.
    • Because this is an ABI breaking change, the fix is only available
      with the CMake option WITH_ABI_VERSION_2=ON.
    • When building with CMake option WITH_ABI_VERSION_1=ON (by default)
      the ABI is unchanged, and the fix is not available.
  • [API] Add a new AddLink() operation to Span
    #2380

    • New API Span::AddLink() adds a single link to a span.
    • New API Span::AddLinks() adds multiple links to a span.
    • Because this is an ABI breaking change, the fix is only available
      with the CMake option WITH_ABI_VERSION_2=ON.
    • When building with CMake option WITH_ABI_VERSION_1=ON (by default)
      the ABI is unchanged, and the fix is not available.
  • [BUILD] Make WITH_OTLP_HTTP_SSL_PREVIEW mainstream
    #2378

    • The experimental CMake option WITH_OTLP_HTTP_SSL_PREVIEW
      is now promoted to stable. The default is changed to ON.
    • The experimental CMake option WITH_OTLP_HTTP_SSL_TLS_PREVIEW
      is now promoted to stable. The default is changed to ON.
    • These build options are scheduled to be removed by the next release,
      building without SSL/TLS will no longer be possible.
  • [EXPORTER] Rework OTLP/HTTP and OTLP/GRPC exporter options
    #2388

    • OtlpGrpcMetricExporterOptions used to honor _TRACES_
      environment variables, instead of _METRICS_ environment variables.
    • The implementation of OtlpGrpcMetricExporterOptions is now fixed.
    • Please check configuration variables,
      to make sure _METRICS_ variables are set as expected.

Breaking changes

  • [BUILD] Remove WITH_REMOVE_METER_PREVIEW, use WITH_ABI_VERSION_2 instead
    #2370

    • The experimental CMake option WITH_REMOVE_METER_PREVIEW is removed,
      use option WITH_ABI_VERSION_2 instead.
  • [BUILD] enum CanonicalCode names too generic... conflict with old C defines
    #2385

    • Header file opentelemetry/trace/canonical_code.h is unused,
      and is now removed.
    • This header should not be included directly in an application.
      If this is the case, please remove any remaining include directives.
  • [BUILD] Fix exported definitions when building DLL with STL
    #2387

    • The MeterSelector, MeterSelectorFactory, InstrumentSelector,
      and InstrumentSelectorFactory APIs now use const std::string&
      instead of nostd::string_view for name, version and schema to
      maintain a single export definition for DLL.
  • [EXPORTER] Rework OTLP/HTTP and OTLP/GRPC exporter options
    #2388

    • OtlpGrpcLogRecordExporter incorrectly used OtlpGrpcExporterOptions,
      which are options for traces and not logs.
    • This created a bug: the OtlpGrpcLogRecordExporter honors _TRACES_
      environment variables, instead of _LOGS_ environment variables.
    • OtlpGrpcLogRecordExporter is changed to use
      OtlpGrpcLogRecordExporterOptions instead, fixing the bug.
    • User code that initializes the SDK with a GRPC Log exporter,
      and uses exporter options, should adjust to replace
      OtlpGrpcExporterOptions with OtlpGrpcLogRecordExporterOptions.
    • Please check configuration variables,
      to make sure _LOGS_ variables are set as expected.
  • [REMOVAL] Remove ZPAGES
    #2433

    • As announced in release 1.12.0,
      the deprecated ZPAGES exporter is now removed.

New Contributors

Full Changelog: v1.12.0...v1.13.0