node-libcurl v2.1.0 Release Notes
Release Date: 2020-04-12 // almost 4 years ago-
๐ Fixed
- ๐ Fix retrieve-win-deps Windows build script not working correctly
- ๐ Fix context switches between addon callbacks not causing Node.js to drain microtasks - (#177)
- Fix some curl_off_t getinfo values corrupting the stack
WRITEFUNCTION
,HEADERFUNCTION
andREADFUNCTION
callbacks now correctly rethrow JS errors thrown inside of them.
The return value of both callbacks is now also checked to be an integer, any other type will cause an error.
This is considered a fix because previously the return value was being cast to an integer, which means the method would already fail, as there are remote chances (aka impossible) casting something else to an integer would yield the length of the data passed by libcurl.
โ Added
- Added missing
CURLOPT_SASL_AUTHZID
option - libcurl 7.66.0 - Added missing
CURLE_AUTH_ERROR
error code added with libcurl 7.66.0 - Added missing
CURLINFO_RETRY_AFTER
info field - libcurl 7.66.0 - Added missing
CURL_HTTP_VERSION_3
constant related http version to theCurlHttpVersion
enum - libcurl 7.66.0 - Added missing
CURLMOPT_MAX_CONCURRENT_STREAMS
option - libcurl 7.67.0 - Added missing
CurlProgressFunc
enum to reflect the newCURL_PROGRESSFUNC_CONTINUE
constant - libcurl 7.68.0 - โ Added missing
CurlSslOpt
enum memberNoPartialChain
- libcurl 7.68.0 - โ Added missing
CURLE_HTTP3
error code - An HTTP/3 layer problem - libcurl 7.68.0 - Added missing
CURLM_WAKEUP_FAILURE
error code - wakeup is unavailable or failed - libcurl 7.68.0 - Added missing
CURLM_BAD_FUNCTION_ARGUMENT
error code - function called with a bad parameter - libcurl 7.69.0 - Added missing
CURLE_QUIC_CONNECT_ERROR
error code - QUIC connection error - libcurl 7.69.0 - Added missing
CURLOPT_MAIL_RCPT_ALLLOWFAILS
option - libcurl 7.69.0
๐ Changed
- โ
Prebuilt binaries are now compiled with libcurl 7.69.1 and, when possible, latest version of other related dependencies:
- OpenSSL 1.1.1d
- nghttp2 1.4.0
- libssh2 1.9.0
- โ Added prebuilt binaries for:
- Electron v8
- NW.js v0.44, v0.43 and v0.42
- โฌ๏ธ Dropped prebuilt binaries for:
- Node.js 8
- Electron v3, v4 and v5
- NW.js v0.38 and v0.39
- โ Remove dynamic require (#204)
- ๐ The C++ implementation for the previously removed
onData
andonHeader
Curl/Easy instance fields has been removed - If you were still using those internal fields your code is going to break. UseWRITEFUNCTION
andHEADERFUNCTION
options instead.