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