Skip to content

Commit dbaa91d

Browse files
authored
Merge branch 'main' into validate_utf8_string_in_setters
2 parents 52ef536 + 116f438 commit dbaa91d

File tree

19 files changed

+516
-64
lines changed

19 files changed

+516
-64
lines changed

.github/workflows/benchmark.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
with:
2222
submodules: 'recursive'
2323
- name: Mount Bazel Cache
24-
uses: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4
24+
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
2525
env:
2626
cache-name: bazel_cache
2727
with:

.github/workflows/ci.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -643,7 +643,7 @@ jobs:
643643
with:
644644
submodules: 'recursive'
645645
- name: Mount Bazel Cache
646-
uses: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4
646+
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
647647
env:
648648
cache-name: bazel_cache
649649
with:
@@ -669,7 +669,7 @@ jobs:
669669
with:
670670
submodules: 'recursive'
671671
- name: Mount Bazel Cache
672-
uses: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4
672+
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
673673
env:
674674
cache-name: bazel_cache
675675
with:
@@ -695,7 +695,7 @@ jobs:
695695
with:
696696
submodules: 'recursive'
697697
- name: Mount Bazel Cache
698-
uses: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4
698+
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
699699
env:
700700
cache-name: bazel_cache
701701
with:
@@ -721,7 +721,7 @@ jobs:
721721
with:
722722
submodules: 'recursive'
723723
- name: Mount Bazel Cache
724-
uses: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4
724+
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
725725
env:
726726
cache-name: bazel_cache
727727
with:
@@ -747,7 +747,7 @@ jobs:
747747
with:
748748
submodules: 'recursive'
749749
- name: Mount Bazel Cache
750-
uses: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4
750+
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
751751
env:
752752
cache-name: bazel_cache
753753
with:
@@ -773,7 +773,7 @@ jobs:
773773
with:
774774
submodules: 'recursive'
775775
- name: Mount Bazel Cache
776-
uses: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4
776+
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
777777
env:
778778
cache-name: bazel_cache
779779
with:
@@ -799,7 +799,7 @@ jobs:
799799
with:
800800
submodules: 'recursive'
801801
- name: Mount Bazel Cache
802-
uses: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4
802+
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
803803
env:
804804
cache-name: bazel_cache
805805
with:
@@ -825,7 +825,7 @@ jobs:
825825
with:
826826
submodules: 'recursive'
827827
- name: Mount Bazel Cache
828-
uses: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4
828+
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
829829
env:
830830
cache-name: bazel_cache
831831
with:
@@ -851,7 +851,7 @@ jobs:
851851
with:
852852
submodules: 'recursive'
853853
- name: Mount Bazel Cache
854-
uses: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4
854+
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
855855
env:
856856
cache-name: bazel_cache
857857
with:
@@ -873,7 +873,7 @@ jobs:
873873
with:
874874
submodules: 'recursive'
875875
- name: Mount Bazel Cache
876-
uses: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4
876+
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
877877
env:
878878
cache-name: bazel_cache
879879
with:

.github/workflows/cmake_install.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -262,6 +262,7 @@ jobs:
262262
INSTALL_TEST_DIR: '/Users/runner/install_test'
263263
CXX_STANDARD: '17'
264264
CMAKE_TOOLCHAIN_FILE: '/Users/runner/conan/build/Debug/generators/conan_toolchain.cmake'
265+
CMAKE_VERSION: 3.31.0 # building the conan "stable" versions requires CMake 3.x
265266
BUILD_TYPE: 'Debug'
266267
steps:
267268
- name: Harden the runner (Audit all outbound calls)
@@ -272,6 +273,9 @@ jobs:
272273
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
273274
with:
274275
submodules: 'recursive'
276+
- name: Install CMake
277+
run: |
278+
./ci/setup_cmake_macos.sh
275279
- name: Install Conan and tools
276280
run: |
277281
brew install conan autoconf automake libtool coreutils

CHANGELOG.md

Lines changed: 185 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,32 @@ Increment the:
1515

1616
## [Unreleased]
1717

18+
* [SDK] Add bundle version of utf8_range to validate attributes
19+
[#3512](https://github.com/open-telemetry/opentelemetry-cpp/pull/3512)
20+
21+
## [1.23 2025-09-25]
22+
23+
* [CodeHealth] Fix clang-tidy warnings part 6
24+
[#3507](https://github.com/open-telemetry/opentelemetry-cpp/pull/3507)
25+
26+
* [CMAKE] Add CMake scripts to find or fetch curl and find zlib
27+
[#3526](https://github.com/open-telemetry/opentelemetry-cpp/pull/3526)
28+
29+
* [REMOVAL] remove unused ci bash scripts
30+
[#3541](https://github.com/open-telemetry/opentelemetry-cpp/pull/3541)
31+
32+
* Bump step-security/harden-runner from 2.12.2 to 2.13.0
33+
[#3542](https://github.com/open-telemetry/opentelemetry-cpp/pull/3542)
34+
35+
* [SDK] Ensure TraceId is portable on big-endian architectures
36+
[#3543](https://github.com/open-telemetry/opentelemetry-cpp/pull/3543)
37+
1838
* [TEST] Shared otel-cpp libs linked to latest static protobuf and grpc
1939
[#3544](https://github.com/open-telemetry/opentelemetry-cpp/pull/3544)
2040

41+
* [CONFIGURATION] File configuration - component registry
42+
[#3537](https://github.com/open-telemetry/opentelemetry-cpp/pull/3537)
43+
2144
* [SDK] Implement env var configuration for PeriodicExportingMetricReader
2245
[#3549](https://github.com/open-telemetry/opentelemetry-cpp/pull/3549)
2346

@@ -27,18 +50,177 @@ Increment the:
2750
* [SDK] Implements options for the ParentBasedSampler with default values
2851
[#3553](https://github.com/open-telemetry/opentelemetry-cpp/pull/3553)
2952

30-
* [SDK] Add bundle version of utf8_range to validate attributes
31-
[#3512](https://github.com/open-telemetry/opentelemetry-cpp/pull/3512)
53+
* Bump github/codeql-action from 3.29.2 to 3.29.3
54+
[#3556](https://github.com/open-telemetry/opentelemetry-cpp/pull/3556)
55+
56+
* [CMAKE] Add CMake scripts to find or fetch protobuf and grpc
57+
[#3533](https://github.com/open-telemetry/opentelemetry-cpp/pull/3533)
58+
59+
* [CONFIGURATION] File configuration - sdk builder
60+
[#3550](https://github.com/open-telemetry/opentelemetry-cpp/pull/3550)
61+
62+
* Bump github/codeql-action from 3.29.3 to 3.29.4
63+
[#3558](https://github.com/open-telemetry/opentelemetry-cpp/pull/3558)
64+
65+
* [CONFIGURATION] File configuration - spec version 1.0.0-rc1
66+
[#3557](https://github.com/open-telemetry/opentelemetry-cpp/pull/3557)
67+
68+
* [CONFIGURATION] File configuration - sdk resource
69+
[#3567](https://github.com/open-telemetry/opentelemetry-cpp/pull/3567)
70+
71+
* [CONFIGURATION] File configuration - ostream exporter builders
72+
[#3563](https://github.com/open-telemetry/opentelemetry-cpp/pull/3563)
73+
74+
* [CONFIGURATION] File configuration - prometheus exporter builder
75+
[#3564](https://github.com/open-telemetry/opentelemetry-cpp/pull/3564)
76+
77+
* [CONFIGURATION] File configuration - zipkin exporter builder
78+
[#3565](https://github.com/open-telemetry/opentelemetry-cpp/pull/3565)
79+
80+
* [CONFIGURATION] File configuration - otlp exporter builders
81+
[#3566](https://github.com/open-telemetry/opentelemetry-cpp/pull/3566)
82+
83+
* [CMAKE] Don't set iwyu and clang-tidy properties on nlohmann_json with cmake <3.19
84+
[#3568](https://github.com/open-telemetry/opentelemetry-cpp/pull/3568)
3285

3386
* [SDK] View should not have a unit
3487
[#3552](https://github.com/open-telemetry/opentelemetry-cpp/pull/3552)
3588

89+
* [EXPORTER] Fixes tsan warnings
90+
[#3531](https://github.com/open-telemetry/opentelemetry-cpp/pull/3531)
91+
92+
* [DOC] Document minimum required versions
93+
[#3562](https://github.com/open-telemetry/opentelemetry-cpp/pull/3562)
94+
95+
* Bump github/codeql-action from 3.29.4 to 3.29.5
96+
[#3574](https://github.com/open-telemetry/opentelemetry-cpp/pull/3574)
97+
98+
* Add subscript to issue templates
99+
[#3576](https://github.com/open-telemetry/opentelemetry-cpp/pull/3576)
100+
101+
* [CONFIGURATION] File configuration - configuration example
102+
[#3573](https://github.com/open-telemetry/opentelemetry-cpp/pull/3573)
103+
104+
* Bump actions/download-artifact from 4.3.0 to 5.0.0
105+
[#3578](https://github.com/open-telemetry/opentelemetry-cpp/pull/3578)
106+
107+
* Bump actions/cache from 4.2.3 to 4.2.4
108+
[#3580](https://github.com/open-telemetry/opentelemetry-cpp/pull/3580)
109+
110+
* [SDK] Implementation of container resource as per semconv
111+
[#3572](https://github.com/open-telemetry/opentelemetry-cpp/pull/3572)
112+
113+
* Bump github/codeql-action from 3.29.7 to 3.29.8
114+
[#3584](https://github.com/open-telemetry/opentelemetry-cpp/pull/3584)
115+
116+
* [CI] update do_ci scripts to use common cmake cache scripts
117+
[#3582](https://github.com/open-telemetry/opentelemetry-cpp/pull/3582)
118+
119+
* Bump actions/checkout from 4.2.2 to 5.0.0
120+
[#3587](https://github.com/open-telemetry/opentelemetry-cpp/pull/3587)
121+
122+
* Bump github/codeql-action from 3.29.8 to 3.29.9
123+
[#3589](https://github.com/open-telemetry/opentelemetry-cpp/pull/3589)
124+
125+
* [BUILD] Remove duplicated deprecated warnings in logs headers
126+
[#3592](https://github.com/open-telemetry/opentelemetry-cpp/pull/3592)
127+
128+
* Bump github/codeql-action from 3.29.9 to 3.29.10
129+
[#3595](https://github.com/open-telemetry/opentelemetry-cpp/pull/3595)
130+
131+
* [resource_detectors] implementation of process resource detector as per semconv
132+
[#3591](https://github.com/open-telemetry/opentelemetry-cpp/pull/3591)
133+
134+
* Bump codecov/codecov-action from 5.4.3 to 5.5.0
135+
[#3597](https://github.com/open-telemetry/opentelemetry-cpp/pull/3597)
136+
137+
* Bump github/codeql-action from 3.29.10 to 3.29.11
138+
[#3602](https://github.com/open-telemetry/opentelemetry-cpp/pull/3602)
139+
140+
* [BAZEL] Drop rules_foreign_cc as a dependency
141+
[#3601](https://github.com/open-telemetry/opentelemetry-cpp/pull/3601)
142+
143+
* [BUILD] Remove cmake support for thrift as Jaeger was removed
144+
[#3604](https://github.com/open-telemetry/opentelemetry-cpp/pull/3604)
145+
146+
* [CMAKE] upgrade cmake minimum version to 3.16
147+
[#3599](https://github.com/open-telemetry/opentelemetry-cpp/pull/3599)
148+
149+
* [CMAKE] Set the project version through the cmake project macro
150+
[#3605](https://github.com/open-telemetry/opentelemetry-cpp/pull/3605)
151+
152+
* [CONFIGURATION] File configuration - functional tests
153+
[#3606](https://github.com/open-telemetry/opentelemetry-cpp/pull/3606)
154+
155+
* [SEMANTIC CONVENTIONS] Upgrade to semantic conventions 1.37.0
156+
[#3615](https://github.com/open-telemetry/opentelemetry-cpp/pull/3615)
157+
36158
* [BUILD] Use -dev versions in main branch
37159
[#3609](https://github.com/open-telemetry/opentelemetry-cpp/pull/3609)
38160

39-
* [SDK] Implementing configurable aggregation cardinality limit
161+
* [BAZEL] Fix version warnings in MODULE.bazel
162+
[#3617](https://github.com/open-telemetry/opentelemetry-cpp/pull/3617)
163+
164+
* [Copilot] Add instructions for OpenTelemetry C++
165+
[#3614](https://github.com/open-telemetry/opentelemetry-cpp/pull/3614)
166+
167+
* [MAINTAINER] Maintain version numbers with tbump
168+
[#3616](https://github.com/open-telemetry/opentelemetry-cpp/pull/3616)
169+
170+
* Bump github/codeql-action from 3.29.11 to 3.30.0
171+
[#3621](https://github.com/open-telemetry/opentelemetry-cpp/pull/3621)
172+
173+
* Bump benchmark-action/github-action-benchmark from 1.20.4 to 1.20.5
174+
[#3623](https://github.com/open-telemetry/opentelemetry-cpp/pull/3623)
175+
176+
* [BUILD] Cleanup cppcheck warnings
177+
[#3619](https://github.com/open-telemetry/opentelemetry-cpp/pull/3619)
178+
179+
* Bump actions/stale from 9.1.0 to 10.0.0
180+
[#3626](https://github.com/open-telemetry/opentelemetry-cpp/pull/3626)
181+
182+
* Bump actions/github-script from 7.0.1 to 8.0.0
183+
[#3627](https://github.com/open-telemetry/opentelemetry-cpp/pull/3627)
184+
185+
* Bump codecov/codecov-action from 5.5.0 to 5.5.1
186+
[#3625](https://github.com/open-telemetry/opentelemetry-cpp/pull/3625)
187+
188+
* [resource_detectors] implementation of remaining process attributes
189+
[#3603](https://github.com/open-telemetry/opentelemetry-cpp/pull/3603)
190+
191+
* Bump benchmark-action/github-action-benchmark from 1.20.5 to 1.20.7
192+
[#3631](https://github.com/open-telemetry/opentelemetry-cpp/pull/3631)
193+
194+
* Bump github/codeql-action from 3.30.0 to 3.30.1
195+
[#3630](https://github.com/open-telemetry/opentelemetry-cpp/pull/3630)
196+
197+
* Bump github/codeql-action from 3.30.1 to 3.30.2
198+
[#3637](https://github.com/open-telemetry/opentelemetry-cpp/pull/3637)
199+
200+
* Bump step-security/harden-runner from 2.13.0 to 2.13.1
201+
[#3636](https://github.com/open-telemetry/opentelemetry-cpp/pull/3636)
202+
203+
* Bump github/codeql-action from 3.30.2 to 3.30.3
204+
[#3639](https://github.com/open-telemetry/opentelemetry-cpp/pull/3639)
205+
206+
* [Metrics] New Attribute Processor for Exclude list
207+
[#3633](https://github.com/open-telemetry/opentelemetry-cpp/pull/3633)
208+
209+
* Implementing configurable aggregation cardinality limit
40210
[#3624](https://github.com/open-telemetry/opentelemetry-cpp/pull/3624)
41211

212+
* [CMAKE] Fix CMake 4.x build error on MacOS runner and when building opentracing
213+
[#3649](https://github.com/open-telemetry/opentelemetry-cpp/pull/3649)
214+
215+
* [SDK] custom hash and equality for attribute processor
216+
[#3643](https://github.com/open-telemetry/opentelemetry-cpp/pull/3643)
217+
218+
* Bump actions/cache from 4.2.4 to 4.3.0
219+
[#3658](https://github.com/open-telemetry/opentelemetry-cpp/pull/3658)
220+
221+
* [SDK] Fix copying overflow attributes in metric AttributesHashMap
222+
[#3651](https://github.com/open-telemetry/opentelemetry-cpp/pull/3651)
223+
42224
Important changes:
43225

44226
* [CMAKE] Upgrade CMake minimum version to 3.16

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ if(CMAKE_VERSION VERSION_GREATER_EQUAL "3.20.0")
1515
cmake_policy(SET CMP0117 NEW)
1616
endif()
1717

18-
set(OPENTELEMETRY_VERSION_NUMBER "1.23.0")
18+
set(OPENTELEMETRY_VERSION_NUMBER "1.24.0")
1919
set(OPENTELEMETRY_VERSION_SUFFIX "-dev")
2020
set(OPENTELEMETRY_VERSION
2121
"${OPENTELEMETRY_VERSION_NUMBER}${OPENTELEMETRY_VERSION_SUFFIX}")

MODULE.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
module(
55
name = "opentelemetry-cpp",
6-
version = "1.23.0-dev",
6+
version = "1.24.0-dev",
77
compatibility_level = 0,
88
repo_name = "io_opentelemetry_cpp",
99
)

api/include/opentelemetry/version.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@
1010
# define OPENTELEMETRY_ABI_VERSION_NO 1
1111
#endif
1212

13-
#define OPENTELEMETRY_VERSION "1.23.0-dev"
13+
#define OPENTELEMETRY_VERSION "1.24.0-dev"
1414
#define OPENTELEMETRY_VERSION_MAJOR 1
15-
#define OPENTELEMETRY_VERSION_MINOR 23
15+
#define OPENTELEMETRY_VERSION_MINOR 24
1616
#define OPENTELEMETRY_VERSION_PATCH 0
1717

1818
#define OPENTELEMETRY_ABI_VERSION OPENTELEMETRY_STRINGIFY(OPENTELEMETRY_ABI_VERSION_NO)

cmake/opentracing-cpp.cmake

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,14 @@ if(NOT OpenTracing_FOUND)
2727
set(_SAVED_BUILD_TESTING ${BUILD_TESTING})
2828
endif()
2929

30+
if(DEFINED CMAKE_POLICY_VERSION_MINIMUM)
31+
set(_SAVED_CMAKE_POLICY_VERSION_MINIMUM ${CMAKE_POLICY_VERSION_MINIMUM})
32+
endif()
33+
3034
# Set the cache variables for the opentracing build
3135
set(BUILD_TESTING OFF CACHE BOOL "" FORCE)
3236
set(BUILD_MOCKTRACER OFF CACHE BOOL "" FORCE)
37+
set(CMAKE_POLICY_VERSION_MINIMUM "3.5" CACHE STRING "" FORCE)
3338

3439
FetchContent_MakeAvailable(opentracing)
3540

@@ -40,6 +45,13 @@ if(NOT OpenTracing_FOUND)
4045
unset(BUILD_TESTING CACHE)
4146
endif()
4247

48+
# Restore the saved state of CMAKE_POLICY_VERSION_MINIMUM
49+
if(DEFINED _SAVED_CMAKE_POLICY_VERSION_MINIMUM)
50+
set(CMAKE_POLICY_VERSION_MINIMUM ${_SAVED_CMAKE_POLICY_VERSION_MINIMUM} CACHE STRING "" FORCE)
51+
else()
52+
unset(CMAKE_POLICY_VERSION_MINIMUM CACHE)
53+
endif()
54+
4355
# Patch the opentracing targets to set missing includes, add namespaced alias targets, disable iwyu and clang-tidy.
4456
foreach(_target opentracing opentracing-static)
4557
if(TARGET ${_target})

functional/configuration/shelltests/kitchen-sink.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ SDK CREATED
1919
severity_text : DEBUG
2020
body : body
2121
resource :
22-
telemetry.sdk.version: 1.22.0
22+
telemetry.sdk.version: 1.24.0-dev
2323
service.version: 1.0.0
2424
double_array_key: [1.1,2.2]
2525
double_key: 1.1

0 commit comments

Comments
 (0)