From f7026762506fd41608da323ddb170c491451393c Mon Sep 17 00:00:00 2001 From: Tom Tan Date: Tue, 7 Mar 2023 15:12:39 -0800 Subject: [PATCH] Prepare v1.8.3 release (#2018) --- CHANGELOG.md | 42 +++++++++++++++---- api/include/opentelemetry/version.h | 4 +- buildscripts/pre-commit | 20 ++++----- docs/public/conf.py | 2 +- .../opentelemetry/sdk/version/version.h | 2 +- sdk/src/version/version.cc | 14 +++---- 6 files changed, 56 insertions(+), 28 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 31bfde54a1..0d95b4a5f0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,28 +15,56 @@ Increment the: ## [Unreleased] +## [1.8.3] 2023-03-06 + +* Provide version major/minor/patch macros + [#2014](https://github.com/open-telemetry/opentelemetry-cpp/pull/2014) * [BUILD] Add `OPENTELEMETRY_INSTALL` to allow user to skip install targets. [#2022](https://github.com/open-telemetry/opentelemetry-cpp/pull/2022) * [SDK] Rename the global SDK version variables to avoid naming clash [#2011](https://github.com/open-telemetry/opentelemetry-cpp/pull/2011) +* [BUILD] Fix typo in CMakeLists.txt + [#2010](https://github.com/open-telemetry/opentelemetry-cpp/pull/2010) +* [EXPORTER] fix Prometheus test iterator iterator increment + [#2006](https://github.com/open-telemetry/opentelemetry-cpp/pull/2006) * [SDK]Add attributes for InstrumentationScope [#2004](https://github.com/open-telemetry/opentelemetry-cpp/pull/2004) -* [ETW Exporter]Support serialize span/log attributes into JSON +* [METRICS SDK] Performance improvement in measurement processing + [#1993](https://github.com/open-telemetry/opentelemetry-cpp/pull/1993) +* [EXAMPLE] Add example for logs ostream exporter + [#1992](https://github.com/open-telemetry/opentelemetry-cpp/pull/1992) +* [ETW Exporter] Support serialize span/log attributes into JSON [#1991](https://github.com/open-telemetry/opentelemetry-cpp/pull/1991) * ETW Exporter]Do not overwrite ParentId when setting attribute on Span [#1989](https://github.com/open-telemetry/opentelemetry-cpp/pull/1989) -* Convert Prometheus Exporter to Pull MetricReader [#1953](https://github.com/open-telemetry/opentelemetry-cpp/pull/1953) -* Upgrade prometheus-cpp to v1.1.0 [#1954](https://github.com/open-telemetry/opentelemetry-cpp/pull/1954) +* Upgrade prometheus-cpp to v1.1.0 + [#1954](https://github.com/open-telemetry/opentelemetry-cpp/pull/1954) +* Convert Prometheus Exporter to Pull MetricReader + [#1953](https://github.com/open-telemetry/opentelemetry-cpp/pull/1953) +* [DOCS] Add alpine packages to INSTALL.md + [#1957](https://github.com/open-telemetry/opentelemetry-cpp/pull/1957) +* [METRICS SDK] Add benchmark tests for Sum Aggregation. + [#1948](https://github.com/open-telemetry/opentelemetry-cpp/pull/1948) * [BUILD] Build OpenTelemetry SDK and exporters into DLL [#1932](https://github.com/open-telemetry/opentelemetry-cpp/pull/1932) -* [CI] Enforce copyright check in CI [#1965](https://github.com/open-telemetry/opentelemetry-cpp/pull/1965) +* [CI] Enforce copyright check in CI + [#1965](https://github.com/open-telemetry/opentelemetry-cpp/pull/1965) +* [BUILD] Fix typo GENENV -> GETENV + [#1972](https://github.com/open-telemetry/opentelemetry-cpp/pull/1972) * [SEMANTIC CONVENTIONS] Upgrade to version 1.18.0 [#1974](https://github.com/open-telemetry/opentelemetry-cpp/pull/1974) -* Fix Prometheus server crash on listening to already used port [#1986](https://github.com/open-telemetry/opentelemetry-cpp/pull/1986) +* [EXT] Fix thread-safety when shutdown. + [#1977](https://github.com/open-telemetry/opentelemetry-cpp/pull/1977) +* [SDK] Fix missing ObservedTimestamp. + [#1985](https://github.com/open-telemetry/opentelemetry-cpp/pull/1985) +* [METRICS SDK] fix variable names + [#1987](https://github.com/open-telemetry/opentelemetry-cpp/pull/1987) +* [EXPORTER] Fix Prometheus server crash on listening to already used port + [#1986](https://github.com/open-telemetry/opentelemetry-cpp/pull/1986) * [EXPORTER] Boolean environment variables not parsed per the spec [#1982](https://github.com/open-telemetry/opentelemetry-cpp/pull/1982) -* Provide version major/minor/patch macros - [#2014](https://github.com/open-telemetry/opentelemetry-cpp/pull/2014) +* [EXPORTER] Opentracing shim + [#1909](https://github.com/open-telemetry/opentelemetry-cpp/pull/1909) ## [1.8.2] 2023-01-31 diff --git a/api/include/opentelemetry/version.h b/api/include/opentelemetry/version.h index 82bfa8811c..92d9b41b16 100644 --- a/api/include/opentelemetry/version.h +++ b/api/include/opentelemetry/version.h @@ -7,10 +7,10 @@ #include "opentelemetry/detail/preprocessor.h" #define OPENTELEMETRY_ABI_VERSION_NO 1 -#define OPENTELEMETRY_VERSION "1.8.2" +#define OPENTELEMETRY_VERSION "1.8.3" #define OPENTELEMETRY_VERSION_MAJOR 1 #define OPENTELEMETRY_VERSION_MINOR 8 -#define OPENTELEMETRY_VERSION_PATCH 2 +#define OPENTELEMETRY_VERSION_PATCH 3 #define OPENTELEMETRY_ABI_VERSION OPENTELEMETRY_STRINGIFY(OPENTELEMETRY_ABI_VERSION_NO) diff --git a/buildscripts/pre-commit b/buildscripts/pre-commit index 0b2f9a92ee..0e7b33707e 100755 --- a/buildscripts/pre-commit +++ b/buildscripts/pre-commit @@ -61,18 +61,18 @@ namespace sdk { namespace version { -const int major_version = ${major}; -const int minor_version = ${minor}; -const int patch_version = ${patch}; -const char* pre_release = "${pre_release}"; -const char* build_metadata = "${build_metadata}"; +const int major_version = ${major}; +const int minor_version = ${minor}; +const int patch_version = ${patch}; +const char *pre_release = "${pre_release}"; +const char *build_metadata = "${build_metadata}"; const int count_new_commits = ${count_new_commits}; -const char* branch = "${branch}"; -const char* commit_hash = "${latest_commit_hash}"; -const char* short_version = "${short_version}"; -const char* full_version = +const char *branch = "${branch}"; +const char *commit_hash = "${latest_commit_hash}"; +const char *short_version = "${short_version}"; +const char *full_version = "${full_version}"; -const char* build_date = "$(date -u)"; +const char *build_date = "$(date -u)"; } // namespace version } // namespace sdk OPENTELEMETRY_END_NAMESPACE diff --git a/docs/public/conf.py b/docs/public/conf.py index 637cdedd8d..d03873134e 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.8.2" +release = "1.8.3" # 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 8ae35d6a16..5bc1982106 100644 --- a/sdk/include/opentelemetry/sdk/version/version.h +++ b/sdk/include/opentelemetry/sdk/version/version.h @@ -5,7 +5,7 @@ #include "opentelemetry/detail/preprocessor.h" -#define OPENTELEMETRY_SDK_VERSION "1.8.2" +#define OPENTELEMETRY_SDK_VERSION "1.8.3" #include "opentelemetry/version.h" diff --git a/sdk/src/version/version.cc b/sdk/src/version/version.cc index 92ab50559c..1a1d45a630 100644 --- a/sdk/src/version/version.cc +++ b/sdk/src/version/version.cc @@ -13,16 +13,16 @@ namespace version { const int major_version = 1; const int minor_version = 8; -const int patch_version = 2; +const int patch_version = 3; const char *pre_release = "NONE"; const char *build_metadata = "NONE"; -const int count_new_commits = 37; -const char *branch = "pre_release_1.8.2"; -const char *commit_hash = "435ce60f233b6718aaa04bb7068dd641b536299b"; -const char *short_version = "1.8.2"; +const int count_new_commits = 43; +const char *branch = "pre_release_1.8.3"; +const char *commit_hash = "d011e407306991be4f0580b59d5975aecdc86aca"; +const char *short_version = "1.8.3"; const char *full_version = - "1.8.2-NONE-NONE-37-pre_release_1.8.2-435ce60f233b6718aaa04bb7068dd641b536299b"; -const char *build_date = "Tue 31 Jan 2023 04:01:10 PM UTC"; + "1.8.2-NONE-NONE-43-pre_release_1.8.3-d011e407306991be4f0580b59d5975aecdc86aca"; +const char *build_date = "Tue Mar 7 21:15:06 UTC 2023"; } // namespace version } // namespace sdk OPENTELEMETRY_END_NAMESPACE