Releases: JCMais/node-libcurl
Releases · JCMais/node-libcurl
v2.1.1
Fixed
- Remove
benchmark
folder from the distributed npm package (reducing the package size)
v2.1.0
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.
v2.1.0-5
- docs: update README.md and package description on npm 60b8624
- utils: add benchmarks acbd128
- docs: update changelog 3ac73ad
- tests: fix issue-177 test not testing for null correctly 43f006d
- tests: test more callbacks on easy handle tests f247263
- fix: READFUNCTION/HEADERFUNCTION/WRITEFUNCTION should correctly throw errors 71b0380
See also Unreleased Changes
v2.1.0-4
- tests: fix mocha watch mode 3a341a0
- fix: rework fix for #177 and add tests for it e742020
- tests: fix flacky http2 test 429a693
- docs: update changelog ef1982f
- fix: add separated curl_off_t CURLINFO maps to fix issues when running curl_get_info() 17b6e9a
- docs: update Changelog 58d41e1
- tests: update callbacks test to include error rethrow scenario 4cf966a
- tests: add tests for easy handle 5ddf461
- ts: update target and lib to point to es2018 7f4c57c
- fix: use AsyncResource instead of Nan::Call on OnMessage callback - fixes #177 3a287d7
- fix: use asyncResource runInAsyncScope instead of Nan::Call on Easy handle ee6dcbb
See also Unreleased Changes
v2.1.0-3
- types: fix EasyNativeBinding missing CurlProgressFunc import f26d66a
- docs: update changelog bd76af0
- types: run scripts/build-constants.js to regenerate type definitions for Curl options 1171bad
- chore: remove dynamic require used with node-pre-gyp find method - see #204 for reasoning 45aef3a
- docs: update macOs instructions 1508bcb
- deps: update curl-for-windows submodule c8683f6
See also Unreleased Changes