diff --git a/CHANGELOG.md b/CHANGELOG.md index 3c57ff6451..8b315a66ad 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,50 +15,74 @@ Increment the: ## [Unreleased] -* [SDK] Apply metric cardinality limits to non-overflow attribute sets and - reserve the overflow point separately. - [#4236](https://github.com/open-telemetry/opentelemetry-cpp/pull/4236) - -* [CODE HEALTH] Move otlp, zipkin and prometheus test classes into anonymous namespace - [#4231](https://github.com/open-telemetry/opentelemetry-cpp/pull/4231) - -* [CODE HEALTH] Move ext and exporters test classes into anonymous namespace - [#4225](https://github.com/open-telemetry/opentelemetry-cpp/pull/4225) - -* [CODE HEALTH] Move api/test and sdk/test classes into anonymous namespace - [#4217](https://github.com/open-telemetry/opentelemetry-cpp/pull/4217) - -* [CMAKE] Fix and test WITH_API_ONLY option - [#4201](https://github.com/open-telemetry/opentelemetry-cpp/pull/4201) - -* [API] Fix `TraceState::IsValidKey()` to comply with the W3C Trace Context - Level 2, where keys containing `@` and keys with more than 241 characters - before `@` or more than 14 characters after `@` are now accepted. - Only the total 256-character key length limit is enforced. - **Note**: this is a correctness fix to an inline API header; the observable - behavior of `IsValidKey`, `IsValidKeyRegEx`, and `IsValidKeyNonRegEx` - changes (see `docs/abi-policy.md`). - [#4194](https://github.com/open-telemetry/opentelemetry-cpp/pull/4194) - -* [SDK] Add `TracerProvider::UpdateTracerConfigurator()` and example - [#4065](https://github.com/open-telemetry/opentelemetry-cpp/pull/4065) +## [1.28.0] 2026-07-12 * [RELEASE] Bump main branch to 1.28.0-dev [#4081](https://github.com/open-telemetry/opentelemetry-cpp/pull/4081) -* [CODE HEALTH] Fix IWYU Clang22 warnings +* Bump step-security/harden-runner from 2.19.1 to 2.19.2 + [#4082](https://github.com/open-telemetry/opentelemetry-cpp/pull/4082) + +* Bump step-security/harden-runner from 2.19.2 to 2.19.3 + [#4084](https://github.com/open-telemetry/opentelemetry-cpp/pull/4084) + +* Fix IWYU Clang22 warnings [#4083](https://github.com/open-telemetry/opentelemetry-cpp/pull/4083) -* [EXPORTER] Spec-compliant uint64_t attribute encoding in OTLP - [#4090](https://github.com/open-telemetry/opentelemetry-cpp/pull/4090) +* Bump github/codeql-action from 4.35.4 to 4.35.5 + [#4087](https://github.com/open-telemetry/opentelemetry-cpp/pull/4087) * [CODE HEALTH] Remove unused alias declarations [#4091](https://github.com/open-telemetry/opentelemetry-cpp/pull/4091) +* Bump codecov/codecov-action from 6.0.0 to 6.0.1 + [#4092](https://github.com/open-telemetry/opentelemetry-cpp/pull/4092) + * [SDK] MeterProvider: do not warn in destructor after explicit Shutdown [#4085](https://github.com/open-telemetry/opentelemetry-cpp/pull/4085) -* [CODE HEALTH] Remove last unused nostd namespace alias in otlp_populate +* Fix: preserve delta start timestamp in fast path + [#4069](https://github.com/open-telemetry/opentelemetry-cpp/pull/4069) + +* Bump step-security/harden-runner from 2.19.3 to 2.19.4 + [#4098](https://github.com/open-telemetry/opentelemetry-cpp/pull/4098) + +* Bump docker/build-push-action from 7.1.0 to 7.2.0 + [#4097](https://github.com/open-telemetry/opentelemetry-cpp/pull/4097) + +* Bump actions/stale from 10.2.0 to 10.3.0 + [#4096](https://github.com/open-telemetry/opentelemetry-cpp/pull/4096) + +* docs: update custom log handler example + [#4089](https://github.com/open-telemetry/opentelemetry-cpp/pull/4089) + +* [BUILD] Suppress deprecated warnings in generated semconv metric headers + [#4088](https://github.com/open-telemetry/opentelemetry-cpp/pull/4088) + +* Bump docker/setup-buildx-action from 4.0.0 to 4.1.0 + [#4103](https://github.com/open-telemetry/opentelemetry-cpp/pull/4103) + +* Bump github/codeql-action from 4.35.5 to 4.36.0 + [#4102](https://github.com/open-telemetry/opentelemetry-cpp/pull/4102) + +* Bump docker/setup-qemu-action from 4.0.0 to 4.1.0 + [#4107](https://github.com/open-telemetry/opentelemetry-cpp/pull/4107) + +* [CI] add cmake gcc maintainer abiv2 job + [#4105](https://github.com/open-telemetry/opentelemetry-cpp/pull/4105) + +* [DOC] Fix typos in SDK header comments + [#4111](https://github.com/open-telemetry/opentelemetry-cpp/pull/4111) + +* [CI] update codeql to cover all options with abiv2 + [#4106](https://github.com/open-telemetry/opentelemetry-cpp/pull/4106) + +* [EXPORTER] Convert uint64_t attribute values exceeding + INT64_MAX to string per OTel spec + [#4090](https://github.com/open-telemetry/opentelemetry-cpp/pull/4090) + +* [CODE HEALTH] Remove last unused nostd namespace alias + in otlp_populate_attribute_utils [#4114](https://github.com/open-telemetry/opentelemetry-cpp/pull/4114) * [CODE HEALTH] Move curl_http_test classes into anonymous namespace @@ -67,12 +91,24 @@ Increment the: * [CODE HEALTH] Move simple_log_record_processor_test into anonymous namespace [#4116](https://github.com/open-telemetry/opentelemetry-cpp/pull/4116) +* Bump actions/checkout from 6.0.2 to 6.0.3 + [#4118](https://github.com/open-telemetry/opentelemetry-cpp/pull/4118) + +* Bump github/codeql-action from 4.36.0 to 4.36.1 + [#4117](https://github.com/open-telemetry/opentelemetry-cpp/pull/4117) + * [CODE HEALTH] Move registry.cc propagator builders into anonymous namespace [#4121](https://github.com/open-telemetry/opentelemetry-cpp/pull/4121) * [CODE HEALTH] Move sdk_builder.cc builders into anonymous namespace [#4122](https://github.com/open-telemetry/opentelemetry-cpp/pull/4122) +* Bump github/codeql-action from 4.36.1 to 4.36.2 + [#4123](https://github.com/open-telemetry/opentelemetry-cpp/pull/4123) + +* [CODE HEALTH] Fix clang-tidy bugprone-exception-escape in sum_aggregation.cc + [#4109](https://github.com/open-telemetry/opentelemetry-cpp/pull/4109) + * [CODE HEALTH] Move logger_sdk_test classes into anonymous namespace [#4124](https://github.com/open-telemetry/opentelemetry-cpp/pull/4124) @@ -82,90 +118,260 @@ Increment the: * [CODE HEALTH] Move func_grpc_main classes into anonymous namespace [#4129](https://github.com/open-telemetry/opentelemetry-cpp/pull/4129) -* [CONFIGURATION] Implement missing minimum_severity and trace_based for - LoggerConfig declarative configuration +* [CONFIGURATION] Implementing minimum_severity and trace_based + attributes for LoggerConfig [#4131](https://github.com/open-telemetry/opentelemetry-cpp/pull/4131) -* [CODE HEALTH] Fix clang-tidy bugprone-exception-escape in ostream exporters - [#4137](https://github.com/open-telemetry/opentelemetry-cpp/pull/4137) +* [SDK] Support TracerConfigurator updates + [#4065](https://github.com/open-telemetry/opentelemetry-cpp/pull/4065) -* [API] (ABI v2) `Logger::EmitLogRecord(...)` templates now apply the - `Enabled` filter chain when a `Severity` is in args. v1 behavior is - unchanged. - [#4079](https://github.com/open-telemetry/opentelemetry-cpp/pull/4079) +* Bump codecov/codecov-action from 6.0.1 to 7.0.0 + [#4143](https://github.com/open-telemetry/opentelemetry-cpp/pull/4143) -* [API/SDK] (ABI v2) Add `Logger::CreateLogRecord` virtual taking - `const nostd::variant &` - for explicit-context record creation. `Logger::EmitLogRecord(args...)` - also detects a `Context`, `SpanContext` - or `TraceId` + `SpanId` [+ `TraceFlags`] in args and routes filtering. - [#4079](https://github.com/open-telemetry/opentelemetry-cpp/pull/4079) +* Bump bazel-contrib/publish-to-bcr/.github/workflows/publish.yaml + [#4142](https://github.com/open-telemetry/opentelemetry-cpp/pull/4142) -* [SDK] Add `LogRecordProcessor::HasEnabledFilter()` so the SDK Logger can - include processor-level filtering in its extended-enabled cache. Defaults - to `true`. Built-in `SimpleLogRecordProcessor` and - `BatchLogRecordProcessor` override to `false` since they use the default - Enabled. - [#4079](https://github.com/open-telemetry/opentelemetry-cpp/pull/4079) +* [CODE HEALTH] Fix clang-tidy bugprone-exception-escape warnings in API + [#3964](https://github.com/open-telemetry/opentelemetry-cpp/pull/3964) -* [API/SDK] Replace `Context`-only signatures on - `LogRecordProcessor::Enabled`, - `LogRecordProcessor::EnabledImplementation`, - `Logger::EnabledImplementation` (v2), and `Logger::CreateLogRecord` (v2) - with `nostd::variant`. +* [API+SDK] apply filtering EmitLogRecord [#4079](https://github.com/open-telemetry/opentelemetry-cpp/pull/4079) -* [CI] iwyu and clang-tidy: use install_thirdparty.sh for third-party +* [CI] iwyu clang tidy install thirdparty script to unify dev container [#4136](https://github.com/open-telemetry/opentelemetry-cpp/pull/4136) -* [SDK] LogRecord attribute limits enforcement - [#4157](https://github.com/open-telemetry/opentelemetry-cpp/pull/4157) - -* [CONFIGURATION] File configuration: declarative resource detection types - [#4148](https://github.com/open-telemetry/opentelemetry-cpp/pull/4148) +* [CONTEXT] Fix env carrier spec compliance + [#4141](https://github.com/open-telemetry/opentelemetry-cpp/pull/4141) -* [SDK] Per-instrument creation time as delta first-interval start_ts +* [SDK] Delta temporality: use per-instrument creation time for first interval start_ts [#4144](https://github.com/open-telemetry/opentelemetry-cpp/pull/4144) -* [SDK] Add ComposableSampler and CompositeSampler with the consistent - probability sampling variants (AlwaysOn, AlwaysOff, ComposableProbability, - ParentThreshold, RuleBased) - [#4028](https://github.com/open-telemetry/opentelemetry-cpp/issues/4028) +* Bump bazel-contrib/publish-to-bcr/.github/workflows/publish.yaml + [#4147](https://github.com/open-telemetry/opentelemetry-cpp/pull/4147) -* [SDK] Rename ComposableTraceIdRatioBasedSampler to ComposableProbabilitySampler - to align with the OpenTelemetry specification - [#4161](https://github.com/open-telemetry/opentelemetry-cpp/issues/4161) +* [EXPORTER] Add custom HTTP client + [#4071](https://github.com/open-telemetry/opentelemetry-cpp/pull/4071) + +* docs: add CNCF Slack join instructions + [#4153](https://github.com/open-telemetry/opentelemetry-cpp/pull/4153) + +* [SDK] Add ComposableSampler interface and CompositeSampler + [#4133](https://github.com/open-telemetry/opentelemetry-cpp/pull/4133) + +* Bump bazel-contrib/publish-to-bcr/.github/workflows/publish.yaml + [#4150](https://github.com/open-telemetry/opentelemetry-cpp/pull/4150) + +* [CONFIGURATION] Declarative resource detection types + [#4148](https://github.com/open-telemetry/opentelemetry-cpp/pull/4148) * [BUILD] Fix protobuf build failure [#4154](https://github.com/open-telemetry/opentelemetry-cpp/pull/4154) -* [SEMANTIC CONVENTIONS] Generate event name constants (e.g. `semconv::exception::kException`) +* [SEMANTIC CONVENTIONS] Upgrade to semconv 1.42.0 + [#4156](https://github.com/open-telemetry/opentelemetry-cpp/pull/4156) + +* Bump rules_cc from 0.2.18 to 0.2.19 + [#4120](https://github.com/open-telemetry/opentelemetry-cpp/pull/4120) + +* [CMAKE] upgrade grpc and protobuf + [#4167](https://github.com/open-telemetry/opentelemetry-cpp/pull/4167) + +* Bump actions/checkout from 6.0.3 to 7.0.0 + [#4169](https://github.com/open-telemetry/opentelemetry-cpp/pull/4169) + +* [BENCHMARK] add span otlp recordable benchmark + [#4165](https://github.com/open-telemetry/opentelemetry-cpp/pull/4165) + +* [METRICS] Enable synchronous gauge delta temporality + and add tests for multi reader path + [#4159](https://github.com/open-telemetry/opentelemetry-cpp/pull/4159) + +* Add preview support for bound instruments + [#4042](https://github.com/open-telemetry/opentelemetry-cpp/pull/4042) + +* [API/SDK] add `WITH_LOG_FILTERING_PREVIEW` option + [#4160](https://github.com/open-telemetry/opentelemetry-cpp/pull/4160) + +* [SEMANTIC CONVENTIONS] semconv generate events [#4171](https://github.com/open-telemetry/opentelemetry-cpp/pull/4171) * [EXPORTER] Handle OTLP partial success response - [#4104](https://github.com/open-telemetry/opentelemetry-cpp/pull/4104) + [#4104](https://github.com/open-telemetry/openelemetry-cpp/pull/4104) + +* Bump rules_cc from 0.2.19 to 0.2.20 + [#4173](https://github.com/open-telemetry/opentelemetry-cpp/pull/4173) + +* [CI] pin ci workflow Bazel on MacOS runner to macos-15 + [#4176](https://github.com/open-telemetry/opentelemetry-cpp/pull/4176) + +* [ADMIN] Revert log filtering preview option + [#4174](https://github.com/open-telemetry/opentelemetry-cpp/pull/4174) + +* [TEST] fix metrics simple example + [#4175](https://github.com/open-telemetry/opentelemetry-cpp/pull/4175) + +* [EXPORTER] Replace new operator with std::make_unique + [#4181](https://github.com/open-telemetry/opentelemetry-cpp/pull/4181) + +* [DOC] update ABI policy docs to clarify breaking changes + [#4180](https://github.com/open-telemetry/opentelemetry-cpp/pull/4180) + +* [CODE HEALTH] Fix clang-tidy bugprone-exception-escape in ostream exporters + [#4137](https://github.com/open-telemetry/opentelemetry-cpp/pull/4137) + +* [CMAKE] Upgrade ryml to 0.15.2 + [#4185](https://github.com/open-telemetry/opentelemetry-cpp/pull/4185) * [CONFIGURATION] Apply default sampler when none is specified [#4170](https://github.com/open-telemetry/opentelemetry-cpp/pull/4170) +* [CMAKE] Upgrade curl to 8.21.0 + [#4187](https://github.com/open-telemetry/opentelemetry-cpp/pull/4187) + +* Bump actions/cache from 5.0.5 to 6.0.0 + [#4177](https://github.com/open-telemetry/opentelemetry-cpp/pull/4177) + +* Bump actions/cache from 6.0.0 to 6.1.0 + [#4189](https://github.com/open-telemetry/opentelemetry-cpp/pull/4189) + +* [API] fix the trace state regex to comply with the w3c trace context level 2 + [#4194](https://github.com/open-telemetry/opentelemetry-cpp/pull/4194) + * [CODE HEALTH] Move trace and baggage propagation test classes into anonymous namespace [#4199](https://github.com/open-telemetry/opentelemetry-cpp/pull/4199) +* [CMAKE] Add pkg-config support for OpenTelemetry proto installation + [#4192](https://github.com/open-telemetry/opentelemetry-cpp/pull/4192) + +* [CMAKE] Fix CMake WITH_API_ONLY option + [#4201](https://github.com/open-telemetry/opentelemetry-cpp/pull/4201) + * [CODE HEALTH] Move context propagation test classes into anonymous namespace [#4200](https://github.com/open-telemetry/opentelemetry-cpp/pull/4200) * [CODE HEALTH] Fix clang-tidy bugprone-unused-local-non-trivial-variable warnings [#4202](https://github.com/open-telemetry/opentelemetry-cpp/pull/4202) +* [SDK] LogRecord attribute limits enforcement + [#4157](https://github.com/open-telemetry/opentelemetry-cpp/pull/4157) + +* [SDK] Rename ComposableTraceIdRatioBasedSampler to ComposableProbabilitySampler + [#4210](https://github.com/open-telemetry/opentelemetry-cpp/pull/4210) + +* Bump docker/build-push-action from 7.2.0 to 7.3.0 + [#4204](https://github.com/open-telemetry/opentelemetry-cpp/pull/4204) + +* Bump docker/setup-qemu-action from 4.1.0 to 4.2.0 + [#4205](https://github.com/open-telemetry/opentelemetry-cpp/pull/4205) + +* Bump docker/setup-buildx-action from 4.1.0 to 4.2.0 + [#4207](https://github.com/open-telemetry/opentelemetry-cpp/pull/4207) + +* Bump rules_cc from 0.2.20 to 0.2.21 + [#4214](https://github.com/open-telemetry/opentelemetry-cpp/pull/4214) + +* Bump github/codeql-action/upload-sarif from 4.36.2 to 4.36.3 + [#4213](https://github.com/open-telemetry/opentelemetry-cpp/pull/4213) + +* Bump fossas/fossa-action from 1.9.0 to 2.0.0 + [#4212](https://github.com/open-telemetry/opentelemetry-cpp/pull/4212) + +* Bump github/codeql-action/init from 4.36.2 to 4.36.3 + [#4209](https://github.com/open-telemetry/opentelemetry-cpp/pull/4209) + +* [CODE HEALTH] Move api/test and sdk/test classes into anonymous namespace + [#4217](https://github.com/open-telemetry/opentelemetry-cpp/pull/4217) + * [CODE HEALTH] Fix clang-tidy bugprone-unchecked-string-to-number-conversion warnings [#4216](https://github.com/open-telemetry/opentelemetry-cpp/pull/4216) * [CODE HEALTH] Fix clang-tidy misc-override-with-different-visibility warnings [#4215](https://github.com/open-telemetry/opentelemetry-cpp/pull/4215) +* [BUILD] add missing link dependency for bazel + [#4220](https://github.com/open-telemetry/opentelemetry-cpp/pull/4220) + * [CODE HEALTH] Fix clang-tidy `bugprone-throwing-static-initialization` warnings [#4206](https://github.com/open-telemetry/opentelemetry-cpp/pull/4206) +* Bump rules_cc from 0.2.21 to 0.2.22 + [#4223](https://github.com/open-telemetry/opentelemetry-cpp/pull/4223) + +* Bump step-security/harden-runner from 2.19.4 to 2.20.0 + [#4222](https://github.com/open-telemetry/opentelemetry-cpp/pull/4222) + +* Bump bazel-contrib/publish-to-bcr/.github/workflows/publish.yaml + [#4221](https://github.com/open-telemetry/opentelemetry-cpp/pull/4221) + +* [CODE HEALTH] Move ext and exporters test classes into anonymous namespace + [#4225](https://github.com/open-telemetry/opentelemetry-cpp/pull/4225) + +* Bump github/codeql-action/upload-sarif from 4.36.3 to 4.37.0 + [#4227](https://github.com/open-telemetry/opentelemetry-cpp/pull/4227) + +* Bump github/codeql-action/init from 4.36.3 to 4.37.0 + [#4229](https://github.com/open-telemetry/opentelemetry-cpp/pull/4229) + +* [SEMANTIC CONVENTIONS] Upgrade to semconv 1.43.0 + [#4230](https://github.com/open-telemetry/opentelemetry-cpp/pull/4230) + +* [CODE HEALTH] Move otlp, zipkin and prometheus test classes into anonymous namespace + [#4231](https://github.com/open-telemetry/opentelemetry-cpp/pull/4231) + +* [BAZEL] Upgrade to rapidyaml 1.15.2 + [#4234](https://github.com/open-telemetry/opentelemetry-cpp/pull/4234) + +* [BENCHMARK] add SpanData recordable benchmark and unify common utils + [#4203](https://github.com/open-telemetry/opentelemetry-cpp/pull/4203) + +* [CI] Add `modernize-` and `cppcoreguidelines-pro-` checks to clang-tidy (#4238) + [#4238](https://github.com/open-telemetry/opentelemetry-cpp/pull/4238) + +* [SDK] Apply metric cardinality limits to non-overflow attribute sets and + reserve the overflow point separately. + [#4236](https://github.com/open-telemetry/opentelemetry-cpp/pull/4236) + +* [RELEASE] Release opentelemetry-cpp 1.28.0 + [#4233](https://github.com/open-telemetry/opentelemetry-cpp/pull/4233) + +Important changes: + +* [API] fix the trace state regex to comply with the w3c trace context level 2 (#4194) + [#4194](https://github.com/open-telemetry/opentelemetry-cpp/pull/4194) + + * [API] Fix `TraceState::IsValidKey()` to comply with the W3C Trace Context + Level 2, where keys containing `@` and keys with more than 241 characters + before `@` or more than 14 characters after `@` are now accepted. + Only the total 256-character key length limit is enforced. + **Note**: this is a correctness fix to an inline API header; the observable + behavior of `IsValidKey`, `IsValidKeyRegEx`, and `IsValidKeyNonRegEx` + changes (see `docs/abi-policy.md`). + +* [API+SDK] apply filtering EmitLogRecord (#4079) + [#4079](https://github.com/open-telemetry/opentelemetry-cpp/pull/4079) + + * [API] (ABI v2) `Logger::EmitLogRecord(...)` templates now apply the + `Enabled` filter chain when a `Severity` is in args. v1 behavior is + unchanged. + + * [API/SDK] (ABI v2) Add `Logger::CreateLogRecord` virtual taking + `const nostd::variant &` + for explicit-context record creation. `Logger::EmitLogRecord(args...)` + also detects a `Context`, `SpanContext` + or `TraceId` + `SpanId` [+ `TraceFlags`] in args and routes filtering. + + * [SDK] Add `LogRecordProcessor::HasEnabledFilter()` so the SDK Logger can + include processor-level filtering in its extended-enabled cache. Defaults + to `true`. Built-in `SimpleLogRecordProcessor` and + `BatchLogRecordProcessor` override to `false` since they use the default + Enabled. + + * [API/SDK] Replace `Context`-only signatures on + `LogRecordProcessor::Enabled`, + `LogRecordProcessor::EnabledImplementation`, + `Logger::EnabledImplementation` (v2), and `Logger::CreateLogRecord` (v2) + with `nostd::variant`. + ## [1.27.0] 2026-05-13 * [RELEASE] Bump main branch to 1.27.0-dev diff --git a/CMakeLists.txt b/CMakeLists.txt index e44aa1544f..3380189ff4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -10,7 +10,7 @@ if(CMAKE_VERSION VERSION_GREATER_EQUAL "3.20.0") endif() set(OPENTELEMETRY_VERSION_NUMBER "1.28.0") -set(OPENTELEMETRY_VERSION_SUFFIX "-dev") +set(OPENTELEMETRY_VERSION_SUFFIX "") set(OPENTELEMETRY_VERSION "${OPENTELEMETRY_VERSION_NUMBER}${OPENTELEMETRY_VERSION_SUFFIX}") diff --git a/MODULE.bazel b/MODULE.bazel index f02a516052..c8d409be41 100644 --- a/MODULE.bazel +++ b/MODULE.bazel @@ -3,7 +3,7 @@ module( name = "opentelemetry-cpp", - version = "1.28.0-dev", + version = "1.28.0", compatibility_level = 0, repo_name = "io_opentelemetry_cpp", ) diff --git a/api/include/opentelemetry/version.h b/api/include/opentelemetry/version.h index 574d1df49f..48908afe88 100644 --- a/api/include/opentelemetry/version.h +++ b/api/include/opentelemetry/version.h @@ -12,7 +12,7 @@ #endif // NOLINTBEGIN(cppcoreguidelines-macro-to-enum) -#define OPENTELEMETRY_VERSION "1.28.0-dev" +#define OPENTELEMETRY_VERSION "1.28.0" #define OPENTELEMETRY_VERSION_MAJOR 1 #define OPENTELEMETRY_VERSION_MINOR 28 #define OPENTELEMETRY_VERSION_PATCH 0 diff --git a/sdk/include/opentelemetry/sdk/version/version.h b/sdk/include/opentelemetry/sdk/version/version.h index 487797e603..5924fa4b74 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.28.0-dev" +#define OPENTELEMETRY_SDK_VERSION "1.28.0" #include "opentelemetry/version.h" diff --git a/sdk/src/version/version.cc b/sdk/src/version/version.cc index f7c6730f4f..0d852458c6 100644 --- a/sdk/src/version/version.cc +++ b/sdk/src/version/version.cc @@ -14,16 +14,16 @@ namespace version const int major_version = 1; const int minor_version = 28; const int patch_version = 0; -const char *pre_release = "dev"; +const char *pre_release = ""; const char *build_metadata = "none"; const char *short_version = "1.28.0"; -const char *full_version = "1.28.0-dev"; +const char *full_version = "1.28.0"; /** * Release date. * For published releases: YYYY-MM-DD * For -dev releases: empty string */ -const char *build_date = ""; +const char *build_date = "2026-07-12"; } // namespace version } // namespace sdk OPENTELEMETRY_END_NAMESPACE diff --git a/tbump.toml b/tbump.toml index dc0218ae06..e1a3bdd310 100644 --- a/tbump.toml +++ b/tbump.toml @@ -21,7 +21,7 @@ github_url = "https://github.com/open-telemetry/opentelemetry-cpp" [version] -current = "1.28.0-dev" +current = "1.28.0" # Example of a semver regexp. # Make sure this matches current_version before