v0.2.1
- Heuristic algorithm to choose the foreground color of matched regions was improved. Now hgrep generates multiple candidates for the foreground color, and chooses one of them looking at the color distances from the background color.
- Add new
Materialtheme. It is a very popular low-contrast color theme. Try it byhgrep --theme Material.

- Add new
Carbonighttheme. It is a minimal monotone color theme. Some people feel that too colorful outputs are hard to see. This color theme might fit to such people.

- Built-in grep allows K/M/G suffix at
--max-filesizeoption to specify a file size easily.# Search files whose size is smaller than 10 MiB hgrep --maxfilesize 10M ... - Built-in grep adds new flag
--invert-matchfor invert matching. It shows lines that do not match the given pattern. - Built-in grep adds new flag
--one-file-system. When enabled, the search will not cross file system boundaries relative to where it started from. - Built-in grep adds new short flag
-.as alias of long flag--hidden. - Built-in grep adds new flag
--no-unicodewhich disables Unicode-aware search. - Built-in grep improves the output from
--type-list. Now types are printed in bold texts which is easier to see. - Syntax assets were updated to the latest. They improve some syntax highlight detection (for example,
vimrcfor Vim files) and solve some highlighting issues. - Fix a broken pipe error when
hgrepcommand is piped to a pager command likeless. This happened whenlessexits earlier thanhgrepcommand, for example, when you immediately quit a pager byqwithout scrolling the output to the end. In the case,hgrepstill tried to output the result to stdout even if the pipe had already been closed and it caused a broken pipe error. In v0.2.1,hgrepcorrectly ignores such broken pipe errors. - Fix
--no-wrapdeprecated flag was not removed at v0.2.0. Use--wrapinstead if you used the flag. - Fix checksum of downloaded package via Homebrew on arm64 macOS.
- Fix
--type-listflag did not print types when a pattern argument is not given. - (Dev) Move
asset-buildertool directory toassets/builder. - (Dev) The script to update test snapshots is now 25x faster.
- (Dev) CI job to run clippy and rustfmt is now 6x faster.

