Skip to content

Commit

Permalink
Prep 1.8.0 release (#1094)
Browse files Browse the repository at this point in the history
* update typo from #1077

* update changelog

* spotless

* Update CHANGELOG.md

---------

Co-authored-by: tonzhan2 <[email protected]>
  • Loading branch information
breedx-splk and tonzhan2 authored Dec 4, 2024
1 parent 77fe529 commit 8d4333c
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 5 deletions.
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,21 @@ adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

### Unreleased

### Version 1.8.0 - 2024-12-04

This is a regular maintenance release.

This version depends on these upstream versions:

* opentelemetry-android v0.4.0
* opentelemetry-instrumentation-api [v1.33.6](https://github.com/open-telemetry/opentelemetry-java-instrumentation/releases/tag/v1.33.6)
* opentelemetry-sdk [v1.41.0](https://github.com/open-telemetry/opentelemetry-java/releases/tag/v1.41.0)

📈 Enhancements:

* Add ability to support multiple `Server-Timing` HTTP headers ([#1077](https://github.com/signalfx/splunk-otel-android/pull/1077))
* Add unique build identifiers to ANRs, crashes, and slow renders. Note: This enhancement uses experimental attribute names that are subject to change in a future release. ([#1093](https://github.com/signalfx/splunk-otel-android/pull/1093))

### Version 1.7.0 - 2024-08-12

This is a regular maintenance release.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ class RumResponseAttributesExtractorTest {
void spanDecoration() {
Request fakeRequest = mock(Request.class);
Response response =
getBaseRuestBuilder(fakeRequest)
getBaseRequestBuilder(fakeRequest)
.addHeader(
"Server-Timing",
"traceparent;desc=\"00-00000000000000000000000000000001-0000000000000001-01\"")
Expand All @@ -56,7 +56,7 @@ void spanDecoration() {
void ignoresMalformed() {
Request fakeRequest = mock(Request.class);
Response response =
getBaseRuestBuilder(fakeRequest)
getBaseRequestBuilder(fakeRequest)
.addHeader("Server-Timing", "othervalue 1")
.addHeader(
"Server-Timing",
Expand All @@ -76,7 +76,7 @@ void ignoresMalformed() {
void lastMatchingWins() {
Request fakeRequest = mock(Request.class);
Response response =
getBaseRuestBuilder(fakeRequest)
getBaseRequestBuilder(fakeRequest)
.addHeader(
"Server-Timing",
"traceparent;desc=\"00-00000000000000000000000000000001-0000000000000001-01\"")
Expand All @@ -102,7 +102,7 @@ void spanDecoration_noLinkingHeader() {
when(headerParser.parse(null)).thenReturn(new String[0]);

Request fakeRequest = mock(Request.class);
Response response = getBaseRuestBuilder(fakeRequest).build();
Response response = getBaseRequestBuilder(fakeRequest).build();
Attributes attributes = performAttributesExtraction(fakeRequest, response);

assertThat(attributes).containsOnly(entry(COMPONENT_KEY, "http"));
Expand All @@ -118,7 +118,7 @@ private static Attributes performAttributesExtraction(Request fakeRequest, Respo
return attributes;
}

private Response.Builder getBaseRuestBuilder(Request fakeRequest) {
private Response.Builder getBaseRequestBuilder(Request fakeRequest) {
return new Response.Builder()
.request(fakeRequest)
.protocol(Protocol.HTTP_1_1)
Expand Down

0 comments on commit 8d4333c

Please sign in to comment.