]> git.ipfire.org Git - thirdparty/cups.git/blob - CHANGES.md
6af792b82911b61c266273d7115ebdabe7658f3e
[thirdparty/cups.git] / CHANGES.md
1 CHANGES - 2.3.2 - 2019-12-18
2 ============================
3
4
5 Changes in CUPS v2.3.2
6 ----------------------
7
8 - Localization updates.
9
10
11 Changes in CUPS v2.3.1
12 ----------------------
13
14 - Documentation updates (Issue #5661, #5674, #5682)
15 - CVE-2019-2228: The `ippSetValuetag` function did not validate the default
16 language value.
17 - Fixed a crash bug in the web interface (Issue #5621)
18 - The PPD cache code now looks up page sizes using their dimensions
19 (Issue #5633)
20 - PPD files containing "custom" option keywords did not work (Issue #5639)
21 - Added a workaround for the scheduler's systemd support (Issue #5640)
22 - On Windows, TLS certificates generated on February 29 would likely fail
23 (Issue #5643)
24 - Added a DigestOptions directive for the `client.conf` file to control whether
25 MD5-based Digest authentication is allowed (Issue #5647)
26 - Fixed a bug in the handling of printer resource files (Issue #5652)
27 - The libusb-based USB backend now reports an error when the distribution
28 permissions are wrong (Issue #5658)
29 - Added paint can labels to Dymo driver (Issue #5662)
30 - The `ippeveprinter` program now supports authentication (Issue #5665)
31 - The `ippeveprinter` program now advertises DNS-SD services on the correct
32 interfaces, and provides a way to turn them off (Issue #5666)
33 - The `--with-dbusdir` option was ignored by the configure script (Issue #5671)
34 - Sandboxed applications were not able to get the default printer (Issue #5676)
35 - Log file access controls were not preserved by `cupsctl` (Issue #5677)
36 - Default printers set with `lpoptions` did not work in all cases (Issue #5681,
37 Issue #5683, Issue #5684)
38 - Fixed an error in the jobs web interface template (Issue #5694)
39 - Fixed an off-by-one error in `ippEnumString` (Issue #5695)
40 - Fixed some new compiler warnings (Issue #5700)
41 - Fixed a few issues with the Apple Raster support (rdar://55301114)
42 - The IPP backend did not detect all cases where a job should be retried using
43 a raster format (rdar://56021091)
44 - Fixed spelling of "fold-accordion".
45 - Fixed the default common name for TLS certificates used by `ippeveprinter`.
46 - Fixed the option names used for IPP Everywhere finishing options.
47 - Added support for the second roll of the DYMO Twin/DUO label printers.
48
49
50 Changes in CUPS v2.3.0
51 ----------------------
52
53 - CVE-2019-8696 and CVE-2019-8675: Fixed SNMP buffer overflows (rdar://51685251)
54 - Added a GPL2/LGPL2 exception to the new CUPS license terms.
55 - Documentation updates (Issue #5604)
56 - Localization updates (Issue #5637)
57 - Fixed a bug in the scheduler job cleanup code (Issue #5588)
58 - Fixed builds when there is no TLS library (Issue #5590)
59 - Eliminated some new GCC compiler warnings (Issue #5591)
60 - Removed dead code from the scheduler (Issue #5593)
61 - "make" failed with GZIP options (Issue #5595)
62 - Fixed potential excess logging from the scheduler when removing job files
63 (Issue #5597)
64 - Fixed a NULL pointer dereference bug in `httpGetSubField2` (Issue #5598)
65 - Added FIPS-140 workarounds for GNU TLS (Issue #5601, Issue #5622)
66 - The scheduler no longer provides a default value for the description
67 (Issue #5603)
68 - The scheduler now logs jobs held for authentication using the error level so
69 it is clear what happened (Issue #5604)
70 - The `lpadmin` command did not always update the PPD file for changes to the
71 `cupsIPPSupplies` and `cupsSNMPSupplies` keywords (Issue #5610)
72 - The scheduler now uses both the group's membership list as well as the
73 various OS-specific membership functions to determine whether a user belongs
74 to a named group (Issue #5613)
75 - Added USB quirks rule for HP LaserJet 1015 (Issue #5617)
76 - Fixed some PPD parser issues (Issue #5623, Issue #5624)
77 - The IPP parser no longer allows invalid member attributes in collections
78 (Issue #5630)
79 - The configure script now treats the "wheel" group as a potential system
80 group (Issue #5638)
81 - Fixed a USB printing issue on macOS (rdar://31433931)
82 - Fixed IPP buffer overflow (rdar://50035411)
83 - Fixed memory disclosure issue in the scheduler (rdar://51373853)
84 - Fixed DoS issues in the scheduler (rdar://51373929)
85 - Fixed an issue with unsupported "sides" values in the IPP backend
86 (rdar://51775322)
87 - The scheduler would restart continuously when idle and printers were not
88 shared (rdar://52561199)
89 - Fixed an issue with `EXPECT !name WITH-VALUE ...` tests.
90 - Fixed a command ordering issue in the Zebra ZPL driver.
91 - Fixed a memory leak in `ppdOpen`.
92
93
94 Changes in CUPS v2.3rc1
95 -----------------------
96
97 - The `cups-config` script no longer adds extra libraries when linking against
98 shared libraries (Issue #5261)
99 - The supplied example print documents have been optimized for size
100 (Issue #5529)
101 - The `cupsctl` command now prevents setting "cups-files.conf" directives
102 (Issue #5530)
103 - The "forbidden" message in the web interface is now explained (Issue #5547)
104 - The footer in the web interface covered some content on small displays
105 (Issue #5574)
106 - The libusb-based USB backend now enforces read limits, improving print speed
107 in many cases (Issue #5583)
108 - The `ippeveprinter` command now looks for print commands in the "command"
109 subdirectory.
110 - The `ipptool` command now supports `$date-current` and `$date-start` variables
111 to insert the current and starting date and time values, as well as ISO-8601
112 relative time values such as "PT30S" for 30 seconds in the future.
113
114
115 Changes in CUPS v2.3b8
116 ----------------------
117
118 - Media size matching now uses a tolerance of 0.5mm (rdar://33822024)
119 - The lpadmin command would hang with a bad PPD file (rdar://41495016)
120 - Fixed a potential crash bug in cups-driverd (rdar://46625579)
121 - Fixed a performance regression with large PPDs (rdar://47040759)
122 - Fixed a memory reallocation bug in HTTP header value expansion
123 (rdar://problem/50000749)
124 - Timed out job submission now yields an error (Issue #5570)
125 - Restored minimal support for the `Emulators` keyword in PPD files to allow
126 old Samsung printer drivers to continue to work (Issue #5562)
127 - The scheduler did not encode octetString values like "job-password" correctly
128 for the print filters (Issue #5558)
129 - The `cupsCheckDestSupported` function did not check octetString values
130 correctly (Issue #5557)
131 - Added support for `UserAgentTokens` directive in "client.conf" (Issue #5555)
132 - Updated the systemd service file for cupsd (Issue #5551)
133 - The `ippValidateAttribute` function did not catch all instances of invalid
134 UTF-8 strings (Issue #5509)
135 - Fixed an issue with the self-signed certificates generated by GNU TLS
136 (Issue #5506)
137 - Fixed a potential memory leak when reading at the end of a file (Issue #5473)
138 - Fixed potential unaligned accesses in the string pool (Issue #5474)
139 - Fixed a potential memory leak when loading a PPD file (Issue #5475)
140 - Added a USB quirks rule for the Lexmark E120n (Issue #5478)
141 - Updated the USB quirks rule for Zebra label printers (Issue #5395)
142 - Fixed a compile error on Linux (Issue #5483)
143 - The lpadmin command, web interface, and scheduler all queried an IPP
144 Everywhere printer differently, resulting in different PPDs for the same
145 printer (Issue #5484)
146 - The web interface no longer provides access to the log files (Issue #5513)
147 - Non-Kerberized printing to Windows via IPP was broken (Issue #5515)
148 - Eliminated use of private headers and some deprecated macOS APIs (Issue #5516)
149 - The scheduler no longer stops a printer if an error occurs when a job is
150 canceled or aborted (Issue #5517)
151 - Added a USB quirks rule for the DYMO 450 Turbo (Issue #5521)
152 - Added a USB quirks rule for Xerox printers (Issue #5523)
153 - The scheduler's self-signed certificate did not include all of the alternate
154 names for the server when using GNU TLS (Issue #5525)
155 - Fixed compiler warnings with newer versions of GCC (Issue #5532, Issue #5533)
156 - Fixed some PPD caching and IPP Everywhere PPD accounting/password bugs
157 (Issue #5535)
158 - Fixed `PreserveJobHistory` bug with time values (Issue #5538)
159 - The scheduler no longer advertises the HTTP methods it supports (Issue #5540)
160 - Localization updates (Issue #5461, Issues #5471, Issue #5481, Issue #5486,
161 Issue #5489, Issue #5491, Issue #5492, Issue #5493, Issue #5494, Issue #5495,
162 Issue #5497, Issue #5499, Issue #5500, Issue #5501, Issue #5504)
163 - The scheduler did not always idle exit as quickly as it could.
164 - Added a new `ippeveprinter` command based on the old ippserver sample code.
165
166
167 Changes in CUPS v2.3b7
168 ----------------------
169
170 - Fixed some build failures (Issue #5451, Issue #5463)
171 - Running ppdmerge with the same input and output filenames did not work as
172 advertised (Issue #5455)
173
174
175 Changes in CUPS v2.3b6
176 ----------------------
177
178 - Localization update (Issue #5339, Issue #5348, Issue #5362, Issue #5408,
179 Issue #5410)
180 - Documentation updates (Issue #5369, Issue #5402, Issue #5403, Issue #5404)
181 - CVE-2018-4300: Linux session cookies used a predictable random number seed.
182 - All user commands now support the `--help` option (Issue #5326)
183 - The `lpoptions` command now works with IPP Everywhere printers that have not
184 yet been added as local queues (Issue #5045)
185 - The lpadmin command would create a non-working printer in some error cases
186 (Issue #5305)
187 - The scheduler would crash if an empty `AccessLog` directive was specified
188 (Issue #5309)
189 - The scheduler did not idle-exit on some Linux distributions (Issue #5319)
190 - Fixed a regression in the changes to ippValidateAttribute (Issue #5322,
191 Issue #5330)
192 - Fixed a crash bug in the Epson dot matrix driver (Issue #5323)
193 - Automatic debug logging of job errors did not work with systemd (Issue #5337)
194 - The web interface did not list the IPP Everywhere "driver" (Issue #5338)
195 - The scheduler did not report all of the supported job options and values
196 (Issue #5340)
197 - The IPP Everywhere "driver" now properly supports face-up printers
198 (Issue #5345)
199 - Fixed some typos in the label printer drivers (Issue #5350)
200 - Setting the `Community` name to the empty string in `snmp.conf` now disables
201 SNMP supply level monitoring by all the standard network backends
202 (Issue #5354)
203 - Multi-file jobs could get stuck if the backend failed (Issue #5359,
204 Issue #5413)
205 - The IPP Everywhere "driver" no longer does local filtering when printing to
206 a shared CUPS printer (Issue #5361)
207 - The lpadmin command now correctly reports IPP errors when configuring an
208 IPP Everywhere printer (Issue #5370)
209 - Fixed some memory leaks discovered by Coverity (Issue #5375)
210 - The PPD compiler incorrectly terminated JCL options (Issue #5379)
211 - The cupstestppd utility did not generate errors for missing/mismatched
212 CloseUI/JCLCloseUI keywords (Issue #5381)
213 - The scheduler now reports the actual location of the log file (Issue #5398)
214 - Added USB quirk rules (Issue #5395, Issue #5420, Issue #5443)
215 - The generated PPD files for IPP Everywhere printers did not contain the
216 cupsManualCopies keyword (Issue #5433)
217 - Kerberos credentials might be truncated (Issue #5435)
218 - The handling of `MaxJobTime 0` did not match the documentation (Issue #5438)
219 - Fixed a bug adding a queue with the `-E` option (Issue #5440)
220 - The `cupsaddsmb` program has been removed (Issue #5449)
221 - The `cupstestdsc` program has been removed (Issue #5450)
222 - The scheduler was being backgrounded on macOS, causing applications to spin
223 (rdar://40436080)
224 - The scheduler did not validate that required initial request attributes were
225 in the operation group (rdar://41098178)
226 - Authentication in the web interface did not work on macOS (rdar://41444473)
227 - Fixed an issue with HTTP Digest authentication (rdar://41709086)
228 - The scheduler could crash when job history was purged (rdar://42198057)
229 - Fixed a crash bug when mapping PPD duplex options to IPP attributes
230 (rdar://46183976)
231 - Fixed a memory leak for some IPP (extension) syntaxes.
232 - The `cupscgi`, `cupsmime`, and `cupsppdc` support libraries are no longer
233 installed as shared libraries.
234 - The `snmp` backend is now deprecated.
235
236
237 Changes in CUPS v2.3b5
238 ----------------------
239
240 - The `ipptool` program no longer checks for duplicate attributes when running
241 in list or CSV mode (Issue #5278)
242 - The `cupsCreateJob`, `cupsPrintFile2`, and `cupsPrintFiles2` APIs did not use
243 the supplied HTTP connection (Issue #5288)
244 - Fixed another crash in the scheduler when adding an IPP Everywhere printer
245 (Issue #5290)
246 - Added a workaround for certain web browsers that do not support multiple
247 authentication schemes in a single response header (Issue #5289)
248 - Fixed policy limits containing the `All` operation (Issue #5296)
249 - The scheduler was always restarted after idle-exit with systemd (Issue #5297)
250 - Added a USB quirks rule for the HP LaserJet P1102 (Issue #5310)
251 - The mailto notifier did not wait for the welcome message (Issue #5312)
252 - Fixed a parsing bug in the pstops filter (Issue #5321)
253 - Documentation updates (Issue #5299, Issue #5301, Issue #5306)
254 - Localization updates (Issue #5317)
255 - The scheduler allowed environment variables to be specified in the
256 `cupsd.conf` file (rdar://37836779, rdar://37836995, rdar://37837252,
257 rdar://37837581)
258 - Fax queues did not support pause (p) or wait-for-dialtone (w) characters
259 (rdar://39212256)
260 - The scheduler did not validate notify-recipient-uri values properly
261 (rdar://40068936)
262 - The IPP parser allowed invalid group tags (rdar://40442124)
263 - Fixed a parsing bug in the new authentication code.
264
265
266 Changes in CUPS v2.3b4
267 ----------------------
268
269 - NOTICE: Printer drivers are now deprecated (Issue #5270)
270 - Kerberized printing to another CUPS server did not work correctly
271 (Issue #5233)
272 - Fixed printing to some IPP Everywhere printers (Issue #5238)
273 - Fixed installation of filters (Issue #5247)
274 - The scheduler now supports using temporary print queues for older IPP/1.1
275 print queues like those shared by CUPS 1.3 and earlier (Issue #5241)
276 - Star Micronics printers need the "unidir" USB quirk rule (Issue #5251)
277 - Documentation fixes (Issue #5252)
278 - Fixed a compile issue when PAM is not available (Issue #5253)
279 - Label printers supported by the rastertolabel driver don't support SNMP, so
280 don't delay printing to test it (Issue #5256)
281 - The scheduler could crash while adding an IPP Everywhere printer (Issue #5258)
282 - The Lexmark Optra E310 printer needs the "no-reattach" USB quirk rule
283 (Issue #5259)
284 - Systemd did not restart cupsd when configuration changes were made that
285 required a restart (Issue #5263)
286 - The IPP Everywhere PPD generator did not include the `cupsJobPassword`
287 keyword, when supported (Issue #5265)
288 - Fixed an Avahi crash bug in the scheduler (Issue #5268)
289 - Raw print queues are now deprecated (Issue #5269)
290 - Fixed an RPM packaging problem (Issue #5276)
291 - The IPP backend did not properly detect failed PDF prints (rdar://34055474)
292 - TLS connections now properly timeout (rdar://34938533)
293 - Temp files could not be created in some sandboxed applications
294 (rdar://37789645)
295 - The ipptool `--ippserver` option did not encode out-of-band attributes
296 correctly.
297 - Added public `cupsEncodeOption` API for encoding a single option as an IPP
298 attribute.
299 - Removed support for the `-D_PPD_DEPRECATED=""` developer cheat - the PPD API
300 should no longer be used.
301 - Removed support for `-D_IPP_PRIVATE_STRUCTURES=1` developer cheat - the IPP
302 accessor functions should be used instead.
303
304
305 Changes in CUPS v2.3b3
306 ----------------------
307
308 - More fixes for printing to old CUPS servers (Issue #5211)
309 - The IPP Everywhere PPD generator did not support deep grayscale or 8-bit per
310 component AdobeRGB (Issue #5227)
311 - Additional changes for the scheduler to substitute default values for invalid
312 job attributes when running in "relaxed conformance" mode (Issue #5229)
313 - Localization changes (Issue #5232, rdar://37068158)
314 - The `cupsCopyDestInfo` function did not work with all print queues
315 (Issue #5235)
316
317
318 Changes in CUPS v2.3b2
319 ----------------------
320
321 - Localization changes (Issue #5210)
322 - Build fixes (Issue #5217)
323 - IPP Everywhere PPDs were not localized to English (Issue #5205)
324 - The `cupsGetDests` and `cupsEnumDests` functions no longer filter out local
325 print services like IPP USB devices (Issue #5206)
326 - The `cupsCopyDest` function now correctly copies the `is_default` value
327 (Issue #5208)
328 - Printing to old CUPS servers has been fixed (Issue #5211)
329 - The `ppdInstallableConflict` tested too many constraints (Issue #5213)
330 - All HTTP field values can now be longer than `HTTP_MAX_VALUE` bytes
331 (Issue #5216)
332 - Added a USB quirk rule for Canon MP280 series printers (Issue #5221)
333 - The `cupsRasterWritePixels` function did not correctly swap bytes for some
334 formats (Issue #5225)
335 - Fixed an issue with mapping finishing options (rdar://34250727)
336 - The `ppdLocalizeIPPReason` function incorrectly returned a localized version
337 of "none" (rdar://36566269)
338 - The scheduler did not add ".local" to the default DNS-SD host name when
339 needed.
340
341
342 Changes in CUPS v2.3b1
343 ----------------------
344
345 - CUPS is now provided under the Apache License, Version 2.0.
346 - Documentation updates (Issue #4580, Issue #5177, Issue #5192)
347 - The `cupsCopyDestConflicts` function now handles collection attribute
348 ("media-col", "finishings-col", etc.) constraints (Issue #4096)
349 - The `lpoptions` command incorrectly saved default options (Issue #4717)
350 - The `lpstat` command now reports when new jobs are being held (Issue #4761)
351 - The `ippfind` command now supports finding printers whose name starts with an
352 underscore (Issue #4833)
353 - The CUPS library now supports the latest HTTP Digest authentication
354 specification including support for SHA-256 (Issue #4862)
355 - The scheduler now supports the "printer-id" attribute (Issue #4868)
356 - No longer support backslash, question mark, or quotes in printer names
357 (Issue #4966)
358 - The scheduler no longer logs pages as they are printed, instead just logging
359 a total of the pages printed at job completion (Issue #4991)
360 - Dropped RSS subscription management from the web interface (Issue #5012)
361 - Bonjour printer sharing now uses the DNS-SD hostname (or ServerName value if
362 none is defined) when registering shared printers on the network (Issue #5071)
363 - The `ipptool` command now supports writing `ippserver` attributes files
364 (Issue #5093)
365 - The `lp` and `lpr` commands now provide better error messages when the default
366 printer cannot be found (Issue #5096)
367 - The `lpadmin` command now provides a better error message when an unsupported
368 System V interface script is used (Issue #5111)
369 - The scheduler did not write out dirty configuration and state files if there
370 were open client connections (Issue #5118)
371 - The `SSLOptions` directive now supports `MinTLS` and `MaxTLS` options to
372 control the minimum and maximum TLS versions that will be allowed,
373 respectively (Issue #5119)
374 - Dropped hard-coded CGI scripting language support (Issue #5124)
375 - The `cupsEnumDests` function did not include options from the lpoptions
376 files (Issue #5144)
377 - Fixed the `ippserver` sample code when threading is disabled or unavailable
378 (Issue #5154)
379 - Added label markup to checkbox and radio button controls in the web interface
380 templates (Issue #5161)
381 - Fixed group validation on OpenBSD (Issue #5166)
382 - Improved IPP Everywhere media support, including a new
383 `cupsAddDestMediaOptions` function (Issue #5167)
384 - IPP Everywhere PPDs now include localizations of printer-specific media types,
385 when available (Issue #5168)
386 - The cups-driverd program incorrectly stopped scanning PPDs as soon as a loop
387 was seen (Issue #5170)
388 - IPP Everywhere PPDs now support IPP job presets (Issue #5179)
389 - IPP Everywhere PPDs now support finishing templates (Issue #5180)
390 - Fixed a journald support bug in the scheduler (Issue #5181)
391 - Fixed PAM module detection and added support for the common PAM definitions
392 (Issue #5185)
393 - The scheduler now substitutes default values for invalid job attributes when
394 running in "relaxed conformance" mode (Issue #5186)
395 - The scheduler did not work with older versions of uClibc (Issue #5188)
396 - The scheduler now generates a strings file for localizing PPD options
397 (Issue #5194)