Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dev/upgrade streamlit 1.18.1 #482

Merged
merged 31 commits into from
Feb 17, 2023
Merged
Changes from 1 commit
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
581dc49
Update the streamlit submodule to v1.18.1
whitphx Feb 12, 2023
6ff69db
Update the wheel file name
whitphx Feb 13, 2023
c5fb4ea
Update react-scripts to 5.0.1
whitphx Feb 13, 2023
665629c
Replace path with path-browserify in the worker, that were automatica…
whitphx Feb 13, 2023
21e4ee4
Remove worker-loader that has been deprecated for Webpack5
whitphx Feb 13, 2023
9d5f635
Update dependencies and craco config in @stlite/sharing adapting to s…
whitphx Feb 13, 2023
ec7981b
Update dependencies and craco config in @stlite/desktop adapting to s…
whitphx Feb 13, 2023
2a6fc1b
Set streamlit-browser dependency version
whitphx Feb 13, 2023
11222ea
[WIP] Override mountable/* with files ejected from a newly scaffolded…
whitphx Feb 13, 2023
12aa2a3
Customize the build config and dependency list for @stlite/mountable …
whitphx Feb 13, 2023
9e0eec0
Update dependency versions following the streamlit-browser package
whitphx Feb 13, 2023
2113931
Fix typing in sharing-editor
whitphx Feb 13, 2023
ed8b0a7
Update mountable/DEVELOPMENT.md
whitphx Feb 13, 2023
4a8012d
Update yarn.lock
whitphx Feb 13, 2023
a128a99
Rename the websocket endpoint path following https://github.com/strea…
whitphx Feb 13, 2023
cbee3ac
Fix packages/kernel/py/e2etests/tests/test_httpserver.py
whitphx Feb 13, 2023
9c2ec63
Fix the CI to run test-tornado-e2e anytime
whitphx Feb 14, 2023
5c9591b
Fix tornado-e2e tests
whitphx Feb 14, 2023
43b6227
Fix CI
whitphx Feb 14, 2023
889d31e
Replace @st.experimental_memo with @st.cache_data in the samples
whitphx Feb 14, 2023
9589e38
Rename the file upload endpoint path following https://github.com/str…
whitphx Feb 14, 2023
a021394
Fix BROWSER envvar value for CRA5
whitphx Feb 14, 2023
851ab5c
Fix to avoid forbidden access to LocalStorage due to https://github.c…
whitphx Feb 14, 2023
3203856
Add streamlit-browser@^1.18.1 to the deps list of @stlite/mountable
whitphx Feb 15, 2023
7094229
Fix comments in packages/mountable/config/webpack.config.js
whitphx Feb 15, 2023
b1fcd6e
Remove the type declarations for inline raw-loader import
whitphx Feb 15, 2023
38925d8
Move the deps list from dependencies to devDependencies in @stlite/mo…
whitphx Feb 15, 2023
94502a0
Introduce a hack to handle cross-origin policy of worker creation
whitphx Feb 16, 2023
feba575
Merge branch 'main' into dev/upgrade-streamlit-1.18.1
whitphx Feb 17, 2023
07e003b
Set local package name for dump_artifacts.ts
whitphx Feb 17, 2023
7904497
Fix CSP
whitphx Feb 17, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Rename the websocket endpoint path following streamlit/streamlit#5534
  • Loading branch information
whitphx committed Feb 14, 2023
commit a128a99dee2d4f61213bd5b715d0363434ec0ecd
Original file line number Diff line number Diff line change
Expand Up @@ -158,10 +158,10 @@ export class ConnectionManager {
}

private async connect(): Promise<void> {
const WEBSOCKET_STREAM_PATH = "/stream" // The original is defined in streamlit/frontend/src/lib/WebsocketConnection.tsx
const WEBSOCKET_STREAM_PATH = "_stcore/stream" // The original is defined in streamlit/frontend/src/lib/WebsocketConnection.tsx

try {
await this.props.kernel.connectWebSocket(WEBSOCKET_STREAM_PATH)
await this.props.kernel.connectWebSocket("/" + WEBSOCKET_STREAM_PATH)
this.setConnectionState(ConnectionState.CONNECTED)
} catch (e) {
const err = ensureError(e)
Expand Down