LxBox v2.24.4 发布
已发布 v2.24.4,以下为官方变更日志。
官方变更日志@L×Box v2.24.4
A one-fix patch. Opening the JSON tab of a DNS server that comes from a
template or a preset showed “This section failed” instead of the server
(#143). It is a regression of
v2.24.0: the storage format moved to records 1.0 and the model lost its direct
serialization, but this tab still encoded the model as is. Servers you added
yourself were not affected. Nothing else changed since v2.24.3.Патч с одним исправлением. Вкладка JSON у DNS-сервера из шаблона или
пресета показывала «В этом разделе произошла ошибка» вместо содержимого
(#143). Это регрессия v2.24.0:
формат хранения перешёл на записи 1.0, у модели не осталось прямой
сериализации, а вкладка по-прежнему кодировала модель как есть. Серверы,
добавленные вручную, затронуты не были. Больше с v2.24.3 ничего не менялось.🇬🇧 English
🩹 JSON tab of a template/preset DNS server (#143, docs/spec/tasks/458)
- Was: for a DNS server of kind template or preset the JSON tab failed on
open with Converting object to an encodable object failed: Instance of
'DnsServerTemplate' in Debug → Logs. The tab's “storage shape” block handed
the controller's snapshot straight to the JSON encoder; since v2.24.0 the
model has no toJson, the storage record is produced by a codec. The
sibling tab of the rule editor was moved to the codec back then, this one
was missed. Affected: v2.24.0 through v2.24.3.
- Now: the block is built by the same codec and shows the record exactly as
it sits in lxbox_settings.json (kind/tag/vars for a template,
kind/ref for a preset). The resolved body preview below it and the
editable JSON of an inline server are unchanged.🧪 Tests
- A widget test of the tab for both kinds; it is red without the fix.
- flutter analyze clean over the whole project, the full test suite, four
l10n checkers and the docs parity check green.
🇷🇺 Русский
🩹 Вкладка JSON у DNS-сервера из шаблона или пресета (#143, docs/spec/tasks/458)
- Было: у DNS-сервера вида template или preset вкладка JSON падала при
открытии, в Отладка → Логи: Converting object to an encodable object
failed: Instance of 'DnsServerTemplate'. Блок «storage shape» вкладки
отдавал снимок контроллера прямо в JSON-кодировщик; с v2.24.0 у модели нет
toJson, запись хранения строит кодек. Парную вкладку редактора правил
тогда перевели на кодек, эту пропустили. Затронуты v2.24.0 – v2.24.3.
- Стало: блок строится тем же кодеком и показывает запись в том виде, в
каком она лежит в lxbox_settings.json (kind/tag/vars у шаблона,
kind/ref у пресета). Превью отрезолвленного тела ниже и редактируемый
JSON inline-сервера не менялись.🧪 Тесты
- Виджет-тест вкладки для обоих видов; без фикса красный.
- flutter analyze чист по всему проекту, полный набор тестов, четыре
l10n-чекера и проверка паритета доков зелёные.
Install / Установка
Без uninstall! Поверх существующей установки. Настройки и подписки сохранятся.
No uninstall needed — install over the existing one. Settings and subscriptions
are preserved.Previous release / Предыдущий релиз: v2.24.3.