v2.0.0
In order to follow our primary idea — simple, robust, and efficient codebase we have removed all unnecessary "features", leaving us with a classic callback-based API.
New:
- 🤓 All new reworked, reviewed, and optimized codebase
- 👨🔬 90% auto-tests coverage for HTTP(S) protocol, and 99% auto-tests coverage for library's features
- 🧰 New options (see updated docs):
- ⚒
rejectUnauthorizedProxy
- Check SSL/TLS certificate of a proxy host - ⚒
upload
- Easily upload a file with a single option - ⚒
curlOptions
- Explicitly pass options tolibcurl
- ⚒
curlFeatures
- Explicitly enable/disable features oflibcurl
- ⚒
- 🧰 API of LibCurlRequest :
- ⚒
LibCurlRequest#abort()
- Abort ongoing request - ⚒
LibCurlRequest#send()
- Send (e.g. perform) pending request - ⚒
LibCurlRequest#onData()
- Hookdata
streaming event - ⚒
LibCurlRequest#onHeader
- Hookheaders
streaming event
- ⚒
Removed:
- Promises API
- Async/Await API
LibCurlRequest#request
LibCurlRequest#curl
LibCurlRequest#on(/*...*/)
— events API
Changed:
- 📦
node-libcurl
upgraded tov2.0.2
(wasv2.0.1
)
Thanks to @JCMais for node-libcurl
library
Thanks to @curl team for maintaining libcurl
library through decades
Thanks to @bagder for building and maintaining libcurl
since forever!