From be88b3035440bc76d60f0735888bf71aeab4f1b4 Mon Sep 17 00:00:00 2001 From: Marc Alff Date: Thu, 27 Mar 2025 21:42:45 +0100 Subject: [PATCH 1/5] Prepare release opentelemetry-cpp 1.20.0 --- CHANGELOG.md | 99 ++++++++++++++++++- api/include/opentelemetry/version.h | 4 +- docs/public/conf.py | 2 +- .../opentelemetry/sdk/version/version.h | 2 +- sdk/src/version/version.cc | 8 +- 5 files changed, 102 insertions(+), 13 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 62262afe08..494bd672b9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,24 +15,116 @@ Increment the: ## [Unreleased] -* [BUILD] Fix misssing exported definition for OTLP file exporter and forceflush - [#3319](https://github.com/open-telemetry/opentelemetry-cpp/pull/3319) +## [1.20 2025-03-27] + +* [BUILD] Update opentelemetry-proto version + [#3254](https://github.com/open-telemetry/opentelemetry-cpp/pull/3254) + +* [BUILD] Build break with CURL 7.29.0 + [#3255](https://github.com/open-telemetry/opentelemetry-cpp/pull/3255) + +* [SEMANTIC CONVENTIONS] Upgrade to semantic conventions 1.30.0 + [#3258](https://github.com/open-telemetry/opentelemetry-cpp/pull/3258) * [SDK] Add tracer scope configurator [#3137](https://github.com/open-telemetry/opentelemetry-cpp/pull/3137) +* [DOC] Add document and example for sharing gRPC Client + [#3260](https://github.com/open-telemetry/opentelemetry-cpp/pull/3260) + +* [SDK] Fix BatchLogRecordProcessor to instrument shutdown + [#3262](https://github.com/open-telemetry/opentelemetry-cpp/pull/3262) + * [SDK] Support OTEL_SDK_DISABLED environment variable [#3245](https://github.com/open-telemetry/opentelemetry-cpp/pull/3245) +* [CI] OTLP in Windows builds + [#3263](https://github.com/open-telemetry/opentelemetry-cpp/pull/3263) + +* [BUILD] Fixes compatibility of type_traits + [#3274](https://github.com/open-telemetry/opentelemetry-cpp/pull/3274) + +* [BUILD] Fix compilation with Regex being disabled + [#3276](https://github.com/open-telemetry/opentelemetry-cpp/pull/3276) + +* [EXPORTER] Support exporting event_name using OTLP Exporter + [#3277](https://github.com/open-telemetry/opentelemetry-cpp/pull/3277) + +* [CI] Add FOSSA scanning workflow + [#3279](https://github.com/open-telemetry/opentelemetry-cpp/pull/3279) + +* [BUILD] Adding typecast without whom c++latest build fails + [#3281](https://github.com/open-telemetry/opentelemetry-cpp/pull/3281) + +* [ADMIN] Add FOSSA badges + [#3280](https://github.com/open-telemetry/opentelemetry-cpp/pull/3280) + +* [BUILD] Fix compiling problems with abiv2 and MSVC + [#3284](https://github.com/open-telemetry/opentelemetry-cpp/pull/3284) + +* [BUILD] Enable old behavior of CMP0092 + [#3269](https://github.com/open-telemetry/opentelemetry-cpp/pull/3269) + * [SDK] Add meter scope configurator [#3268](https://github.com/open-telemetry/opentelemetry-cpp/pull/3268) * [DEVCONTAINER] Support customization and run as non-root user [#3270](https://github.com/open-telemetry/opentelemetry-cpp/pull/3270) +* [ETW] Add configuration to export 64-bit integer as timestamp + [#3286](https://github.com/open-telemetry/opentelemetry-cpp/pull/3286) + +* [API] Deprecate event logger + [#3285](https://github.com/open-telemetry/opentelemetry-cpp/pull/3285) + +* [BUILD] Add link directory to support curl 8.12 + [#3272](https://github.com/open-telemetry/opentelemetry-cpp/pull/3272) + +* [API] Change the param-pack unpacking order to start from left to right + [#3296](https://github.com/open-telemetry/opentelemetry-cpp/pull/3296) + +* [SDK] Implement spec: MetricFilter + [#3235](https://github.com/open-telemetry/opentelemetry-cpp/pull/3235) + +* [SEMANTIC CONVENTIONS] Upgrade semantic conventions to 1.31.0 + [#3297](https://github.com/open-telemetry/opentelemetry-cpp/pull/3297) + * [SDK] Add logger scope configurator [#3282](https://github.com/open-telemetry/opentelemetry-cpp/pull/3282) +* [EXAMPLE] fix buffer overrun in the gRPC sample project + [#3304](https://github.com/open-telemetry/opentelemetry-cpp/pull/3304) + +* [CI] Bump fossas/fossa-action from 1.5.0 to 1.6.0 + [#3305](https://github.com/open-telemetry/opentelemetry-cpp/pull/3305) + +* [TEST] fix segfault in singleton test with cmake on macos-latest + [#3316](https://github.com/open-telemetry/opentelemetry-cpp/pull/3316) + +* [TEST] fix test failure with elasticsearch exporter on cxx20 + [#3308](https://github.com/open-telemetry/opentelemetry-cpp/pull/3308) + +* [TEST] otlp grpc exporter retry test fix + [#3311](https://github.com/open-telemetry/opentelemetry-cpp/pull/3311) + +* [SDK] Use OPENTELEMETRY_EXPORT and static local variables + [#3314](https://github.com/open-telemetry/opentelemetry-cpp/pull/3314) + +* [BUILD] Fix elasticsearch exporter json compatibility + [#3313](https://github.com/open-telemetry/opentelemetry-cpp/pull/3313) + +* [BUILD] Fix missing exported definition for OTLP file exporter and forceflush + [#3319](https://github.com/open-telemetry/opentelemetry-cpp/pull/3319) + +* [BUILD] Remove gRPC header including in OtlpGrpcClientFactory + [#3321](https://github.com/open-telemetry/opentelemetry-cpp/pull/3321) + +* [ADMIN] Add Pranav Sharma in cpp-approvers + [#3323](https://github.com/open-telemetry/opentelemetry-cpp/pull/3323) + +* [DEVCONTAINER] fix grpc install + [#3325](https://github.com/open-telemetry/opentelemetry-cpp/pull/3325) + Important changes: * [SDK] Support OTEL_SDK_DISABLED environment variable @@ -52,9 +144,6 @@ Important changes: * All the example code has been updated to reflect the new usage. -* [SDK] Implement spec: MetricFilter - [#3235](https://github.com/open-telemetry/opentelemetry-cpp/pull/3235) - ## [1.19 2025-01-22] * [PROMETHEUS_EXPORTER] Fix default for emitting otel_scope attributes diff --git a/api/include/opentelemetry/version.h b/api/include/opentelemetry/version.h index c69f6d4df9..03a2d83956 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.19.0" +#define OPENTELEMETRY_VERSION "1.20.0" #define OPENTELEMETRY_VERSION_MAJOR 1 -#define OPENTELEMETRY_VERSION_MINOR 19 +#define OPENTELEMETRY_VERSION_MINOR 20 #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 b1f3249d6b..ba81ac2f0b 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.19.0" +release = "1.20.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 b462144e20..0adaf79676 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.19.0" +#define OPENTELEMETRY_SDK_VERSION "1.20.0" #include "opentelemetry/version.h" diff --git a/sdk/src/version/version.cc b/sdk/src/version/version.cc index edcaedb9aa..68dda62517 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 = 19; +const int minor_version = 20; const int patch_version = 0; const char *pre_release = "NONE"; const char *build_metadata = "NONE"; -const char *short_version = "1.19.0"; -const char *full_version = "1.18.0-NONE-NONE"; -const char *build_date = "Tue Jan 21 09:34:26 PM UTC 2025"; +const char *short_version = "1.20.0"; +const char *full_version = "1.20.0-NONE-NONE"; +const char *build_date = "Thu Mar 27 07:48:57 PM UTC 2025"; } // namespace version } // namespace sdk OPENTELEMETRY_END_NAMESPACE From 2b3b8b039137ef60c9e2c5d1ea9720a3e17a5bf5 Mon Sep 17 00:00:00 2001 From: Marc Alff Date: Fri, 28 Mar 2025 23:14:14 +0100 Subject: [PATCH 2/5] Adjust CHANGELOG after merge --- CHANGELOG.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 494bd672b9..736ba72fda 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -125,6 +125,9 @@ Increment the: * [DEVCONTAINER] fix grpc install [#3325](https://github.com/open-telemetry/opentelemetry-cpp/pull/3325) +* [ADMIN] Add dbarker to approvers + [#3331](https://github.com/open-telemetry/opentelemetry-cpp/pull/3331) + Important changes: * [SDK] Support OTEL_SDK_DISABLED environment variable From fa9f5116b0593fc5c2f40a2be18b86c1aeaa772f Mon Sep 17 00:00:00 2001 From: Marc Alff Date: Sun, 30 Mar 2025 17:17:01 +0200 Subject: [PATCH 3/5] Adjust CHANGELOG --- CHANGELOG.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 736ba72fda..6228e39fff 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -128,6 +128,9 @@ Increment the: * [ADMIN] Add dbarker to approvers [#3331](https://github.com/open-telemetry/opentelemetry-cpp/pull/3331) +* [CI] Upgrade CI to ubuntu 22.04 + [#3330](https://github.com/open-telemetry/opentelemetry-cpp/pull/3330) + Important changes: * [SDK] Support OTEL_SDK_DISABLED environment variable From 4dc130122700a39d1154efe4ecbcbf5f4def2f70 Mon Sep 17 00:00:00 2001 From: Marc Alff Date: Tue, 1 Apr 2025 11:45:58 +0200 Subject: [PATCH 4/5] Adjust CHANGELOG --- CHANGELOG.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6228e39fff..b733996765 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -131,6 +131,9 @@ Increment the: * [CI] Upgrade CI to ubuntu 22.04 [#3330](https://github.com/open-telemetry/opentelemetry-cpp/pull/3330) +* [CI] Add ossf-scorecard scanning workflow + [#3332](https://github.com/open-telemetry/opentelemetry-cpp/pull/3332) + Important changes: * [SDK] Support OTEL_SDK_DISABLED environment variable From 94c502bbeee30fa5fdbbc5e28bf1b3bfe4f4a900 Mon Sep 17 00:00:00 2001 From: Marc Alff Date: Tue, 1 Apr 2025 22:15:33 +0200 Subject: [PATCH 5/5] Prepare release --- CHANGELOG.md | 5 ++++- sdk/src/version/version.cc | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b733996765..596c5d59d7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,7 +15,7 @@ Increment the: ## [Unreleased] -## [1.20 2025-03-27] +## [1.20 2025-04-01] * [BUILD] Update opentelemetry-proto version [#3254](https://github.com/open-telemetry/opentelemetry-cpp/pull/3254) @@ -134,6 +134,9 @@ Increment the: * [CI] Add ossf-scorecard scanning workflow [#3332](https://github.com/open-telemetry/opentelemetry-cpp/pull/3332) +* [CI] pin cmake in ci and devcontainer + [#3336](https://github.com/open-telemetry/opentelemetry-cpp/pull/3336) + Important changes: * [SDK] Support OTEL_SDK_DISABLED environment variable diff --git a/sdk/src/version/version.cc b/sdk/src/version/version.cc index 68dda62517..30ad55db61 100644 --- a/sdk/src/version/version.cc +++ b/sdk/src/version/version.cc @@ -18,7 +18,7 @@ const char *pre_release = "NONE"; const char *build_metadata = "NONE"; const char *short_version = "1.20.0"; const char *full_version = "1.20.0-NONE-NONE"; -const char *build_date = "Thu Mar 27 07:48:57 PM UTC 2025"; +const char *build_date = "Tue Apr 1 08:14:47 PM UTC 2025"; } // namespace version } // namespace sdk OPENTELEMETRY_END_NAMESPACE