@stlite/cloudflare@0.3.0
Minor Changes
-
#2110
e56275cThanks @whitphx! - Rebase the Streamlit fork onto 1.62.0, picking up everything upstream shipped across 1.58 through 1.62.Streamlit removed Base Web (
baseuiandstyletron-*) from its frontend over those releases, so@stlite/reactno longer mounts theStyletronProviderandBaseProviderwrappers. TheBaseProvideralso restated the app's text styles on Base Web's portal host, which stlite needs because it scopes those styles to thestlite-rootelement rather than tobody; overlays now portal through Streamlit's ownPortalProvider, so those styles move onto the hosts it marks withdata-st-overlay-root.Streamlit's new lazy dataframe delivery stays off under stlite. It slices a
pyarrow.Tableper chunk, and pyarrow has no Pyodide build, sost.dataframekeeps rendering through the existing eager Parquet path at every size. Passinglazy=Trueexplicitly now raises aStreamlitAPIExceptioninstead of failing inside the pyarrow stub.Two other new upstream features start OS threads, which Pyodide refuses.
@st.fragment(parallel=True)now runs its fragment inline, andst.skeleton()used as a context manager schedules its delayed reveal on an asyncio task, matching whatst.spinneralready does.Shared frontend dependencies in
packages/*follow upstream:typescript^6.0.3,vite^8.2.1,vitest^4.1.10,vite-plugin-dts^5.0.3,protobufjs^8.7.2.@stlite/reactkeeps its documentedvite^7.1.5 pin.