tsunami-code 2.5.2 → 2.5.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,1711 @@
1
+ 14.1.1 (2024-09-08)
2
+ ===================
3
+ This is a minor release with a bug fix for a matching bug. In particular, a bug
4
+ was found that could cause ripgrep to ignore lines that should match. That is,
5
+ false negatives. It is difficult to characterize the specific set of regexes
6
+ in which this occurs as it requires multiple different optimization strategies
7
+ to collide and produce an incorrect result. But as one reported example, in
8
+ ripgrep, the regex `(?i:e.x|ex)` does not match `e-x` when it should. (This
9
+ bug is a result of an inner literal optimization performed in the `grep-regex`
10
+ crate and not in the `regex` crate.)
11
+
12
+ Bug fixes:
13
+
14
+ * [BUG #2884](https://github.com/BurntSushi/ripgrep/issues/2884):
15
+ Fix bug where ripgrep could miss some matches that it should report.
16
+
17
+ Miscellaneous:
18
+
19
+ * [MISC #2748](https://github.com/BurntSushi/ripgrep/issues/2748):
20
+ Remove ripgrep's `simd-accel` feature because it was frequently broken.
21
+
22
+
23
+ 14.1.0 (2024-01-06)
24
+ ===================
25
+ This is a minor release with a few small new features and bug fixes. This
26
+ release contains a bug fix for unbounded memory growth while walking a
27
+ directory tree. This release also includes improvements to the completions for
28
+ the `fish` shell, and release binaries for several additional ARM targets.
29
+
30
+ Bug fixes:
31
+
32
+ * [BUG #2664](https://github.com/BurntSushi/ripgrep/issues/2690):
33
+ Fix unbounded memory growth in the `ignore` crate.
34
+
35
+ Feature enhancements:
36
+
37
+ * Added or improved file type filtering for Lean and Meson.
38
+ * [FEATURE #2684](https://github.com/BurntSushi/ripgrep/issues/2684):
39
+ Improve completions for the `fish` shell.
40
+ * [FEATURE #2702](https://github.com/BurntSushi/ripgrep/pull/2702):
41
+ Add release binaries for `armv7-unknown-linux-gnueabihf`,
42
+ `armv7-unknown-linux-musleabihf` and `armv7-unknown-linux-musleabi`.
43
+
44
+
45
+ 14.0.3 (2023-11-28)
46
+ ===================
47
+ This is a patch release with a bug fix for the `--sortr` flag.
48
+
49
+ Bug fixes:
50
+
51
+ * [BUG #2664](https://github.com/BurntSushi/ripgrep/issues/2664):
52
+ Fix `--sortr=path`. I left a `todo!()` in the source. Oof.
53
+
54
+
55
+ 14.0.2 (2023-11-27)
56
+ ===================
57
+ This is a patch release with a few small bug fixes.
58
+
59
+ Bug fixes:
60
+
61
+ * [BUG #2654](https://github.com/BurntSushi/ripgrep/issues/2654):
62
+ Fix `deb` release sha256 sum file.
63
+ * [BUG #2658](https://github.com/BurntSushi/ripgrep/issues/2658):
64
+ Fix partial regression in the behavior of `--null-data --line-regexp`.
65
+ * [BUG #2659](https://github.com/BurntSushi/ripgrep/issues/2659):
66
+ Fix Fish shell completions.
67
+ * [BUG #2662](https://github.com/BurntSushi/ripgrep/issues/2662):
68
+ Fix typo in documentation for `-i/--ignore-case`.
69
+
70
+
71
+ 14.0.1 (2023-11-26)
72
+ ===================
73
+ This a patch release meant to fix `cargo install ripgrep` on Windows.
74
+
75
+ Bug fixes:
76
+
77
+ * [BUG #2653](https://github.com/BurntSushi/ripgrep/issues/2653):
78
+ Include `pkg/windows/Manifest.xml` in crate package.
79
+
80
+
81
+ 14.0.0 (2023-11-26)
82
+ ===================
83
+ ripgrep 14 is a new major version release of ripgrep that has some new
84
+ features, performance improvements and a lot of bug fixes.
85
+
86
+ The headlining feature in this release is hyperlink support. In this release,
87
+ they are an opt-in feature but may change to an opt-out feature in the future.
88
+ To enable them, try passing `--hyperlink-format default`. If you use [VS Code],
89
+ then try passing `--hyperlink-format vscode`. Please [report your experience
90
+ with hyperlinks][report-hyperlinks], positive or negative.
91
+
92
+ [VS Code]: https://code.visualstudio.com/
93
+ [report-hyperlinks]: https://github.com/BurntSushi/ripgrep/discussions/2611
94
+
95
+ Another headlining development in this release is that it contains a rewrite
96
+ of its regex engine. You generally shouldn't notice any changes, except for
97
+ some searches may get faster. You can read more about the [regex engine rewrite
98
+ on my blog][regex-internals]. Please [report your performance improvements or
99
+ regressions that you notice][report-perf].
100
+
101
+ [report-perf]: https://github.com/BurntSushi/ripgrep/discussions/2652
102
+
103
+ Finally, ripgrep switched the library it uses for argument parsing. Users
104
+ should not notice a difference in most cases (error messages have changed
105
+ somewhat), but flag overrides should generally be more consistent. For example,
106
+ things like `--no-ignore --ignore-vcs` work as one would expect (disables all
107
+ filtering related to ignore rules except for rules found in version control
108
+ systems such as `git`).
109
+
110
+ [regex-internals]: https://blog.burntsushi.net/regex-internals/
111
+
112
+ **BREAKING CHANGES**:
113
+
114
+ * `rg -C1 -A2` used to be equivalent to `rg -A2`, but now it is equivalent to
115
+ `rg -B1 -A2`. That is, `-A` and `-B` no longer completely override `-C`.
116
+ Instead, they only partially override `-C`.
117
+
118
+ Build process changes:
119
+
120
+ * ripgrep's shell completions and man page are now created by running ripgrep
121
+ with a new `--generate` flag. For example, `rg --generate man` will write a
122
+ man page in `roff` format on stdout. The release archives have not changed.
123
+ * The optional build dependency on `asciidoc` or `asciidoctor` has been
124
+ dropped. Previously, it was used to produce ripgrep's man page. ripgrep now
125
+ owns this process itself by writing `roff` directly.
126
+
127
+ Performance improvements:
128
+
129
+ * [PERF #1746](https://github.com/BurntSushi/ripgrep/issues/1746):
130
+ Make some cases with inner literals faster.
131
+ * [PERF #1760](https://github.com/BurntSushi/ripgrep/issues/1760):
132
+ Make most searches with `\b` look-arounds (among others) much faster.
133
+ * [PERF #2591](https://github.com/BurntSushi/ripgrep/pull/2591):
134
+ Parallel directory traversal now uses work stealing for faster searches.
135
+ * [PERF #2642](https://github.com/BurntSushi/ripgrep/pull/2642):
136
+ Parallel directory traversal has some contention reduced.
137
+
138
+ Feature enhancements:
139
+
140
+ * Added or improved file type filtering for Ada, DITA, Elixir, Fuchsia, Gentoo,
141
+ Gradle, GraphQL, Markdown, Prolog, Raku, TypeScript, USD, V
142
+ * [FEATURE #665](https://github.com/BurntSushi/ripgrep/issues/665):
143
+ Add a new `--hyperlink-format` flag that turns file paths into hyperlinks.
144
+ * [FEATURE #1709](https://github.com/BurntSushi/ripgrep/issues/1709):
145
+ Improve documentation of ripgrep's behavior when stdout is a tty.
146
+ * [FEATURE #1737](https://github.com/BurntSushi/ripgrep/issues/1737):
147
+ Provide binaries for Apple silicon.
148
+ * [FEATURE #1790](https://github.com/BurntSushi/ripgrep/issues/1790):
149
+ Add new `--stop-on-nonmatch` flag.
150
+ * [FEATURE #1814](https://github.com/BurntSushi/ripgrep/issues/1814):
151
+ Flags are now categorized in `-h/--help` output and ripgrep's man page.
152
+ * [FEATURE #1838](https://github.com/BurntSushi/ripgrep/issues/1838):
153
+ An error is shown when searching for NUL bytes with binary detection enabled.
154
+ * [FEATURE #2195](https://github.com/BurntSushi/ripgrep/issues/2195):
155
+ When `extra-verbose` mode is enabled in zsh, show extra file type info.
156
+ * [FEATURE #2298](https://github.com/BurntSushi/ripgrep/issues/2298):
157
+ Add instructions for installing ripgrep using `cargo binstall`.
158
+ * [FEATURE #2409](https://github.com/BurntSushi/ripgrep/pull/2409):
159
+ Added installation instructions for `winget`.
160
+ * [FEATURE #2425](https://github.com/BurntSushi/ripgrep/pull/2425):
161
+ Shell completions (and man page) can be created via `rg --generate`.
162
+ * [FEATURE #2524](https://github.com/BurntSushi/ripgrep/issues/2524):
163
+ The `--debug` flag now indicates whether stdin or `./` is being searched.
164
+ * [FEATURE #2643](https://github.com/BurntSushi/ripgrep/issues/2643):
165
+ Make `-d` a short flag for `--max-depth`.
166
+ * [FEATURE #2645](https://github.com/BurntSushi/ripgrep/issues/2645):
167
+ The `--version` output will now also contain PCRE2 availability information.
168
+
169
+ Bug fixes:
170
+
171
+ * [BUG #884](https://github.com/BurntSushi/ripgrep/issues/884):
172
+ Don't error when `-v/--invert-match` is used multiple times.
173
+ * [BUG #1275](https://github.com/BurntSushi/ripgrep/issues/1275):
174
+ Fix bug with `\b` assertion in the regex engine.
175
+ * [BUG #1376](https://github.com/BurntSushi/ripgrep/issues/1376):
176
+ Using `--no-ignore --ignore-vcs` now works as one would expect.
177
+ * [BUG #1622](https://github.com/BurntSushi/ripgrep/issues/1622):
178
+ Add note about error messages to `-z/--search-zip` documentation.
179
+ * [BUG #1648](https://github.com/BurntSushi/ripgrep/issues/1648):
180
+ Fix bug where sometimes short flags with values, e.g., `-M 900`, would fail.
181
+ * [BUG #1701](https://github.com/BurntSushi/ripgrep/issues/1701):
182
+ Fix bug where some flags could not be repeated.
183
+ * [BUG #1757](https://github.com/BurntSushi/ripgrep/issues/1757):
184
+ Fix bug when searching a sub-directory didn't have ignores applied correctly.
185
+ * [BUG #1891](https://github.com/BurntSushi/ripgrep/issues/1891):
186
+ Fix bug when using `-w` with a regex that can match the empty string.
187
+ * [BUG #1911](https://github.com/BurntSushi/ripgrep/issues/1911):
188
+ Disable mmap searching in all non-64-bit environments.
189
+ * [BUG #1966](https://github.com/BurntSushi/ripgrep/issues/1966):
190
+ Fix bug where ripgrep can panic when printing to stderr.
191
+ * [BUG #2046](https://github.com/BurntSushi/ripgrep/issues/2046):
192
+ Clarify that `--pre` can accept any kind of path in the documentation.
193
+ * [BUG #2108](https://github.com/BurntSushi/ripgrep/issues/2108):
194
+ Improve docs for `-r/--replace` syntax.
195
+ * [BUG #2198](https://github.com/BurntSushi/ripgrep/issues/2198):
196
+ Fix bug where `--no-ignore-dot` would not ignore `.rgignore`.
197
+ * [BUG #2201](https://github.com/BurntSushi/ripgrep/issues/2201):
198
+ Improve docs for `-r/--replace` flag.
199
+ * [BUG #2288](https://github.com/BurntSushi/ripgrep/issues/2288):
200
+ `-A` and `-B` now only each partially override `-C`.
201
+ * [BUG #2236](https://github.com/BurntSushi/ripgrep/issues/2236):
202
+ Fix gitignore parsing bug where a trailing `\/` resulted in an error.
203
+ * [BUG #2243](https://github.com/BurntSushi/ripgrep/issues/2243):
204
+ Fix `--sort` flag for values other than `path`.
205
+ * [BUG #2246](https://github.com/BurntSushi/ripgrep/issues/2246):
206
+ Add note in `--debug` logs when binary files are ignored.
207
+ * [BUG #2337](https://github.com/BurntSushi/ripgrep/issues/2337):
208
+ Improve docs to mention that `--stats` is always implied by `--json`.
209
+ * [BUG #2381](https://github.com/BurntSushi/ripgrep/issues/2381):
210
+ Make `-p/--pretty` override flags like `--no-line-number`.
211
+ * [BUG #2392](https://github.com/BurntSushi/ripgrep/issues/2392):
212
+ Improve global git config parsing of the `excludesFile` field.
213
+ * [BUG #2418](https://github.com/BurntSushi/ripgrep/pull/2418):
214
+ Clarify sorting semantics of `--sort=path`.
215
+ * [BUG #2458](https://github.com/BurntSushi/ripgrep/pull/2458):
216
+ Make `--trim` run before `-M/--max-columns` takes effect.
217
+ * [BUG #2479](https://github.com/BurntSushi/ripgrep/issues/2479):
218
+ Add documentation about `.ignore`/`.rgignore` files in parent directories.
219
+ * [BUG #2480](https://github.com/BurntSushi/ripgrep/issues/2480):
220
+ Fix bug when using inline regex flags with `-e/--regexp`.
221
+ * [BUG #2505](https://github.com/BurntSushi/ripgrep/issues/2505):
222
+ Improve docs for `--vimgrep` by mentioning footguns and some work-arounds.
223
+ * [BUG #2519](https://github.com/BurntSushi/ripgrep/issues/2519):
224
+ Fix incorrect default value in documentation for `--field-match-separator`.
225
+ * [BUG #2523](https://github.com/BurntSushi/ripgrep/issues/2523):
226
+ Make executable searching take `.com` into account on Windows.
227
+ * [BUG #2574](https://github.com/BurntSushi/ripgrep/issues/2574):
228
+ Fix bug in `-w/--word-regexp` that would result in incorrect match offsets.
229
+ * [BUG #2623](https://github.com/BurntSushi/ripgrep/issues/2623):
230
+ Fix a number of bugs with the `-w/--word-regexp` flag.
231
+ * [BUG #2636](https://github.com/BurntSushi/ripgrep/pull/2636):
232
+ Strip release binaries for macOS.
233
+
234
+
235
+ 13.0.0 (2021-06-12)
236
+ ===================
237
+ ripgrep 13 is a new major version release of ripgrep that primarily contains
238
+ bug fixes, some performance improvements and a few minor breaking changes.
239
+ There is also a fix for a security vulnerability on Windows
240
+ ([CVE-2021-3013](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-3013)).
241
+
242
+ Some highlights:
243
+
244
+ A new short flag, `-.`, has been added. It is an alias for the `--hidden` flag,
245
+ which instructs ripgrep to search hidden files and directories.
246
+
247
+ ripgrep is now using a new
248
+ [vectorized implementation of `memmem`](https://github.com/BurntSushi/memchr/pull/82),
249
+ which accelerates many common searches. If you notice any performance
250
+ regressions (or major improvements), I'd love to hear about them through an
251
+ issue report!
252
+
253
+ Also, for Windows users targeting MSVC, Cargo will now build fully static
254
+ executables of ripgrep. The release binaries for ripgrep 13 have been compiled
255
+ using this configuration.
256
+
257
+ **BREAKING CHANGES**:
258
+
259
+ **Binary detection output has changed slightly.**
260
+
261
+ In this release, a small tweak has been made to the output format when a binary
262
+ file is detected. Previously, it looked like this:
263
+
264
+ ```
265
+ Binary file FOO matches (found "\0" byte around offset XXX)
266
+ ```
267
+
268
+ Now it looks like this:
269
+
270
+ ```
271
+ FOO: binary file matches (found "\0" byte around offset XXX)
272
+ ```
273
+
274
+ **vimgrep output in multi-line now only prints the first line for each match.**
275
+
276
+ See [issue 1866](https://github.com/BurntSushi/ripgrep/issues/1866) for more
277
+ discussion on this. Previously, every line in a match was duplicated, even
278
+ when it spanned multiple lines. There are no changes to vimgrep output when
279
+ multi-line mode is disabled.
280
+
281
+ **In multi-line mode, --count is now equivalent to --count-matches.**
282
+
283
+ This appears to match how `pcre2grep` implements `--count`. Previously, ripgrep
284
+ would produce outright incorrect counts. Another alternative would be to simply
285
+ count the number of lines---even if it's more than the number of matches---but
286
+ that seems highly unintuitive.
287
+
288
+ **FULL LIST OF FIXES AND IMPROVEMENTS:**
289
+
290
+ Security fixes:
291
+
292
+ * [CVE-2021-3013](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-3013):
293
+ Fixes a security hole on Windows where running ripgrep with either the
294
+ `-z/--search-zip` or `--pre` flags can result in running arbitrary
295
+ executables from the current directory.
296
+ * [VULN #1773](https://github.com/BurntSushi/ripgrep/issues/1773):
297
+ This is the public facing issue tracking CVE-2021-3013. ripgrep's README
298
+ now contains a section describing how to report a vulnerability.
299
+
300
+ Performance improvements:
301
+
302
+ * [PERF #1657](https://github.com/BurntSushi/ripgrep/discussions/1657):
303
+ Check if a file should be ignored first before issuing stat calls.
304
+ * [PERF memchr#82](https://github.com/BurntSushi/memchr/pull/82):
305
+ ripgrep now uses a new vectorized implementation of `memmem`.
306
+
307
+ Feature enhancements:
308
+
309
+ * Added or improved file type filtering for ASP, Bazel, dvc, FlatBuffers,
310
+ Futhark, minified files, Mint, pofiles (from GNU gettext) Racket, Red, Ruby,
311
+ VCL, Yang.
312
+ * [FEATURE #1404](https://github.com/BurntSushi/ripgrep/pull/1404):
313
+ ripgrep now prints a warning if nothing is searched.
314
+ * [FEATURE #1613](https://github.com/BurntSushi/ripgrep/pull/1613):
315
+ Cargo will now produce static executables on Windows when using MSVC.
316
+ * [FEATURE #1680](https://github.com/BurntSushi/ripgrep/pull/1680):
317
+ Add `-.` as a short flag alias for `--hidden`.
318
+ * [FEATURE #1842](https://github.com/BurntSushi/ripgrep/issues/1842):
319
+ Add `--field-{context,match}-separator` for customizing field delimiters.
320
+ * [FEATURE #1856](https://github.com/BurntSushi/ripgrep/pull/1856):
321
+ The README now links to a
322
+ [Spanish translation](https://github.com/UltiRequiem/traducciones/tree/master/ripgrep).
323
+
324
+ Bug fixes:
325
+
326
+ * [BUG #1277](https://github.com/BurntSushi/ripgrep/issues/1277):
327
+ Document cygwin path translation behavior in the FAQ.
328
+ * [BUG #1739](https://github.com/BurntSushi/ripgrep/issues/1739):
329
+ Fix bug where replacements were buggy if the regex matched a line terminator.
330
+ * [BUG #1311](https://github.com/BurntSushi/ripgrep/issues/1311):
331
+ Fix multi-line bug where a search & replace for `\n` didn't work as expected.
332
+ * [BUG #1401](https://github.com/BurntSushi/ripgrep/issues/1401):
333
+ Fix buggy interaction between PCRE2 look-around and `-o/--only-matching`.
334
+ * [BUG #1412](https://github.com/BurntSushi/ripgrep/issues/1412):
335
+ Fix multi-line bug with searches using look-around past matching lines.
336
+ * [BUG #1577](https://github.com/BurntSushi/ripgrep/issues/1577):
337
+ Fish shell completions will continue to be auto-generated.
338
+ * [BUG #1642](https://github.com/BurntSushi/ripgrep/issues/1642):
339
+ Fixes a bug where using `-m` and `-A` printed more matches than the limit.
340
+ * [BUG #1703](https://github.com/BurntSushi/ripgrep/issues/1703):
341
+ Clarify the function of `-u/--unrestricted`.
342
+ * [BUG #1708](https://github.com/BurntSushi/ripgrep/issues/1708):
343
+ Clarify how `-S/--smart-case` works.
344
+ * [BUG #1730](https://github.com/BurntSushi/ripgrep/issues/1730):
345
+ Clarify that CLI invocation must always be valid, regardless of config file.
346
+ * [BUG #1741](https://github.com/BurntSushi/ripgrep/issues/1741):
347
+ Fix stdin detection when using PowerShell in UNIX environments.
348
+ * [BUG #1756](https://github.com/BurntSushi/ripgrep/pull/1756):
349
+ Fix bug where `foo/**` would match `foo`, but it shouldn't.
350
+ * [BUG #1765](https://github.com/BurntSushi/ripgrep/issues/1765):
351
+ Fix panic when `--crlf` is used in some cases.
352
+ * [BUG #1638](https://github.com/BurntSushi/ripgrep/issues/1638):
353
+ Correctly sniff UTF-8 and do transcoding, like we do for UTF-16.
354
+ * [BUG #1816](https://github.com/BurntSushi/ripgrep/issues/1816):
355
+ Add documentation for glob alternate syntax, e.g., `{a,b,..}`.
356
+ * [BUG #1847](https://github.com/BurntSushi/ripgrep/issues/1847):
357
+ Clarify how the `--hidden` flag works.
358
+ * [BUG #1866](https://github.com/BurntSushi/ripgrep/issues/1866#issuecomment-841635553):
359
+ Fix bug when computing column numbers in `--vimgrep` mode.
360
+ * [BUG #1868](https://github.com/BurntSushi/ripgrep/issues/1868):
361
+ Fix bug where `--passthru` and `-A/-B/-C` did not override each other.
362
+ * [BUG #1869](https://github.com/BurntSushi/ripgrep/pull/1869):
363
+ Clarify docs for `--files-with-matches` and `--files-without-match`.
364
+ * [BUG #1878](https://github.com/BurntSushi/ripgrep/issues/1878):
365
+ Fix bug where `\A` could produce unanchored matches in multiline search.
366
+ * [BUG 94e4b8e3](https://github.com/BurntSushi/ripgrep/commit/94e4b8e3):
367
+ Fix column numbers with `--vimgrep` is used with `-U/--multiline`.
368
+
369
+
370
+ 12.1.1 (2020-05-29)
371
+ ===================
372
+ ripgrep 12.1.1 is a patch release that fixes a couple small bugs. In
373
+ particular, the ripgrep 12.1.0 release did not tag new releases for all of its
374
+ in-tree dependencies. As a result, ripgrep built dependencies from crates.io
375
+ would produce a different build than compiling ripgrep from source on the
376
+ `12.1.0` tag. Namely, some crates like `grep-cli` had unreleased changes.
377
+
378
+ Bug fixes:
379
+
380
+ * [BUG #1581](https://github.com/BurntSushi/ripgrep/issues/1581):
381
+ Corrects some egregious markup output in `--help`.
382
+ * [BUG #1591](https://github.com/BurntSushi/ripgrep/issues/1591):
383
+ Mention the special `$0` capture group in docs for the `-r/--replace` flag.
384
+ * [BUG #1602](https://github.com/BurntSushi/ripgrep/issues/1602):
385
+ Fix failing test resulting from out-of-sync dependencies.
386
+
387
+
388
+ 12.1.0 (2020-05-09)
389
+ ===================
390
+ ripgrep 12.1.0 is a small minor version release that mostly includes bug fixes
391
+ and documentation improvements. This release also contains some important
392
+ notices for downstream packagers.
393
+
394
+ **Notices for downstream ripgrep package maintainers:**
395
+
396
+ * Fish shell completions will be removed in the ripgrep 13 release.
397
+ See [#1577](https://github.com/BurntSushi/ripgrep/issues/1577)
398
+ for more details.
399
+ * ripgrep has switched from `a2x` to `asciidoctor` to generate the man page.
400
+ If `asciidoctor` is not present, then ripgrep will currently fall back to
401
+ `a2x`. Support for `a2x` will be dropped in the ripgrep 13 release.
402
+ See [#1544](https://github.com/BurntSushi/ripgrep/issues/1544)
403
+ for more details.
404
+
405
+ Feature enhancements:
406
+
407
+ * [FEATURE #1547](https://github.com/BurntSushi/ripgrep/pull/1547):
408
+ Support decompressing `.Z` files via `uncompress`.
409
+
410
+ Bug fixes:
411
+
412
+ * [BUG #1252](https://github.com/BurntSushi/ripgrep/issues/1252):
413
+ Add a section on the `--pre` flag to the GUIDE.
414
+ * [BUG #1339](https://github.com/BurntSushi/ripgrep/issues/1339):
415
+ Improve error message when a pattern with invalid UTF-8 is provided.
416
+ * [BUG #1524](https://github.com/BurntSushi/ripgrep/issues/1524):
417
+ Note how to escape a `$` when using `--replace`.
418
+ * [BUG #1537](https://github.com/BurntSushi/ripgrep/issues/1537):
419
+ Fix match bug caused by inner literal optimization.
420
+ * [BUG #1544](https://github.com/BurntSushi/ripgrep/issues/1544):
421
+ ripgrep now uses `asciidoctor` instead of `a2x` to generate its man page.
422
+ * [BUG #1550](https://github.com/BurntSushi/ripgrep/issues/1550):
423
+ Substantially reduce peak memory usage when searching wide directories.
424
+ * [BUG #1571](https://github.com/BurntSushi/ripgrep/issues/1571):
425
+ Add note about configuration files in `--type-{add,clear}` docs.
426
+ * [BUG #1573](https://github.com/BurntSushi/ripgrep/issues/1573):
427
+ Fix incorrect `--count-matches` output when using look-around.
428
+
429
+
430
+ 12.0.1 (2020-03-29)
431
+ ===================
432
+ ripgrep 12.0.1 is a small patch release that includes a minor bug fix relating
433
+ to superfluous error messages when searching git repositories with sub-modules.
434
+ This was a regression introduced in the 12.0.0 release.
435
+
436
+ Bug fixes:
437
+
438
+ * [BUG #1520](https://github.com/BurntSushi/ripgrep/issues/1520):
439
+ Don't emit spurious error messages in git repositories with submodules.
440
+
441
+
442
+ 12.0.0 (2020-03-15)
443
+ ===================
444
+ ripgrep 12 is a new major version release of ripgrep that contains many bug
445
+ fixes, several important performance improvements and a few minor new features.
446
+
447
+ In a near future release, I am hoping to add an
448
+ [indexing feature](https://github.com/BurntSushi/ripgrep/issues/1497)
449
+ to ripgrep, which will dramatically speed up searching by building an index.
450
+ Feedback would very much be appreciated, especially on the user experience
451
+ which will be difficult to get right.
452
+
453
+ This release has no known breaking changes.
454
+
455
+ Deprecations:
456
+
457
+ * The `--no-pcre2-unicode` flag is deprecated. Instead, use the `--no-unicode`
458
+ flag, which applies to both the default regex engine and PCRE2. For now,
459
+ `--no-pcre2-unicode` and `--pcre2-unicode` are aliases to `--no-unicode`
460
+ and `--unicode`, respectively. The `--[no-]pcre2-unicode` flags may be
461
+ removed in a future release.
462
+ * The `--auto-hybrid-regex` flag is deprecated. Instead, use the new `--engine`
463
+ flag with the `auto` value.
464
+
465
+ Performance improvements:
466
+
467
+ * [PERF #1087](https://github.com/BurntSushi/ripgrep/pull/1087):
468
+ ripgrep is smarter when detected literals are whitespace.
469
+ * [PERF #1381](https://github.com/BurntSushi/ripgrep/pull/1381):
470
+ Directory traversal is sped up with speculative ignore-file existence checks.
471
+ * [PERF cd8ec38a](https://github.com/BurntSushi/ripgrep/commit/cd8ec38a):
472
+ Improve inner literal detection to cover more cases more effectively.
473
+ e.g., ` +Sherlock Holmes +` now has ` Sherlock Holmes ` extracted instead
474
+ of ` `.
475
+ * [PERF 6a0e0147](https://github.com/BurntSushi/ripgrep/commit/6a0e0147):
476
+ Improve literal detection when the `-w/--word-regexp` flag is used.
477
+ * [PERF ad97e9c9](https://github.com/BurntSushi/ripgrep/commit/ad97e9c9):
478
+ Improve overall performance of the `-w/--word-regexp` flag.
479
+
480
+ Feature enhancements:
481
+
482
+ * Added or improved file type filtering for erb, diff, Gradle, HAML, Org,
483
+ Postscript, Skim, Slim, Slime, RPM Spec files, Typoscript, xml.
484
+ * [FEATURE #1370](https://github.com/BurntSushi/ripgrep/pull/1370):
485
+ Add `--include-zero` flag that shows files searched without matches.
486
+ * [FEATURE #1390](https://github.com/BurntSushi/ripgrep/pull/1390):
487
+ Add `--no-context-separator` flag that always hides context separators.
488
+ * [FEATURE #1414](https://github.com/BurntSushi/ripgrep/pull/1414):
489
+ Add `--no-require-git` flag to allow ripgrep to respect gitignores anywhere.
490
+ * [FEATURE #1420](https://github.com/BurntSushi/ripgrep/pull/1420):
491
+ Add `--no-ignore-exclude` to disregard rules in `.git/info/exclude` files.
492
+ * [FEATURE #1466](https://github.com/BurntSushi/ripgrep/pull/1466):
493
+ Add `--no-ignore-files` flag to disable all `--ignore-file` flags.
494
+ * [FEATURE #1488](https://github.com/BurntSushi/ripgrep/pull/1488):
495
+ Add '--engine' flag for easier switching between regex engines.
496
+ * [FEATURE 75cbe88f](https://github.com/BurntSushi/ripgrep/commit/75cbe88f):
497
+ Add `--no-unicode` flag. This works on all supported regex engines.
498
+
499
+ Bug fixes:
500
+
501
+ * [BUG #1291](https://github.com/BurntSushi/ripgrep/issues/1291):
502
+ ripgrep now works in non-existent directories.
503
+ * [BUG #1319](https://github.com/BurntSushi/ripgrep/issues/1319):
504
+ Fix match bug due to errant literal detection.
505
+ * [**BUG #1335**](https://github.com/BurntSushi/ripgrep/issues/1335):
506
+ Fixes a performance bug when searching plain text files with very long lines.
507
+ This was a serious performance regression in some cases.
508
+ * [BUG #1344](https://github.com/BurntSushi/ripgrep/issues/1344):
509
+ Document usage of `--type all`.
510
+ * [BUG #1389](https://github.com/BurntSushi/ripgrep/issues/1389):
511
+ Fixes a bug where ripgrep would panic when searching a symlinked directory.
512
+ * [BUG #1439](https://github.com/BurntSushi/ripgrep/issues/1439):
513
+ Improve documentation for ripgrep's automatic stdin detection.
514
+ * [BUG #1441](https://github.com/BurntSushi/ripgrep/issues/1441):
515
+ Remove CPU features from man page.
516
+ * [BUG #1442](https://github.com/BurntSushi/ripgrep/issues/1442),
517
+ [BUG #1478](https://github.com/BurntSushi/ripgrep/issues/1478):
518
+ Improve documentation of the `-g/--glob` flag.
519
+ * [BUG #1445](https://github.com/BurntSushi/ripgrep/issues/1445):
520
+ ripgrep now respects ignore rules from .git/info/exclude in worktrees.
521
+ * [BUG #1485](https://github.com/BurntSushi/ripgrep/issues/1485):
522
+ Fish shell completions from the release Debian package are now installed to
523
+ `/usr/share/fish/vendor_completions.d/rg.fish`.
524
+
525
+
526
+ 11.0.2 (2019-08-01)
527
+ ===================
528
+ ripgrep 11.0.2 is a new patch release that fixes a few bugs, including a
529
+ performance regression and a matching bug when using the `-F/--fixed-strings`
530
+ flag.
531
+
532
+ Feature enhancements:
533
+
534
+ * [FEATURE #1293](https://github.com/BurntSushi/ripgrep/issues/1293):
535
+ Added `--glob-case-insensitive` flag that makes `--glob` behave as `--iglob`.
536
+
537
+ Bug fixes:
538
+
539
+ * [BUG #1246](https://github.com/BurntSushi/ripgrep/issues/1246):
540
+ Add translations to README, starting with an unofficial Chinese translation.
541
+ * [BUG #1259](https://github.com/BurntSushi/ripgrep/issues/1259):
542
+ Fix bug where the last byte of a `-f file` was stripped if it wasn't a `\n`.
543
+ * [BUG #1261](https://github.com/BurntSushi/ripgrep/issues/1261):
544
+ Document that no error is reported when searching for `\n` with `-P/--pcre2`.
545
+ * [BUG #1284](https://github.com/BurntSushi/ripgrep/issues/1284):
546
+ Mention `.ignore` and `.rgignore` more prominently in the README.
547
+ * [BUG #1292](https://github.com/BurntSushi/ripgrep/issues/1292):
548
+ Fix bug where `--with-filename` was sometimes enabled incorrectly.
549
+ * [BUG #1268](https://github.com/BurntSushi/ripgrep/issues/1268):
550
+ Fix major performance regression in GitHub `x86_64-linux` binary release.
551
+ * [BUG #1302](https://github.com/BurntSushi/ripgrep/issues/1302):
552
+ Show better error messages when a non-existent preprocessor command is given.
553
+ * [BUG #1334](https://github.com/BurntSushi/ripgrep/issues/1334):
554
+ Fix match regression with `-F` flag when patterns contain meta characters.
555
+
556
+
557
+ 11.0.1 (2019-04-16)
558
+ ===================
559
+ ripgrep 11.0.1 is a new patch release that fixes a search regression introduced
560
+ in the previous 11.0.0 release. In particular, ripgrep can enter an infinite
561
+ loop for some search patterns when searching invalid UTF-8.
562
+
563
+ Bug fixes:
564
+
565
+ * [BUG #1247](https://github.com/BurntSushi/ripgrep/issues/1247):
566
+ Fix search bug that can cause ripgrep to enter an infinite loop.
567
+
568
+
569
+ 11.0.0 (2019-04-15)
570
+ ===================
571
+ ripgrep 11 is a new major version release of ripgrep that contains many bug
572
+ fixes, some performance improvements and a few feature enhancements. Notably,
573
+ ripgrep's user experience for binary file filtering has been improved. See the
574
+ [guide's new section on binary data](GUIDE.md#binary-data) for more details.
575
+
576
+ This release also marks a change in ripgrep's versioning. Where as the previous
577
+ version was `0.10.0`, this version is `11.0.0`. Moving forward, ripgrep's
578
+ major version will be increased a few times per year. ripgrep will continue to
579
+ be conservative with respect to backwards compatibility, but may occasionally
580
+ introduce breaking changes, which will always be documented in this CHANGELOG.
581
+ See [issue 1172](https://github.com/BurntSushi/ripgrep/issues/1172) for a bit
582
+ more detail on why this versioning change was made.
583
+
584
+ This release increases the **minimum supported Rust version** from 1.28.0 to
585
+ 1.34.0.
586
+
587
+ **BREAKING CHANGES**:
588
+
589
+ * ripgrep has tweaked its exit status codes to be more like GNU grep's. Namely,
590
+ if a non-fatal error occurs during a search, then ripgrep will now always
591
+ emit a `2` exit status code, regardless of whether a match is found or not.
592
+ Previously, ripgrep would only emit a `2` exit status code for a catastrophic
593
+ error (e.g., regex syntax error). One exception to this is if ripgrep is run
594
+ with `-q/--quiet`. In that case, if an error occurs and a match is found,
595
+ then ripgrep will exit with a `0` exit status code.
596
+ * Supplying the `-u/--unrestricted` flag three times is now equivalent to
597
+ supplying `--no-ignore --hidden --binary`. Previously, `-uuu` was equivalent
598
+ to `--no-ignore --hidden --text`. The difference is that `--binary` disables
599
+ binary file filtering without potentially dumping binary data into your
600
+ terminal. That is, `rg -uuu foo` should now be equivalent to `grep -r foo`.
601
+ * The `avx-accel` feature of ripgrep has been removed since it is no longer
602
+ necessary. All uses of AVX in ripgrep are now enabled automatically via
603
+ runtime CPU feature detection. The `simd-accel` feature does remain available
604
+ (only for enabling SIMD for transcoding), however, it does increase
605
+ compilation times substantially at the moment.
606
+
607
+ Performance improvements:
608
+
609
+ * [PERF #497](https://github.com/BurntSushi/ripgrep/issues/497),
610
+ [PERF #838](https://github.com/BurntSushi/ripgrep/issues/838):
611
+ Make `rg -F -f dictionary-of-literals` much faster.
612
+
613
+ Feature enhancements:
614
+
615
+ * Added or improved file type filtering for Apache Thrift, ASP, Bazel, Brotli,
616
+ BuildStream, bzip2, C, C++, Cython, gzip, Java, Make, Postscript, QML, Tex,
617
+ XML, xz, zig and zstd.
618
+ * [FEATURE #855](https://github.com/BurntSushi/ripgrep/issues/855):
619
+ Add `--binary` flag for disabling binary file filtering.
620
+ * [FEATURE #1078](https://github.com/BurntSushi/ripgrep/pull/1078):
621
+ Add `--max-columns-preview` flag for showing a preview of long lines.
622
+ * [FEATURE #1099](https://github.com/BurntSushi/ripgrep/pull/1099):
623
+ Add support for Brotli and Zstd to the `-z/--search-zip` flag.
624
+ * [FEATURE #1138](https://github.com/BurntSushi/ripgrep/pull/1138):
625
+ Add `--no-ignore-dot` flag for ignoring `.ignore` files.
626
+ * [FEATURE #1155](https://github.com/BurntSushi/ripgrep/pull/1155):
627
+ Add `--auto-hybrid-regex` flag for automatically falling back to PCRE2.
628
+ * [FEATURE #1159](https://github.com/BurntSushi/ripgrep/pull/1159):
629
+ ripgrep's exit status logic should now match GNU grep. See updated man page.
630
+ * [FEATURE #1164](https://github.com/BurntSushi/ripgrep/pull/1164):
631
+ Add `--ignore-file-case-insensitive` for case insensitive ignore globs.
632
+ * [FEATURE #1185](https://github.com/BurntSushi/ripgrep/pull/1185):
633
+ Add `-I` flag as a short option for the `--no-filename` flag.
634
+ * [FEATURE #1207](https://github.com/BurntSushi/ripgrep/pull/1207):
635
+ Add `none` value to `-E/--encoding` to forcefully disable all transcoding.
636
+ * [FEATURE da9d7204](https://github.com/BurntSushi/ripgrep/commit/da9d7204):
637
+ Add `--pcre2-version` for querying showing PCRE2 version information.
638
+
639
+ Bug fixes:
640
+
641
+ * [BUG #306](https://github.com/BurntSushi/ripgrep/issues/306),
642
+ [BUG #855](https://github.com/BurntSushi/ripgrep/issues/855):
643
+ Improve the user experience for ripgrep's binary file filtering.
644
+ * [BUG #373](https://github.com/BurntSushi/ripgrep/issues/373),
645
+ [BUG #1098](https://github.com/BurntSushi/ripgrep/issues/1098):
646
+ `**` is now accepted as valid syntax anywhere in a glob.
647
+ * [BUG #916](https://github.com/BurntSushi/ripgrep/issues/916):
648
+ ripgrep no longer hangs when searching `/proc` with a zombie process present.
649
+ * [BUG #1052](https://github.com/BurntSushi/ripgrep/issues/1052):
650
+ Fix bug where ripgrep could panic when transcoding UTF-16 files.
651
+ * [BUG #1055](https://github.com/BurntSushi/ripgrep/issues/1055):
652
+ Suggest `-U/--multiline` when a pattern contains a `\n`.
653
+ * [BUG #1063](https://github.com/BurntSushi/ripgrep/issues/1063):
654
+ Always strip a BOM if it's present, even for UTF-8.
655
+ * [BUG #1064](https://github.com/BurntSushi/ripgrep/issues/1064):
656
+ Fix inner literal detection that could lead to incorrect matches.
657
+ * [BUG #1079](https://github.com/BurntSushi/ripgrep/issues/1079):
658
+ Fixes a bug where the order of globs could result in missing a match.
659
+ * [BUG #1089](https://github.com/BurntSushi/ripgrep/issues/1089):
660
+ Fix another bug where ripgrep could panic when transcoding UTF-16 files.
661
+ * [BUG #1091](https://github.com/BurntSushi/ripgrep/issues/1091):
662
+ Add note about inverted flags to the man page.
663
+ * [BUG #1093](https://github.com/BurntSushi/ripgrep/pull/1093):
664
+ Fix handling of literal slashes in gitignore patterns.
665
+ * [BUG #1095](https://github.com/BurntSushi/ripgrep/issues/1095):
666
+ Fix corner cases involving the `--crlf` flag.
667
+ * [BUG #1101](https://github.com/BurntSushi/ripgrep/issues/1101):
668
+ Fix AsciiDoc escaping for man page output.
669
+ * [BUG #1103](https://github.com/BurntSushi/ripgrep/issues/1103):
670
+ Clarify what `--encoding auto` does.
671
+ * [BUG #1106](https://github.com/BurntSushi/ripgrep/issues/1106):
672
+ `--files-with-matches` and `--files-without-match` work with one file.
673
+ * [BUG #1121](https://github.com/BurntSushi/ripgrep/issues/1121):
674
+ Fix bug that was triggering Windows antimalware when using the `--files`
675
+ flag.
676
+ * [BUG #1125](https://github.com/BurntSushi/ripgrep/issues/1125),
677
+ [BUG #1159](https://github.com/BurntSushi/ripgrep/issues/1159):
678
+ ripgrep shouldn't panic for `rg -h | rg` and should emit correct exit status.
679
+ * [BUG #1144](https://github.com/BurntSushi/ripgrep/issues/1144):
680
+ Fixes a bug where line numbers could be wrong on big-endian machines.
681
+ * [BUG #1154](https://github.com/BurntSushi/ripgrep/issues/1154):
682
+ Windows files with "hidden" attribute are now treated as hidden.
683
+ * [BUG #1173](https://github.com/BurntSushi/ripgrep/issues/1173):
684
+ Fix handling of `**` patterns in gitignore files.
685
+ * [BUG #1174](https://github.com/BurntSushi/ripgrep/issues/1174):
686
+ Fix handling of repeated `**` patterns in gitignore files.
687
+ * [BUG #1176](https://github.com/BurntSushi/ripgrep/issues/1176):
688
+ Fix bug where `-F`/`-x` weren't applied to patterns given via `-f`.
689
+ * [BUG #1189](https://github.com/BurntSushi/ripgrep/issues/1189):
690
+ Document cases where ripgrep may use a lot of memory.
691
+ * [BUG #1203](https://github.com/BurntSushi/ripgrep/issues/1203):
692
+ Fix a matching bug related to the suffix literal optimization.
693
+ * [BUG 8f14cb18](https://github.com/BurntSushi/ripgrep/commit/8f14cb18):
694
+ Increase the default stack size for PCRE2's JIT.
695
+
696
+
697
+ 0.10.0 (2018-09-07)
698
+ ===================
699
+ This is a new minor version release of ripgrep that contains some major new
700
+ features, a huge number of bug fixes, and is the first release based on
701
+ libripgrep. The entirety of ripgrep's core search and printing code has been
702
+ rewritten and generalized so that anyone can make use of it.
703
+
704
+ Major new features include PCRE2 support, multi-line search and a JSON output
705
+ format.
706
+
707
+ **BREAKING CHANGES**:
708
+
709
+ * The minimum version required to compile Rust has now changed to track the
710
+ latest stable version of Rust. Patch releases will continue to compile with
711
+ the same version of Rust as the previous patch release, but new minor
712
+ versions will use the current stable version of the Rust compile as its
713
+ minimum supported version.
714
+ * The match semantics of `-w/--word-regexp` have changed slightly. They used
715
+ to be `\b(?:<your pattern>)\b`, but now it's
716
+ `(?:^|\W)(?:<your pattern>)(?:$|\W)`. This matches the behavior of GNU grep
717
+ and is believed to be closer to the intended semantics of the flag. See
718
+ [#389](https://github.com/BurntSushi/ripgrep/issues/389) for more details.
719
+
720
+ Feature enhancements:
721
+
722
+ * [FEATURE #162](https://github.com/BurntSushi/ripgrep/issues/162):
723
+ libripgrep is now a thing. The primary crate is
724
+ [`grep`](https://docs.rs/grep).
725
+ * [FEATURE #176](https://github.com/BurntSushi/ripgrep/issues/176):
726
+ Add `-U/--multiline` flag that permits matching over multiple lines.
727
+ * [FEATURE #188](https://github.com/BurntSushi/ripgrep/issues/188):
728
+ Add `-P/--pcre2` flag that gives support for look-around and backreferences.
729
+ * [FEATURE #244](https://github.com/BurntSushi/ripgrep/issues/244):
730
+ Add `--json` flag that prints results in a JSON Lines format.
731
+ * [FEATURE #321](https://github.com/BurntSushi/ripgrep/issues/321):
732
+ Add `--one-file-system` flag to skip directories on different file systems.
733
+ * [FEATURE #404](https://github.com/BurntSushi/ripgrep/issues/404):
734
+ Add `--sort` and `--sortr` flag for more sorting. Deprecate `--sort-files`.
735
+ * [FEATURE #416](https://github.com/BurntSushi/ripgrep/issues/416):
736
+ Add `--crlf` flag to permit `$` to work with carriage returns on Windows.
737
+ * [FEATURE #917](https://github.com/BurntSushi/ripgrep/issues/917):
738
+ The `--trim` flag strips prefix whitespace from all lines printed.
739
+ * [FEATURE #993](https://github.com/BurntSushi/ripgrep/issues/993):
740
+ Add `--null-data` flag, which makes ripgrep use NUL as a line terminator.
741
+ * [FEATURE #997](https://github.com/BurntSushi/ripgrep/issues/997):
742
+ The `--passthru` flag now works with the `--replace` flag.
743
+ * [FEATURE #1038-1](https://github.com/BurntSushi/ripgrep/issues/1038):
744
+ Add `--line-buffered` and `--block-buffered` for forcing a buffer strategy.
745
+ * [FEATURE #1038-2](https://github.com/BurntSushi/ripgrep/issues/1038):
746
+ Add `--pre-glob` for filtering files through the `--pre` flag.
747
+
748
+ Bug fixes:
749
+
750
+ * [BUG #2](https://github.com/BurntSushi/ripgrep/issues/2):
751
+ Searching with non-zero context can now use memory maps if appropriate.
752
+ * [BUG #200](https://github.com/BurntSushi/ripgrep/issues/200):
753
+ ripgrep will now stop correctly when its output pipe is closed.
754
+ * [BUG #389](https://github.com/BurntSushi/ripgrep/issues/389):
755
+ The `-w/--word-regexp` flag now works more intuitively.
756
+ * [BUG #643](https://github.com/BurntSushi/ripgrep/issues/643):
757
+ Detection of readable stdin has improved on Windows.
758
+ * [BUG #441](https://github.com/BurntSushi/ripgrep/issues/441),
759
+ [BUG #690](https://github.com/BurntSushi/ripgrep/issues/690),
760
+ [BUG #980](https://github.com/BurntSushi/ripgrep/issues/980):
761
+ Matching empty lines now works correctly in several corner cases.
762
+ * [BUG #764](https://github.com/BurntSushi/ripgrep/issues/764):
763
+ Color escape sequences now coalesce, which reduces output size.
764
+ * [BUG #842](https://github.com/BurntSushi/ripgrep/issues/842):
765
+ Add man page to binary Debian package.
766
+ * [BUG #922](https://github.com/BurntSushi/ripgrep/issues/922):
767
+ ripgrep is now more robust with respect to memory maps failing.
768
+ * [BUG #937](https://github.com/BurntSushi/ripgrep/issues/937):
769
+ Color escape sequences are no longer emitted for empty matches.
770
+ * [BUG #940](https://github.com/BurntSushi/ripgrep/issues/940):
771
+ Context from the `--passthru` flag should not impact process exit status.
772
+ * [BUG #984](https://github.com/BurntSushi/ripgrep/issues/984):
773
+ Fixes bug in `ignore` crate where first path was always treated as a symlink.
774
+ * [BUG #990](https://github.com/BurntSushi/ripgrep/issues/990):
775
+ Read stderr asynchronously when running a process.
776
+ * [BUG #1013](https://github.com/BurntSushi/ripgrep/issues/1013):
777
+ Add compile time and runtime CPU features to `--version` output.
778
+ * [BUG #1028](https://github.com/BurntSushi/ripgrep/pull/1028):
779
+ Don't complete bare pattern after `-f` in zsh.
780
+
781
+
782
+ 0.9.0 (2018-08-03)
783
+ ==================
784
+ This is a new minor version release of ripgrep that contains some minor new
785
+ features and a panoply of bug fixes.
786
+
787
+ Releases provided on Github for `x86_64` will now work on all target CPUs, and
788
+ will also automatically take advantage of features found on modern CPUs (such
789
+ as AVX2) for additional optimizations.
790
+
791
+ This release increases the **minimum supported Rust version** from 1.20.0 to
792
+ 1.23.0.
793
+
794
+ It is anticipated that the next release of ripgrep (0.10.0) will provide
795
+ multi-line search support and a JSON output format.
796
+
797
+ **BREAKING CHANGES**:
798
+
799
+ * When `--count` and `--only-matching` are provided simultaneously, the
800
+ behavior of ripgrep is as if the `--count-matches` flag was given. That is,
801
+ the total number of matches is reported, where there may be multiple matches
802
+ per line. Previously, the behavior of ripgrep was to report the total number
803
+ of matching lines. (Note that this behavior diverges from the behavior of
804
+ GNU grep.)
805
+ * Octal syntax is no longer supported. ripgrep previously accepted expressions
806
+ like `\1` as syntax for matching `U+0001`, but ripgrep will now report an
807
+ error instead.
808
+ * The `--line-number-width` flag has been removed. Its functionality was not
809
+ carefully considered with all ripgrep output formats.
810
+ See [#795](https://github.com/BurntSushi/ripgrep/issues/795) for more
811
+ details.
812
+
813
+ Feature enhancements:
814
+
815
+ * Added or improved file type filtering for Android, Bazel, Fuchsia, Haskell,
816
+ Java and Puppet.
817
+ * [FEATURE #411](https://github.com/BurntSushi/ripgrep/issues/411):
818
+ Add a `--stats` flag, which emits aggregate statistics after search results.
819
+ * [FEATURE #646](https://github.com/BurntSushi/ripgrep/issues/646):
820
+ Add a `--no-ignore-messages` flag, which suppresses parse errors from reading
821
+ `.ignore` and `.gitignore` files.
822
+ * [FEATURE #702](https://github.com/BurntSushi/ripgrep/issues/702):
823
+ Support `\u{..}` Unicode escape sequences.
824
+ * [FEATURE #812](https://github.com/BurntSushi/ripgrep/issues/812):
825
+ Add `-b/--byte-offset` flag that shows the byte offset of each matching line.
826
+ * [FEATURE #814](https://github.com/BurntSushi/ripgrep/issues/814):
827
+ Add `--count-matches` flag, which is like `--count`, but for each match.
828
+ * [FEATURE #880](https://github.com/BurntSushi/ripgrep/issues/880):
829
+ Add a `--no-column` flag, which disables column numbers in the output.
830
+ * [FEATURE #898](https://github.com/BurntSushi/ripgrep/issues/898):
831
+ Add support for `lz4` when using the `-z/--search-zip` flag.
832
+ * [FEATURE #924](https://github.com/BurntSushi/ripgrep/issues/924):
833
+ `termcolor` has moved to its own repository:
834
+ https://github.com/BurntSushi/termcolor
835
+ * [FEATURE #934](https://github.com/BurntSushi/ripgrep/issues/934):
836
+ Add a new flag, `--no-ignore-global`, that permits disabling global
837
+ gitignores.
838
+ * [FEATURE #967](https://github.com/BurntSushi/ripgrep/issues/967):
839
+ Rename `--maxdepth` to `--max-depth` for consistency. Keep `--maxdepth` for
840
+ backwards compatibility.
841
+ * [FEATURE #978](https://github.com/BurntSushi/ripgrep/issues/978):
842
+ Add a `--pre` option to filter inputs with an arbitrary program.
843
+ * [FEATURE fca9709d](https://github.com/BurntSushi/ripgrep/commit/fca9709d):
844
+ Improve zsh completion.
845
+
846
+ Bug fixes:
847
+
848
+ * [BUG #135](https://github.com/BurntSushi/ripgrep/issues/135):
849
+ Release portable binaries that conditionally use SSSE3, AVX2, etc., at
850
+ runtime.
851
+ * [BUG #268](https://github.com/BurntSushi/ripgrep/issues/268):
852
+ Print descriptive error message when trying to use look-around or
853
+ backreferences.
854
+ * [BUG #395](https://github.com/BurntSushi/ripgrep/issues/395):
855
+ Show comprehensible error messages for regexes like `\s*{`.
856
+ * [BUG #526](https://github.com/BurntSushi/ripgrep/issues/526):
857
+ Support backslash escapes in globs.
858
+ * [BUG #795](https://github.com/BurntSushi/ripgrep/issues/795):
859
+ Fix problems with `--line-number-width` by removing it.
860
+ * [BUG #832](https://github.com/BurntSushi/ripgrep/issues/832):
861
+ Clarify usage instructions for `-f/--file` flag.
862
+ * [BUG #835](https://github.com/BurntSushi/ripgrep/issues/835):
863
+ Fix small performance regression while crawling very large directory trees.
864
+ * [BUG #851](https://github.com/BurntSushi/ripgrep/issues/851):
865
+ Fix `-S/--smart-case` detection once and for all.
866
+ * [BUG #852](https://github.com/BurntSushi/ripgrep/issues/852):
867
+ Be robust with respect to `ENOMEM` errors returned by `mmap`.
868
+ * [BUG #853](https://github.com/BurntSushi/ripgrep/issues/853):
869
+ Upgrade `grep` crate to `regex-syntax 0.6.0`.
870
+ * [BUG #893](https://github.com/BurntSushi/ripgrep/issues/893):
871
+ Improve support for git submodules.
872
+ * [BUG #900](https://github.com/BurntSushi/ripgrep/issues/900):
873
+ When no patterns are given, ripgrep should never match anything.
874
+ * [BUG #907](https://github.com/BurntSushi/ripgrep/issues/907):
875
+ ripgrep will now stop traversing after the first file when `--quiet --files`
876
+ is used.
877
+ * [BUG #918](https://github.com/BurntSushi/ripgrep/issues/918):
878
+ Don't skip tar archives when `-z/--search-zip` is used.
879
+ * [BUG #934](https://github.com/BurntSushi/ripgrep/issues/934):
880
+ Don't respect gitignore files when searching outside git repositories.
881
+ * [BUG #948](https://github.com/BurntSushi/ripgrep/issues/948):
882
+ Use exit code 2 to indicate error, and use exit code 1 to indicate no
883
+ matches.
884
+ * [BUG #951](https://github.com/BurntSushi/ripgrep/issues/951):
885
+ Add stdin example to ripgrep usage documentation.
886
+ * [BUG #955](https://github.com/BurntSushi/ripgrep/issues/955):
887
+ Use buffered writing when not printing to a tty, which fixes a performance
888
+ regression.
889
+ * [BUG #957](https://github.com/BurntSushi/ripgrep/issues/957):
890
+ Improve the error message shown for `--path separator /` in some Windows
891
+ shells.
892
+ * [BUG #964](https://github.com/BurntSushi/ripgrep/issues/964):
893
+ Add a `--no-fixed-strings` flag to disable `-F/--fixed-strings`.
894
+ * [BUG #988](https://github.com/BurntSushi/ripgrep/issues/988):
895
+ Fix a bug in the `ignore` crate that prevented the use of explicit ignore
896
+ files after disabling all other ignore rules.
897
+ * [BUG #995](https://github.com/BurntSushi/ripgrep/issues/995):
898
+ Respect `$XDG_CONFIG_DIR/git/config` for detecting `core.excludesFile`.
899
+
900
+
901
+ 0.8.1 (2018-02-20)
902
+ ==================
903
+ This is a patch release of ripgrep that primarily fixes regressions introduced
904
+ in 0.8.0 (#820 and #824) in directory traversal on Windows. These regressions
905
+ do not impact non-Windows users.
906
+
907
+ Feature enhancements:
908
+
909
+ * Added or improved file type filtering for csv and VHDL.
910
+ * [FEATURE #798](https://github.com/BurntSushi/ripgrep/issues/798):
911
+ Add `underline` support to `termcolor` and ripgrep. See documentation on the
912
+ `--colors` flag for details.
913
+
914
+ Bug fixes:
915
+
916
+ * [BUG #684](https://github.com/BurntSushi/ripgrep/issues/684):
917
+ Improve documentation for the `--ignore-file` flag.
918
+ * [BUG #789](https://github.com/BurntSushi/ripgrep/issues/789):
919
+ Don't show `(rev )` if the revision wasn't available during the build.
920
+ * [BUG #791](https://github.com/BurntSushi/ripgrep/issues/791):
921
+ Add man page to ARM release.
922
+ * [BUG #797](https://github.com/BurntSushi/ripgrep/issues/797):
923
+ Improve documentation for "intense" setting in `termcolor`.
924
+ * [BUG #800](https://github.com/BurntSushi/ripgrep/issues/800):
925
+ Fix a bug in the `ignore` crate for custom ignore files. This had no impact
926
+ on ripgrep.
927
+ * [BUG #807](https://github.com/BurntSushi/ripgrep/issues/807):
928
+ Fix a bug where `rg --hidden .` behaved differently from `rg --hidden ./`.
929
+ * [BUG #815](https://github.com/BurntSushi/ripgrep/issues/815):
930
+ Clarify a common failure mode in user guide.
931
+ * [BUG #820](https://github.com/BurntSushi/ripgrep/issues/820):
932
+ Fixes a bug on Windows where symlinks were followed even if not requested.
933
+ * [BUG #824](https://github.com/BurntSushi/ripgrep/issues/824):
934
+ Fix a performance regression in directory traversal on Windows.
935
+
936
+
937
+ 0.8.0 (2018-02-11)
938
+ ==================
939
+ This is a new minor version release of ripgrep that satisfies several popular
940
+ feature requests (config files, search compressed files, true colors), fixes
941
+ many bugs and improves the quality of life for ripgrep maintainers. This
942
+ release also includes greatly improved documentation in the form of a
943
+ [User Guide](GUIDE.md) and a [FAQ](FAQ.md).
944
+
945
+ This release increases the **minimum supported Rust version** from 1.17 to
946
+ 1.20.
947
+
948
+ **BREAKING CHANGES**:
949
+
950
+ Note that these are all very minor and unlikely to impact most users.
951
+
952
+ * In order to support configuration files, flag overrides needed to be
953
+ rethought. In some cases, this changed ripgrep's behavior. For example,
954
+ in ripgrep 0.7.1, `rg foo -s -i` will perform a case sensitive search
955
+ since the `-s/--case-sensitive` flag was defined to always take precedence
956
+ over the `-i/--ignore-case` flag, regardless of position. In ripgrep 0.8.0
957
+ however, the override rule for all flags has changed to "the most recent
958
+ flag wins among competing flags." That is, `rg foo -s -i` now performs a
959
+ case insensitive search.
960
+ * The `-M/--max-columns` flag was tweaked so that specifying a value of `0`
961
+ now makes ripgrep behave as if the flag was absent. This makes it possible
962
+ to set a default value in a configuration file and then override it. The
963
+ previous ripgrep behavior was to suppress all matching non-empty lines.
964
+ * In all globs, `[^...]` is now equivalent to `[!...]` (indicating class
965
+ negation). Previously, `^` had no special significance in a character class.
966
+ * For **downstream packagers**, the directory hierarchy in ripgrep's archive
967
+ releases has changed. The root directory now only contains the executable,
968
+ README and license. There is now a new directory called `doc` which contains
969
+ the man page (previously in the root), a user guide (new), a FAQ (new) and
970
+ the CHANGELOG (previously not included in release). The `complete`
971
+ directory remains the same.
972
+
973
+ Feature enhancements:
974
+
975
+ * Added or improved file type filtering for
976
+ Apache Avro, C++, GN, Google Closure Templates, Jupyter notebooks, man pages,
977
+ Protocol Buffers, Smarty and Web IDL.
978
+ * [FEATURE #196](https://github.com/BurntSushi/ripgrep/issues/196):
979
+ Support a configuration file. See
980
+ [the new user guide](GUIDE.md#configuration-file)
981
+ for details.
982
+ * [FEATURE #261](https://github.com/BurntSushi/ripgrep/issues/261):
983
+ Add extended or "true" color support. Works in Windows 10!
984
+ [See the FAQ for details.](FAQ.md#colors)
985
+ * [FEATURE #539](https://github.com/BurntSushi/ripgrep/issues/539):
986
+ Search gzip, bzip2, lzma or xz files when given `-z/--search-zip` flag.
987
+ * [FEATURE #544](https://github.com/BurntSushi/ripgrep/issues/544):
988
+ Add support for line number alignment via a new `--line-number-width` flag.
989
+ * [FEATURE #654](https://github.com/BurntSushi/ripgrep/pull/654):
990
+ Support linuxbrew in ripgrep's Brew tap.
991
+ * [FEATURE #673](https://github.com/BurntSushi/ripgrep/issues/673):
992
+ Bring back `.rgignore` files. (A higher precedent, application specific
993
+ version of `.ignore`.)
994
+ * [FEATURE #676](https://github.com/BurntSushi/ripgrep/issues/676):
995
+ Provide ARM binaries. **WARNING:** This will be provided on a best effort
996
+ basis.
997
+ * [FEATURE #709](https://github.com/BurntSushi/ripgrep/issues/709):
998
+ Suggest `-F/--fixed-strings` flag on a regex syntax error.
999
+ * [FEATURE #740](https://github.com/BurntSushi/ripgrep/issues/740):
1000
+ Add a `--passthru` flag that causes ripgrep to print every line it reads.
1001
+ * [FEATURE #785](https://github.com/BurntSushi/ripgrep/pull/785):
1002
+ Overhaul documentation. Cleaned up README, added user guide and FAQ.
1003
+ * [FEATURE 7f5c07](https://github.com/BurntSushi/ripgrep/commit/7f5c07434be92103b5bf7e216b9c7494aed2d8cb):
1004
+ Add hidden flags for convenient overrides (e.g., `--no-text`).
1005
+
1006
+ Bug fixes:
1007
+
1008
+ * [BUG #553](https://github.com/BurntSushi/ripgrep/issues/553):
1009
+ Permit flags to be repeated.
1010
+ * [BUG #633](https://github.com/BurntSushi/ripgrep/issues/633):
1011
+ Fix a bug where ripgrep would panic on Windows while following symlinks.
1012
+ * [BUG #649](https://github.com/BurntSushi/ripgrep/issues/649):
1013
+ Fix handling of `!**/` in `.gitignore`.
1014
+ * [BUG #663](https://github.com/BurntSushi/ripgrep/issues/663):
1015
+ **BREAKING CHANGE:** Support `[^...]` glob syntax (as identical to `[!...]`).
1016
+ * [BUG #693](https://github.com/BurntSushi/ripgrep/issues/693):
1017
+ Don't display context separators when not printing matches.
1018
+ * [BUG #705](https://github.com/BurntSushi/ripgrep/issues/705):
1019
+ Fix a bug that prevented ripgrep from searching OneDrive directories.
1020
+ * [BUG #717](https://github.com/BurntSushi/ripgrep/issues/717):
1021
+ Improve `--smart-case` uppercase character detection.
1022
+ * [BUG #725](https://github.com/BurntSushi/ripgrep/issues/725):
1023
+ Clarify that globs do not override explicitly given paths to search.
1024
+ * [BUG #742](https://github.com/BurntSushi/ripgrep/pull/742):
1025
+ Write ANSI reset code as `\x1B[0m` instead of `\x1B[m`.
1026
+ * [BUG #747](https://github.com/BurntSushi/ripgrep/issues/747):
1027
+ Remove `yarn.lock` from YAML file type.
1028
+ * [BUG #760](https://github.com/BurntSushi/ripgrep/issues/760):
1029
+ ripgrep can now search `/sys/devices/system/cpu/vulnerabilities/*` files.
1030
+ * [BUG #761](https://github.com/BurntSushi/ripgrep/issues/761):
1031
+ Fix handling of gitignore patterns that contain a `/`.
1032
+ * [BUG #776](https://github.com/BurntSushi/ripgrep/pull/776):
1033
+ **BREAKING CHANGE:** `--max-columns=0` now disables the limit.
1034
+ * [BUG #779](https://github.com/BurntSushi/ripgrep/issues/779):
1035
+ Clarify documentation for `--files-without-match`.
1036
+ * [BUG #780](https://github.com/BurntSushi/ripgrep/issues/780),
1037
+ [BUG #781](https://github.com/BurntSushi/ripgrep/issues/781):
1038
+ Fix bug where ripgrep missed some matching lines.
1039
+
1040
+ Maintenance fixes:
1041
+
1042
+ * [MAINT #772](https://github.com/BurntSushi/ripgrep/pull/772):
1043
+ Drop `env_logger` in favor of simpler logger to avoid many new dependencies.
1044
+ * [MAINT #772](https://github.com/BurntSushi/ripgrep/pull/772):
1045
+ Add git revision hash to ripgrep's version string.
1046
+ * [MAINT #772](https://github.com/BurntSushi/ripgrep/pull/772):
1047
+ (Seemingly) improve compile times.
1048
+ * [MAINT #776](https://github.com/BurntSushi/ripgrep/pull/776):
1049
+ Automatically generate man page during build.
1050
+ * [MAINT #786](https://github.com/BurntSushi/ripgrep/pull/786):
1051
+ Remove use of `unsafe` in `globset`. :tada:
1052
+ * [MAINT e9d448](https://github.com/BurntSushi/ripgrep/commit/e9d448e93bb4e1fb3b0c1afc29adb5af6ed5283d):
1053
+ Add an issue template (has already drastically improved bug reports).
1054
+ * [MAINT ae2d03](https://github.com/BurntSushi/ripgrep/commit/ae2d036dd4ba2a46acac9c2d77c32e7c667eb850):
1055
+ Remove the `compile` script.
1056
+
1057
+ Friends of ripgrep:
1058
+
1059
+ I'd like to extend my gratitude to
1060
+ [@balajisivaraman](https://github.com/balajisivaraman)
1061
+ for their recent hard work in a number of areas, and in particular, for
1062
+ implementing the "search compressed files" feature. Their work in sketching out
1063
+ a specification for that and other work has been exemplary.
1064
+
1065
+ Thanks
1066
+ [@balajisivaraman](https://github.com/balajisivaraman)!
1067
+
1068
+
1069
+ 0.7.1 (2017-10-22)
1070
+ ==================
1071
+ This is a patch release of ripgrep that includes a fix to very bad regression
1072
+ introduced in ripgrep 0.7.0.
1073
+
1074
+ Bug fixes:
1075
+
1076
+ * [BUG #648](https://github.com/BurntSushi/ripgrep/issues/648):
1077
+ Fix a bug where it was very easy to exceed standard file descriptor limits.
1078
+
1079
+
1080
+ 0.7.0 (2017-10-20)
1081
+ ==================
1082
+ This is a new minor version release of ripgrep that includes mostly bug fixes.
1083
+
1084
+ ripgrep continues to require Rust 1.17, and there are no known breaking changes
1085
+ introduced in this release.
1086
+
1087
+ Feature enhancements:
1088
+
1089
+ * Added or improved file type filtering for config & license files, Elm,
1090
+ Purescript, Standard ML, sh, systemd, Terraform
1091
+ * [FEATURE #593](https://github.com/BurntSushi/ripgrep/pull/593):
1092
+ Using both `-o/--only-matching` and `-r/--replace` does the right thing.
1093
+
1094
+ Bug fixes:
1095
+
1096
+ * [BUG #200](https://github.com/BurntSushi/ripgrep/issues/200):
1097
+ ripgrep will stop when its pipe is closed.
1098
+ * [BUG #402](https://github.com/BurntSushi/ripgrep/issues/402):
1099
+ Fix context printing bug when the `-m/--max-count` flag is used.
1100
+ * [BUG #521](https://github.com/BurntSushi/ripgrep/issues/521):
1101
+ Fix interaction between `-r/--replace` and terminal colors.
1102
+ * [BUG #559](https://github.com/BurntSushi/ripgrep/issues/559):
1103
+ Ignore test that tried reading a non-UTF-8 file path on macOS.
1104
+ * [BUG #599](https://github.com/BurntSushi/ripgrep/issues/599):
1105
+ Fix color escapes on empty matches.
1106
+ * [BUG #600](https://github.com/BurntSushi/ripgrep/issues/600):
1107
+ Avoid expensive (on Windows) file handle check when using --files.
1108
+ * [BUG #618](https://github.com/BurntSushi/ripgrep/issues/618):
1109
+ Clarify installation instructions for Ubuntu users.
1110
+ * [BUG #633](https://github.com/BurntSushi/ripgrep/issues/633):
1111
+ Faster symlink loop checking on Windows.
1112
+
1113
+
1114
+ 0.6.0 (2017-08-23)
1115
+ ==================
1116
+ This is a new minor version release of ripgrep that includes many bug fixes
1117
+ and a few new features such as `--iglob` and `-x/--line-regexp`.
1118
+
1119
+ Note that this release increases the minimum supported Rust version from 1.12
1120
+ to 1.17.
1121
+
1122
+ Feature enhancements:
1123
+
1124
+ * Added or improved file type filtering for BitBake, C++, Cabal, cshtml, Julia,
1125
+ Make, msbuild, QMake, Yocto
1126
+ * [FEATURE #163](https://github.com/BurntSushi/ripgrep/issues/163):
1127
+ Add an `--iglob` flag that is like `-g/--glob`, but matches globs
1128
+ case insensitively.
1129
+ * [FEATURE #520](https://github.com/BurntSushi/ripgrep/pull/518):
1130
+ Add `-x/--line-regexp` flag, which requires a match to span an entire line.
1131
+ * [FEATURE #551](https://github.com/BurntSushi/ripgrep/pull/551),
1132
+ [FEATURE #554](https://github.com/BurntSushi/ripgrep/pull/554):
1133
+ `ignore`: add new `matched_path_or_any_parents` method.
1134
+
1135
+ Bug fixes:
1136
+
1137
+ * [BUG #342](https://github.com/BurntSushi/ripgrep/issues/342):
1138
+ Fix invisible text in some PowerShell environments by changing the
1139
+ default color scheme on Windows.
1140
+ * [BUG #413](https://github.com/BurntSushi/ripgrep/issues/413):
1141
+ Release binaries on Unix are now `strip`'d by default. This decreases
1142
+ binary size by an order of magnitude.
1143
+ * [BUG #483](https://github.com/BurntSushi/ripgrep/issues/483):
1144
+ When `--quiet` is passed, `--files` should be quiet.
1145
+ * [BUG #488](https://github.com/BurntSushi/ripgrep/pull/488):
1146
+ When `--vimgrep` is passed, `--with-filename` should be enabled
1147
+ automatically.
1148
+ * [BUG #493](https://github.com/BurntSushi/ripgrep/issues/493):
1149
+ Fix another bug in the implementation of the `-o/--only-matching`
1150
+ flag.
1151
+ * [BUG #499](https://github.com/BurntSushi/ripgrep/pull/499):
1152
+ Permit certain flags to override others.
1153
+ * [BUG #523](https://github.com/BurntSushi/ripgrep/pull/523):
1154
+ `wincolor`: Re-fetch Windows console on all calls.
1155
+ * [BUG #523](https://github.com/BurntSushi/ripgrep/issues/524):
1156
+ `--version` now shows enabled compile-time features.
1157
+ * [BUG #532](https://github.com/BurntSushi/ripgrep/issues/532),
1158
+ [BUG #536](https://github.com/BurntSushi/ripgrep/pull/536),
1159
+ [BUG #538](https://github.com/BurntSushi/ripgrep/pull/538),
1160
+ [BUG #540](https://github.com/BurntSushi/ripgrep/pull/540),
1161
+ [BUG #560](https://github.com/BurntSushi/ripgrep/pull/560),
1162
+ [BUG #565](https://github.com/BurntSushi/ripgrep/pull/565):
1163
+ Improve zsh completion.
1164
+ * [BUG #578](https://github.com/BurntSushi/ripgrep/pull/578):
1165
+ Enable SIMD for `encoding_rs` when appropriate.
1166
+ * [BUG #580](https://github.com/BurntSushi/ripgrep/issues/580):
1167
+ Fix `-w/--word-regexp` in the presence of capturing groups.
1168
+ * [BUG #581](https://github.com/BurntSushi/ripgrep/issues/581):
1169
+ Document that ripgrep may terminate unexpectedly when searching via
1170
+ memory maps (which can happen using default settings).
1171
+
1172
+ Friends of ripgrep:
1173
+
1174
+ I'd like to give a big Thank You to @okdana for their recent hard work on
1175
+ ripgrep. This includes new features like `--line-regexp`, heroic effort on
1176
+ zsh auto-completion and thinking through some thorny argv issues with me.
1177
+
1178
+ I'd also like to thank @ericbn for their work on improving ripgrep's argv
1179
+ parsing by allowing some flags to override others.
1180
+
1181
+ Thanks @okdana and @ericbn!
1182
+
1183
+
1184
+ 0.5.2 (2017-05-11)
1185
+ ==================
1186
+ Feature enhancements:
1187
+
1188
+ * Added or improved file type filtering for Nix.
1189
+ * [FEATURE #362](https://github.com/BurntSushi/ripgrep/issues/362):
1190
+ Add `--regex-size-limit` and `--dfa-size-limit` flags.
1191
+ * [FEATURE #444](https://github.com/BurntSushi/ripgrep/issues/444):
1192
+ Improve error messages for invalid globs.
1193
+
1194
+ Bug fixes:
1195
+
1196
+ * [BUG #442](https://github.com/BurntSushi/ripgrep/issues/442):
1197
+ Fix line wrapping in `--help` output.
1198
+ * [BUG #451](https://github.com/BurntSushi/ripgrep/issues/451):
1199
+ Fix bug with duplicate output when using `-o/--only-matching` flag.
1200
+
1201
+
1202
+ 0.5.1 (2017-04-09)
1203
+ ==================
1204
+ Feature enhancements:
1205
+
1206
+ * Added or improved file type filtering for vim.
1207
+ * [FEATURE #34](https://github.com/BurntSushi/ripgrep/issues/34):
1208
+ Add a `-o/--only-matching` flag.
1209
+ * [FEATURE #377](https://github.com/BurntSushi/ripgrep/issues/377):
1210
+ Column numbers can now be customized with a color. (The default is
1211
+ no color.)
1212
+ * [FEATURE #419](https://github.com/BurntSushi/ripgrep/issues/419):
1213
+ Added `-0` short flag option for `--null`.
1214
+
1215
+ Bug fixes:
1216
+
1217
+ * [BUG #381](https://github.com/BurntSushi/ripgrep/issues/381):
1218
+ Include license text in all subcrates.
1219
+ * [BUG #418](https://github.com/BurntSushi/ripgrep/issues/418),
1220
+ [BUG #426](https://github.com/BurntSushi/ripgrep/issues/426),
1221
+ [BUG #439](https://github.com/BurntSushi/ripgrep/issues/439):
1222
+ Fix a few bugs with `-h/--help` output.
1223
+
1224
+
1225
+ 0.5.0 (2017-03-12)
1226
+ ==================
1227
+ This is a new minor version release of ripgrep that includes one minor breaking
1228
+ change, bug fixes and several new features including support for text encodings
1229
+ other than UTF-8.
1230
+
1231
+ A notable accomplishment with respect to Rust is that ripgrep proper now only
1232
+ contains a single `unsafe` use (for accessing the contents of a memory map).
1233
+
1234
+ The **breaking change** is:
1235
+
1236
+ * [FEATURE #380](https://github.com/BurntSushi/ripgrep/issues/380):
1237
+ Line numbers are now hidden by default when ripgrep is printing to a tty
1238
+ **and** the only thing searched is stdin.
1239
+
1240
+ Feature enhancements:
1241
+
1242
+ * Added or improved file type filtering for Ceylon, CSS, Elixir, HTML, log,
1243
+ SASS, SVG, Twig
1244
+ * [FEATURE #1](https://github.com/BurntSushi/ripgrep/issues/1):
1245
+ Add support for additional text encodings, including automatic detection for
1246
+ UTF-16 via BOM sniffing. Explicit text encoding support with the
1247
+ `-E/--encoding` flag was also added for latin-1, GBK, EUC-JP
1248
+ and Shift_JIS, among others. The full list can be found here:
1249
+ https://encoding.spec.whatwg.org/#concept-encoding-get
1250
+ * [FEATURE #129](https://github.com/BurntSushi/ripgrep/issues/129):
1251
+ Add a new `-M/--max-columns` flag that omits lines longer than the given
1252
+ number of bytes. (Disabled by default!)
1253
+ * [FEATURE #369](https://github.com/BurntSushi/ripgrep/issues/369):
1254
+ A new flag, `--max-filesize`, was added for limiting searches to files with
1255
+ a maximum file size.
1256
+
1257
+ Bug fixes:
1258
+
1259
+ * [BUG #52](https://github.com/BurntSushi/ripgrep/issues/52),
1260
+ [BUG #311](https://github.com/BurntSushi/ripgrep/issues/311):
1261
+ Tweak how binary files are detected and handled. (We are slightly less
1262
+ conservative and will no longer use memory without bound.)
1263
+ * [BUG #326](https://github.com/BurntSushi/ripgrep/issues/326):
1264
+ When --files flag is given, we should never attempt to parse positional
1265
+ arguments as regexes.
1266
+ * [BUG #327](https://github.com/BurntSushi/ripgrep/issues/327):
1267
+ Permit the --heading flag to override the --no-heading flag.
1268
+ * [BUG #340](https://github.com/BurntSushi/ripgrep/pull/340):
1269
+ Clarify that the `-u/--unrestricted` flags are aliases.
1270
+ * [BUG #343](https://github.com/BurntSushi/ripgrep/pull/343):
1271
+ Global git ignore config should use `$HOME/.config/git/ignore` and not
1272
+ `$HOME/git/ignore`.
1273
+ * [BUG #345](https://github.com/BurntSushi/ripgrep/pull/345):
1274
+ Clarify docs for `-g/--glob` flag.
1275
+ * [BUG #381](https://github.com/BurntSushi/ripgrep/issues/381):
1276
+ Add license files to each sub-crate.
1277
+ * [BUG #383](https://github.com/BurntSushi/ripgrep/issues/383):
1278
+ Use latest version of clap (for argv parsing).
1279
+ * [BUG #392](https://github.com/BurntSushi/ripgrep/issues/391):
1280
+ Fix translation of set globs (e.g., `{foo,bar,quux}`) to regexes.
1281
+ * [BUG #401](https://github.com/BurntSushi/ripgrep/pull/401):
1282
+ Add PowerShell completion file to Windows release.
1283
+ * [BUG #405](https://github.com/BurntSushi/ripgrep/issues/405):
1284
+ Fix bug when excluding absolute paths with the `-g/--glob` flag.
1285
+
1286
+
1287
+ 0.4.0
1288
+ =====
1289
+ This is a new minor version release of ripgrep that includes a couple very
1290
+ minor breaking changes, a few new features and lots of bug fixes.
1291
+
1292
+ This version of ripgrep upgrades its `regex` dependency from `0.1` to `0.2`,
1293
+ which includes a few minor syntax changes:
1294
+
1295
+ * POSIX character classes now require double bracketing. Previously, the regex
1296
+ `[:upper:]` would parse as the `upper` POSIX character class. Now it parses
1297
+ as the character class containing the characters `:upper:`. The fix to this
1298
+ change is to use `[[:upper:]]` instead. Note that variants like
1299
+ `[[:upper:][:blank:]]` continue to work.
1300
+ * The character `[` must always be escaped inside a character class.
1301
+ * The characters `&`, `-` and `~` must be escaped if any one of them are
1302
+ repeated consecutively. For example, `[&]`, `[\&]`, `[\&\&]`, `[&-&]` are all
1303
+ equivalent while `[&&]` is illegal. (The motivation for this and the prior
1304
+ change is to provide a backwards compatible path for adding character class
1305
+ set notation.)
1306
+
1307
+ Feature enhancements:
1308
+
1309
+ * Added or improved file type filtering for Crystal, Kotlin, Perl, PowerShell,
1310
+ Ruby, Swig
1311
+ * [FEATURE #83](https://github.com/BurntSushi/ripgrep/issues/83):
1312
+ Type definitions can now include other type definitions.
1313
+ * [FEATURE #243](https://github.com/BurntSushi/ripgrep/issues/243):
1314
+ **BREAKING CHANGE**: The `--column` flag now implies `--line-number`.
1315
+ * [FEATURE #263](https://github.com/BurntSushi/ripgrep/issues/263):
1316
+ Add a new `--sort-files` flag.
1317
+ * [FEATURE #275](https://github.com/BurntSushi/ripgrep/issues/275):
1318
+ Add a new `--path-separator` flag. Useful in cygwin.
1319
+
1320
+ Bug fixes:
1321
+
1322
+ * [BUG #182](https://github.com/BurntSushi/ripgrep/issues/182):
1323
+ Redux: use more portable ANSI color escape sequences when possible.
1324
+ * [BUG #258](https://github.com/BurntSushi/ripgrep/issues/258):
1325
+ Fix bug that caused ripgrep's parallel iterator to spin and burn CPU.
1326
+ * [BUG #262](https://github.com/BurntSushi/ripgrep/issues/262):
1327
+ Document how to install shell completion files.
1328
+ * [BUG #266](https://github.com/BurntSushi/ripgrep/issues/266),
1329
+ [BUG #293](https://github.com/BurntSushi/ripgrep/issues/293):
1330
+ Fix handling of bold styling and change the default colors.
1331
+ * [BUG #268](https://github.com/BurntSushi/ripgrep/issues/268):
1332
+ Make lack of backreference support more explicit.
1333
+ * [BUG #271](https://github.com/BurntSushi/ripgrep/issues/271):
1334
+ Remove `~` dependency on clap.
1335
+ * [BUG #277](https://github.com/BurntSushi/ripgrep/issues/277):
1336
+ Fix cosmetic issue in `globset` crate docs.
1337
+ * [BUG #279](https://github.com/BurntSushi/ripgrep/issues/279):
1338
+ ripgrep did not terminate when `-q/--quiet` was given.
1339
+ * [BUG #281](https://github.com/BurntSushi/ripgrep/issues/281):
1340
+ **BREAKING CHANGE**: Completely remove `^C` handling from ripgrep.
1341
+ * [BUG #284](https://github.com/BurntSushi/ripgrep/issues/284):
1342
+ Make docs for `-g/--glob` clearer.
1343
+ * [BUG #286](https://github.com/BurntSushi/ripgrep/pull/286):
1344
+ When stdout is redirected to a file, don't search that file.
1345
+ * [BUG #287](https://github.com/BurntSushi/ripgrep/pull/287):
1346
+ Fix ZSH completions.
1347
+ * [BUG #295](https://github.com/BurntSushi/ripgrep/pull/295):
1348
+ Remove superfluous `memmap` dependency in `grep` crate.
1349
+ * [BUG #308](https://github.com/BurntSushi/ripgrep/pull/308):
1350
+ Improve docs for `-r/--replace`.
1351
+ * [BUG #313](https://github.com/BurntSushi/ripgrep/pull/313):
1352
+ Update bytecount dep to latest version.
1353
+ * [BUG #318](https://github.com/BurntSushi/ripgrep/pull/318):
1354
+ Fix invalid UTF-8 output bug in Windows consoles.
1355
+
1356
+
1357
+ 0.3.2
1358
+ =====
1359
+ Feature enhancements:
1360
+
1361
+ * Added or improved file type filtering for Less, Sass, stylus, Zsh
1362
+
1363
+ Bug fixes:
1364
+
1365
+ * [BUG #229](https://github.com/BurntSushi/ripgrep/issues/229):
1366
+ Make smart case slightly less conservative.
1367
+ * [BUG #247](https://github.com/BurntSushi/ripgrep/issues/247):
1368
+ Clarify use of --heading/--no-heading.
1369
+ * [BUG #251](https://github.com/BurntSushi/ripgrep/issues/251),
1370
+ [BUG #264](https://github.com/BurntSushi/ripgrep/issues/264),
1371
+ [BUG #267](https://github.com/BurntSushi/ripgrep/issues/267):
1372
+ Fix matching bug caused by literal optimizations.
1373
+ * [BUG #256](https://github.com/BurntSushi/ripgrep/issues/256):
1374
+ Fix bug that caused `rg foo` and `rg foo/` to have different behavior
1375
+ when `foo` was a symlink.
1376
+ * [BUG #270](https://github.com/BurntSushi/ripgrep/issues/270):
1377
+ Fix bug where patterns starting with a `-` couldn't be used with the
1378
+ `-e/--regexp` flag. (This resolves a regression that was introduced in
1379
+ ripgrep 0.3.0.)
1380
+
1381
+
1382
+ 0.3.1
1383
+ =====
1384
+ Bug fixes:
1385
+
1386
+ * [BUG #242](https://github.com/BurntSushi/ripgrep/issues/242):
1387
+ ripgrep didn't respect `--colors foo:none` correctly. Now it does.
1388
+
1389
+
1390
+ 0.3.0
1391
+ =====
1392
+ This is a new minor version release of ripgrep that includes two breaking
1393
+ changes with lots of bug fixes and some new features and performance
1394
+ improvements. Notably, if you had a problem with colors or piping on Windows
1395
+ before, then that should now be fixed in this release.
1396
+
1397
+ **BREAKING CHANGES**:
1398
+
1399
+ * ripgrep now requires Rust 1.11 to compile. Previously, it could build on
1400
+ Rust 1.9. The cause of this was the move from
1401
+ [Docopt to Clap](https://github.com/BurntSushi/ripgrep/pull/233)
1402
+ for argument parsing.
1403
+ * The `-e/--regexp` flag can no longer accept a pattern starting with a `-`.
1404
+ There are two work-arounds: `rg -- -foo` and `rg [-]foo` or `rg -e [-]foo`
1405
+ will all search for the same `-foo` pattern. The cause of this was the move
1406
+ from [Docopt to Clap](https://github.com/BurntSushi/ripgrep/pull/233)
1407
+ for argument parsing.
1408
+ [This may get fixed in the
1409
+ future.](https://github.com/kbknapp/clap-rs/issues/742).
1410
+
1411
+ Performance improvements:
1412
+
1413
+ * [PERF #33](https://github.com/BurntSushi/ripgrep/issues/33):
1414
+ ripgrep now performs similar to GNU grep on small corpora.
1415
+ * [PERF #136](https://github.com/BurntSushi/ripgrep/issues/136):
1416
+ ripgrep no longer slows down because of argument parsing when given a large
1417
+ argument list.
1418
+
1419
+ Feature enhancements:
1420
+
1421
+ * Added or improved file type filtering for Elixir.
1422
+ * [FEATURE #7](https://github.com/BurntSushi/ripgrep/issues/7):
1423
+ Add a `-f/--file` flag that causes ripgrep to read patterns from a file.
1424
+ * [FEATURE #51](https://github.com/BurntSushi/ripgrep/issues/51):
1425
+ Add a `--colors` flag that enables one to customize the colors used in
1426
+ ripgrep's output.
1427
+ * [FEATURE #138](https://github.com/BurntSushi/ripgrep/issues/138):
1428
+ Add a `--files-without-match` flag that shows only file paths that contain
1429
+ zero matches.
1430
+ * [FEATURE #230](https://github.com/BurntSushi/ripgrep/issues/230):
1431
+ Add completion files to the release (Bash, Fish and PowerShell).
1432
+
1433
+ Bug fixes:
1434
+
1435
+ * [BUG #37](https://github.com/BurntSushi/ripgrep/issues/37):
1436
+ Use correct ANSI escape sequences when `TERM=screen.linux`.
1437
+ * [BUG #94](https://github.com/BurntSushi/ripgrep/issues/94):
1438
+ ripgrep now detects stdin on Windows automatically.
1439
+ * [BUG #117](https://github.com/BurntSushi/ripgrep/issues/117):
1440
+ Colors should now work correctly and automatically inside mintty.
1441
+ * [BUG #182](https://github.com/BurntSushi/ripgrep/issues/182):
1442
+ Colors should now work within Emacs. In particular, `--color=always` will
1443
+ emit colors regardless of the current environment.
1444
+ * [BUG #189](https://github.com/BurntSushi/ripgrep/issues/189):
1445
+ Show less content when running `rg -h`. The full help content can be
1446
+ accessed with `rg --help`.
1447
+ * [BUG #210](https://github.com/BurntSushi/ripgrep/issues/210):
1448
+ Support non-UTF-8 file names on Unix platforms.
1449
+ * [BUG #231](https://github.com/BurntSushi/ripgrep/issues/231):
1450
+ Switch from block buffering to line buffering.
1451
+ * [BUG #241](https://github.com/BurntSushi/ripgrep/issues/241):
1452
+ Some error messages weren't suppressed when `--no-messages` was used.
1453
+
1454
+
1455
+ 0.2.9
1456
+ =====
1457
+ Bug fixes:
1458
+
1459
+ * [BUG #226](https://github.com/BurntSushi/ripgrep/issues/226):
1460
+ File paths explicitly given on the command line weren't searched in parallel.
1461
+ (This was a regression in `0.2.7`.)
1462
+ * [BUG #228](https://github.com/BurntSushi/ripgrep/issues/228):
1463
+ If a directory was given to `--ignore-file`, ripgrep's memory usage would
1464
+ grow without bound.
1465
+
1466
+
1467
+ 0.2.8
1468
+ =====
1469
+ Bug fixes:
1470
+
1471
+ * Fixed a bug with the SIMD/AVX features for using bytecount in commit
1472
+ `4ca15a`.
1473
+
1474
+
1475
+ 0.2.7
1476
+ =====
1477
+ Performance improvements:
1478
+
1479
+ * [PERF #223](https://github.com/BurntSushi/ripgrep/pull/223):
1480
+ Added a parallel recursive directory iterator. This results in major
1481
+ performance improvements on large repositories.
1482
+ * [PERF #11](https://github.com/BurntSushi/ripgrep/pull/11):
1483
+ ripgrep now uses the `bytecount` library for counting new lines. In some
1484
+ cases, ripgrep runs twice as fast. Use
1485
+ `RUSTFLAGS="-C target-cpu=native" cargo build --release --features 'simd-accel avx-accel'`
1486
+ to get the fastest possible binary.
1487
+
1488
+ Feature enhancements:
1489
+
1490
+ * Added or improved file type filtering for Agda, Tex, Taskpaper, Markdown,
1491
+ asciidoc, textile, rdoc, org, creole, wiki, pod, C#, PDF, C, C++.
1492
+ * [FEATURE #149](https://github.com/BurntSushi/ripgrep/issues/149):
1493
+ Add a new `--no-messages` flag that suppresses error messages.
1494
+ Note that `rg foo 2> /dev/null` also works.
1495
+ * [FEATURE #159](https://github.com/BurntSushi/ripgrep/issues/159):
1496
+ Add a new `-m/--max-count` flag that limits the total number of matches
1497
+ printed for each file searched.
1498
+
1499
+ Bug fixes:
1500
+
1501
+ * [BUG #199](https://github.com/BurntSushi/ripgrep/issues/199):
1502
+ Fixed a bug where `-S/--smart-case` wasn't being applied correctly to
1503
+ literal optimizations.
1504
+ * [BUG #203](https://github.com/BurntSushi/ripgrep/issues/203):
1505
+ Mention the full name, ripgrep, in more places. It now appears in
1506
+ the output of `--help` and `--version`. The repository URL is now also
1507
+ in the output of `--help` and the man page.
1508
+ * [BUG #215](https://github.com/BurntSushi/ripgrep/issues/215):
1509
+ Include small note about how to search for a pattern that starts with a `-`.
1510
+
1511
+
1512
+ 0.2.6
1513
+ =====
1514
+ Feature enhancements:
1515
+
1516
+ * Added or improved file type filtering for Fish.
1517
+
1518
+ Bug fixes:
1519
+
1520
+ * [BUG #206](https://github.com/BurntSushi/ripgrep/issues/206):
1521
+ Fixed a regression with `-g/--glob` flag in `0.2.5`.
1522
+
1523
+
1524
+ 0.2.5
1525
+ =====
1526
+ Feature enhancements:
1527
+
1528
+ * Added or improved file type filtering for Groovy, Handlebars, Tcl, zsh and
1529
+ Python.
1530
+ * [FEATURE #9](https://github.com/BurntSushi/ripgrep/issues/9):
1531
+ Support global gitignore config and `.git/info/exclude` files.
1532
+ * [FEATURE #45](https://github.com/BurntSushi/ripgrep/issues/45):
1533
+ Add --ignore-file flag for specifying additional ignore files.
1534
+ * [FEATURE #202](https://github.com/BurntSushi/ripgrep/pull/202):
1535
+ Introduce a new
1536
+ [`ignore`](https://github.com/BurntSushi/ripgrep/tree/master/ignore)
1537
+ crate that encapsulates all of ripgrep's gitignore matching logic.
1538
+
1539
+ Bug fixes:
1540
+
1541
+ * [BUG #44](https://github.com/BurntSushi/ripgrep/issues/44):
1542
+ ripgrep runs slowly when given lots of positional arguments that are
1543
+ directories.
1544
+ * [BUG #119](https://github.com/BurntSushi/ripgrep/issues/119):
1545
+ ripgrep didn't reset terminal colors if it was interrupted by `^C`.
1546
+ Fixed in [PR #187](https://github.com/BurntSushi/ripgrep/pull/187).
1547
+ * [BUG #184](https://github.com/BurntSushi/ripgrep/issues/184):
1548
+ Fixed a bug related to interpreting gitignore files in parent directories.
1549
+
1550
+
1551
+ 0.2.4
1552
+ =====
1553
+ SKIPPED.
1554
+
1555
+
1556
+ 0.2.3
1557
+ =====
1558
+ Bug fixes:
1559
+
1560
+ * [BUG #164](https://github.com/BurntSushi/ripgrep/issues/164):
1561
+ Fixes a segfault on macos builds.
1562
+ * [BUG #167](https://github.com/BurntSushi/ripgrep/issues/167):
1563
+ Clarify documentation for --threads.
1564
+
1565
+
1566
+ 0.2.2
1567
+ =====
1568
+ Packaging updates:
1569
+
1570
+ * `ripgrep` is now in homebrew-core. `brew install ripgrep` will do the trick
1571
+ on a Mac.
1572
+ * `ripgrep` is now in the Archlinux community repository.
1573
+ `pacman -S ripgrep` will do the trick on Archlinux.
1574
+ * Support has been discontinued for i686-darwin.
1575
+ * Glob matching has been moved out into its own crate:
1576
+ [`globset`](https://crates.io/crates/globset).
1577
+
1578
+ Feature enhancements:
1579
+
1580
+ * Added or improved file type filtering for CMake, config, Jinja, Markdown,
1581
+ Spark.
1582
+ * [FEATURE #109](https://github.com/BurntSushi/ripgrep/issues/109):
1583
+ Add a --max-depth flag for directory traversal.
1584
+ * [FEATURE #124](https://github.com/BurntSushi/ripgrep/issues/124):
1585
+ Add -s/--case-sensitive flag. Overrides --smart-case.
1586
+ * [FEATURE #139](https://github.com/BurntSushi/ripgrep/pull/139):
1587
+ The `ripgrep` repo is now a Homebrew tap. This is useful for installing
1588
+ SIMD accelerated binaries, which aren't available in homebrew-core.
1589
+
1590
+ Bug fixes:
1591
+
1592
+ * [BUG #87](https://github.com/BurntSushi/ripgrep/issues/87),
1593
+ [BUG #127](https://github.com/BurntSushi/ripgrep/issues/127),
1594
+ [BUG #131](https://github.com/BurntSushi/ripgrep/issues/131):
1595
+ Various issues related to glob matching.
1596
+ * [BUG #116](https://github.com/BurntSushi/ripgrep/issues/116):
1597
+ --quiet should stop search after first match.
1598
+ * [BUG #121](https://github.com/BurntSushi/ripgrep/pull/121):
1599
+ --color always should show colors, even when --vimgrep is used.
1600
+ * [BUG #122](https://github.com/BurntSushi/ripgrep/pull/122):
1601
+ Colorize file path at beginning of line.
1602
+ * [BUG #134](https://github.com/BurntSushi/ripgrep/issues/134):
1603
+ Processing a large ignore file (thousands of globs) was very slow.
1604
+ * [BUG #137](https://github.com/BurntSushi/ripgrep/issues/137):
1605
+ Always follow symlinks when given as an explicit argument.
1606
+ * [BUG #147](https://github.com/BurntSushi/ripgrep/issues/147):
1607
+ Clarify documentation for --replace.
1608
+
1609
+
1610
+ 0.2.1
1611
+ =====
1612
+ Feature enhancements:
1613
+
1614
+ * Added or improved file type filtering for Clojure and SystemVerilog.
1615
+ * [FEATURE #89](https://github.com/BurntSushi/ripgrep/issues/89):
1616
+ Add a --null flag that outputs a NUL byte after every file path.
1617
+
1618
+ Bug fixes:
1619
+
1620
+ * [BUG #98](https://github.com/BurntSushi/ripgrep/issues/98):
1621
+ Fix a bug in single threaded mode when if opening a file failed, ripgrep
1622
+ quit instead of continuing the search.
1623
+ * [BUG #99](https://github.com/BurntSushi/ripgrep/issues/99):
1624
+ Fix another bug in single threaded mode where empty lines were being printed
1625
+ by mistake.
1626
+ * [BUG #105](https://github.com/BurntSushi/ripgrep/issues/105):
1627
+ Fix an off-by-one error with --column.
1628
+ * [BUG #106](https://github.com/BurntSushi/ripgrep/issues/106):
1629
+ Fix a bug where a whitespace only line in a gitignore file caused ripgrep
1630
+ to panic (i.e., crash).
1631
+
1632
+
1633
+ 0.2.0
1634
+ =====
1635
+ Feature enhancements:
1636
+
1637
+ * Added or improved file type filtering for VB, R, F#, Swift, Nim, JavaScript,
1638
+ TypeScript
1639
+ * [FEATURE #20](https://github.com/BurntSushi/ripgrep/issues/20):
1640
+ Adds a --no-filename flag.
1641
+ * [FEATURE #26](https://github.com/BurntSushi/ripgrep/issues/26):
1642
+ Adds --files-with-matches flag. Like --count, but only prints file paths
1643
+ and doesn't need to count every match.
1644
+ * [FEATURE #40](https://github.com/BurntSushi/ripgrep/issues/40):
1645
+ Switch from using `.rgignore` to `.ignore`. Note that `.rgignore` is
1646
+ still supported, but deprecated.
1647
+ * [FEATURE #68](https://github.com/BurntSushi/ripgrep/issues/68):
1648
+ Add --no-ignore-vcs flag that ignores .gitignore but not .ignore.
1649
+ * [FEATURE #70](https://github.com/BurntSushi/ripgrep/issues/70):
1650
+ Add -S/--smart-case flag (but is disabled by default).
1651
+ * [FEATURE #80](https://github.com/BurntSushi/ripgrep/issues/80):
1652
+ Add support for `{foo,bar}` globs.
1653
+
1654
+ Many many bug fixes. Thanks every for reporting these and helping make
1655
+ `ripgrep` better! (Note that I haven't captured every tracking issue here,
1656
+ some were closed as duplicates.)
1657
+
1658
+ * [BUG #8](https://github.com/BurntSushi/ripgrep/issues/8):
1659
+ Don't use an intermediate buffer when --threads=1. (Permits constant memory
1660
+ usage.)
1661
+ * [BUG #15](https://github.com/BurntSushi/ripgrep/issues/15):
1662
+ Improves the documentation for --type-add.
1663
+ * [BUG #16](https://github.com/BurntSushi/ripgrep/issues/16),
1664
+ [BUG #49](https://github.com/BurntSushi/ripgrep/issues/49),
1665
+ [BUG #50](https://github.com/BurntSushi/ripgrep/issues/50),
1666
+ [BUG #65](https://github.com/BurntSushi/ripgrep/issues/65):
1667
+ Some gitignore globs were being treated as anchored when they weren't.
1668
+ * [BUG #18](https://github.com/BurntSushi/ripgrep/issues/18):
1669
+ --vimgrep reported incorrect column number.
1670
+ * [BUG #19](https://github.com/BurntSushi/ripgrep/issues/19):
1671
+ ripgrep was hanging waiting on stdin in some Windows terminals. Note that
1672
+ this introduced a new bug:
1673
+ [#94](https://github.com/BurntSushi/ripgrep/issues/94).
1674
+ * [BUG #21](https://github.com/BurntSushi/ripgrep/issues/21):
1675
+ Removes leading `./` when printing file paths.
1676
+ * [BUG #22](https://github.com/BurntSushi/ripgrep/issues/22):
1677
+ Running `rg --help | echo` caused `rg` to panic.
1678
+ * [BUG #24](https://github.com/BurntSushi/ripgrep/issues/22):
1679
+ Clarify the central purpose of rg in its usage message.
1680
+ * [BUG #25](https://github.com/BurntSushi/ripgrep/issues/25):
1681
+ Anchored gitignore globs weren't applied in subdirectories correctly.
1682
+ * [BUG #30](https://github.com/BurntSushi/ripgrep/issues/30):
1683
+ Globs like `foo/**` should match contents of `foo`, but not `foo` itself.
1684
+ * [BUG #35](https://github.com/BurntSushi/ripgrep/issues/35),
1685
+ [BUG #81](https://github.com/BurntSushi/ripgrep/issues/81):
1686
+ When automatically detecting stdin, only read if it's a file or a fifo.
1687
+ i.e., ignore stdin in `rg foo < /dev/null`.
1688
+ * [BUG #36](https://github.com/BurntSushi/ripgrep/issues/36):
1689
+ Don't automatically pick memory maps on MacOS. Ever.
1690
+ * [BUG #38](https://github.com/BurntSushi/ripgrep/issues/38):
1691
+ Trailing whitespace in gitignore wasn't being ignored.
1692
+ * [BUG #43](https://github.com/BurntSushi/ripgrep/issues/43):
1693
+ --glob didn't work with directories.
1694
+ * [BUG #46](https://github.com/BurntSushi/ripgrep/issues/46):
1695
+ Use one fewer worker thread than what is provided on CLI.
1696
+ * [BUG #47](https://github.com/BurntSushi/ripgrep/issues/47):
1697
+ --help/--version now work even if other options are set.
1698
+ * [BUG #55](https://github.com/BurntSushi/ripgrep/issues/55):
1699
+ ripgrep was refusing to search /proc/cpuinfo. Fixed by disabling memory
1700
+ maps for files with zero size.
1701
+ * [BUG #64](https://github.com/BurntSushi/ripgrep/issues/64):
1702
+ The first path given with --files set was ignored.
1703
+ * [BUG #67](https://github.com/BurntSushi/ripgrep/issues/67):
1704
+ Sometimes whitelist globs like `!/dir` weren't interpreted as anchored.
1705
+ * [BUG #77](https://github.com/BurntSushi/ripgrep/issues/77):
1706
+ When -q/--quiet flag was passed, ripgrep kept searching even after a match
1707
+ was found.
1708
+ * [BUG #90](https://github.com/BurntSushi/ripgrep/issues/90):
1709
+ Permit whitelisting hidden files.
1710
+ * [BUG #93](https://github.com/BurntSushi/ripgrep/issues/93):
1711
+ ripgrep was extracting an erroneous inner literal from a repeated pattern.