summarylogtreecommitdiffstats
path: root/docfd-bin.changelog
diff options
context:
space:
mode:
authorKlaus Alexander Seistrup2024-05-12 13:26:18 +0200
committerKlaus Alexander Seistrup2024-05-12 13:26:18 +0200
commit8deffd0b8d7d044f22799405ea1a9ef8627dff02 (patch)
tree6d4044aba92504ed25e2fac9a4098fe5ffbe5543 /docfd-bin.changelog
parent0be53ef2ae9f6015e03aaf8d2f7ce50a0f2c4871 (diff)
downloadaur-8deffd0b8d7d044f22799405ea1a9ef8627dff02.tar.gz
New upstream release: v6.0.0
Release notes: * https://github.com/darrenldl/docfd/releases/tag/6.0.0 * pacman -Qc docfd-bin
Diffstat (limited to 'docfd-bin.changelog')
-rw-r--r--docfd-bin.changelog35
1 files changed, 30 insertions, 5 deletions
diff --git a/docfd-bin.changelog b/docfd-bin.changelog
index 97ac2671f21e..288865d6d58a 100644
--- a/docfd-bin.changelog
+++ b/docfd-bin.changelog
@@ -1,8 +1,33 @@
-## 5.1.0
+## 6.0.0
-- Fixed help message of `--max-token-search-dist`
+- Fixed help message of `--max-linked-token-search-dist`
-- Adjusted path display in UI to hide current working directory segment when
- applicable
+- Fixed search result printing where output gets chopped off if terminal width is too small
-- Added missing blinking for `Tab` key presses
+- Added smart additional line grabbing for search result printing
+
+ - `--search-result-print-snippet-min-size N`
+ - If the search result to be printed has fewer than `N` non-space tokens,
+ then Docfd tries to add surrounding lines to the snippet
+ to give better context.
+ - `--search-result-print-snippet-max-add-lines`
+ - Controls maximum number of surrounding lines that can be added in each direction.
+
+- Added search result underlining when output is not a terminal,
+ e.g. redirected to file, piped to another command
+
+- Changed `--search` to show all search results
+
+- Added `--sample` that uses `--search` previous behavior where (by default)
+ only a handful of top search results are picked for each document
+
+- Changed `--search-result-count-per-doc` to `--sample-count-per-doc`
+
+- Added `--color` and `--underline` for controlling behavior of search result
+ printing, they can take one of:
+
+ - `never`
+ - `always`
+ - `auto`
+
+- Removed blinking for `Tab` key presses