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