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