mirror of
https://github.com/openclaw/openclaw.git
synced 2026-07-22 14:51:10 +00:00
* fix: clarify SQLite version error message to prevent user confusion The error message "3.44.6+" was misinterpreted by users as meaning "3.44.6 and above", when it actually means "3.44.6+ for the 3.44.x series only". This commit clarifies the error message to explicitly state that only specific patched versions (3.44.6+, 3.50.7+, and 3.51.3+) are safe, and that SQLite 3.46.1 is not among them. Changes: - Update error message in src/infra/node-sqlite.ts to clarify version requirements - Update test expectations in src/infra/node-sqlite.test.ts to match new error format - Fix unnecessary template literal expressions flagged by oxlint The code logic remains unchanged - SQLite 3.46.1 is correctly rejected as unsafe. * fix: clarify SQLite version error message to prevent user confusion The previous error message stated '3.44.6+' which users misinterpreted as '3.44.6 and above', leading to confusion when versions like 3.46.1 were rejected. The new message explicitly states '3.44.6+ in the 3.44.x series' and '3.50.7+ in the 3.50.x series' to make it clear that only specific minor version series received the WAL-reset bug fix. This matches the SQLite team's actual fix announcement which only backported the fix to 3.44.x and 3.50.x series, plus 3.51.3+. * fix(sqlite): align unsafe version diagnostics --------- Co-authored-by: Peter Steinberger <steipete@gmail.com>
38 KiB
Executable File
38 KiB
Executable File