Skip to content

chore(deps): update dependency node-libcurl to v5#3076

Closed
renovate[bot] wants to merge 1 commit into
masterfrom
renovate/node-libcurl-5.x
Closed

chore(deps): update dependency node-libcurl to v5#3076
renovate[bot] wants to merge 1 commit into
masterfrom
renovate/node-libcurl-5.x

Conversation

@renovate

@renovate renovate Bot commented Jan 27, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
node-libcurl 4.1.05.0.2 age confidence

Release Notes

JCMais/node-libcurl (node-libcurl)

v5.0.2

Compare Source

Fixed
  • Fixed the types on the FileInfo object. With 5.0.0, the properties were changed to be all in lowercase, to follow the libcurl struct more closely.

v5.0.1

Compare Source

Fixed
  • Building from source on macOS would not work properly.

v5.0.0

Compare Source

Breaking Change
  • The prebuilt binary is now built with libcurl 8.17.0. Every breaking change introduced by libcurl 8 is also a breaking change for this version.
    Version: libcurl/8.17.0 OpenSSL/3.5.2 zlib/1.3.1 brotli/1.1.0 zstd/1.5.7 libidn2/2.1.1 libssh2/1.10.0 nghttp2/1.66.0 ngtcp2/1.17.0 nghttp3/1.12.0 OpenLDAP/2.6.9
    Protocols: dict, file, ftp, ftps, gopher, gophers, http, https, imap, imaps, ldap, ldaps, mqtt, pop3, pop3s, rtsp, scp, sftp, smb, smbs, smtp, smtps, telnet, tftp, ws, wss
    Features: AsynchDNS, IDN, IPv6, Largefile, NTLM, SSL, libz, brotli, TLS-SRP, HTTP2, UnixSockets, HTTPS-proxy, alt-svc
    
  • Minimum supported Electron version is now Electron v38.0.0 (moving forward prebuilt binaries will only be available for the latest 2 versions of Electron).
  • Mininum supported libcurl version is now libcurl 7.81.0.
  • Windows 32-bit support is now dropped.
  • Minimum supported versions:
    • Node.js >= v22.20.0 (which bundles OpenSSL 3.5.2).
    • Electron >= v38.0.0.
    • libcurl >= v7.81.0.
    • Ubuntu >= v22.04.
    • Alpine >= 3.21
    • C++ compilers supporting c++20
  • The FileInfo object properties are now all in lowercase, to follow the libcurl struct more closely.
  • Errors thrown by the addon are now instances of one of the following classes:
    • CurlEasyError
    • CurlMultiError
    • CurlSharedError
      These classes extends the CurlError class. Previously the addon used to throw only native Javascript errors, such as Error, TypeError, etc.
      The curly related errors also inherit from the CurlError class, and do not have a isCurlError property anymore.
      Any caught error thrown from user callbacks will be added as the cause property of the error.
  • Every Easy handle is now initialized with default CA certificates from Node.js's tls module, by using the result of the getCACertificates function. This is done using CURLOPT_CAINFO_BLOB. This is a breaking change if you were passing custom CA certificates before using CAINFO, as CURLOPT_CAINFO_BLOB takes priority over it. If that is the case, you can avoid the default behavior by calling setOpt("CAINFO_BLOB", null) on the Easy handle. The TLS certificate is loaded into memory only once for each JavaScript context.
  • HSTSREADFUNCTION callback now receives an object with the maxHostLengthBytes property, which is the maximum length of the host name that can be returned by the callback.
  • The minimum macOS version is now Sonoma (13)
  • Curl.globalCleanup is a no-op now. The addon will automatically call curl_global_cleanup when the process exits. This method will be removed in a future major version.
  • Curl.globalInit is a no-op now. The addon will automatically call curl_global_init when the process starts. This method will be removed in a future major version.
Fixed
  • CurlHttpVersion.V3 not being set to the proper value (was not set to 30)
Added
Changed
  • CurlGlobalInit enum is deprecated and should not be used.
  • Closing a Curl instance is now a no-op if the handle is already closed.
  • Multi.onMessage and Multi.addHandle are now deprecated and will be removed in a future major version. Use Multi.perform instead.

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot added the dependencies Pull requests that update a dependency file label Jan 27, 2026
@coderabbitai

coderabbitai Bot commented Jan 27, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

  • 🔍 Trigger a full review

Comment @coderabbitai help to get the list of available commands and usage tips.

@github-actions

github-actions Bot commented Jan 27, 2026

Copy link
Copy Markdown
Contributor

@benchmarks/node-fetch results (noConsumeBody)

   ✓ active_handles.................: avg=139.356021 min=15     med=138     max=185      p(90)=162     p(95)=166    
     data_received..................: 25 MB  839 kB/s
     data_sent......................: 16 MB  543 kB/s
     http_req_blocked...............: avg=4.11µs     min=632ns  med=1.58µs  max=7.54ms   p(90)=2.07µs  p(95)=2.48µs 
     http_req_connecting............: avg=2.09µs     min=0s     med=0s      max=7.5ms    p(90)=0s      p(95)=0s     
     http_req_duration..............: avg=18.16ms    min=1.52ms med=17.72ms max=824.75ms p(90)=23.46ms p(95)=25.96ms
       { expected_response:true }...: avg=18.16ms    min=1.52ms med=17.72ms max=824.75ms p(90)=23.46ms p(95)=25.96ms
     http_req_failed................: 0.00%  ✓ 0           ✗ 164523
     http_req_receiving.............: avg=36.01µs    min=8.4µs  med=25.17µs max=20.6ms   p(90)=39.42µs p(95)=47.43µs
     http_req_sending...............: avg=12.75µs    min=3.08µs med=7.66µs  max=18.8ms   p(90)=10.84µs p(95)=16.3µs 
     http_req_tls_handshaking.......: avg=0s         min=0s     med=0s      max=0s       p(90)=0s      p(95)=0s     
     http_req_waiting...............: avg=18.11ms    min=1.49ms med=17.68ms max=824.66ms p(90)=23.41ms p(95)=25.88ms
     http_reqs......................: 164523 5483.338012/s
     iteration_duration.............: avg=36.44ms    min=7.78ms med=35.14ms max=842.99ms p(90)=40.82ms p(95)=45.42ms
     iterations.....................: 82231  2740.65248/s
     vus............................: 0      min=0         max=100 
     vus_max........................: 100    min=100       max=100 

@github-actions

github-actions Bot commented Jan 27, 2026

Copy link
Copy Markdown
Contributor

@benchmarks/server results (ponyfill)

     ✓ no-errors
     ✓ expected-result

   ✓ checks.........................: 100.00% ✓ 245786      ✗ 0     
     data_received..................: 24 MB   807 kB/s
     data_sent......................: 18 MB   610 kB/s
     http_req_blocked...............: avg=1.55µs   min=952ns    med=1.5µs    max=307.15µs p(90)=1.94µs   p(95)=2.11µs  
     http_req_connecting............: avg=1ns      min=0s       med=0s       max=136.51µs p(90)=0s       p(95)=0s      
     http_req_duration..............: avg=168.46µs min=116.91µs med=162.22µs max=5.74ms   p(90)=183.87µs p(95)=191.74µs
       { expected_response:true }...: avg=168.46µs min=116.91µs med=162.22µs max=5.74ms   p(90)=183.87µs p(95)=191.74µs
     http_req_failed................: 0.00%   ✓ 0           ✗ 122893
     http_req_receiving.............: avg=24.42µs  min=12.11µs  med=23.23µs  max=2.88ms   p(90)=28.28µs  p(95)=31.2µs  
     http_req_sending...............: avg=9.05µs   min=5.61µs   med=9.18µs   max=281.9µs  p(90)=11.3µs   p(95)=12.86µs 
     http_req_tls_handshaking.......: avg=0s       min=0s       med=0s       max=0s       p(90)=0s       p(95)=0s      
     http_req_waiting...............: avg=134.98µs min=92.32µs  med=129.36µs max=5.61ms   p(90)=148.82µs p(95)=156.34µs
     http_reqs......................: 122893  4096.037731/s
     iteration_duration.............: avg=239.47µs min=174.67µs med=232.29µs max=6.19ms   p(90)=256.86µs p(95)=266.97µs
     iterations.....................: 122893  4096.037731/s
     vus............................: 1       min=1         max=1   
     vus_max........................: 1       min=1         max=1   

@github-actions

github-actions Bot commented Jan 27, 2026

Copy link
Copy Markdown
Contributor

@benchmarks/server results (uws)

     ✓ no-errors
     ✓ expected-result

   ✓ checks.........................: 100.00% ✓ 244170      ✗ 0     
     data_received..................: 20 MB   680 kB/s
     data_sent......................: 18 MB   606 kB/s
     http_req_blocked...............: avg=1.67µs   min=872ns    med=1.43µs   max=178.57µs p(90)=2.02µs   p(95)=2.78µs  
     http_req_connecting............: avg=0ns      min=0s       med=0s       max=117.98µs p(90)=0s       p(95)=0s      
     http_req_duration..............: avg=171.29µs min=110.23µs med=162.98µs max=14.91ms  p(90)=184.72µs p(95)=192µs   
       { expected_response:true }...: avg=171.29µs min=110.23µs med=162.98µs max=14.91ms  p(90)=184.72µs p(95)=192µs   
     http_req_failed................: 0.00%   ✓ 0           ✗ 122085
     http_req_receiving.............: avg=24.65µs  min=12.33µs  med=23.48µs  max=2.86ms   p(90)=30.25µs  p(95)=32.6µs  
     http_req_sending...............: avg=9.55µs   min=5.34µs   med=9.38µs   max=303.52µs p(90)=13.55µs  p(95)=14.3µs  
     http_req_tls_handshaking.......: avg=0s       min=0s       med=0s       max=0s       p(90)=0s       p(95)=0s      
     http_req_waiting...............: avg=137.08µs min=79.29µs  med=128.98µs max=14.85ms  p(90)=148.82µs p(95)=155.41µs
     http_reqs......................: 122085  4069.359321/s
     iteration_duration.............: avg=241.1µs  min=166.79µs med=231.55µs max=15.1ms   p(90)=258.82µs p(95)=268.65µs
     iterations.....................: 122085  4069.359321/s
     vus............................: 1       min=1         max=1   
     vus_max........................: 1       min=1         max=1   

@github-actions

github-actions Bot commented Jan 27, 2026

Copy link
Copy Markdown
Contributor

@benchmarks/server results (undici)

     ✓ no-errors
     ✓ expected-result

   ✓ checks.........................: 100.00% ✓ 224288      ✗ 0     
     data_received..................: 22 MB   744 kB/s
     data_sent......................: 17 MB   557 kB/s
     http_req_blocked...............: avg=1.33µs   min=653ns    med=1.17µs   max=144.63µs p(90)=1.7µs    p(95)=2.11µs  
     http_req_connecting............: avg=0ns      min=0s       med=0s       max=105.1µs  p(90)=0s       p(95)=0s      
     http_req_duration..............: avg=198.55µs min=124.83µs med=187.53µs max=79.65ms  p(90)=223.57µs p(95)=238.28µs
       { expected_response:true }...: avg=198.55µs min=124.83µs med=187.53µs max=79.65ms  p(90)=223.57µs p(95)=238.28µs
     http_req_failed................: 0.00%   ✓ 0           ✗ 112144
     http_req_receiving.............: avg=24.18µs  min=9.31µs   med=22.35µs  max=2.62ms   p(90)=32.73µs  p(95)=36.11µs 
     http_req_sending...............: avg=7.58µs   min=3.93µs   med=6.62µs   max=3.05ms   p(90)=11.22µs  p(95)=13.47µs 
     http_req_tls_handshaking.......: avg=0s       min=0s       med=0s       max=0s       p(90)=0s       p(95)=0s      
     http_req_waiting...............: avg=166.78µs min=104.49µs med=156.04µs max=79.59ms  p(90)=188.23µs p(95)=201.73µs
     http_reqs......................: 112144  3737.980841/s
     iteration_duration.............: avg=263.28µs min=174.05µs med=252.24µs max=79.8ms   p(90)=293.67µs p(95)=311.91µs
     iterations.....................: 112144  3737.980841/s
     vus............................: 1       min=1         max=1   
     vus_max........................: 1       min=1         max=1   

@github-actions

github-actions Bot commented Jan 27, 2026

Copy link
Copy Markdown
Contributor

@benchmarks/node-fetch results (consumeBody)

   ✓ active_handles.................: avg=139.900022 min=12       med=140     max=180      p(90)=162     p(95)=167    
     data_received..................: 24 MB  785 kB/s
     data_sent......................: 15 MB  503 kB/s
     http_req_blocked...............: avg=4.65µs     min=611ns    med=1.58µs  max=16.77ms  p(90)=2.13µs  p(95)=2.55µs 
     http_req_connecting............: avg=2.5µs      min=0s       med=0s      max=12.22ms  p(90)=0s      p(95)=0s     
     http_req_duration..............: avg=19.4ms     min=906.95µs med=18.88ms max=893ms    p(90)=24.71ms p(95)=26.72ms
       { expected_response:true }...: avg=19.4ms     min=906.95µs med=18.88ms max=893ms    p(90)=24.71ms p(95)=26.72ms
     http_req_failed................: 0.00%  ✓ 0           ✗ 153927
     http_req_receiving.............: avg=37.36µs    min=9.68µs   med=27.24µs max=17.71ms  p(90)=42.43µs p(95)=50.79µs
     http_req_sending...............: avg=13.23µs    min=3.44µs   med=8.02µs  max=8.18ms   p(90)=10.94µs p(95)=16.13µs
     http_req_tls_handshaking.......: avg=0s         min=0s       med=0s      max=0s       p(90)=0s      p(95)=0s     
     http_req_waiting...............: avg=19.35ms    min=765.99µs med=18.83ms max=892.93ms p(90)=24.66ms p(95)=26.64ms
     http_reqs......................: 153927 5127.301154/s
     iteration_duration.............: avg=38.94ms    min=4.09ms   med=37.52ms max=912.13ms p(90)=43.18ms p(95)=48.15ms
     iterations.....................: 76947  2563.100963/s
     vus............................: 59     min=59        max=100 
     vus_max........................: 100    min=100       max=100 

@github-actions

github-actions Bot commented Jan 27, 2026

Copy link
Copy Markdown
Contributor

@benchmarks/server results (native)

     ✓ no-errors
     ✓ expected-result

   ✓ checks.........................: 100.00% ✓ 195978      ✗ 0    
     data_received..................: 20 MB   650 kB/s
     data_sent......................: 15 MB   487 kB/s
     http_req_blocked...............: avg=1.61µs   min=901ns    med=1.57µs   max=280.69µs p(90)=1.98µs   p(95)=2.16µs  
     http_req_connecting............: avg=1ns      min=0s       med=0s       max=133.37µs p(90)=0s       p(95)=0s      
     http_req_duration..............: avg=229.69µs min=164.94µs med=218.31µs max=15.72ms  p(90)=250.49µs p(95)=266.17µs
       { expected_response:true }...: avg=229.69µs min=164.94µs med=218.31µs max=15.72ms  p(90)=250.49µs p(95)=266.17µs
     http_req_failed................: 0.00%   ✓ 0           ✗ 97989
     http_req_receiving.............: avg=26.76µs  min=14.63µs  med=25.34µs  max=2.75ms   p(90)=31.18µs  p(95)=34.31µs 
     http_req_sending...............: avg=9.55µs   min=5.5µs    med=9.58µs   max=1.88ms   p(90)=11.81µs  p(95)=13.41µs 
     http_req_tls_handshaking.......: avg=0s       min=0s       med=0s       max=0s       p(90)=0s       p(95)=0s      
     http_req_waiting...............: avg=193.37µs min=140.43µs med=183.43µs max=15.65ms  p(90)=213.16µs p(95)=226.92µs
     http_reqs......................: 97989   3266.149218/s
     iteration_duration.............: avg=301.39µs min=224.78µs med=288.62µs max=15.85ms  p(90)=324.24µs p(95)=345.01µs
     iterations.....................: 97989   3266.149218/s
     vus............................: 1       min=1         max=1  
     vus_max........................: 1       min=1         max=1  

@renovate
renovate Bot force-pushed the renovate/node-libcurl-5.x branch from 6fbc91c to 1debd6a Compare January 27, 2026 12:20
@ardatan ardatan closed this Jan 27, 2026
@ardatan
ardatan deleted the renovate/node-libcurl-5.x branch January 27, 2026 12:22
@renovate

renovate Bot commented Jan 27, 2026

Copy link
Copy Markdown
Contributor Author

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update. You will not get PRs for any future 5.x releases. But if you manually upgrade to 5.x then Renovate will re-enable minor and patch updates automatically.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant