Debian Codegraph @

NEWS

raw
1 7.1.0
2 - Everything now works out of the box under emscripten (webR) by automatically
3 bootstrapping a ws gateway.
4 - Increase max size of string returned by ie_proxy_info() to 65536
5 - Fix a unit test for libcurl 8.20
6
7 7.0.0
8 - Major cleanup: packge now requires libcurl >= 7.73. Removed all conditioning
9 and fallbacks for older libcurl versions (#413).
10 - Removed the fallback ADA parser and unconditinoally use the curl URL parser.
11 - Removed the legacy type-checking code as we can unconditionally use the easy-
12 option API.
13 - Support option('netrc') to match base R >= 4.6.0.
14 - Setting any value in curl_modify_url() to NA or "" will now unset it.
15
16 6.4.0
17 - Vendor a static libcurl on RHEL/CentOS/Rocky 7 and 8 because stock version is
18 too old now to support most functionality.
19 - curl_modify_url() and curl_parse_url() now force uppercase percentage codes
20 for url-encoding to match curl_escape()
21 - Error messages are now printed with a linebreak in between.
22 - Better documentation for handle_setform() and handle_getdata()
23
24 6.3.0
25 - New function curl_modify_url()
26 - MacOS/Windows: update to libcurl 8.14.1
27 - MacOS: our static build of libcurl now links to the MacOS native LibreSSL
28 and nghttp in order to use the same keychain certificates as native curl.
29
30 6.2.3
31 - Non blocking connections now wait for 10ms before returning no data to prevent
32 busy waiting when readBin is called in a loop. See #399
33 - Fix a flaky unit test
34
35 6.2.2
36 - Fix a unit test for libcurl 8.13.0
37 - Cleanup build
38
39 6.2.1
40 - Workaround for change of behavior in libcurl 8.12.0
41 - The multi-run fail callback argument now has a curl-error class
42 - Fixed a slowness in curl_echo() due to threading problem in httpuv
43
44 6.2.0
45 - MacOS: we have temporarily switched to a static build of libcurl 8.11.1 until
46 apple updates their very buggy libcurl (#376)
47 - Fix LTO error for R_multi_setopt
48 - Fix parsing of #fragment links in curl_parse() (#366)
49
50 6.1.0
51 - Fix a rchk bug
52 - Enable CURLOPT_PIPEWAIT by default to prefer multiplex when possible
53 - Enable setting max_streams in multi_set(), default to 10
54 - Allow open(curl::curl()) to be interrupted
55 - Interrupting a download no longer causes an error (#365)
56
57 6.0.1
58 - Fix a build issue with libcurl 8.11.0
59 - Support multi_fdset() for connection objects (#355)
60
61 6.0.0
62 - New curl_parse_url() function to expose curl URL parsing interface.
63 - Errors now have classes and more detailed messages
64 - Do not use shared connection pool for FTP requests (works around bug in
65 libcurl < 8.8.0)
66 - Properly clean handle when open() fails for a curl() connection
67 - Parameter 'timeout' renamed to 'multi-timeout' in multi_download()
68 - Default behavior is now to error if a download is stalled for 600 seconds
69 - The MacOS binary packages now require at least libcurl 7.80 which is included
70 with all current MacOS versions (13+) as well as recent patch releases for
71 legacy MacOS versions (11.7 and 12.7).
72 - Windows: update to libcurl 8.10.1
73
74 5.2.3
75 - Remove some CMD check verbosity per new CRAN rules
76 - New maintainer email address
77
78 5.2.2
79 - Disable a compression test for libcurl 8.7.1 which has a bug for deflate
80 - Change a unit test to work around firewall problems on CRANs WinBuilder
81
82 5.2.1
83 - In handle_setheader(), setting a header to a non-empty whitespace string will
84 now send a blank header. Using an empty string will still remove the header
85 altogether (this has not changed).
86 - Internally simplify handle_setheader() as a wrapper for handle_setopt(httpheader)
87 - Fix an issue where curl_fetch_stream() might not return all bytes received
88 by the C layer if the server closed the connection mid-response.
89 - No longer enable CURLOPT_UNRESTRICTED_AUTH by default
90 - Fix code to build with -DR_NO_REMAP (add all the Rf_ prefixes)
91
92 5.2.0
93 - The CURL_CA_BUNDLE envvar is now also used on non-Windows.
94 - curl_echo() now uses a random available port to run httpuv
95 - Add workaround for slowness in curl_echo() on Linux
96 - Fix a few printf format warnings
97
98 5.1.0
99 - Windows: update to libcurl 8.3.0 + nghttp2 2-1.56 + openssl 3.1.2.
100
101 5.0.2
102 - Fix a unit test for behavioral change in libcurl 8.0.0
103 - Support seekfunction callback
104
105 5.0.1
106 - Setting verbose=TRUE now prints to R's stderr instead of the process, such that
107 it works better with some GUIs.
108 - multi_download() now sets mtime for downloaded files from server
109 - form_file() now supports setting an alternate file name (#290)
110 - Fix for multi_download() when downloading 0byte files
111 - Use a self hosted httpbin test server
112
113 5.0.0
114 - New function multi_download() which supports concurrent downloads and resuming
115 download for large files, while giving detailed progress information.
116 - Windows: updated libcurl to 7.84.0 + nghttp2
117 - Windows: default to CURLSSLOPT_NATIVE_CA when using openssl unless an ennvar
118 with CURL_CA_BUNDLE is set.
119 - Use the new optiontype API for type checking if available (libcurl 7.73.0)
120
121 4.3.3
122 - Add support for setting ssl_ctx_function callbacks
123 - Normalize curlopt_postfields to curlopt_copypostfields to transfer ownership
124 of the input data to libcurl.
125 - Fix strict-prototype errors
126
127 4.3.2
128 - Windows: update binaries to openssl 1.1.1k and libssh2 1.9.0
129 - Windows: fix build for experimental ucrt toolchains
130
131 4.3.1
132 - Make tests pass if 'httpuv' is not available (BDR)
133 - Some cleanup for Windows compilers
134
135 4.3
136 - No longer enable HTTP/2 by default on libcurl < 7.62.0 because some old libcurl
137 versions have annoying HTTP/2 bugs which randomly cause requests to fail. Note
138 that libcurl 7.62 and up always enable HTTP/2 when possible, this doesn't change.
139 - Add paragraph to intro vignette that explain ENUM options, which are a common
140 source of bugs. Specifically explain CURLOPT_HTTP_VERSION.
141 - curl::has_internet() now checks that result of nslookup is actually correct.
142 This should detect offline networks with fake internal DNS.
143 - curl::send_mail() now supports TLS connections, by specifying the smtps://
144 protocol in the smtp_server argument. The use_ssl argument actually controls
145 whether STARTTLS is enabled; the function documentation has been updated to
146 clarify that, and the default for use_ssl has been changed to "try" (=TRUE).
147 - Fix build for gcc 10 (-fno-common) requested by CRAN.
148
149 4.2
150 - Fix for old versions of libcurl (build was broken in 4.1 on RHEL / CentOS).
151 - Add hostname to timeout errors (#190)
152
153 4.1
154 - Fixed typechecking code for new internal macro names in libcurl 7.66
155 - Rewrite typechecking to work better with clang and old libcurl (#192)
156 - has_internet() now checks for connectivity via a proxy server if one is detected
157 - Windows: respect the CURL_SSL_BACKEND variable for people that want to use OpenSSL.
158 - Windows: respect CURL_CA_BUNDLE if (and only if) CURL_SSL_BACKEND == openssl
159 - curl_download now writes to a temporary file, which is renamed to the destfile
160 upon success. This prevents corrupt files when a download fails or is interrupted.
161 - Automatically set forbid_reuse = TRUE in curl_echo() handles
162 - Update symbol table to 7.66.0
163
164 4.0
165 - Stricter type checking for handle options based on <curl/typecheck-gcc.h> macros
166 - curl_symbols is now a function instead of a static table to allow easy filtering
167 - curl_fetch_memory now over-allocates also on unix to avoid many realloc calls
168 - Re-enable cookie unit test which should be fixed in curl 7.64.0
169 - Fix encoding of paths for downloading and uploading files (@jennybc, #183)
170 - Fix LTO declaration warning for R_get_proxy_for_url
171 - Better support for setting slist (string vector) options such as mail_rcpt
172 - New send_mail() function to send emails with the libcurl smtp client
173 - Add function curl_upload() to upload file to FTP or SCP server
174 - Windows: upgrade to libcurl 7.64.1
175 - Update symbol data to curl 7.64.1
176
177 3.3
178 - The 'data' callback from multi_add() gains a 'final' parameter
179 - The 'data' callback from multi_add() can be given a file path to stream to files
180 - New internal efficient file_writer type used when 'data' callback is a file path
181 - Progress / Xfer callback functions are now explicitly protected (#157)
182 - Tweak some unit tests to give less false positives
183 - curl_echo() has been changed to return better structured output
184 - Added curl_fetch_echo() as a wrapper for curl_echo()
185 - Response for curl_fetch_memory() gains a 'type' field with the content-type
186 - Fix a unit test for OpenSSL 1.1.1
187 - Better default progress function if no progresfun or xferinfofun is set
188 - Skip unit tests if no internet is available
189 - Fix rchk and valgrind warnings from CRAN
190 - Updated symbol table up with curl 7.64.0
191 - Use native routine registration and visibility
192
193 3.2
194 - Windows: Update libcurl to 7.59.0
195 - Update curl_symbols dataset to 7.59.0
196 - Fix an IDN unit test (malmö.se has messed up their SSL cert)
197 - Add unit test for multi_fdset
198 - Add backport of trimws for R 3.1
199
200 3.1
201 - Fix potential memory bug in curl() when doubling the buffer is insufficient.
202 - Windows: update to libcurl 7.56.1, restore support for libssh2.
203 - Added unit test for curl_echo() to post large multipart data.
204 - Fix IDN unit test error "string has forbidden bi-directional properties"
205
206 3.0
207 - MAJOR CHANGE ON WINDOWS: On Windows 7 / 2008-R2 and up we switch from OpenSSL to native Windows SSL
208 (secure channel). Therefore curl now uses certificates from the windows certificate manager.
209 This enables users on corporate/government networks to connect through enterprise proxies and such.
210 On Windows Vista/2008 and older (including CRAN) we still use OpenSSL to guarantee TLS 1.1/1.2 support.
211 Other changes:
212 - Windows: updated libcurl to v7.56.0 with dual SSL and native IDN/SSPI
213 - multi_add() and curl_fetch_multi() gain an optional 'data' callback parameter
214 - New function multi_fdset() returns the file descriptors of a multi pool
215 - Add CURLOPT_PROXYAUTH = CURLAUTH_ANY to default handle settings
216
217 2.8.1
218 - Windows: switch back to OpenSSL instead of SecureChannel because Windows 2008 (CRAN) does not
219 support TLS 1.1 and TLS 1.2 which is required for many servers now.
220
221 2.8 (unpublished)
222 - Windows: EXPERIMENTAL: on R 3.5+ curl now uses SecureChannel instead of OpenSSL for https.
223 - Windows: updated libcurl to v7.54.1 with native windows IDN. Dropped nghttp2 and rtmp support.
224 - Windows: nslookup() now uses IdnToAscii() for non-ascii domains
225 - Add IDN unit tests on supported platforms
226 - Error messages from libcurl include more detail when available (via CURLOPT_ERRORBUFFER)
227 - Set a default CURLOPT_READFUNCTION because libcurls default can cause R to freeze
228 - Fix a bug for empty forms and/or empty form-fields (+ added unit tests for this)
229 - The 'multi_run()' function gains a parameter 'poll' to return immediately when a request completes.
230 - Disable 'Expect: 100-continue' for POST requests (deprecated in libcurl)
231 - Fix two rchk PROTECT warnings (thanks to Tomas Kalibera)
232
233 2.7
234 - New function parse_headers_list() to parse response headers into named list
235 - nslookup() gains a parameter 'multi' to return multiple matches
236 - Automatically set 'POSTFIELDSIZE_LARGE' when setting 'POSTFIELDS' or 'COPYPOSTFIELDS' to raw vector
237 - Do not crash when passing invalid objects as handles
238 - Workaround for empty forms, i.e. calling handle_setform() with no arguments
239
240 2.6
241 - nslookup() gains a parameter ipv4_only = TRUE (fixes unit test on Mavericks)
242
243 2.5
244 - Add curl_echo() function for easy testing
245 - Add support for curlopt_xferinfofunction, used in curl_echo()
246 - Automatically set curlopt_noprogress = 0 when setting one of the progress functions
247 - Automatically use XFERINFOFUNCTION vs PROGRESSFUNCTION depending on libcurl version
248 - Default User-Agent is now: options("HTTPUserAgent")
249 - Requests will now abort if progress/xferinfo callback raises an error
250 - Open a connection with mode 'f' to skip stop_for_status() during open()
251
252 2.4
253 - Windows: update libcurl to 7.53.1 with libssl 1.0.2k
254 - New form_data() function to POST form with string/raw values with custom conten-type
255 - Fix busy waiting for curl_fetch_stream()
256 - Tweaks for open(con, blocking = FALSE)
257 - Switch memcpy() to memmove() to please valgrind
258 - Assert that curl() connection is only opened in read mode
259
260 2.3
261 - All interruptable handles now use a global pool to share connections. Fixes #79.
262 - Enable interruptable interface by default, even in non-interactive mode.
263 - Update libcurl on Windows to 7.51.0
264 - Unit tests now try serveral httpbin mirrors in case one goes down
265 - Support open(con, blocking = FALSE) and isIncomplete() for curl() connections
266 - Switch curl_fetch_stream to non-blocking implementation
267
268 2.2
269 - Fixed bug in multi that did not actually enable or disable multiplexing.
270 - Switch unit tests to HTTP/2 server to get HTTP/2 testing coverage
271 - Fix big endian build on GLIBC systems (tnx Aurelien Jarno and Andreas Tille)
272
273 2.1
274 - If libcurl >= 7.47 and was built --with-nghttp2, automatically enable HTTP/2
275 on HTTPS connections (matches behavior of 'curl' cmd util)
276 - Upgrade to libcurl 7.50.3 (--with-nghttp2) on Windows (Adds HTTP/2 support)
277 - Fix a unit test that would fail on fast servers
278
279 2.0
280 - New multi interface for concurrent async requests!
281 - Updated vignette with simple multi examples
282 - Export handle_data() to get handle state
283
284 1.2
285 - Fix for getaddrinfo GNU extension on some unix platforms
286
287 1.1
288 - Fix ASAN warning in curl.c (reference after free)
289
290 1.0
291 - Fix for FreeBSD
292 - Simplify handle refCount system
293 - Better handle locking to prevent using/modifying open handles
294 - Make unit tests always close connection to prevent 'unused connection' warnings
295 - Add support for interruptions in curl_download()
296
297 0.9.7
298 - The non-blocking download method is now only used in interactive mode
299 - Use options(curl_interrupt = TRUE) to force nonblocking in non-interactive mode
300 - Updated libcurl on windows to 7.47.1. This should fix IPv6 problems.
301 - Update the curl_symbols table to 7.48
302
303 0.9.6
304 - Use non-blocking code in curl_fetch_memory to support user interruptions.
305 - Configure script no longer assumes bash so it works on OpenBSD.
306 - Fix for Snow Leopard CRAN build server.
307 - Added has_internet() function.
308
309 0.9.5
310 - Added nslookup() as cross-platform alternative to nsl()
311
312 0.9.4
313 - Move the creation of the option table to ./R/options.R
314 - The curl_options() function gains an argument to filter by name
315 - Properly invoke winhttp.def file in Makevars.win (required for new toolchain)
316
317 0.9.3
318 - Refactor configure script to use pkg-config
319 - Use the preprocessor to extract CURLOPT symbols during install
320 - Don't use setInternet2() in R > 3.2.2
321
322 0.9.2
323 - Optimization for windows to make realloc in curl_fetch_memory faster
324 - Updated the curl_symbols table to 7.43
325 - Updated the static libraries on Windows:
326 * libcurl 7.43.0
327 * openssl 1.0.2d
328 * libssh2 1.6.0
329 * libiconv 1.14-5
330 * libidn 1.31-1
331 - New functions for Windows: ie_proxy_info and ie_get_proxy_for_url
332
333 0.9.1
334 - Convert url argument to utf8 strings in escape/unescape
335 - Endian fix for BSD systems
336 - Add support for setting curlopt_xxx_large options
337
338 0.9
339 - Fix for very old versions of libcurl (RHEL 5)
340 - Do not convert paths to UTF-8 (only URLs)
341 - Improve error message for unknown options
342
343 0.8
344 - Fix for curl() character reader to invert byte-order on big endian architectures.
345
346 0.7
347 - Rename the C function 'fetch' to 'fetchdata' because of Solaris conflict.
348 - Move warning about missing CA bundle on Windows to onAttach.
349
350 0.6
351 - Validation of SSL certificates is now enabled by default if a bundle is available.
352 - Major rewrite to support configurable and reusable handles
353 - Added new_handle, handle_setopt, handle_setheaders, handle_setform, handle_reset, etc.
354 - Added curl_fetch interfaces for httr
355 - Add ie_proxy_settings to get system proxy configuration on windows
356
357 0.5
358 - Check for CURLM_CALL_MULTI_PERFORM to support very old versions of libcurl
359
360 0.4
361 - Fixed a memory bug that could cause R to crash
362 - Add curl_escape, curl_unescape
363 - Add curl_version and curl_options
364
365 0.3
366 - Add curl_download function
367 - More efficient use of realloc
368 - Fix for older versions of libcurl (e.g. Snow Leopard)
369 - Add support for user interrupts while downloading (ESC or CTRL+C)
370 - Fixed bug that caused GC to corrupt connection object
371 - Refactoring and cleanup
372
373 0.2
374 - add support for recycling connections
375
376 0.1
377 - initial release