@builder.io/dev-tools-windows-x64 1.19.9 → 1.19.14

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