Minor Changes
-
#2046
992dda0Thanks @whitphx! - Rebase Streamlit fork onto 1.57.0.Internally, the kernel switches from the hand-rolled
stlite_lib.server.ServerHTTP/WS dispatcher to calling upstream Streamlit's Starlette ASGI app directly via a new ASGI bridge (stlite_lib.asgi_appon the Python side,packages/kernel/src/asgi-bridge.tson the JS side). User-visible API surface is unchanged.To make upstream's Starlette routes work in Pyodide's single-threaded WASM environment,
stlite_lib.anyio_patchreplacesanyio'srun_sync_in_worker_threadwith an inline implementation at package import. This keeps Custom Components, app-static file serving, and other anyio-backed I/O working without spawning worker threads.
What's Changed
🏕 Updates
- Streamlit 1.57.0 rebase + rebase-followup fixes + ASGI bridge spike by @whitphx in #2046
- ci: run e2e-browser inside Playwright Docker image by @whitphx in #2053
- Version Packages by @whitphx-changesets-bot[bot] in #2050
👒 Dependencies
- Chore(deps): Bump cloudflare/wrangler-action from 3.15.0 to 4.0.0 by @dependabot[bot] in #2038
- Chore(deps): Bump changesets/action from 1.7.0 to 1.8.0 by @dependabot[bot] in #2032
- Chore(deps): Bump actions/dependency-review-action from 4.9.0 to 5.0.0 by @dependabot[bot] in #2034
- Chore(deps): Bump actions/create-github-app-token from 3.1.1 to 3.2.0 by @dependabot[bot] in #2037
Full Changelog: https://github.com/whitphx/stlite/compare/@stlite/browser@1.7.3...@stlite/desktop@0.101.0