Imported Upstream version 1.7.2
[platform/upstream/libzip.git] / NEWS.md
1 1.7.2 [2020-07-11]
2 ==================
3
4 * Fixes for the CMake find_project() files.
5 * libzip moved to the CMake libzip:: NAMESPACE.
6 * CMake usage best practice cleanups.
7
8 1.7.1 [2020-06-13]
9 ==================
10
11 * Restore `LIBZIP_VERSION_{MAJOR,MINOR,MICRO}` symbols.
12 * Fixes warnings reported by PVS-Studio.
13 * Add `LIBZIP_DO_INSTALL` build setting to make it easier to use
14   libzip as subproject.
15
16 1.7.0 [2020-06-05]
17 ==================
18
19 * Add support for encrypting using traditional PKWare encryption.
20 * Add `zip_compression_method_supported()`.
21 * Add `zip_encryption_method_supported()`.
22 * Add the `ZIP_SOURCE_GET_FILE_ATTRIBUTES` source command.
23 * Refactor stdio file backend.
24 * Add CMake find_project() support.
25
26 1.6.1 [2020-02-03]
27 ==================
28
29 * Bugfix for double-free in `zipcmp(1)` during cleanup.
30
31 1.6.0 [2020-01-24]
32 ==================
33
34 * Avoid using `umask()` since it's not thread-safe.
35 * Set close-on-exec flag when opening files.
36 * Do not accept empty files as valid zip archives any longer.
37 * Add support for XZ compressed files (using liblzma).
38 * Add support for cancelling while closing zip archives.
39 * Add support for setting the time in the on-disk format.
40
41 1.5.2 [2019-03-12]
42 ==================
43
44 * Fix bug in AES encryption affecting certain file sizes
45 * Keep file permissions when modifying zip archives
46 * Support systems with small stack size.
47 * Support mbed TLS as crypto backend.
48 * Add nullability annotations.
49
50 1.5.1 [2018-04-11]
51 ==================
52
53 * Choose format of installed documentation based on available tools.
54 * Fix visibility of symbols.
55 * Fix zipcmp directory support.
56 * Don't set RPATH on Linux.
57 * Use Libs.private for link dependencies in pkg-config file.
58 * Fix build with LibreSSL.
59 * Various bugfixes.
60
61 1.5.0 [2018-03-11]
62 ==================
63
64 * Use standard cryptographic library instead of custom AES implementation.
65   This also simplifies the license.
66 * Use `clang-format` to format the source code.
67 * More Windows improvements.
68
69 1.4.0 [2017-12-29]
70 ==================
71
72 * Improve build with cmake
73 * Retire autoconf/automake build system
74 * Add `zip_source_buffer_fragment()`.
75 * Add support to clone unchanged beginning of archive (instead of rewriting it).
76   Supported for buffer sources and on Apple File System.
77 * Add support for Microsoft Universal Windows Platform.
78
79 1.3.2 [2017-11-20]
80 ==================
81
82 * Fix bug introduced in last: zip_t was erroneously freed if zip_close() failed.
83
84 1.3.1 [2017-11-19]
85 ==================
86
87 * Install zipconf.h into ${PREFIX}/include
88 * Add zip_libzip_version()
89 * Fix AES tests on Linux
90
91 1.3.0 [2017-09-02]
92 ==================
93
94 * Support bzip2 compressed zip archives
95 * Improve file progress callback code
96 * Fix zip_fdopen()
97 * CVE-2017-12858: Fix double free()
98 * CVE-2017-14107: Improve EOCD64 parsing
99
100 1.2.0 [2017-02-19]
101 ==================
102
103 * Support for AES encryption (Winzip version), both encryption
104   and decryption
105 * Support legacy zip files with >64k entries
106 * Fix seeking in zip_source_file if start > 0
107 * Add zip_fseek() for seeking in uncompressed data
108 * Add zip_ftell() for telling position in uncompressed data
109 * Add zip_register_progress_callback() for UI updates during zip_close()
110
111 1.1.3 [2016-05-28]
112 ==================
113
114 * Fix build on Windows when using autoconf
115
116 1.1.2 [2016-02-19]
117 ==================
118
119 * Improve support for 3MF files
120
121 1.1.1 [2016-02-07]
122 ==================
123
124 * Build fixes for Linux
125 * Fix some warnings reported by PVS-Studio
126
127 1.1 [2016-01-26]
128 ================
129
130 * ziptool(1): command line tool to modify zip archives
131 * Speedups for archives with many entries
132 * Coverity fixes
133 * Better APK support
134 * Support for running tests on Windows
135 * More build fixes for Windows
136 * Portability fixes
137 * Documentation improvements
138
139 1.0.1 [2015-05-04]
140 ==================
141
142 * Build fixes for Windows
143
144 1.0 [2015-05-03]
145 ================
146
147 * Implemented an I/O abstraction layer
148 * Added support for native Windows API for files
149 * Added support for setting the last modification time for a file
150 * Added a new type zip_error_t for errors
151 * Added more typedefs for structs
152 * Torrentzip support was removed
153 * CVE-2015-2331 was fixed
154 * Addressed all Coverity CIDs
155
156 0.11.2 [2013-12-19]
157 ===================
158
159 * Support querying/setting operating system and external attributes
160 * For newly added files, set operating system to UNIX, permissions
161   to 0666 (0777 for directories)
162 * Fix bug when writing zip archives containing files bigger than 4GB
163
164 0.11.1 [2013-04-27]
165 ===================
166
167 * Fix bugs in zip_set_file_compression()
168 * Include Xcode build infrastructure
169
170 0.11 [2013-03-23]
171 =================
172
173 * Added Zip64 support (large file support)
174 * Added UTF-8 support for file names, file comments, and archive comments
175 * Changed API for name and comment related functions for UTF-8 support
176 * Added zip_discard()
177 * Added ZIP_TRUNCATE for zip_open()
178 * Added zip_set_file_compression()
179 * Added API for accessing and modifying extra fields
180 * Improved API type consistency
181 * Use gcc4's visibility __attribute__
182 * More changes for Windows support
183 * Additional test cases
184
185 0.10.1 [2012-03-20]
186 ===================
187
188 * Fixed CVE-2012-1162
189 * Fixed CVE-2012-1163
190
191 0.10 [2010-03-18]
192 =================
193
194 * Added zip_get_num_entries(), deprecated zip_get_num_files()
195 * Better windows support
196 * Support for traditional PKWARE encryption added
197 * Fix opening archives with more than 65535 entries
198 * Fix some memory leaks
199 * Fix cmake build and installation
200 * Fix memory leak in error case in zip_open()
201 * Fixed CVE-2011-0421 (no security implications though)
202 * More documentation
203
204 0.9.3 [2010-02-01]
205 ==================
206
207 * Include m4/ directory in distribution; some packagers need it
208
209 0.9.2 [2010-01-31]
210 ==================
211
212 * Avoid passing uninitialized data to deflate()
213 * Fix memory leak when closing zip archives
214
215 0.9.1 [2010-01-24]
216 ==================
217
218 * Fix infinite loop on reading some broken files
219 * Optimization in time conversion (don't call localtime())
220 * Clear data descriptor flag in central directory, fixing Open Office files
221 * Allow more than 64k entries
222
223 0.9 [2008-07-25]
224 ==================
225
226 * on Windows, explicitly set dllimport/dllexport
227 * remove erroneous references to GPL
228 * add support for torrentzip
229 * new functions: zip_get_archive_flag, zip_set_archive_flag
230 * zip_source_zip: add flag to force recompression
231 * zip_sorce_file: only keep file open while reading from it
232
233 0.8 [2007-06-06]
234 ==================
235
236 * fix for zip archives larger than 2GiB
237 * fix zip_error_strerror to include libzip error string
238 * add support for reading streamed zip files
239 * new functions: zip_add_dir, zip_error_clear, zip_file_error_clear
240 * add basic support for building with CMake (incomplete)
241
242 0.7.1 [2006-05-18]
243 ==================
244
245 * bugfix for zip_close
246
247 0.7 [2006-05-06]
248 ================
249
250 * struct zip_stat increased for future encryption support
251 * zip_add return value changed (now returns new index of added file)
252 * shared library major bump because of previous two
253 * added functions for reading and writing file and archive comments
254   New functions: zip_get_archive_comment, zip_get_file_comment,
255   zip_set_archive_comment, zip_set_file_comment, zip_unchange_archive
256
257 0.6.1 [2005-07-14]
258 ==================
259
260 * various bug fixes
261
262 0.6 [2005-06-09]
263 ================
264
265 * first standalone release
266 * changed license to three-clause BSD
267 * overhauled API
268 * added man pages
269 * install zipcmp and zipmerge