Skip to content

Commit 7d5037f

Browse files
authored
prepare 1.4.0 release (#773)
1 parent ff7a23e commit 7d5037f

File tree

3 files changed

+12
-2
lines changed

3 files changed

+12
-2
lines changed

CHANGELOG.md

+7-1
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,15 @@ adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

88
### Unreleased
99

10+
### Version 1.4.0 - 2024-03-06
11+
12+
This regular release follows the upstream `opentelemetry-android` release.
13+
14+
* Upgrade upstream `opentelemetry-android` to 0.4.0.
1015
* Add new incubating API: `SplunkRumBuilder.setHttpSenderCustomizer()` to allow customization
1116
of the HTTP client used for sending data to Splunk. This can be useful when devices are
12-
behind a proxy or API gateway.
17+
behind a proxy or API gateway (#742).
18+
* Fix AndroidResource blending between Splunk version and upstream. (#757)
1319

1420
## Version 1.3.1 - 2023-12-14
1521

splunk-otel-android/build.gradle.kts

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ dependencies {
4848
api(platform("io.opentelemetry.instrumentation:opentelemetry-instrumentation-bom-alpha:$otelAlphaVersion"))
4949
api(platform("io.opentelemetry:opentelemetry-bom:$otelSdkVersion"))
5050

51-
api("io.opentelemetry.android:instrumentation:0.3.0-alpha")
51+
api("io.opentelemetry.android:instrumentation:0.4.0-alpha")
5252

5353
implementation(platform("org.jetbrains.kotlin:kotlin-bom:1.9.22"))
5454
implementation("androidx.appcompat:appcompat:1.6.1")

splunk-otel-android/src/test/java/com/splunk/rum/RumInitializerTest.java

+4
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ void initializationSpan() {
7979
appInfo.labelRes = 14;
8080

8181
when(application.getApplicationContext()).thenReturn(context);
82+
when(application.getMainLooper()).thenReturn(mainLooper);
8283
when(context.getApplicationInfo()).thenReturn(appInfo);
8384
when(context.getString(appInfo.labelRes)).thenReturn(APP_NAME);
8485

@@ -139,6 +140,7 @@ void spanLimitsAreConfigured() {
139140
.setRumAccessToken("accessToken");
140141

141142
when(application.getApplicationContext()).thenReturn(context);
143+
when(application.getMainLooper()).thenReturn(mainLooper);
142144

143145
InMemorySpanExporter testExporter = InMemorySpanExporter.create();
144146
AppStartupTimer startupTimer = new AppStartupTimer();
@@ -244,6 +246,7 @@ void canCustomizeHttpSender() {
244246
.setHttpSenderCustomizer(customizer);
245247

246248
when(application.getApplicationContext()).thenReturn(context);
249+
when(application.getMainLooper()).thenReturn(mainLooper);
247250

248251
RumInitializer testInitializer =
249252
new RumInitializer(splunkRumBuilder, application, new AppStartupTimer());
@@ -265,6 +268,7 @@ void shouldTranslateExceptionEventsToSpanAttributes() {
265268
.setRumAccessToken("secret!")
266269
.setApplicationName("test");
267270

271+
when(application.getMainLooper()).thenReturn(mainLooper);
268272
when(application.getApplicationContext()).thenReturn(context);
269273

270274
AppStartupTimer appStartupTimer = new AppStartupTimer();

0 commit comments

Comments
 (0)