]> git.ipfire.org Git - thirdparty/cups.git/blob - CHANGES.md
Fix an issue with and time values (Issue #5538)
[thirdparty/cups.git] / CHANGES.md
1 CHANGES - 2.2.11 - 2019-03-11
2 =============================
3
4
5 Changes in CUPS v2.2.11
6 -----------------------
7
8 - Running ppdmerge with the same input and output filenames did not work as
9 advertised (Issue #5455)
10 - Fixed a potential memory leak when reading at the end of a file (Issue #5473)
11 - Fixed potential unaligned accesses in the string pool (Issue #5474)
12 - Fixed a potential memory leak when loading a PPD file (Issue #5475)
13 - Added a USB quirks rule for the Lexmark E120n (Issue #5478)
14 - Updated the USB quirks rule for Zebra label printers (Issue #5395)
15 - Fixed a compile error on Linux (Issue #5483)
16 - The lpadmin command, web interface, and scheduler all queried an IPP
17 Everywhere printer differently, resulting in different PPDs for the same
18 printer (Issue #5484)
19 - Fixed an issue with the self-signed certificates generated by GNU TLS
20 (Issue #5506)
21 - The `ippValidateAttribute` function did not catch all instances of invalid
22 UTF-8 strings (Issue #5509)
23 - Non-Kerberized printing to Windows via IPP was broken (Issue #5515)
24 - The scheduler no longer stops a printer if an error occurs when a job is
25 canceled or aborted (Issue #5517)
26 - Added a USB quirks rule for the DYMO 450 Turbo (Issue #5521)
27 - Added a USB quirks rule for Xerox printers (Issue #5523)
28 - The scheduler's self-signed certificate did not include all of the alternate
29 names for the server when using GNU TLS (Issue #5525)
30 - Fixed compiler warnings with newer versions of GCC (Issue #5532, Issue #5533)
31 - Fixed some PPD caching and IPP Everywhere PPD accounting/password bugs
32 (Issue #5535)
33 - Fixed `PreserveJobHistory` bug with time values (Issue #5538)
34 - Media size matching now uses a tolerance of 0.5mm (rdar://33822024)
35 - The lpadmin command would hang with a bad PPD file (rdar://41495016)
36 - Fixed a potential crash bug in cups-driverd (rdar://46625579)
37 - Fixed a performance regression with large PPDs (rdar://47040759)
38 - The scheduler did not always idle exit as quickly as it could.
39
40
41 Changes in CUPS v2.2.10
42 -----------------------
43
44 - CVE-2018-4700: Linux session cookies used a predictable random number seed.
45 - The `lpoptions` command now works with IPP Everywhere printers that have not
46 yet been added as local queues (Issue #5045)
47 - Added USB quirk rules (Issue #5395, Issue #5443)
48 - The generated PPD files for IPP Everywhere printers did not contain the
49 cupsManualCopies keyword (Issue #5433)
50 - Kerberos credentials might be truncated (Issue #5435)
51 - The handling of `MaxJobTime 0` did not match the documentation (Issue #5438)
52 - Incorporated the page accounting changes from CUPS 2.3 (Issue #5439)
53 - Fixed a bug adding a queue with the `-E` option (Issue #5440)
54 - Fixed a crash bug when mapping PPD duplex options to IPP attributes
55 (rdar://46183976)
56
57
58 Changes in CUPS v2.2.9
59 ----------------------
60
61 - Localization changes (Issue #5348, Issue #5362, Issue #5408)
62 - Documentation updates (Issue #5369)
63 - The lpadmin command would create a non-working printer in some error cases
64 (Issue #5305)
65 - The scheduler would crash if an empty `AccessLog` directive was specified
66 (Issue #5309)
67 - Fixed a regression in the changes to ippValidateAttribute (Issue #5322,
68 Issue #5330)
69 - Fixed a crash bug in the Epson dot matrix driver (Issue #5323)
70 - Automatic debug logging of job errors did not work with systemd (Issue #5337)
71 - The web interface did not list the IPP Everywhere "driver" (Issue #5338)
72 - The IPP Everywhere "driver" now properly supports face-up printers
73 (Issue #5345)
74 - Fixed some typos in the label printer drivers (Issue #5350)
75 - Multi-file jobs could get stuck if the backend failed (Issue #5359,
76 Issue #5413)
77 - The IPP Everywhere "driver" no longer does local filtering when printing to
78 a shared CUPS printer (Issue #5361)
79 - The lpadmin command now correctly reports IPP errors when configuring an
80 IPP Everywhere printer (Issue #5370)
81 - Fixed some memory leaks discovered by Coverity (Issue #5375)
82 - The PPD compiler incorrectly terminated JCL options (Issue #5379)
83 - The cupstestppd utility did not generate errors for missing/mismatched
84 CloseUI/JCLCloseUI keywords (Issue #5381)
85 - The scheduler now reports the actual location of the log file (Issue #5398)
86 - Added a USB quirk rule (Issue #5420)
87 - The scheduler was being backgrounded on macOS, causing applications to spin
88 (rdar://40436080)
89 - The scheduler did not validate that required initial request attributes were
90 in the operation group (rdar://41098178)
91 - Authentication in the web interface did not work on macOS (rdar://41444473)
92 - Fixed an issue with HTTP Digest authentication (rdar://41709086)
93 - The scheduler could crash when job history was purged (rdar://42198057)
94 - Dropped non-working RSS subscriptions UI from web interface templates.
95 - Fixed a memory leak for some IPP (extension) syntaxes.
96
97
98 Changes in CUPS v2.2.8
99 ----------------------
100
101 - Additional changes for the scheduler to substitute default values for invalid
102 job attributes when running in "relaxed conformance" mode (Issue #5229)
103 - The `ipptool` program no longer checks for duplicate attributes when running
104 in list or CSV mode (Issue #5278)
105 - Fixed builds without PAM (Issue #5283)
106 - Fixed `lpoptions` man page (Issue #5286)
107 - The `cupsCreateJob`, `cupsPrintFile2`, and `cupsPrintFiles2` APIs did not use
108 the supplied HTTP connection (Issue #5288)
109 - Fixed another crash in the scheduler when adding an IPP Everywhere printer
110 (Issue #5290)
111 - Added a workaround for certain web browsers that do not support multiple
112 authentication schemes in a single response header (Issue #5289)
113 - Fixed policy limits containing the `All` operation (Issue #5296)
114 - The scheduler was always restarted after idle-exit with systemd (Issue #5297)
115 - Added a USB quirks rule for the HP LaserJet P1102 (Issue #5310)
116 - The mailto notifier did not wait for the welcome message (Issue #5312)
117 - Fixed a parsing bug in the pstops filter (Issue #5321)
118 - Documentation updates (Issue #5299, Issue #5301, Issue #5306)
119 - Localization updates (Issue #5317)
120 - The scheduler allowed environment variables to be specified in the
121 `cupsd.conf` file (rdar://37836779, rdar://37836995, rdar://37837252,
122 rdar://37837581)
123 - Fax queues did not support pause (p) or wait-for-dialtone (w) characters
124 (rdar://39212256)
125 - The scheduler did not validate notify-recipient-uri values properly
126 (rdar://40068936)
127 - The IPP parser allowed invalid group tags (rdar://40442124)
128 - Fixed a parsing bug in the new authentication code.
129
130
131 Changes in CUPS v2.2.7
132 ----------------------
133
134 - NOTICE: Raw print queues are now deprecated (Issue #5269)
135 - Fixed an Avahi crash bug in the scheduler (Issue #5268)
136 - The IPP Everywhere PPD generator did not include the `cupsJobPassword`
137 keyword, when supported (Issue #5265)
138 - Systemd did not restart cupsd when configuration changes were made that
139 required a restart (Issue #5263)
140 - The Lexmark Optra E310 printer needs the "no-reattach" USB quirk rule
141 (Issue #5259)
142 - The scheduler could crash while adding an IPP Everywhere printer (Issue #5258)
143 - Label printers supported by the rastertolabel driver don't support SNMP, so
144 don't delay printing to test it (Issue #5256)
145 - Fixed a compile issue when PAM is not available (Issue #5253)
146 - Documentation fixes (Issue #5252)
147 - Star Micronics printers need the "unidir" USB quirk rule (Issue #5251)
148 - The scheduler now supports using temporary print queues for older IPP/1.1
149 print queues like those shared by CUPS 1.3 and earlier (Issue #5241)
150 - Fixed printing to some IPP Everywhere printers (Issue #5238)
151 - Kerberized printing to another CUPS server did not work correctly
152 (Issue #5233)
153 - The `cupsRasterWritePixels` function did not correctly swap bytes for some
154 formats (Issue #5225)
155 - Added a USB quirk rule for Canon MP280 series printers (Issue #5221)
156 - The `ppdInstallableConflict` tested too many constraints (Issue #5213)
157 - More fixes for printing to old CUPS servers (Issue #5211)
158 - The `cupsCopyDest` function now correctly copies the `is_default` value
159 (Issue #5208)
160 - The scheduler did not work with older versions of uClibc (Issue #5188)
161 - The scheduler now substitutes default values for invalid job attributes when
162 running in "relaxed conformance" mode (Issue #5186)
163 - Fixed PAM module detection and added support for the common PAM definitions
164 (Issue #5185)
165 - Fixed a journald support bug in the scheduler (Issue #5181)
166 - The cups-driverd program incorrectly stopped scanning PPDs as soon as a loop
167 was seen (Issue #5170)
168 - Fixed group validation on OpenBSD (Issue #5166)
169 - Fixed the `ippserver` sample code when threading is disabled or unavailable
170 (Issue #5154)
171 - The `cupsEnumDests` function did not include options from the lpoptions files
172 (Issue #5144)
173 - The `SSLOptions` directive now supports `MinTLS` and `MaxTLS` options to
174 control the minimum and maximum TLS versions that will be allowed,
175 respectively (Issue #5119)
176 - The scheduler did not write out dirty configuration and state files if there
177 were open client connections (Issue #5118)
178 - The `lpadmin` command now provides a better error message when an unsupported
179 System V interface script is used (Issue #5111)
180 - The `lp` and `lpr` commands now provide better error messages when the default
181 printer cannot be found (Issue #5096)
182 - No longer support backslash, question mark, or quotes in printer names
183 (Issue #4966)
184 - The CUPS library now supports the latest HTTP Digest authentication
185 specification including support for SHA-256 (Issue #4862)
186 - The `lpstat` command now reports when new jobs are being held (Issue #4761)
187 - The `lpoptions` command incorrectly saved default options (Issue #4717)
188 - The `ppdLocalizeIPPReason` function incorrectly returned a localized version
189 of "none" (rdar://36566269)
190 - TLS connections now properly timeout (rdar://34938533)
191 - The IPP backend did not properly detect failed PDF prints (rdar://34055474)
192 - Temporary files are now placed in the correct directory for sandboxed
193 applications on macOS (rdar://problem/37789645)
194
195
196 Changes in CUPS v2.2.6
197 ----------------------
198
199 - DBUS notifications could crash the scheduler (Issue #5143)
200 - Added USB quirks rules for Canon MP540 and Samsung ML-2160 (Issue #5148)
201 - Fixed TLS cipher suite selection with GNU TLS (Issue #5145, Issue #5150)
202 - Localization updates (Issue #5152)
203
204
205 Changes in CUPS v2.2.5
206 ----------------------
207
208 - The scheduler's `-t` option did not force all errors to the standard error
209 file, making debugging of configuration problems hard (Issue #5041)
210 - Fixed a typo in the CUPS Programming Manual (Issue #5042)
211 - Fixed RPM packaging issue (Issue #5043, Issue #5044)
212 - The `cupsGetDests` function incorrectly returned an empty list of printers if
213 there was no default printer (Issue #5046)
214 - The `cupsGetDests` function waited too long for network printers (Issue #5049)
215 - Libtool support was completely broken with current libtool versions that use
216 an incompatible command-line syntax (Issue #5050)
217 - Fixed a build issue with `--enable-mallinfo` (Issue #5051)
218 - The ippserver test program contained a deadlock issue (Issue #5054)
219 - The `cupsLocalizeDest*` functions did not provide base localizations for
220 all registered IPP attributes and values (Issue #5056)
221 - The --enable-libtool configure option requires a path to the libtool program,
222 but doesn't document or check for it (Issue #5062)
223 - Fixed the `SSLOptions DenyCBC` option when using GNU TLS (Issue #5065)
224 - Fixed the `ServerTokens None` option (Issue #5065)
225 - Fixed the default `ServerAlias` value from `ServerName` (Issue #5072)
226 - Fixed the adminurl field in the TXT record for fully-qualified `ServerName`
227 values (Issue #5074)
228 - The scheduler now creates a PID file when not running on demand with a modern
229 service launcher (Issue #5080)
230 - The web interface did not support newer language identifiers used by Microsoft
231 web browsers (Issue #5803)
232 - Updated the cups-files.conf and cupsd.conf file documentation for missing
233 directives (Issue #5084)
234 - Fixed an Avahi-related crash bug in the scheduler (Issue #5085, Issue #5086)
235 - Fixed the interactions between the "print-quality" and "cupsPrintQuality"
236 options (Issue #5090)
237 - The IPP Everywhere PPD generator now sorts the supported resolutions before
238 choosing them for draft, normal, and best quality modes (Issue #5091)
239 - Fixed the localization unit test on Linux (Issue #5097)
240 - The CUPS library did not reuse domain sockets (Issue #5098)
241 - Fixed the "make check" target for some environments (Issue #5099)
242 - The scheduler woke up once per second to remove old temporary queues
243 (Issue #5100)
244 - Added USB quirk rule for Kyocera printer (Issue #5102, Issue #5103)
245 - Re-documented the limits of `file:///...` device URIs and moved the FileDevice
246 directive in `cups-files.conf` to the list of deprecated configuration
247 directives (Issue #5117)
248 - Added USB quirk rule for HP LaserJet 1160 printer (Issue #5121)
249 - Fixed the script interpreter detection in the configure script (Issue #5122)
250 - The network backends now retry on more error conditions (Issue #5123)
251 - Added a French translation of the web interface (Issue #5134)
252 - `cupsGetDests2` was not using the supplied HTTP connection (Issue #5135)
253 - `httpAddrConnect` leaked sockets in certain circumstances, causing some
254 printers to hang (rdar://31965686)
255 - Fixed an issue with Chinese localizations on macOS (rdar://32419311)
256 - The IPP backend now always sends the "finishings" attribute for printers that
257 support it because otherwise the client cannot override printer defaults
258 (rdar://33169732)
259 - The `cupsGetNamedDest` function did not use the local default printer
260 (rdar://33228500)
261 - The IPP backend incorrectly sent the "job-pages-per-set" attribute to PDF
262 printers (rdar://33250434)
263 - Fixed the `cups.strings` file that is used on macOS (rdar://33287650)
264 - CUPS now sends the `Date` HTTP header in IPP requests (rdar://33302034)
265 - The `ippCopyAttribute` function did not copy out-of-band values correctly
266 (rdar://33688003)
267 - Fixed the localization fallback code on macOS (rdar://33583699)
268 - The scheduler did not run with a high enough priority, causing problems on
269 busy systems (rdar://33789342)
270 - Added support for Japanese Kaku 1 envelope size (rdar://34774110)
271 - The `ipptool` program's `-P` option did not work correctly.
272 - The `ipptool` program did not compare URI scheme or hostname components
273 correctly for the WITH-ALL-HOSTNAMES, WITH-ALL-SCHEMES, WITH-HOSTNAME, or
274 WITH-SCHEME predicates.
275
276
277 Changes in CUPS v2.2.4
278 ----------------------
279
280 - The scheduler did not remove old job files (Issue #4987)
281 - cupsEnumDests did not return early when all printers had been discovered
282 (Issue #4989)
283 - The CUPS build system now supports cross-compilation (Issue #4897)
284 - Added a new CUPS Programming Manual to replace the aging API documentation.
285 - Added the `cupsAddIntegerOption` and `cupsGetIntegerOption` functions
286 (Issue #4992)
287 - The `cupsGetDests` and `cupsCreateJob` functions now support Bonjour printers
288 (Issue #4993)
289 - Added a USB quirk rule for Lexmark E260dn printers (Issue #4994)
290 - Fixed a potential buffer overflow in the `cupstestppd` utility (Issue #4996)
291 - IPP Everywhere improvements (Issue #4998)
292 - Fixed the "cancel all jobs" function in the web interface for several
293 languages (Issue #4999)
294 - Fixed issues with local queues (Issue #5003, Issue #5008, Issue #5009)
295 - The `lpstat` command now supports a `-e` option to enumerate local printers
296 (either previously added or on the network) that can be accessed
297 (Issue #5005)
298 - The `lp` and `lpr` commands now support printing to network printers that
299 haven't yet been added (Issue #5006)
300 - Fixed a typo in the mime.types file.
301 - Fixed a bug in the Spanish web interface template (Issue #5016)
302 - The `cupsEnumDests*` and `cupsGetDest*` functions now report the value of the
303 "printer-is-temporary" Printer Status attribute (Issue #5028)
304 - Added Chinese localization (Issue #5029)
305 - The `cupsCheckDestSupported` function did not support `NULL` values
306 (Issue #5031)
307 - Fixed some issues in the RPM spec file (Issue #5032)
308 - The `cupsConnectDest` function now supports the `CUPS_DEST_FLAGS_DEVICE` flag
309 for explicitly connecting to the device (printer) associated with the
310 destination.
311 - The `SSLOptions` directive in "client.conf" and "cupsd.conf" now supports
312 `DenyCBC` and `DenyTLS1.0` options (Issue #5037)
313
314
315 Changes in CUPS v2.2.3
316 ----------------------
317
318 - The IPP backend could get into an infinite loop for certain errors, causing a
319 hung queue (<rdar://problem/28008717>)
320 - The scheduler could pause responding to client requests in order to save state
321 changes to disk (<rdar://problem/28690656>)
322 - Added support for PPD finishing keywords (Issue #4960, Issue #4961,
323 Issue #4962)
324 - The IPP backend did not send a media-col attribute for just the source or type
325 (Issue #4963)
326 - IPP Everywhere print queues did not always support all print qualities
327 supported by the printer (Issue #4953)
328 - IPP Everywhere print queues did not always support all media types supported
329 by the printer (Issue #4953)
330 - The IPP Everywhere PPD generator did not return useful error messages
331 (Issue #4954)
332 - The IPP Everywhere finishings support did not work correctly with common UI or
333 command-line options (Issue #4976)
334 - Fixed an error handling issue for the network backends (Issue #4979)
335 - The default cupsd.conf file did not work on systems compiled without Kerberos
336 support (Issue #4947)
337 - The "reprint job" option was not available for some canceled jobs
338 (Issue #4915)
339 - Updated the job listing in the web interface (Issue #4978)
340 - Fixed some localization issues on macOS (<rdar://problem/27245567>)
341
342
343 Changes in CUPS v2.2.2
344 ----------------------
345
346 - Fixed some issues with the Zebra ZPL printer driver (Issue #4898)
347 - Fixed some issues with IPP Everywhere printer support (Issue #4893,
348 Issue #4909, Issue #4916, Issue #4921, Issue #4923, Issue #4932, Issue #4933,
349 Issue #4938)
350 - The rastertopwg filter could crash with certain input (Issue #4942)
351 - Optimized connection usage in the IPP backend (<rdar://problem/29547323>)
352 - The scheduler did not detect when an encrypted connection was closed by the
353 client on Linux (Issue #4901)
354 - The cups-lpd program did not catch all legacy usage of ISO-8859-1
355 (Issue #4899)
356 - Fixed builds on systems without a working poll() implementation (Issue #4905)
357 - Added a USB quirk rule for the Kyocera Ecosys P6026cdn (Issue #4900)
358 - The scheduler no longer creates log files on startup
359 (<rdar://problem/28332470>)
360 - The ippContainsString function now uses case-insensitive comparisons for
361 mimeMediaType, name, and text values in conformance with RFC 2911.
362 - The network backends now log the addresses that were found for a printer
363 (<rdar://problem/29268474>)
364 - Let's Encrypt certificates did not work when the hostname contained uppercase
365 letters (Issue #4919)
366 - Fixed reporting of printed pages in the web interface (Issue #4924)
367 - Updated systemd config files (Issue #4935)
368 - Updated documentation (PR #4896)
369 - Updated localizations (PR #4894, PR #4895, PR #4904, PR #4908, Issue #4946)
370 - Updated packaging files (Issue #4940)
371
372
373 Changes in CUPS v2.2.1
374 ----------------------
375
376 - Added "CreateSelfSignedCerts" directive for cups-files.conf to control whether
377 the scheduler automatically creates its own self-signed X.509 certificates for
378 TLS connections (Issue #4876)
379 - http*Connect did not handle partial failures (Issue #4870)
380 - Addressed some build warnings on Linux (Issue #4881)
381 - cupsHashData did not use the correct hashing algorithm
382 (<rdar://problem/28209220>)
383 - Updated man pages (PR #4885)
384 - Updated localizations (PR #4877, PR #4886)
385
386
387 Changes in CUPS v2.2.0
388 ----------------------
389
390 - Normalized the TLS certificate validation code and added additional error
391 messages to aid troubleshooting.
392 - The httpConnect functions did not work on Linux when cupsd was not running
393 (Issue #4870)
394 - The --no-remote-any option of cupsctl had no effect (Issue #4866)
395 - http*Connect did not return early when all addresses failed (Issue #4870)
396
397
398 Changes in CUPS v2.2rc1
399 -----------------------
400
401 - Updated the list of supported IPP Everywhere media types.
402 - The IPP backend did not validate TLS credentials properly.
403 - The printer-state-message attribute was not cleared after a print job with no
404 errors (Issue #4851)
405 - The CUPS-Add-Modify-Class and CUPS-Add-Modify-Printer operations did not
406 always return an error for failed adds (Issue #4854)
407 - PPD files with names longer than 127 bytes did not work (Issue #4860)
408 - Updated localizations (Issue #4846, PR #4858)
409
410
411 Changes in CUPS v2.2b2
412 ----------------------
413
414 - Added Upstart support (PR #4825)
415 - CUPS now supports Let's Encrypt certificates on Linux.
416
417
418 Changes in CUPS v2.2b1
419 ----------------------
420
421 - All CUPS commands now support POSIX options (Issue #4813)
422 - The scheduler now restarts faster (Issue #4760)
423 - Improved performance of web interface with large numbers of jobs (Issue #3819)
424 - Encrypted printing can now be limited to only trusted printers and servers
425 (<rdar://problem/25711658>)
426 - The scheduler now advertises PWG Raster attributes for IPP Everywhere clients
427 (Issue #4428)
428 - The scheduler now logs informational messages for jobs at LogLevel "info"
429 (Issue #4815)
430 - The scheduler now uses the getgrouplist function when available (Issue #4611)
431 - The IPP backend no longer enables compression by default except for certain
432 raster formats that generally benefit from it (<rdar://problem/25166952>)
433 - The scheduler did not handle out-of-disk situations gracefully (Issue #4742)
434 - The LPD mini-daemon now detects invalid UTF-8 sequences in job, document, and
435 user names (Issue #4748)
436 - The IPP backend now continues on to the next job when the remote server/
437 printer puts the job on hold (<rdar://problem/24858548>)
438 - The scheduler did not cancel multi-document jobs immediately
439 (<rdar://problem/24854834>)
440 - The scheduler did not return non-shared printers to local clients unless they
441 connected to the domain socket (<rdar://problem/24566996>)
442 - The scheduler now reads the spool directory if one or more job cache entries
443 point to deleted jobs (<rdar://problem/24048846>)
444 - Added support for disc media sizes (<rdar://problem/20219536>)
445 - The httpAddrConnect and httpConnect* APIs now try connecting to multiple
446 addresses in parallel (<rdar://problem/20643153>)
447 - The cupsd domain socket is no longer world-accessible on macOS
448 (<rdar://problem/7542560>)
449 - Interface scripts are no longer supported for security reasons
450 (<rdar://problem/23135640>)
451 - Added a new cupsHashData API and support for hashed job passwords
452 (<rdar://problem/20221502>)
453 - Localization fixes (<rdar://problem/25292403>, <rdar://problem/25461517>,
454 Issue #4041, Issue #4796)
455 - Documentation changes (Issue #4624, Issue #4781)
456 - Packaging fixes (PR #4832)