]> git.sesse.net Git - plocate/blob - NEWS
Release plocate 1.1.4.
[plocate] / NEWS
1 plocate 1.1.4, February 14th, 2021
2
3   - updatedb now uses ~15% less CPU time.
4
5   - Installs a file CACHEDIR.tag into /var/lib/plocate, to mark the directory
6     as autogenerated. Suggested by Marco d'Itri.
7
8   - Manpage fixes; patch by Jakub Wilk.
9
10
11 plocate 1.1.3, December 19th, 2020
12
13   - Various portability fixes.
14
15
16 plocate 1.1.2, December 10th, 2020
17
18   - Various bugfixes.
19
20
21 plocate 1.1.1, December 5th, 2020
22
23   - Fix an issue where the database could be built with the wrong
24     check_visibility flag.
25
26
27 plocate 1.1.0, December 2nd, 2020
28
29   - Include a native updatedb, based on code and man pages from mlocate's
30     updatedb (but heavily tweaked and reworked). This removes the dependency
31     on mlocate's database, at the expense of 1% larger plocate database.
32     plocate-build does not write the needed timestamps, so the first upgrade
33     from mlocate to native plocate requires a full rescan. Subsequent rescans
34     will be about as fast as updatedb.mlocate + plocate-build. plocate-build
35     is now deprecated.
36
37   - The path name now defaults to /var/lib/plocate, and the group name now
38     defaults to plocate. Both can be changed at configure time.
39
40   - Databases are now written near-atomically. An aborted updatedb or
41     plocate-build will never leave a stray file.
42
43   - Escape filenames with backticks in them.
44
45
46 plocate 1.0.7, October 31st, 2020
47
48   - Fix an infinite loop when encountering invalid UTF-8 in file names.
49     Bug report and patch by Leah Neukirchen.
50
51   - Typo fixes in man pages; patch by Leah Neukirchen.
52
53   - Portability fixes.
54
55
56 plocate 1.0.6, October 30th, 2020
57
58   - Escape unprintable characters, quotes, newlines and the likes
59     when outputting file names to a terminal, similar to GNU ls.
60     This is to reduce the security impact of malicious filenames
61     (e.g. containing color or more nefarious escape codes).
62     It is not active when using -0, or when piping to another program.
63
64   - Support building databases from plaintext files (plocate-build -p).
65
66   - Portability fixes.
67
68
69 plocate 1.0.5, October 17th, 2020
70
71   - Implement the -b/--basename option.
72
73   - Various bugfixes.
74
75
76 plocate 1.0.4, October 16th, 2020
77
78   - Fix a bug where plocate.db would be evicted from the OS cache
79     (the behavior was only meant for benchmarking).
80
81   - On fallback linear scans, such as regexes or very short patterns,
82     use multithreading to speed up the search.
83
84
85 plocate 1.0.3, October 15th, 2020
86
87   - Portability fixes; plocate will now compile and run on non-x86
88     architectures (although without SIMD optimizations). Note that
89     plocate.db is not portable across endians, but this shouldn't
90     be a big problem in practice.
91
92   - Filenames are now compressed using a shared zstd dictionary,
93     which makes plocate.db ~7% smaller, and linear scans ~20% faster.
94     This makes plocate-build ~20% slower, though, since it needs to
95     scan through mlocate.db in a special pre-pass to sample filenames
96     for the dictionary.
97
98     This changes the dictionary format (from version 0 to version 1),
99     but the new plocate can still read version 0 dictionaries,
100     so the transition should be seamless.
101
102   - Various bugfixes.
103
104
105 plocate 1.0.2, October 12th, 2020
106
107   - Various bugfixes.
108
109
110 plocate 1.0.1, October 11th, 2020
111
112   - Unbreak linear scanning (for very short patterns, or regexes).
113
114
115 plocate 1.0.0, October 11th, 2020
116
117   - Initial release.