s-ui v1.5.5-beta4-hotfix2
Pre-release
Pre-release
English
Hotfix release for v1.5.5-beta4-hotfix1. It keeps the beta4 feature set and
fixes a backup export failure triggered by databases that contain both the
no-TLS sentinel row and regular TLS configs.
Fixed
- Backup export no longer copies the
tls.id=0sentinel through GORM's generic
auto-increment create path. The exporter now skips that row during the TLS
table copy and restores it explicitly withINSERT OR IGNORE. - Fixed
UNIQUE constraint failed: tls.idduring backup export when SQLite
assigned the copied sentinel a generated id that collided with a real TLS row. - Added regression coverage for a database containing both
tls.id=0and a
normal TLS record.
Validation
go test ./database -count=1- PASSgo test ./config ./database ./service -count=1- PASS
Install
bash <(curl -Ls https://raw.githubusercontent.com/deposist/s-ui-x/main/install.sh) v1.5.5-beta4-hotfix2Русский
Hotfix-релиз для v1.5.5-beta4-hotfix1. Он сохраняет набор изменений beta4 и
исправляет падение экспорта backup в базах, где одновременно есть служебная
no-TLS строка и обычные TLS-конфиги.
Исправлено
- Экспорт backup больше не копирует
tls.id=0через общий GORM-путь создания
auto-increment записей. Теперь эта строка пропускается при копировании
таблицы TLS и восстанавливается отдельно черезINSERT OR IGNORE. - Исправлена ошибка
UNIQUE constraint failed: tls.id, возникавшая, когда
SQLite выдавал скопированной служебной строке сгенерированный id, совпадающий
с реальной TLS-записью. - Добавлен regression coverage для базы, где одновременно есть
tls.id=0и
обычная TLS-запись.
Валидация
go test ./database -count=1- PASSgo test ./config ./database ./service -count=1- PASS
Установка
bash <(curl -Ls https://raw.githubusercontent.com/deposist/s-ui-x/main/install.sh) v1.5.5-beta4-hotfix2