Minor Changes
-
#2148
5ddf6ffThanks @whitphx! - Bring backst.dataframe,st.data_editor,st.table,st.writewith a dataframe, and charts such asst.line_chartandst.altair_chart, which 0.7.0 disabled. The Worker still ships without pyarrow, which exceeds the Cloudflare Workers script size and memory limits. Instead, the stand-in it installs now serializes dataframes with a pure-Python Arrow writer that produces what pyarrow would. These elements therefore handle column types as Streamlit does, and large dataframes load lazily. The hello sample gets back its Plotting demo and the DataFrame demo's table and chart.The stand-in covers only what Streamlit itself does with pyarrow. App code that imports pyarrow, pandas features backed by it such as
pd.read_parquet, and v1 custom components that send a dataframe back to Python raise an error that says so.
What's Changed
🏕 Updates
- feat(cloudflare): render dataframes and charts through a pyarrow stand-in backed by arrow-ipc-writer by @whitphx in #2148
- Version Packages by @whitphx-changesets-bot[bot] in #2149
Full Changelog: https://github.com/whitphx/stlite/compare/@stlite/browser@1.12.0...@stlite/cloudflare@0.8.0