Closed tobilg closed 7 months ago
I tried upgrading to the latest duckdb-wasm version on npm, but it seems JSDelivr hosting is broken because the package is now too big: https://github.com/duckdb/duckdb-wasm/issues/1561
I don't think it makes sense for me to host the wasm files, or make it a requirement for users of this library to host them. So I'll need to wait until the JsDelivr issue is fixed before upgrading (hopefully soon).
Thanks for the feedback, I agree. There seems to be some progress now: https://github.com/duckdb/duckdb-wasm/pull/1589
Thus, https://www.npmjs.com/package/@duckdb/duckdb-wasm/v/1.28.1-dev89.0 was release a few hours ago which is 185MB unpacked now, compared to 1.63GB in the last version...
Nice.
It looks like the JsDelivr links have a limit of 150MB: https://cdn.jsdelivr.net/npm/@duckdb/duckdb-wasm@1.28.1-dev89.0/dist/duckdb-browser-eh.worker.js
I'll try to keep an eye on progress (or feel free to ping here if it gets solved, and I'll do the upgrade). Thanks!
It's now down to 138MB with https://www.npmjs.com/package/@duckdb/duckdb-wasm/v/1.28.1-dev91.0 JSDeliver seems to work again: https://www.jsdelivr.com/package/npm/@duckdb/duckdb-wasm
@holdenmatt / @tobilg: this has indeed solved with the latest build, sorry for the inconvenience, I will shortly add a CI check that sizes have to be compatible with jsdelivr limits so to avoid regressions
Ah great, thanks @carlopi!
Confirmed the JsDelivr links are working for me on the latest version. Will upgrade versions later today.
Looking forward to the new release, thanks!
Ok, this has now been upgraded to the latest duckdb-wasm version. I haven't seen any issues in my testing but let me know if anything isn't working for you :)
Thank you very much @holdenmatt!
It'd be really great to have a (dev) version that supports the dynamic loading of extension with DuckDB-WASM.