Configurable Locking, Data Integrity, and Release Hardening v1.2.0
中文
主要更新
- 设置页新增 1 至 1440 分钟的自动锁定时间;保存后立即重启计时,数据库写入失败时恢复原值和原计时器。
- 修复长期运行可靠性:单实例锁和 SQLite 连接在所有退出路径中释放,普通数据库异常留在界面边界处理,不再静默终止 Qt 事件循环。
- 主密码配置改为“未初始化 / 已配置 / 已损坏”三态;算法、PBKDF2 迭代次数、Base64、盐和摘要结构异常时拒绝登录,避免损坏配置被误判为首次运行。
- CSV 导入改为流式、限额和事务化处理;CSV 与加密备份导出采用同目录临时文件、刷新到磁盘后原子替换,并禁止覆盖当前 SQLite 数据库及其事务文件。
- 加密备份恢复会先校验表、字段、类型、主键、软删除状态、外键关系和换号业务不变量,校验通过后才在单个事务中替换数据。
- 修复活动换号任务被普通编辑或批量换号绕过的问题;同步任务明细和历史,并补强目标号码删除、记录软删除、并行任务及终态重开校验。
- 登录网址仅允许有效的 HTTP/HTTPS 地址;批量选择、主题/语言写入失败、异常时间值和本地应用回退获得明确的界面状态与错误处理。
- 发布依赖使用 wheel SHA256 锁定;Windows CI 完整执行编译、依赖检查、测试、portable/MSI 构建和 EXE 启动冒烟,Release 仅从已验证且与应用版本一致的新 tag 发布。
- Windows 包只安装
PySide6_Essentials与shiboken6,不再安装 PySide6 meta package 或PySide6_Addons;继续排除未使用的 Qt PDF、Virtual Keyboard、Network 和 Mesa OpenGL 组件。
下载
phone-record-manager-windows-v1.2.0.zip:Windows portable ZIP,解压后运行手机号记录管理器.exe。phone-record-manager-windows-v1.2.0.msi:Windows MSI 安装包。SHA256SUMS.txt:发布文件 SHA256 校验值。
本版本未进行代码签名。如 Windows 提示未知发布者,请先用 SHA256SUMS.txt 核对下载文件。
English
Highlights
- Settings now exposes a 1-to-1440-minute idle-lock interval. Changes restart the timer immediately, while failed database writes restore the previous value and timer.
- Long-running reliability is hardened: the SQLite connection and single-instance lock are released on every exit path, and ordinary database failures remain contained at the UI boundary instead of terminating the Qt event loop.
- Master-password configuration now has explicit uninitialized, configured, and corrupt states. Invalid algorithms, PBKDF2 iteration counts, Base64 values, salts, or digests fail closed instead of entering first-run setup.
- CSV import is streamed, bounded, and transactional. CSV and encrypted-backup exports use a same-directory temporary file, flush to disk, and atomically replace the target; the live SQLite database and transaction sidecars cannot be export targets.
- Encrypted-backup restore validates tables, fields, types, primary keys, soft-delete state, references, and replacement-workflow invariants before changing data in one transaction.
- Active replacement tasks can no longer be bypassed by normal edits or batch replacement. Task items/history stay synchronized, with checks for deleted targets, deleted records, concurrent tasks, and terminal-item reopening.
- Login links are restricted to valid HTTP/HTTPS URLs. Multi-selection actions, failed theme/language writes, invalid timestamps, and local-app fallback now have explicit UI states and error boundaries.
- Release dependencies are wheel-hash locked. Windows CI performs compilation, dependency checks, tests, portable/MSI builds, and an executable startup smoke test; releases publish only from a verified new tag matching the application version.
- Windows packages install only
PySide6_Essentialsandshiboken6, not the PySide6 meta package orPySide6_Addons, while continuing to exclude unused Qt PDF, Virtual Keyboard, Network, and Mesa OpenGL components.
Downloads
phone-record-manager-windows-v1.2.0.zip: Windows portable ZIP. Extract it and run手机号记录管理器.exe.phone-record-manager-windows-v1.2.0.msi: Windows MSI installer.SHA256SUMS.txt: SHA256 checksums for release assets.
This release is not code-signed. Verify downloaded files against SHA256SUMS.txt if Windows reports an unknown publisher.