Minor Changes
-
#2138
bfc7b1dThanks @whitphx! - The bundled Streamlit wheel no longer includesstreamlit.testing(AppTest), thestreamlit hellodemo package (streamlit.hello), or Streamlit's agent skill files, which makes the wheel each app downloads at startup about 240 KB smaller (about 630 KB unpacked). Apps that importstreamlit.testingorstreamlit.hellonow fail withModuleNotFoundError. -
#2135
aa4d57cThanks @whitphx! - Rebase the Streamlit fork onto 1.65.0, picking up everything upstream shipped across 1.63 through 1.65.Streamlit 1.65 gives each session its own asyncio event loop. On Pyodide, creating that loop takes over the worker's running loop, so stlite reuses the worker's loop instead.
Streamlit removed
add_rows(). Keep the data yourself and redraw the chart into anst.empty()placeholder instead, as Streamlit's own plotting demo does.Streamlit removed the
mapbox.tokenconfig option. Provide a Mapbox token through theMAPBOX_API_KEYenvironment variable or PyDeck'sapi_keysinstead.Shared frontend dependencies in
packages/*follow upstream:protobufjs^8.8.0,vite-plugin-dts^5.1.1,oxfmt^0.70.0,oxlint^1.85.0.viteandviteststay on their current releases until the newer ones clear the Yarn age gate.
What's Changed
🏕 Updates
- feat(deps): rebase the Streamlit fork onto 1.65.0 by @whitphx in #2135
- refactor(sharing-editor): reset the sample app ID during render instead of in an effect by @whitphx in #2136
- chore(samples): remove the Streamlit E2E scripts sample by @whitphx in #2142
- fix(sharing-editor): highlight the sample app again when it is reselected after an edit by @whitphx in #2137
- feat(kernel): leave
AppTest, the hello demo and agent skills out of the Streamlit wheel by @whitphx in #2138 - Version Packages by @whitphx-changesets-bot[bot] in #2140
Full Changelog: https://github.com/whitphx/stlite/compare/@stlite/browser@1.10.0...@stlite/cli@0.4.0