Skip to content

Commit 10b87d4

Browse files
committed
feat: bump version 7.2.0
1 parent 897a615 commit 10b87d4

5 files changed

Lines changed: 39 additions & 6 deletions

File tree

CHANGELOG.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,38 @@
11
# Changelog
22

3+
## 7.2.0
4+
5+
### Before You Upgrade
6+
7+
**Version 7.2.0 contains breaking changes.** Please read the migration notes below before updating.
8+
9+
### Breaking Changes
10+
11+
#### Signal timestamps now use `kotlin.time.Instant` ([#109](https://github.com/TelemetryDeck/KotlinSDK/pull/109))
12+
13+
`Signal.receivedAt` is now `kotlin.time.Instant` instead of `java.util.Date`. The `kotlinx-datetime` dependency has been dropped in favor of a stateless serializer built on the Kotlin standard library. If you read `receivedAt` directly, update your code to use `Instant`.
14+
15+
#### `TelemetryDeck.Calendar.hourOfDay` is now 1-based ([#110](https://github.com/TelemetryDeck/KotlinSDK/pull/110))
16+
17+
`hourOfDay` now reports `1..24` instead of `0..23` (1 = 00:00-00:59, 24 = 23:00-23:59), aligning with the SwiftSDK.
18+
19+
#### `TelemetryDeck.Calendar.quarterOfYear` is now derived from the month ([#110](https://github.com/TelemetryDeck/KotlinSDK/pull/110))
20+
21+
The quarter is now always calculated from the month component, replacing the previous API-level-dependent logic, aligning with SwiftSDK.
22+
23+
#### Signals are now sent as native JSON objects ([#111](https://github.com/TelemetryDeck/KotlinSDK/pull/111))
24+
25+
Signal payloads are transmitted as native JSON objects instead of `"key:value"` string tags. If you implement a custom `SignalCache` or otherwise consume `Signal.payload` directly, expect a `JsonObject` rather than `List<String>`.
26+
27+
### New Features
28+
29+
#### Screen size parameters ([#111](https://github.com/TelemetryDeck/KotlinSDK/pull/111))
30+
31+
The SDK now reports connected display dimensions automatically on Android 7.0 (API 24) and later ([SwiftSDK#293](https://github.com/TelemetryDeck/SwiftSDK/pull/293)):
32+
33+
- `TelemetryDeck.Device.Screens.Primary.width` / `.height` / `.resolution`
34+
- `TelemetryDeck.Device.Screens.All.width` / `.height` / `.resolution` / `.count`
35+
336
## 7.1.0
437

538
Adds in-memory mode: In this mode, none of our default providers will use client side persistence to disk.

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,14 +35,14 @@ The Kotlin SDK for TelemetryDeck is available from Maven Central at the followin
3535
```groovy
3636
// `build.gradle`
3737
dependencies {
38-
implementation 'com.telemetrydeck:kotlin-sdk:7.1.0'
38+
implementation 'com.telemetrydeck:kotlin-sdk:7.2.0'
3939
}
4040
```
4141

4242
```kotlin
4343
// `build.gradle.kts`
4444
dependencies {
45-
implementation("com.telemetrydeck:kotlin-sdk:7.1.0")
45+
implementation("com.telemetrydeck:kotlin-sdk:7.2.0")
4646
}
4747
```
4848

@@ -518,7 +518,7 @@ When integrating with Google Play Billing Library, you can adopt the TelemetryDe
518518
```kotlin
519519
// `build.gradle.kts`
520520
dependencies {
521-
implementation("com.telemetrydeck:kotlin-sdk-google-services:7.1.0")
521+
implementation("com.telemetrydeck:kotlin-sdk-google-services:7.2.0")
522522
}
523523
```
524524

google-services/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ dependencies {
6868
}
6969

7070
mavenPublishing {
71-
coordinates("com.telemetrydeck", "kotlin-sdk-google-services", "7.1.0")
71+
coordinates("com.telemetrydeck", "kotlin-sdk-google-services", "7.2.0")
7272

7373
pom {
7474
name = "TelemetryDeck SDK Google Services"

lib/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ dependencies {
101101
}
102102

103103
mavenPublishing {
104-
coordinates("com.telemetrydeck", "kotlin-sdk", "7.1.0")
104+
coordinates("com.telemetrydeck", "kotlin-sdk", "7.2.0")
105105

106106
pom {
107107
name = "TelemetryDeck SDK"

lib/src/main/java/com/telemetrydeck/sdk/providers/EnvironmentParameterProvider.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ class EnvironmentParameterProvider : TelemetryDeckProvider {
2929
private val platform: String = "Android"
3030
private val os: String = "Android"
3131
private val sdkName: String = "KotlinSDK"
32-
private val sdkVersion: String = "7.1.0"
32+
private val sdkVersion: String = "7.2.0"
3333

3434
override fun register(ctx: Context?, client: TelemetryDeckSignalProcessor) {
3535
appendContextSpecificParams(ctx, client.debugLogger)

0 commit comments

Comments
 (0)