]> git.sesse.net Git - plocate/blob - NEWS
Release plocate 1.1.21.
[plocate] / NEWS
1 plocate 1.1.21, January 6th, 2024
2
3   - Improve interactions between pruning and bind mount detection
4     logic.
5
6   - Pruned paths are now not opened, which can be useful in certain
7     cases. Note that this does not (yet) apply to filesystems that
8     are pruned due to type and not due to paths; they are still opened
9     and then immediately closed again.
10
11
12 plocate 1.1.20, December 31st, 2023
13
14   - Fix updatedb writing incomplete .db files under Termux.
15     Patch by Grisha Levit.
16
17   - Make the systemd timer run more consistently during the
18     night. Patch by Florian Schmaus.
19
20   - Add an (undocumented) flag --ignore-visibility to plocate,
21     giving the equivalent of building the database with
22     --require-visibility no. Drops setgid, of course, so you
23     will usually need to be root to use it.
24
25
26 plocate 1.1.19, June 9th, 2023
27
28   - Various bugfixes; thanks to Tim Landscheidt, Nick Alcock
29     and sudhanshu goswami. In particular, this fixes a crash
30     with liburing 2.4.
31
32
33 plocate 1.1.18, January 28th, 2023
34
35   - Support the --require-visibility flag in plocate-build.
36
37   - Various bugfixes.
38
39
40 plocate 1.1.17, November 21st, 2022
41
42   - Return 1 if no matches were found. Patch by Clément Pit-Claudel.
43
44   - Various portability patches, thanks to Maciej Adamczyk,
45     Alfred Persson Forsberg, and the Alpine Linux packaging.
46
47
48 plocate 1.1.16, June 4th, 2022
49
50   - Various bugfixes.
51
52
53 plocate 1.1.15, January 31st, 2022
54
55   - Various bugfixes.
56
57
58 plocate 1.1.14, December 27th, 2021
59
60   - Add an option --add-single-prunepath.
61     
62     This makes it possible to prune a path with spaces in the file name,
63     which was previously impossible.
64
65   - Documentation updates.
66
67
68 plocate 1.1.13, November 6th, 2021
69
70   - Various bugfixes.
71
72
73 plocate 1.1.12, October 5th, 2021
74
75   - Implement the -N/--literal option. This matches the GNU coreutils option
76     to turn off the automatic quoting of special characters when printing to
77     a tty.
78
79   - Various bugfixes, including from Arsen Arsenović.
80
81
82 plocate 1.1.11, September 5th, 2021
83
84   - Fix a crash with --existing if scanning all blocks
85     (ie., very short patterns, or --regex), by turning off
86     asynchronous stat() in this case. Reported by Michael Arndt.
87
88
89 plocate 1.1.10, August 23rd, 2021
90
91   - Various bugfixes, including from the Void Linux repository
92     and from Arsen Arsenović.
93
94
95 plocate 1.1.9, August 18th, 2021
96
97   - Support the -e (--existing) option from mlocate.
98
99   - Make it possible to set systemunitdir explicitly.
100     Based on a patch by Zbigniew Jędrzejewski-Szmek.
101
102
103 plocate 1.1.8, June 12th, 2021
104
105   - Various bugfixes.
106
107
108 plocate 1.1.7, April 7th, 2021
109
110   - Correct randomization of updatedb systemd unit start time.
111     Patch by Vladimir Lomov.
112
113
114 plocate 1.1.6, April 2nd, 2021
115
116   - Support searching multiple plocate databases, including the LOCATE_PATH
117     environment variable. See the plocate(1) man page for more information.
118
119   - Fix an issue where updatedb would not recurse into directories on
120     certain filesystems, in particular the deprecated XFS V4.
121
122   - Randomize updatedb systemd unit start time. Suggested by Calum McConnell.
123
124
125 plocate 1.1.5, February 24th, 2021
126
127   - Various bugfixes.
128
129
130 plocate 1.1.4, February 14th, 2021
131
132   - updatedb now uses ~15% less CPU time.
133
134   - Installs a file CACHEDIR.tag into /var/lib/plocate, to mark the directory
135     as autogenerated. Suggested by Marco d'Itri.
136
137   - Manpage fixes; patch by Jakub Wilk.
138
139
140 plocate 1.1.3, December 19th, 2020
141
142   - Various portability fixes.
143
144
145 plocate 1.1.2, December 10th, 2020
146
147   - Various bugfixes.
148
149
150 plocate 1.1.1, December 5th, 2020
151
152   - Fix an issue where the database could be built with the wrong
153     check_visibility flag.
154
155
156 plocate 1.1.0, December 2nd, 2020
157
158   - Include a native updatedb, based on code and man pages from mlocate's
159     updatedb (but heavily tweaked and reworked). This removes the dependency
160     on mlocate's database, at the expense of 1% larger plocate database.
161     plocate-build does not write the needed timestamps, so the first upgrade
162     from mlocate to native plocate requires a full rescan. Subsequent rescans
163     will be about as fast as updatedb.mlocate + plocate-build. plocate-build
164     is now deprecated.
165
166   - The path name now defaults to /var/lib/plocate, and the group name now
167     defaults to plocate. Both can be changed at configure time.
168
169   - Databases are now written near-atomically. An aborted updatedb or
170     plocate-build will never leave a stray file.
171
172   - Escape filenames with backticks in them.
173
174
175 plocate 1.0.7, October 31st, 2020
176
177   - Fix an infinite loop when encountering invalid UTF-8 in file names.
178     Bug report and patch by Leah Neukirchen.
179
180   - Typo fixes in man pages; patch by Leah Neukirchen.
181
182   - Portability fixes.
183
184
185 plocate 1.0.6, October 30th, 2020
186
187   - Escape unprintable characters, quotes, newlines and the likes
188     when outputting file names to a terminal, similar to GNU ls.
189     This is to reduce the security impact of malicious filenames
190     (e.g. containing color or more nefarious escape codes).
191     It is not active when using -0, or when piping to another program.
192
193   - Support building databases from plaintext files (plocate-build -p).
194
195   - Portability fixes.
196
197
198 plocate 1.0.5, October 17th, 2020
199
200   - Implement the -b/--basename option.
201
202   - Various bugfixes.
203
204
205 plocate 1.0.4, October 16th, 2020
206
207   - Fix a bug where plocate.db would be evicted from the OS cache
208     (the behavior was only meant for benchmarking).
209
210   - On fallback linear scans, such as regexes or very short patterns,
211     use multithreading to speed up the search.
212
213
214 plocate 1.0.3, October 15th, 2020
215
216   - Portability fixes; plocate will now compile and run on non-x86
217     architectures (although without SIMD optimizations). Note that
218     plocate.db is not portable across endians, but this shouldn't
219     be a big problem in practice.
220
221   - Filenames are now compressed using a shared zstd dictionary,
222     which makes plocate.db ~7% smaller, and linear scans ~20% faster.
223     This makes plocate-build ~20% slower, though, since it needs to
224     scan through mlocate.db in a special pre-pass to sample filenames
225     for the dictionary.
226
227     This changes the dictionary format (from version 0 to version 1),
228     but the new plocate can still read version 0 dictionaries,
229     so the transition should be seamless.
230
231   - Various bugfixes.
232
233
234 plocate 1.0.2, October 12th, 2020
235
236   - Various bugfixes.
237
238
239 plocate 1.0.1, October 11th, 2020
240
241   - Unbreak linear scanning (for very short patterns, or regexes).
242
243
244 plocate 1.0.0, October 11th, 2020
245
246   - Initial release.