From 9f76381eb42cb0a66f6099a54168b8c4cf1b22a4 Mon Sep 17 00:00:00 2001 From: holtwood Date: Thu, 8 Oct 2026 18:20:23 +0800 Subject: [PATCH] fix(translate): bump pinned iOS app version to 26.52 (#237) DeepL's current iOS release is 26.52. With 26.42 pinned, every request to oneshot-free returns 429 ("your IP has been blocked by DeepL temporarily"), regardless of the IP it is sent from. Built from source, same host, back to back: HEAD (26.42) -> 429 this change -> 200 with a correct translation iosAppBuild is left as it was: the A/B above only changes the version string, and the older build number did not prevent translation. If the 26.52 IPA reports a different CFBundleVersion, that value should replace it. --- translate/translate.go | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/translate/translate.go b/translate/translate.go index 9aebc0c..0bef0d3 100644 --- a/translate/translate.go +++ b/translate/translate.go @@ -74,7 +74,11 @@ const ( oneshotProEndpoint = "https://oneshot-pro.www.deepl.com/v1/translate" // Pinned to DeepL iOS IPA (CFBundleShortVersionString / CFBundleVersion). - iosAppVersion = "26.42" + // This has to track DeepL's current App Store release: a version that is no + // longer current is rejected the same way as a future one — every request + // comes back HTTP 429 ("your IP has been blocked by DeepL temporarily"), + // from any IP, direct or proxied. Bump it when DeepL ships a new build. + iosAppVersion = "26.52" iosAppBuild = "5443737" // Reported OS version for app_information.os_version + x-app-os-version.