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