diff options
| author | 2026-04-03 15:17:13 +0200 | |
|---|---|---|
| committer | 2026-04-03 15:17:13 +0200 | |
| commit | 1e704530cea02cc5b1b5a9049da432f232f0276f (patch) | |
| tree | 749d19dd3ee0a7777cf28393ec38dbd1c9cb481e /src/index.tsx | |
| parent | 06ec1f69e11fc52c0e2c6b5f12c3c89b9ef18436 (diff) | |
| download | client-2.3.0.tar.gz client-2.3.0.tar.bz2 client-2.3.0.zip | |
Upgraded librariesv2.3.0
Python:
- Migrate to uv for dependency management; consolidate setup.cfg and requirements files into pyproject.toml (PEP 621)
- Upgrade websockets 10 → 16; update import to ClientConnection and
remove deprecated WebSocketClientProtocol
- Fix PubSub.history classmethod/property combo removed in Python 3.13
- Set requires-python = ">=3.10" (minimum for match statement)
JavaScript:
- Upgrade React 18 → 19, Vite 5 → 8, TypeScript 5 → 6 and all
other frontend dependencies to latest
- Replace ReactDOM.render with createRoot (removed in React 18)
- Swap react-json-view for @microlink/react-json-view (React 19 support)
CI:
- Switch GitHub Actions build to uv and --frozen-lockfile yarn install
Diffstat (limited to 'src/index.tsx')
| -rw-r--r-- | src/index.tsx | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/index.tsx b/src/index.tsx index c1a4211..d239501 100644 --- a/src/index.tsx +++ b/src/index.tsx | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | import * as React from "react"; | 1 | import * as React from "react"; |
| 2 | import * as ReactDOM from "react-dom"; | 2 | import { createRoot } from "react-dom/client"; |
| 3 | import App from "~/components/App/App"; | 3 | import App from "~/components/App/App"; |
| 4 | 4 | ||
| 5 | import "~/index.scss"; | 5 | import "~/index.scss"; |
| @@ -10,11 +10,10 @@ import localizedFormat from "dayjs/plugin/localizedFormat"; | |||
| 10 | import ConnectionProvider from "~/contexts/Connection"; | 10 | import ConnectionProvider from "~/contexts/Connection"; |
| 11 | dayjs.extend(localizedFormat); | 11 | dayjs.extend(localizedFormat); |
| 12 | 12 | ||
| 13 | ReactDOM.render( | 13 | createRoot(document.getElementById("root")).render( |
| 14 | <SettingsProvider> | 14 | <SettingsProvider> |
| 15 | <ConnectionProvider> | 15 | <ConnectionProvider> |
| 16 | <App /> | 16 | <App /> |
| 17 | </ConnectionProvider> | 17 | </ConnectionProvider> |
| 18 | </SettingsProvider>, | 18 | </SettingsProvider> |
| 19 | document.getElementById("root") | ||
| 20 | ); | 19 | ); |
