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