🇷🇺 Что нового (RU)
Что решает этот релиз
v0.21.2 - небольшой hotfix-релиз для mtbuddy update.
В v0.21.1 обновление proxy-бинарника уже работало корректно, но на плохом или нестабильном соединении до GitHub updater мог выглядеть зависшим после строки:
✔ Бинарник совместим с этим CPU
Причина была в следующем скрытом шаге: старый mtbuddy дополнительно скачивал новый mtbuddy-linux-* artifact без отдельного UI-сообщения и без upper-bound timeout для curl. Если GitHub/CDN подвисал, пользователь видел последнюю успешную строку про CPU compatibility и не понимал, где именно остановился процесс.
В v0.21.2 скачивания release artifacts ограничены по времени, optional download нового mtbuddy стал видимым шагом, а если mtbuddy artifact недоступен, updater предупреждает об этом и продолжает proxy-only update.
[!NOTE]
Изменений вconfig.tomlне требуется.
[!TIP]
Если старый интерактивный updater уже висит на строкеБинарник совместим с этим CPU, можно прервать егоCtrl+Cи повторитьsudo mtbuddy update. Для новых установок и обновлений используйтеlatestилиv0.21.2.
Что изменено
mtbuddy update: bounded release downloads (#234)
- Все скачивания GitHub Release assets теперь идут через
curlс--connect-timeout 10,--max-time 120, retry и небольшой задержкой между повторами. - Скачивание нового
mtbuddyво времяmtbuddy updateтеперь отображается отдельным UI-шагом. - Если optional
mtbuddyartifact не удалось скачать, updater показывает warning и продолжает установку новогоmtproto-proxy. - На сервере
proxy.sleep3r.ruподтвержден recovery path: зависший старый updater дошел доmtbuddy v0.21.1, а proxy поднялся какv0.21.1.
🇬🇧 Release notes (EN)
What this release addresses
v0.21.2 is a small hotfix release for mtbuddy update.
In v0.21.1, updating the proxy binary itself worked correctly, but on poor or unstable connectivity to GitHub the updater could appear stuck after:
✔ Binary compatible with this CPU
The next step was hidden: the old mtbuddy also downloaded the matching mtbuddy-linux-* artifact without a dedicated UI message and without an upper-bound timeout for curl. If GitHub/CDN stalled, users only saw the last successful CPU compatibility line and had no clear indication of what was still running.
v0.21.2 bounds release artifact downloads, makes the optional mtbuddy updater download visible, and warns while continuing with a proxy-only update if the mtbuddy artifact cannot be fetched.
[!NOTE]
Noconfig.tomlchanges are required.
[!TIP]
If an older interactive updater is already stuck atBinary compatible with this CPU, interrupt it withCtrl+Cand rerunsudo mtbuddy update. For new installs and updates, uselatestorv0.21.2.
What changed
mtbuddy update: bounded release downloads (#234)
- All GitHub Release asset downloads now use
curlwith--connect-timeout 10,--max-time 120, retries, and a short retry delay. - Downloading the new
mtbuddyduringmtbuddy updateis now shown as a separate UI step. - If the optional
mtbuddyartifact cannot be downloaded, the updater emits a warning and continues installing the newmtproto-proxy. - The recovery path was confirmed on
proxy.sleep3r.ru: the stuck old updater reachedmtbuddy v0.21.1, and the proxy restarted asv0.21.1.