v0.19.0
🇷🇺 Что нового (RU)
Что решает этот релиз
• В дашборде теперь отображается версия прокси — можно визуально убедиться, что обновление прошло.
• Исправлена ошибка, из-за которой release-please не обновлял версию в бинарнике.
• Повторный деплой дашборда больше не падает с ошибкой uv venv creation failed.
Что изменено
• Версия в хедере дашборда (#190, #191)
- В API-ответ
/api/statsдобавлено полеproxy_version. - Сервер определяет версию из
mtproto-proxy --versionили парситversion.zig(кэш 5 минут). - В хедере дашборда рядом с названием появился pill-бейдж
v0.19.0в стиле Zig-акцента.
• Фикс version.zig / release-please
version.zigне обновлялся при релизах —release-please-config.jsonуказывал наsrc/main.zigиsrc/ctl/main.zig, которые не содержат маркерx-release-please-version.- Теперь
extra-filesуказывает наsrc/version.zig, где реально находится маркер. Следующие релизы будут обновлять версию автоматически.
• Фикс повторного деплоя дашборда
make deployвыполняетchown mtproto:mtprotoна/opt/mtproto-proxy/, включая.venv. При следующем деплоеuv venv(от root) не мог перезаписать каталог с другим владельцем.- Теперь
dashboard.zigделаетrm -rf .venvпередuv venv, что решает проблему.
Tip
Версия прокси теперь видна сразу в хедере дашборда — не нужно лезть в логи или SSH, чтобы проверить обновление.
🇬🇧 Release notes (EN)
What this release addresses
• The dashboard now shows the proxy version — you can visually confirm that an update was applied.
• Fixed a bug where release-please was not updating the version in the binary.
• Repeated dashboard deploys no longer fail with uv venv creation failed.
What changed
• Version badge in dashboard header (#190, #191)
- Added
proxy_versionfield to the/api/statsresponse. - The server detects the version from
mtproto-proxy --versionor by parsingversion.zig(cached for 5 minutes). - A pill badge
v0.19.0now appears next to the title in the dashboard header, styled with the Zig accent color.
• version.zig / release-please fix
version.zigwas not being updated on releases —release-please-config.jsonpointed atsrc/main.zigandsrc/ctl/main.zig, which do not contain thex-release-please-versionmarker.extra-filesnow points tosrc/version.zigwhere the marker actually lives. Future releases will bump the version automatically.
• Fix repeated dashboard deploy failure
make deployrunschown mtproto:mtprotoon/opt/mtproto-proxy/, including.venv. On the next deploy,uv venv(running as root) could not overwrite the directory owned by a different user.dashboard.zignow runsrm -rf .venvbeforeuv venv, fixing the ownership mismatch.
Tip
The proxy version is now visible right in the dashboard header — no need to SSH in or check logs to verify an update.