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