• v26.2.20 c0fc6f27f1

    v26.2.20 Stable

    kerem released this 2026-02-20 10:20:47 +03:00 | 147 commits to main since this release

    📅 Originally published on GitHub: Fri, 20 Feb 2026 07:22:31 GMT
    🏷️ Git tag created: Fri, 20 Feb 2026 07:20:47 GMT

    🚀 v26.2.20 — Dil Desteği Genişletme, Backup Limiti ve Log Yönetimi

    Sürüm Tipi: Major Feature
    Odak: T() çeviri sistemine alınmayan 20+ hardcoded mesaj düzeltildi, otomatik backup limiti ve log rotation eklendi

    Yeni Özellikler

    • Backup limiti — Script güncellemelerinde artık en fazla 3 .bak_* dosyası tutulur, eskiler otomatik silinir
    • Autohostlist log rotation — HealthMon daemon döngüsüne /opt/zapret/nfqws_autohostlist.log boyut kontrolü eklendi; 1MB üzerinde son 500 satıra truncate edilir

    İyileştirmeler

    • start_zapret, stop_zapret, restart_zapret fonksiyonlarındaki tüm mesajlar T() sistemine alındı — dil değişimi artık bu ekranlarda da çalışıyor
    • install_zapret ve uninstall_zapret fonksiyonlarındaki tüm mesajlar T() sistemine alındı
    • configure_zapret_ipv6_support, manage_ipset_clients fonksiyonları çeviri sistemine dahil edildi
    • update_kernel_module_config, allow_firewall, disable_total_packet, keenetic_compatibility, fix_keenetic_udp, add_auto_start_zapret fonksiyonları çeviri sistemine dahil edildi
    • uninstall_zapret içindeki [[ =~ ]] bash operatörü POSIX uyumlu [ != ] ile değiştirildi
    • uninstall_zapret içindeki read -r -p "...\n..." prompt BusyBox ash uyumlu tek satıra dönüştürüldü
    • Backup limit kodundaki xargs rm BusyBox ash uyumlu while read döngüsüne dönüştürüldü

    ⚙️ Notlar

    • Eklenen 70+ TXT_* anahtarının tamamı _TR + _EN çiftiyle tanımlandı; --self-test ile doğrulandı
    • Lock uyarısı (T() henüz tanımlı değilken çalışan satır) kasıtlı olarak plain echo olarak bırakıldı

    🚀 v26.2.20 — Language Support Expansion, Backup Limit & Log Management

    Release Type: Major Feature
    Focus: 20+ hardcoded messages migrated to T() translation system, auto backup limit and log rotation added

    New Features

    • Backup limit — Script updates now keep at most 3 .bak_* files; oldest are automatically removed
    • Autohostlist log rotation — HealthMon daemon loop now monitors /opt/zapret/nfqws_autohostlist.log; truncates to last 500 lines when exceeding 1MB

    Improvements

    • All messages in start_zapret, stop_zapret, restart_zapret migrated to T() — language switching now works on these screens
    • All messages in install_zapret and uninstall_zapret migrated to T()
    • configure_zapret_ipv6_support, manage_ipset_clients integrated into translation system
    • update_kernel_module_config, allow_firewall, disable_total_packet, keenetic_compatibility, fix_keenetic_udp, add_auto_start_zapret integrated into translation system
    • [[ =~ ]] bash operator in uninstall_zapret replaced with POSIX-compliant [ != ]
    • Multi-line read -r -p prompt in uninstall_zapret converted to BusyBox ash compatible single line
    • xargs rm in backup limit code replaced with BusyBox ash compatible while read loop

    ⚙️ Notes

    • All 70+ new TXT_* keys defined with _TR + _EN pairs; verified with --self-test
    • Lock warning line (executed before T() is defined) intentionally kept as plain echo
    Downloads