v0.15.3

sleep3r/mtproto.zigv0.15.3Apr 11, 2026by sleep3r

Upgrading?

AI Summary

Fixes a critical crash (SIGILL) in the `linux/amd64` Docker image caused by incompatible CPU instructions.

Key Highlights

  • Fixed SIGILL crash on Docker startup for linux/amd64.
  • Switched Docker build to portable profile to prevent host-specific instruction leakage.

New Features

  • Portable Docker build profile for amd64 architecture.
  • Resolved invalid opcode errors on startup.

Full Release Notes

### 🇷🇺 Что нового (RU)

**Что решает этот релиз**

• Исправлен краш `exit code 132` (`SIGILL` / `invalid opcode`) в Docker-образе `linux/amd64`, который проявлялся на старте (чаще всего при `use_middle_proxy=true`).

**Что изменено**

• **Docker build profile**: для `linux/amd64` сборка теперь явно фиксирована как `-Dtarget=x86_64-linux -Dcpu=x86_64`.
• **Portable by default**: убрана зависимость от CPU-фич машины, где собирался образ, чтобы host-specific инструкции не попадали в релизный бинарь.
• **Документация**: в README добавлено пояснение про portable-профиль для amd64 Docker-образов.

**После обновления**

• Достаточно обновить образ и перезапустить контейнер:
  `docker pull ghcr.io/sleep3r/mtproto.zig:latest`
• Изменения в `config.toml` не требуются.

--------

### 🇬🇧 Release notes (EN)

**What this release addresses**

• Fixes `exit code 132` (`SIGILL` / `invalid opcode`) in the `linux/amd64` Docker image, typically visible on startup (most often when `use_middle_proxy=true`).

**What changed**

• **Docker build profile**: `linux/amd64` images are now built with an explicit portable profile: `-Dtarget=x86_64-linux -Dcpu=x86_64`.
• **Portable by default**: removes dependency on the builder host CPU features so host-specific instructions do not leak into published binaries.
• **Docs**: added a README note about the portable amd64 Docker profile.

**After updating**

• Pull the updated image and restart the container:
  `docker pull ghcr.io/sleep3r/mtproto.zig:latest`
• No `config.toml` changes are required.

---

### Changelog

* **docker:** build portable amd64 image to avoid invalid opcode ([#170](https://github.com/sleep3r/mtproto.zig/issues/170)) ([79f3e34](https://github.com/sleep3r/mtproto.zig/commit/79f3e342bfed117a9d3a5b9b7d016170342f2bb3))

Related Repositories