RELEASE-NOTES 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325
  1. curl and libcurl 8.11.0
  2. Public curl releases: 262
  3. Command line options: 265
  4. curl_easy_setopt() options: 306
  5. Public functions in libcurl: 94
  6. Contributors: 3251
  7. This release includes the following changes:
  8. o curl: --create-dirs works for --dump-header as well [4]
  9. o gtls: Add P12 format support [9]
  10. o ipfs: add options to disable [8]
  11. o WebSockets: make support official (non-experimental) [106]
  12. This release includes the following bugfixes:
  13. o alt-svc: honor data->state.httpwant [19]
  14. o altsvc: avoid using local buffer and memcpy [124]
  15. o asyn-ares: remove typecast, fix expire [113]
  16. o autotools: add support for 'unity' builds, enable in CI [15]
  17. o bearssl: avoid strpcy() when generating TLS version log message [120]
  18. o bufq: unwrite fix [121]
  19. o build: add `ldap` to `libcurl.pc` `Requires:` [139]
  20. o build: add pytest targets [71]
  21. o build: clarify CA embed is for curl tool, mark default, improve summary [72]
  22. o build: detect and use `_setmode()` with Cygwin/MSYS, also use on Windows [136]
  23. o build: fix cross-compile check for poll with bionic [70]
  24. o build: fix possible `-Wformat-overflow` in lib557 [85]
  25. o build: limit arc4random detection to no-SSL configs [43]
  26. o build: show if CA bundle to embed was found [83]
  27. o build: tidy up and improve versioned-symbols options [5]
  28. o build: tidy up deprecation suppression, enable warnings for clang [12]
  29. o checksrc: Added checks for colon operator in ternary expressions [77]
  30. o checksrc: check for spaces around '?', '>' and '<' [46]
  31. o cmake, Makefile.mk: use -isystem for headers, silence BearSSL issues [37]
  32. o cmake/FindNGTCP2: use library path as hint for finding crypto module [40]
  33. o cmake: add missed variable to comment
  34. o cmake: allow building tests in unity mode [31]
  35. o cmake: delete unused NEED_LBER_H, HAVE_LDAP_H [38]
  36. o cmake: detect `HAVE_NETINET_IN6_H`, `HAVE_CLOSESOCKET_CAMEL`, `HAVE_PROTO_BSDSOCKET_H` [132]
  37. o cmake: detect GNU GSS [127]
  38. o cmake: disable default OpenSSL if BearSSL, GnuTLS or Rustls is enabled [44]
  39. o cmake: do not propagate unused `HAVE_GSSAPI_GSSAPI_KRB5_H` to C [131]
  40. o cmake: drop redundant assignments [49]
  41. o cmake: drop redundant zlib var, rename function (internals) [50]
  42. o cmake: expand CURL_USE_PKGCONFIG to non-cross MINGW [13]
  43. o cmake: fix broken dependency chain for cmdline-opts, tidy-ups [11]
  44. o cmake: make `test-ci` target skip building dependencies [88]
  45. o cmake: readd `generate-curl.1` dependency for `src` just in case [86]
  46. o cmake: require quictls (or fork) when using msh3 on non-Windows [14]
  47. o cmake: separate target for examples, optimize CI, fix fallouts [16]
  48. o cmake: sync torture test parallelism with autotools [35]
  49. o cmake: use OpenSSL for LDAP detection only if available [102]
  50. o configure: add GSS to `libcurl.pc` `Depends:` [126]
  51. o configure: catch Apple in more target triplets [6]
  52. o configure: drop duplicate feature checks for `poll()`, `if_nametoindex()` [135]
  53. o configure: drop unused bare `socket.h` detection [133]
  54. o configure: improve help string for some options [78]
  55. o conncache: find bundle again in case it is removed [129]
  56. o curl: add build options for safe/no CA bundle search (Windows) [26]
  57. o curl_trc: fix build with verbose messages disabled [79]
  58. o curl_url_set.md: document HOST handling when URL is parsed [2]
  59. o CURLMOPT_PIPELINING.md: clarify that CURLPIPE_NOTHING is not default [54]
  60. o CURLOPT_APPEND.md: goes for SFTP as well [128]
  61. o CURLOPT_HEADERFUNCTION.md: do not modify the passed in buffer [107]
  62. o docs/cmdline-opts: GnuTLS supports PKCS#11 URI in --cert option [101]
  63. o ech: spelling, whitespace, say `--ech` default config [137]
  64. o ftp: fix 0-length last write on upload from stdin [76]
  65. o hsts: avoid the local buffer and memcpy on lookup [125]
  66. o http_aws_sigv4: avoid local buffer and strcpy [92]
  67. o INSTALL-CMAKE.md: mention focus on shared libraries [73]
  68. o json.md: cli-option `--json` is an alias of `--data-binary` [89]
  69. o lib, src, tests: added space around ternary expressions [56]
  70. o lib/cw-out: initialize 'flush_all' directly [62]
  71. o lib/src: white space edits to comply better with code style [47]
  72. o lib: avoid assigning 'result' temporarily [97]
  73. o lib: fix disabled-verbose-strings + enable-debug build warnings
  74. o lib: fix unity builds with BearSSL, MSH3, Quiche, OmniOS [32]
  75. o lib: use bool/TRUE/FALSE properly [48]
  76. o libssh.c: handle EGAINS during proto-connect correctly [23]
  77. o libssh2: use the Curl_* memory functions to avoid memdebug [22]
  78. o multi.c: make stronger check for paused transfer before asserting [24]
  79. o multi.c: warn/assert on stall only without timer [80]
  80. o multi: avoid reading whole struct pointer from pointer [10]
  81. o multi: make multi_handle_timeout use the connect timeout [98]
  82. o negotiate: conditional check around GSS & SSL specific code [1]
  83. o openssl quic: populate x509 store before handshake [117]
  84. o openssl: convert a memcpy to dynbuf use [57]
  85. o openssl: remove two strcpy() calls [64]
  86. o processhelp.pm: improve taskkill calls (Windows) [52]
  87. o pytest: improve pytest_07_42a reliability [118]
  88. o quic: use send/recvmmsg when available [93]
  89. o request: on shutdown send, proceed normally on timeout [18]
  90. o runtests.md: suggest a value for -j for torture tests
  91. o runtests: drop unused code for old/classic-mingw support [87]
  92. o select: use poll() if existing, avoid poll() with no sockets [75]
  93. o sendf: add condition to max-filesize check [3]
  94. o setopt: avoid superfluous length checks before strcmp() [105]
  95. o singleuse: make `git grep` faster, add Apple `nm` support [109]
  96. o smb: replace use of strcpy() with snprintf() [122]
  97. o socks_gssapi: switch to dynbuf from buffer with strcpy [42]
  98. o sws: fix unused static function with `TCP_NODELAY` undefined [134]
  99. o telnet: avoid two strcpy() by pointing to the strings instead [99]
  100. o test1035: convert host name back to utf8 as should be [63]
  101. o test1515: add tracing and more debug info [119]
  102. o test1540: add debug logging [58]
  103. o test190: replace %FTPTIME2 with a fixed value [34]
  104. o test1915: add tracing and connect timeout [114]
  105. o test1915: remove wrong comment
  106. o test2502: add libtest debug tracing [60]
  107. o test504: fix handling on pending connect [59]
  108. o testrun: explicitly set proper IP address for stunnel listen/connect [61]
  109. o tests/valgrind.pm: fix warnings with no valgrind report to show [25]
  110. o tests/valgrind.supp: remove a travis suppression, add a Debian [116]
  111. o tests: add and use `%PERL` variable to refer to the Perl binary [82]
  112. o tests: add codeset-utf8 as a feature [66]
  113. o tests: add file: tests with existing files [45]
  114. o tests: change Python code style to pass ruff checks
  115. o tests: check http/2 and http/3 server responsiveness [28]
  116. o tests: delete duplicate macro check [53]
  117. o tests: enable additional ruff Python lint options
  118. o tests: fix `%POSIX_PWD` on native Windows Perl [111]
  119. o tests: fix keyword for test1411
  120. o tests: fix shell quoting on native Windows Perl [110]
  121. o tests: fix some Python typing issues
  122. o tests: fixup `checkcmd` `PATH` on non-unixy platforms [108]
  123. o tests: improve mqtt server handling [27]
  124. o tests: introduce %CLIENT6IP-NB [67]
  125. o tests: let openssl generate random cert serials [91]
  126. o tests: libtests and unit tests need explicit #include memdebug [7]
  127. o tests: make precheck for HTTP on 127.0.0.1 into a feature [68]
  128. o tests: Only log warnings or worse by default in smbserver [33]
  129. o tests: postcheck is now in verify [69]
  130. o tests: remove all valgrind disable instructions [21]
  131. o tests: remove debug requirement on 38 tests [100]
  132. o tests: remove the %FTPTIME3 variable [41]
  133. o tests: replace `%PWD` with `%FILE_PWD` for `file://` [84]
  134. o tests: replace `%PWD` with `%SSH_PWD` in SCP/SFTP tests [112]
  135. o tests: replace hard-coded `/dev/null` with variable [81]
  136. o tests: simplify `pathhelp.pm`, avoid using external tools [95]
  137. o tests: speed up builds with single-binary test bundles [29]
  138. o tests: testrunner fairness [39]
  139. o tests: testrunner reliability improvements [55]
  140. o tests: use '-4' where needed [17]
  141. o tftp: avoid two memcpy/strcpy [94]
  142. o tidy-up: rename CURL_WINDOWS_APP to CURL_WINDOWS_UWP [36]
  143. o tool: support --show-headers AND --remote-header-name [103]
  144. o tool_doswin: simplify; remove unused options and strncpy calls [65]
  145. o unit1660: fix unreachable code warning in no-SSL builds [30]
  146. o url: connection reuse on h3 connections [20]
  147. o urlapi: drop unused header [51]
  148. o urlapi: normalize the IPv6 address [115]
  149. o vtls: convert Curl_pin_peer_pubkey to use dynbuf [74]
  150. o vtls: convert pubkey_pem_to_der to use dynbuf [90]
  151. o warnless: remove curlx_sktosi and curlx_sitosk [104]
  152. o wolfssl: convert malloc + memcpys to dynbuf for cipher string [96]
  153. This release includes the following known bugs:
  154. See docs/KNOWN_BUGS (https://curl.se/docs/knownbugs.html)
  155. For all changes ever done in curl:
  156. See https://curl.se/changes.html
  157. Planned upcoming removals include:
  158. o Hyper support
  159. o TLS libraries not supporting TLS 1.3
  160. See https://curl.se/dev/deprecate.html for details
  161. This release would not have looked like this without help, code, reports and
  162. advice from friends like these:
  163. Aki Sakurai, Baruch Siach, Chris Stubbs, Dan Fandrich, Daniel Stenberg,
  164. Denis Goleshchikhin, Deniz Sökmen, dependabot[bot], Gabriel Marin,
  165. Ian Spence, Jon Rumsey, Kai Pastor, lomberd2 on github, MacKenzie,
  166. Montg0mery on github, Moritz Knüsel, Nemos2024 on github, Nicolas George,
  167. Pavel Kropachev, ralfjunker on github, Rasmus Melchior Jacobsen, Ray Satiro,
  168. renovate[bot], Sebastian Walz, Stefan Eissing, Tal Regev,
  169. Tatsuhiro Tsujikawa, Testclutch, Venkat Krishna R, Viktor Szakats,
  170. Vollstrecker on github, vvb2060 on github
  171. (32 contributors)
  172. References to bug reports and discussions on issues:
  173. [1] = https://curl.se/bug/?i=14938
  174. [2] = https://curl.se/bug/?i=14942
  175. [3] = https://curl.se/bug/?i=14958
  176. [4] = https://curl.se/bug/?i=14941
  177. [5] = https://curl.se/bug/?i=14818
  178. [6] = https://curl.se/bug/?i=14728
  179. [7] = https://curl.se/bug/?i=15007
  180. [8] = https://curl.se/bug/?i=14824
  181. [9] = https://curl.se/bug/?i=14991
  182. [10] = https://curl.se/bug/?i=15063
  183. [11] = https://curl.se/bug/?i=14883
  184. [12] = https://curl.se/bug/?i=14789
  185. [13] = https://curl.se/bug/?i=14658
  186. [14] = https://curl.se/bug/?i=15003
  187. [15] = https://curl.se/bug/?i=14815
  188. [16] = https://curl.se/bug/?i=14906
  189. [17] = https://curl.se/bug/?i=15060
  190. [18] = https://curl.se/bug/?i=14843
  191. [19] = https://curl.se/bug/?i=14966
  192. [20] = https://curl.se/bug/?i=14890
  193. [21] = https://curl.se/bug/?i=14983
  194. [22] = https://curl.se/bug/?i=14984
  195. [23] = https://curl.se/bug/?i=14982
  196. [24] = https://curl.se/bug/?i=14981
  197. [25] = https://curl.se/bug/?i=14977
  198. [26] = https://curl.se/bug/?i=14582
  199. [27] = https://curl.se/bug/?i=15059
  200. [28] = https://curl.se/bug/?i=15058
  201. [29] = https://curl.se/bug/?i=14772
  202. [30] = https://curl.se/bug/?i=14971
  203. [31] = https://curl.se/bug/?i=14765
  204. [32] = https://curl.se/bug/?i=14932
  205. [33] = https://curl.se/bug/?i=14950
  206. [34] = https://curl.se/bug/?i=15056
  207. [35] = https://curl.se/bug/?i=14969
  208. [36] = https://curl.se/bug/?i=14881
  209. [37] = https://curl.se/bug/?i=14763
  210. [38] = https://curl.se/bug/?i=14690
  211. [39] = https://curl.se/bug/?i=14967
  212. [40] = https://github.com/curl/curl-for-win/blob/8b8909e1206de1dcca356a8dd33eb1e4ffeea7fd/curl.sh#L289
  213. [41] = https://curl.se/bug/?i=15064
  214. [42] = https://curl.se/bug/?i=15057
  215. [43] = https://curl.se/bug/?i=14909
  216. [44] = https://curl.se/bug/?i=14828
  217. [45] = https://curl.se/bug/?i=15045
  218. [46] = https://curl.se/bug/?i=14921
  219. [47] = https://curl.se/bug/?i=14921
  220. [48] = https://curl.se/bug/?i=15123
  221. [49] = https://curl.se/bug/?i=14924
  222. [50] = https://curl.se/bug/?i=14918
  223. [51] = https://curl.se/bug/?i=14867
  224. [52] = https://curl.se/bug/?i=14959
  225. [53] = https://curl.se/bug/?i=14963
  226. [54] = https://curl.se/bug/?i=14961
  227. [55] = https://curl.se/bug/?i=14960
  228. [56] = https://curl.se/bug/?i=14912
  229. [57] = https://curl.se/bug/?i=15049
  230. [58] = https://curl.se/bug/?i=15055
  231. [59] = https://curl.se/bug/?i=15054
  232. [60] = https://curl.se/bug/?i=15053
  233. [61] = https://curl.se/bug/?i=15051
  234. [62] = https://curl.se/bug/?i=15044
  235. [63] = https://curl.se/bug/?i=15050
  236. [64] = https://curl.se/bug/?i=15052
  237. [65] = https://curl.se/bug/?i=15047
  238. [66] = https://curl.se/bug/?i=15039
  239. [67] = https://curl.se/bug/?i=15039
  240. [68] = https://curl.se/bug/?i=15039
  241. [69] = https://curl.se/bug/?i=15046
  242. [70] = https://curl.se/bug/?i=15013
  243. [71] = https://curl.se/bug/?i=15034
  244. [72] = https://curl.se/bug/?i=15035
  245. [73] = https://curl.se/bug/?i=14845
  246. [74] = https://curl.se/bug/?i=15126
  247. [75] = https://curl.se/bug/?i=15096
  248. [76] = https://curl.se/bug/?i=15101
  249. [77] = https://curl.se/bug/?i=14990
  250. [78] = https://curl.se/bug/?i=15033
  251. [79] = https://curl.se/bug/?i=15026
  252. [80] = https://curl.se/bug/?i=15028
  253. [81] = https://curl.se/bug/?i=15098
  254. [82] = https://curl.se/bug/?i=15097
  255. [83] = https://curl.se/bug/?i=15027
  256. [84] = https://curl.se/bug/?i=15090
  257. [85] = https://curl.se/bug/?i=15012
  258. [86] = https://curl.se/bug/?i=15088
  259. [87] = https://curl.se/bug/?i=15087
  260. [88] = https://curl.se/bug/?i=15001
  261. [89] = https://curl.se/bug/?i=15197
  262. [90] = https://curl.se/bug/?i=15126
  263. [91] = https://curl.se/bug/?i=15129
  264. [92] = https://curl.se/bug/?i=15200
  265. [93] = https://curl.se/bug/?i=14880
  266. [94] = https://curl.se/bug/?i=15199
  267. [95] = https://curl.se/bug/?i=15111
  268. [96] = https://curl.se/bug/?i=15124
  269. [97] = https://curl.se/bug/?i=15122
  270. [98] = https://curl.se/bug/?i=15100
  271. [99] = https://curl.se/bug/?i=15198
  272. [100] = https://curl.se/bug/?i=15114
  273. [101] = https://curl.se/bug/?i=15075
  274. [102] = https://curl.se/bug/?i=15077
  275. [103] = https://curl.se/bug/?i=15110
  276. [104] = https://curl.se/bug/?i=15153
  277. [105] = https://curl.se/bug/?i=15192
  278. [106] = https://curl.se/bug/?i=14936
  279. [107] = https://curl.se/bug/?i=15148
  280. [108] = https://curl.se/bug/?i=15106
  281. [109] = https://curl.se/bug/?i=15070
  282. [110] = https://curl.se/bug/?i=15105
  283. [111] = https://curl.se/bug/?i=15104
  284. [112] = https://curl.se/bug/?i=15103
  285. [113] = https://curl.se/bug/?i=15145
  286. [114] = https://curl.se/bug/?i=15107
  287. [115] = https://curl.se/bug/?i=15143
  288. [116] = https://curl.se/bug/?i=15142
  289. [117] = https://curl.se/bug/?i=15137
  290. [118] = https://curl.se/bug/?i=15138
  291. [119] = https://curl.se/bug/?i=15140
  292. [120] = https://curl.se/bug/?i=15194
  293. [121] = https://curl.se/bug/?i=15136
  294. [122] = https://curl.se/bug/?i=15196
  295. [123] = https://curl.se/bug/?i=15135
  296. [124] = https://curl.se/bug/?i=15191
  297. [125] = https://curl.se/bug/?i=15190
  298. [126] = https://curl.se/bug/?i=15177
  299. [127] = https://curl.se/bug/?i=15176
  300. [128] = https://curl.se/bug/?i=15181
  301. [129] = https://curl.se/bug/?i=15185
  302. [131] = https://curl.se/bug/?i=15174
  303. [132] = https://curl.se/bug/?i=15172
  304. [133] = https://curl.se/bug/?i=15173
  305. [134] = https://curl.se/bug/?i=15171
  306. [135] = https://curl.se/bug/?i=15170
  307. [136] = https://curl.se/bug/?i=15169
  308. [137] = https://curl.se/bug/?i=15167
  309. [139] = https://curl.se/bug/?i=15163