From ced79860f8c8a091a2eabfee6d47783f828a9b59 Mon Sep 17 00:00:00 2001 From: Marc Alff Date: Wed, 22 Jan 2025 09:09:48 +0100 Subject: [PATCH] [RELEASE] release opentelemetry-cpp 1.19.0 (#3249) --- .github/workflows/iwyu.yml | 2 +- CHANGELOG.md | 123 +++++++++++++++++- api/include/opentelemetry/version.h | 4 +- docs/public/conf.py | 2 +- .../opentelemetry/sdk/version/version.h | 2 +- sdk/src/version/version.cc | 6 +- 6 files changed, 126 insertions(+), 13 deletions(-) diff --git a/.github/workflows/iwyu.yml b/.github/workflows/iwyu.yml index 2aa91e0741..1e4d60ff9c 100644 --- a/.github/workflows/iwyu.yml +++ b/.github/workflows/iwyu.yml @@ -73,7 +73,7 @@ jobs: readonly WARNING_COUNT=`grep -c "include-what-you-use reported diagnostics:" iwyu.log` echo "include-what-you-use reported ${WARNING_COUNT} warning(s)" # Acceptable limit, to decrease over time down to 0 - readonly WARNING_LIMIT=10 + readonly WARNING_LIMIT=0 # FAIL the build if WARNING_COUNT > WARNING_LIMIT if [ $WARNING_COUNT -gt $WARNING_LIMIT ] ; then exit 1 diff --git a/CHANGELOG.md b/CHANGELOG.md index eb5675bed6..3ff1b44ed2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,30 +15,129 @@ Increment the: ## [Unreleased] +## [1.19 2025-01-22] + +* [PROMETHEUS_EXPORTER] Fix default for emitting otel_scope attributes + [#3171](https://github.com/open-telemetry/opentelemetry-cpp/pull/3171) + +* [Code health] Include what you use cleanup, part 5 + [#3140](https://github.com/open-telemetry/opentelemetry-cpp/pull/3140) + +* [BUILD] Upgrade cmake + [#3167](https://github.com/open-telemetry/opentelemetry-cpp/pull/3167) + +* [SHIM] Fix string_view mappings between OT and OTel + [#3181](https://github.com/open-telemetry/opentelemetry-cpp/pull/3181) + +* [EXPORTER] Refactor ElasticSearchRecordable + [#3164](https://github.com/open-telemetry/opentelemetry-cpp/pull/3164) + +* [SEMANTIC CONVENTIONS] Upgrade to semantic conventions 1.29.0 + [#3182](https://github.com/open-telemetry/opentelemetry-cpp/pull/3182) + +* [BUILD] Fix cross-compilation with protoc + [#3186](https://github.com/open-telemetry/opentelemetry-cpp/pull/3186) + +* [Code health] Perform cppcheck cleanup + [#3150](https://github.com/open-telemetry/opentelemetry-cpp/pull/3150) + +* [EXPORTER] add instrumentation scope attributes + to otlp proto messages for traces and metrics + [#3185](https://github.com/open-telemetry/opentelemetry-cpp/pull/3185) + +* [SDK] Tracer provider shutdown blocks in-definitively + [#3191](https://github.com/open-telemetry/opentelemetry-cpp/pull/3191) + +* [SEMANTIC CONVENTIONS] Upgrade to weaver 0.11.0 + [#3194](https://github.com/open-telemetry/opentelemetry-cpp/pull/3194) + +* [DOC] Update existing maintaining dependencies doc + [#3195](https://github.com/open-telemetry/opentelemetry-cpp/pull/3195) + +* [TEST] Change is_called_ and got_response_ to use atomic + [#3204](https://github.com/open-telemetry/opentelemetry-cpp/pull/3204) + +* [SEMANTIC CONVENTIONS] update links to openmetrics to reference the v1.0.0 release + [#3205](https://github.com/open-telemetry/opentelemetry-cpp/pull/3205) + +* [CI] Fix CI on ubuntu-latest + [#3207](https://github.com/open-telemetry/opentelemetry-cpp/pull/3207) + +* [BUILD] Build break using protoc 3.14 + [#3211](https://github.com/open-telemetry/opentelemetry-cpp/pull/3211) + +* [TEST] Build the singleton test on windows + [#3183](https://github.com/open-telemetry/opentelemetry-cpp/pull/3183) + +* [BUILD] Add cxx feature detections + [#3203](https://github.com/open-telemetry/opentelemetry-cpp/pull/3203) + * [SDK] Do not frequently create and destroy http client threads [#3198](https://github.com/open-telemetry/opentelemetry-cpp/pull/3198) -* [SDK] Fix instrumentation scope attributes evaluated in equal method +* [EXPORTER] Optimize OTLP HTTP compression + [#3178](https://github.com/open-telemetry/opentelemetry-cpp/pull/3178) + +* [SDK] Fix include instrumentation scope attributes in equal method [#3214](https://github.com/open-telemetry/opentelemetry-cpp/pull/3214) -* [EXPORTER] Fix scope attributes missing from otlp traces metrics - [#3185](https://github.com/open-telemetry/opentelemetry-cpp/pull/3185) +* Upgrade to opentelemetry-proto 1.5.0 + [#3210](https://github.com/open-telemetry/opentelemetry-cpp/pull/3210) -* [EXPORTER] Fix throw in OtlpGrpcMetricExporter with shared grpc client +* [TEST] Added support for SELINUX in functional tests + [#3212](https://github.com/open-telemetry/opentelemetry-cpp/pull/3212) + +* [EDITORIAL] fix changelog entry for PR 3185 + [#3217](https://github.com/open-telemetry/opentelemetry-cpp/pull/3217) + +* [TEST] Functional tests for OTLP/gRPC with mutual TLS + [#3227](https://github.com/open-telemetry/opentelemetry-cpp/pull/3227) + +* [SEMCONV] Metrics are incorrectly prefixed with 'metric' + [#3228](https://github.com/open-telemetry/opentelemetry-cpp/pull/3228) + +* [BUILD] Add OTLP/file exporter for dll and examples + [#3231](https://github.com/open-telemetry/opentelemetry-cpp/pull/3231) + +* [Code Health] Include what you use, part 6 + [#3216](https://github.com/open-telemetry/opentelemetry-cpp/pull/3216) + +* [CI] Spurious test failures + [#3233](https://github.com/open-telemetry/opentelemetry-cpp/pull/3233) + +* [BUILD] Fix error ‘uint8_t’ does not name a type with gcc-15 + [#3240](https://github.com/open-telemetry/opentelemetry-cpp/pull/3240) + +* [EXPORTER] fix throw in OtlpGrpcMetricExporter with shared grpc client [#3243](https://github.com/open-telemetry/opentelemetry-cpp/pull/3243) * [SDK] Better control of threads executed by opentelemetry-cpp [#3175](https://github.com/open-telemetry/opentelemetry-cpp/pull/3175) -* [SDK] Enable deriving from ResourceDetector to create a Resource +* [Code Health] Include what you use, part 7 + [#3238](https://github.com/open-telemetry/opentelemetry-cpp/pull/3238) + +* [SDK] Fix lifetime of GlobalLogHandler + [#3221](https://github.com/open-telemetry/opentelemetry-cpp/pull/3221) + +* [MAINTAINER] Add devcontainer + [#3123](https://github.com/open-telemetry/opentelemetry-cpp/pull/3123) + +* [SDK] enable deriving from ResourceDetector to create a Resource [#3247](https://github.com/open-telemetry/opentelemetry-cpp/pull/3247) * [EXPORTER] Support handling retry-able errors for OTLP/HTTP [#3223](https://github.com/open-telemetry/opentelemetry-cpp/pull/3223) +* [CI] Add GRPC in maintainer CI + [#3248](https://github.com/open-telemetry/opentelemetry-cpp/pull/3248) + * [EXPORTER] Support handling retry-able errors for OTLP/gRPC [#3219](https://github.com/open-telemetry/opentelemetry-cpp/pull/3219) +* [SDK] Optimize Metric Processing for Single Collector with Delta Temporality + [#3236](https://github.com/open-telemetry/opentelemetry-cpp/pull/3236) + New features: * [SDK] Better control of threads executed by opentelemetry-cpp @@ -96,6 +195,20 @@ New features: as well as the thread instrumentation interface, may change without notice before this feature is declared stable. +* [EXPORTER] Support handling retry-able errors for OTLP/HTTP + [#3223](https://github.com/open-telemetry/opentelemetry-cpp/pull/3223) + + * This feature is experimental, + protected by a WITH_OTLP_RETRY_PREVIEW + flag in CMake. + +* [EXPORTER] Support handling retry-able errors for OTLP/gRPC + [#3219](https://github.com/open-telemetry/opentelemetry-cpp/pull/3219) + + * This feature is experimental, + protected by a WITH_OTLP_RETRY_PREVIEW + flag in CMake. + ## [1.18 2024-11-25] * [EXPORTER] Fix crash in ElasticsearchLogRecordExporter diff --git a/api/include/opentelemetry/version.h b/api/include/opentelemetry/version.h index a26b8b4e88..c69f6d4df9 100644 --- a/api/include/opentelemetry/version.h +++ b/api/include/opentelemetry/version.h @@ -10,9 +10,9 @@ # define OPENTELEMETRY_ABI_VERSION_NO 1 #endif -#define OPENTELEMETRY_VERSION "1.18.0" +#define OPENTELEMETRY_VERSION "1.19.0" #define OPENTELEMETRY_VERSION_MAJOR 1 -#define OPENTELEMETRY_VERSION_MINOR 18 +#define OPENTELEMETRY_VERSION_MINOR 19 #define OPENTELEMETRY_VERSION_PATCH 0 #define OPENTELEMETRY_ABI_VERSION OPENTELEMETRY_STRINGIFY(OPENTELEMETRY_ABI_VERSION_NO) diff --git a/docs/public/conf.py b/docs/public/conf.py index d1b51d7a39..b1f3249d6b 100644 --- a/docs/public/conf.py +++ b/docs/public/conf.py @@ -24,7 +24,7 @@ author = 'OpenTelemetry authors' # The full version, including alpha/beta/rc tags -release = "1.18.0" +release = "1.19.0" # Run sphinx on subprojects and copy output # ----------------------------------------- diff --git a/sdk/include/opentelemetry/sdk/version/version.h b/sdk/include/opentelemetry/sdk/version/version.h index 387eb64fab..b462144e20 100644 --- a/sdk/include/opentelemetry/sdk/version/version.h +++ b/sdk/include/opentelemetry/sdk/version/version.h @@ -3,7 +3,7 @@ #pragma once -#define OPENTELEMETRY_SDK_VERSION "1.18.0" +#define OPENTELEMETRY_SDK_VERSION "1.19.0" #include "opentelemetry/version.h" diff --git a/sdk/src/version/version.cc b/sdk/src/version/version.cc index 078bafe2ea..edcaedb9aa 100644 --- a/sdk/src/version/version.cc +++ b/sdk/src/version/version.cc @@ -12,13 +12,13 @@ namespace sdk namespace version { const int major_version = 1; -const int minor_version = 18; +const int minor_version = 19; const int patch_version = 0; const char *pre_release = "NONE"; const char *build_metadata = "NONE"; -const char *short_version = "1.18.0"; +const char *short_version = "1.19.0"; const char *full_version = "1.18.0-NONE-NONE"; -const char *build_date = "Mon Nov 25 08:46:03 PM UTC 2024"; +const char *build_date = "Tue Jan 21 09:34:26 PM UTC 2025"; } // namespace version } // namespace sdk OPENTELEMETRY_END_NAMESPACE