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