Include match positions in GET / HTTP response

Close #4726
This commit is contained in:
Junegunn Choi
2026-03-20 23:06:16 +09:00
parent 259e841a77
commit b638ff46fb
3 changed files with 38 additions and 3 deletions
+1
View File
@@ -26,6 +26,7 @@ CHANGELOG
- Improved the cache structure, reducing memory footprint per entry by 86x.
- With the reduced per-entry cost, the cache now has broader coverage.
- fish: Improved command history (CTRL-R) (#4703) (@bitraid)
- `GET /` HTTP endpoint now includes `positions` field in each match entry, providing the indices of matched characters for external highlighting (#4726)
- Bug fixes
- `--walker=follow` no longer follows symlinks whose target is an ancestor of the walker root, avoiding severe resource exhaustion when a symlink points outside the tree (e.g. Wine's `z:` → `/`) (#4710)
- Fixed AWK tokenizer not treating a new line character as whitespace