File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed
androidMain/kotlin/com/powersync/sync
jvmMain/kotlin/com/powersync/sync
nativeMain/kotlin/com/powersync/sync Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 22
33## 1.9.0 (unreleased)
44
5+ - Updated user agent string formats to allow viewing version distributions in the new PowerSync dashboard.
56- Sync options: ` newClientImplementation ` is now the default.
67- Make ` androidx.sqlite:sqlite-bundled ` an API dependency of ` :core ` to avoid toolchain warnings.
78
Original file line number Diff line number Diff line change @@ -3,4 +3,4 @@ package com.powersync.sync
33import android.os.Build
44import com.powersync.build.LIBRARY_VERSION
55
6- internal actual fun userAgent (): String = " PowerSync Kotlin SDK v $LIBRARY_VERSION (Android ${Build .VERSION .SDK_INT } ) "
6+ internal actual fun userAgent (): String = " powersync-kotlin/ $LIBRARY_VERSION android/ ${Build .VERSION .SDK_INT } "
Original file line number Diff line number Diff line change @@ -7,5 +7,5 @@ internal actual fun userAgent(): String {
77 val osVersion = System .getProperty(" os.version" ) ? : " "
88 val java = System .getProperty(" java.vendor.version" ) ? : System .getProperty(" java.runtime.version" ) ? : " unknown"
99
10- return " PowerSync Kotlin SDK v ${LIBRARY_VERSION } (running Java $java on $os $osVersion ) "
10+ return " powersync-kotlin/ ${LIBRARY_VERSION } Java/ $java $os / $osVersion "
1111}
Original file line number Diff line number Diff line change @@ -4,5 +4,4 @@ import com.powersync.build.LIBRARY_VERSION
44import kotlin.experimental.ExperimentalNativeApi
55
66@OptIn(ExperimentalNativeApi ::class )
7- internal actual fun userAgent (): String =
8- " PowerSync Kotlin SDK v$LIBRARY_VERSION (running on ${Platform .cpuArchitecture.name} ${Platform .osFamily.name} )"
7+ internal actual fun userAgent (): String = " powersync-kotlin/v$LIBRARY_VERSION ${Platform .cpuArchitecture.name} /${Platform .osFamily.name} "
You can’t perform that action at this time.
0 commit comments