| 1 | Version 2.2.0 [2024-03-25] |
| 2 | --------------------------- |
| 3 | |
| 4 | ## Features |
| 5 | |
| 6 | - `--page-number` can now take an optional argument `label` that shows the |
| 7 | PDF's page label instead of the page index. |
| 8 | |
| 9 | ## Changes |
| 10 | |
| 11 | - Port to PCRE2 |
| 12 | - Change default value of `--include` to `*.[Pp][Dd][Ff]` to allow for |
| 13 | different case variations of `*.pdf`. |
| 14 | - Build system: Switch to C++14 |
| 15 | - Build system: Require poppler-cpp >= 0.36.0, to avoid a nasty bug in earlier |
| 16 | versions that makes pdfgrep produce wrong results. See |
| 17 | https://bugs.freedesktop.org/show_bug.cgi?id=91644 |
| 18 | - Manpage: Specify SYNOPSIS more precisely. |
| 19 | - Ignore extra whitespace at the end of pages as generated by newer poppler. |
| 20 | This fixes e.g. `--warn-empty` and our testsuite. |
| 21 | |
| 22 | ## Fixes |
| 23 | |
| 24 | - Fix crash with invalid locale setting |
| 25 | - Fix `--warn-empty` with `--cache` |
| 26 | |
| 27 | Version 2.1.2 [2018-11-19] |
| 28 | --------------------------- |
| 29 | |
| 30 | - Bugfix: Fix crash when compiled with hardened compiler flags |
| 31 | (specifically -D_GLIBCXX_ASSERTIONS) |
| 32 | |
| 33 | Version 2.1.1 [2018-05-22] |
| 34 | --------------------------- |
| 35 | |
| 36 | - Bugfix: Fix build with libunac support enabled |
| 37 | |
| 38 | Version 2.1.0 [2018-04-28] |
| 39 | --------------------------- |
| 40 | |
| 41 | - New option `--page-range` to limit search to a set of pages |
| 42 | - New option `--file/-f` to read patterns from a file |
| 43 | - New option `--regexp/-e` to specify multiple patterns (combined with OR). |
| 44 | - New options `--files-with-matches/-l` and `--files-without-match/-L` to only |
| 45 | list filenames of files that contain or don't contain matches. |
| 46 | - Major manpage restructuring. It's now divided into subsections like the GNU |
| 47 | grep's manpage. |
| 48 | - Bugfix: Actually stop searching after first match with `-q` |
| 49 | |
| 50 | Version 2.0.1 [2017-03-06] |
| 51 | --------------------------- |
| 52 | |
| 53 | - Bugfix: Fix --cache when used with recursive search |
| 54 | |
| 55 | Version 2.0 [2017-01-25] |
| 56 | ------------------------- |
| 57 | |
| 58 | - **Incompatible change**: `--context/-C` is now line based as opposed to |
| 59 | character based and works just like grep |
| 60 | - Two new options from grep: `-A/--after-context` and `-B/--before-context` |
| 61 | - Lines with multiple matches are now printed only once |
| 62 | - Optional caching of pdf-text for faster operation (by Christian Dietrich) |
| 63 | This adds a **new dependency**: libgcrypt |
| 64 | - Bash-completion improvements (by Rainer Müller) |
| 65 | - Bugfix: Fixed string search (`-F`) now works as advertised with multiple |
| 66 | patterns |
| 67 | - Bugfix: Empty pages can now be matched with `^$` |
| 68 | - Bugfix: The pattern `^` now matches *only* at the beginning of pages |
| 69 | - Bugfix: Text outside of PDF's CropBox but inside the MediaBox is not |
| 70 | ignored anymore. |
| 71 | - Various fixes for BSD support |
| 72 | |
| 73 | Version 1.4.1 [2015-09-26] |
| 74 | --------------------------- |
| 75 | |
| 76 | - Test suite added |
| 77 | - Bugfix: The tarball contains HACKING and README again |
| 78 | - Bugfix: The zsh completion completes options as first |
| 79 | argument correctly |
| 80 | - Bugfix: Exit status is set as advertised |
| 81 | - Bugfix: Spurious null bytes removed from output |
| 82 | - Bugfix: Skipping of some matches in certain conditions fixed. |
| 83 | - Bugfix: Empty matches don't trigger a loop |
| 84 | |
| 85 | Version 1.4.0 [2015-08-14] |
| 86 | --------------------------- |
| 87 | |
| 88 | - PCRE support (by Julius Plenz) |
| 89 | - Fixed string search |
| 90 | - Ability to pass multiple passwords |
| 91 | - Option to change the colon as prefix separator |
| 92 | - Optional warning about PDFs that contain no searchable text |
| 93 | - New option from grep: `--only-matching` |
| 94 | - New option from grep: `--null` |
| 95 | - Bugfix: Correctly print unicode characters |
| 96 | - Installation: New configure flag `--without-libpcre` |
| 97 | - Installation: New configure flag `--disable-doc` to disable |
| 98 | manpage generation with asciidoc |
| 99 | - Installation: pdfgrep now requires c++11 |
| 100 | |
| 101 | Version 1.3.2 [2015-02-20] |
| 102 | ----------------------------- |
| 103 | |
| 104 | - A bash completion module |
| 105 | - Don't limit output to 80 characters on non-terminals |
| 106 | - Print a lot less error messages by default (only with >= poppler-0.30.0) |
| 107 | - New option `--debug` to print verbose debug output |
| 108 | - Installation: New configure flag `--with-zsh-completion` |
| 109 | |
| 110 | Version 1.3.1 [2014-08-10] |
| 111 | ----------------------------- |
| 112 | |
| 113 | - **Incompatible change**: `-r` doesn't follow symlinks |
| 114 | - A zsh completion module |
| 115 | - Support for password-protected PDFs |
| 116 | - Allow to omit '.' with `-r` to search current directory |
| 117 | - Add `-p` or `--page-count` to count matches per page (by Jascha Knack) |
| 118 | - Add `-m` or `--max-count` to limit matches per file (by Thibault Marin) |
| 119 | |
| 120 | Version 1.3.0 [2012-02-14] |
| 121 | ----------------------------- |
| 122 | |
| 123 | - Experimental support for libunac (removing accents and ligatures |
| 124 | before search) |
| 125 | - Recursive search [`--recursive`] (by Mahmut Gundes) |
| 126 | - Don't use colors on dumb terminals |
| 127 | - A few minor bug fixes |
| 128 | - Use poppler-cpp instead of the poppler core library (by Pino Toscano) |
| 129 | |
| 130 | Version 1.2 |
| 131 | ----------- |
| 132 | |
| 133 | - 2 small bugfixes (`-h` option and closing open files) |
| 134 | - This is probably the last release that supports poppler < 0.14 |
| 135 | |
| 136 | Version 1.1 |
| 137 | ----------- |
| 138 | |
| 139 | - Respect the `GREP_COLORS` environment variable |
| 140 | - Fix buffer overflow bug |
| 141 | - Don't exit on the first error |
| 142 | - Use terminal width to calculate the context length |
| 143 | |
| 144 | Version 1.0 |
| 145 | ----------- |
| 146 | |
| 147 | - First release |