Compare commits

..

4 Commits

Author SHA1 Message Date
Zane Schepke 99cd1d917a chore: bump version with notes 2025-08-14 01:10:58 -04:00
Zane Schepke 7940b97329 fix: edit tunnel save config name append bug 2025-08-14 00:31:44 -04:00
Zane Schepke 99419ebe9f fix: allow ping target to override all defaults 2025-08-12 21:57:58 -04:00
Zane Schepke 3e2ffc1b64 fix: tunnel re-establish bug
closes #881
2025-08-12 16:01:43 -04:00
7 changed files with 28 additions and 18 deletions
@@ -138,19 +138,22 @@ constructor(
}
val host =
{
val parts = allowedIpStr.split("/")
val internalIp = if (parts.size == 2) parts[0] else allowedIpStr
tunnelConf.pingTarget
?: {
val parts = allowedIpStr.split("/")
val internalIp =
if (parts.size == 2) parts[0] else allowedIpStr
val prefix =
if (parts.size == 2) parts[1].toIntOrNull() ?: 32 else 32
if (prefix <= 1) {
tunnelConf.pingTarget ?: CLOUDFLARE_IPV4_IP
} else {
internalIp.removeSurrounding("[", "]")
val prefix =
if (parts.size == 2) parts[1].toIntOrNull() ?: 32
else 32
if (prefix <= 1) {
CLOUDFLARE_IPV4_IP
} else {
internalIp.removeSurrounding("[", "]")
}
}
}
.invoke()
.invoke()
val attemptTime = System.currentTimeMillis()
runCatching {
@@ -82,7 +82,7 @@ fun ConfigScreen(
if (save) {
try {
appViewModel.handleEvent(
AppEvent.SaveTunnelUniquely(
AppEvent.SaveTunnel(
uiState.configProxy.buildTunnelConfFromState(uiState.tunnelName, tunnelConf)
)
)
@@ -263,7 +263,7 @@ constructor(
saveSettings(
state.appSettings.copy(tunnelPingTimeoutSeconds = event.timeout)
)
is AppEvent.SaveTunnelUniquely -> saveTunnelsUniquely(listOf(event.tunnel))
is AppEvent.SaveTunnel -> saveTunnel(event.tunnel)
}
}
}
@@ -77,7 +77,7 @@ sealed class AppEvent {
data class SetTheme(val theme: Theme) : AppEvent()
data class SaveTunnelUniquely(val tunnel: TunnelConf) : AppEvent()
data class SaveTunnel(val tunnel: TunnelConf) : AppEvent()
data class SaveMonitoringSettings(
val pingInterval: Int,
+2 -2
View File
@@ -1,6 +1,6 @@
object Constants {
const val VERSION_NAME = "3.9.4"
const val VERSION_CODE = 39400
const val VERSION_NAME = "3.9.5"
const val VERSION_CODE = 39500
const val TARGET_SDK = 35
const val MIN_SDK = 26
const val APP_ID = "com.zaneschepke.wireguardautotunnel"
@@ -0,0 +1,7 @@
What's new:
- Fix for tunnel sort bug
- Improved location permissions flow
- Location permission detection and notifications
- Fix for AndroidTV apps detection for split tunneling
- Improved tunnel monitoring and reboot recovery
- Fix tunnel slow reconnect from sleep
+2 -2
View File
@@ -1,7 +1,7 @@
[versions]
accompanist = "0.37.3"
activityCompose = "1.10.1"
amneziawgAndroid = "1.6.1"
amneziawgAndroid = "1.6.2"
androidx-junit = "1.3.0"
icmp4a = "1.0.0"
roomdatabasebackup = "1.1.0"
@@ -27,7 +27,7 @@ semver4j = "3.1.0"
slf4jAndroid = "1.7.36"
timber = "5.0.1"
tunnel = "1.4.0"
androidGradlePlugin = "8.12.0"
androidGradlePlugin = "8.11.0"
kotlin = "2.2.0"
ksp = "2.2.0-2.0.2"
composeBom = "2025.07.00"