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