Skip to content

Releases: JCMais/node-libcurl

v2.1.1

28 Apr 23:14
v2.1.1
3567eb7
Compare
Choose a tag to compare

Fixed

  • Remove benchmark folder from the distributed npm package (reducing the package size)

v2.1.0...v2.1.1

v2.1.0

12 Apr 16:50
v2.1.0
cd16a02
Compare
Choose a tag to compare

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 and READFUNCTION 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 the CurlHttpVersion enum - libcurl 7.66.0
  • Added missing CURLMOPT_MAX_CONCURRENT_STREAMS option - libcurl 7.67.0
  • Added missing CurlProgressFunc enum to reflect the new CURL_PROGRESSFUNC_CONTINUE constant - libcurl 7.68.0
  • Added missing CurlSslOpt enum member NoPartialChain - 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 and onHeader Curl/Easy instance fields has been removed - If you were still using those internal fields your code is going to break. Use WRITEFUNCTION and HEADERFUNCTION options instead.

v2.0.3...v2.1.0

v2.1.0-5

10 Apr 22:38
v2.1.0-5
f908741
Compare
Choose a tag to compare
v2.1.0-5 Pre-release
Pre-release
  • 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

v2.1.0-4...v2.1.0-5

See also Unreleased Changes

v2.1.0-4

10 Apr 02:18
v2.1.0-4
b647aae
Compare
Choose a tag to compare
v2.1.0-4 Pre-release
Pre-release
  • 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

v2.1.0-3...v2.1.0-4

See also Unreleased Changes

v2.1.0-3

08 Apr 01:07
v2.1.0-3
c0bc541
Compare
Choose a tag to compare
v2.1.0-3 Pre-release
Pre-release
  • 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

v2.1.0-2...v2.1.0-3

See also Unreleased Changes

v2.1.0-2

05 Apr 16:51
v2.1.0-2
3cb6d00
Compare
Choose a tag to compare
v2.1.0-2 Pre-release
Pre-release

v2.1.0-1

05 Apr 16:44
v2.1.0-1
3d367ad
Compare
Choose a tag to compare
v2.1.0-1 Pre-release
Pre-release

v2.0.3

11 Dec 22:37
v2.0.3
1492ef5
Compare
Choose a tag to compare

Fixed

  • Updated return type of DEBUGFUNCTION (#202)
  • Fixed issues when building with newer versions of v8 (Node.js >= 13 and Electron >= 7) (#203)

Added

  • Type for this added to event listeners callbacks
  • Build on Node.js 13 and Electron 7

v2.0.2

20 Sep 22:13
v2.0.2
3d6e940
Compare
Choose a tag to compare
v2.0.2

v2.0.1

06 Jun 23:51
v2.0.1
95e4c1d
Compare
Choose a tag to compare

[2.0.1] - 2019-06-06

Fixed

  • Fixed problem when building with libcurl <= 7.38

v2.0.0...v2.0.1