You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+5Lines changed: 5 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,10 @@
1
1
# Changelog
2
2
3
+
## [2.3.1] - 2026-03-09
4
+
5
+
### Improvements
6
+
-**SQLite backward compatibility**: The `RETURNING` clause (requires SQLite 3.35.0+) is now optional. On older SQLite versions (3.24.0+), a fallback `SELECT` query is used to retrieve `doc_id` after upsert operations. This lowers the minimum SQLite requirement from 3.35.0 to 3.24.0 while preserving optimal performance on newer versions.
Copy file name to clipboardExpand all lines: README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -81,11 +81,11 @@ A powerful, pure-PHP search engine library with advanced full-text search capabi
81
81
82
82
Important: SQLite FTS5 required
83
83
- YetiSearch uses SQLite FTS5 virtual tables for full‑text search and BM25 ranking. Your PHP build must link against a SQLite library compiled with FTS5 (ENABLE_FTS5).
84
-
-**SQLite 3.35.0 or higher** is required (for `RETURNING` clause support used in document indexing).
84
+
-**SQLite 3.24.0 or higher** is required (for `ON CONFLICT` upsert support). SQLite 3.35.0+ is recommended for best performance (uses `RETURNING` clause to avoid extra queries).
85
85
- Quick check: `php scripts/check_sqlite_features.php` should report "FTS5: OK" and show the SQLite version. On macOS, Homebrew PHP typically includes a recent SQLite with FTS5; some system PHP builds may not.
0 commit comments