bump version, update docs

This commit is contained in:
ading2210 2025-05-02 14:06:19 -04:00
parent 0f3815d2f8
commit 9317579cef
3 changed files with 7 additions and 3 deletions

View file

@ -1,5 +1,9 @@
# Libcurl.js Changelog:
## v0.7.1 (5/2/25):
- Use the latest versions of Mbed TLS, curl, and nghttp2
- Compile Mbed TLS and curl with `-O3` for better performance (however the bundle size is slightly larger as a result)
## v0.7.0 (1/24/25):
- Switch to Mbed TLS for the TLS backend
- This fixes some TLS certificate errors that were occurring on some sites with WolfSSL

View file

@ -86,8 +86,8 @@ If you are using the single file version (`libcurl_full.js`), the `libcurl.load_
Alternatively, prebuilt versions can be found on NPM and jsDelivr. You can use the [following URLs](https://cdn.jsdelivr.net/npm/libcurl.js@latest/) to load libcurl.js from a third party CDN.
```
https://cdn.jsdelivr.net/npm/libcurl.js@0.6.20/libcurl.js
https://cdn.jsdelivr.net/npm/libcurl.js@0.6.20/libcurl.wasm
https://cdn.jsdelivr.net/npm/libcurl.js@0.7.1/libcurl.js
https://cdn.jsdelivr.net/npm/libcurl.js@0.7.1/libcurl.wasm
```
To know when libcurl.js has finished loading, you can use the `libcurl_load` DOM event. The `libcurl_abort` event will trigger if the Emscripten runtime gets aborted due to a critical error. The `libcurl.events` object contains an `EventTarget` where these events will also be emitted.

View file

@ -1,6 +1,6 @@
{
"name": "libcurl.js",
"version": "0.7.0",
"version": "0.7.1",
"description": "A port of libcurl to WebAssembly, for proxying HTTPS requests from the browser with full TLS encryption",
"main": "libcurl.mjs",
"exports": {