From fb466864d1390ecd22591297aa82830142730b96 Mon Sep 17 00:00:00 2001 From: Rebot <96078724+reboot-dev-bot@users.noreply.github.com> Date: Fri, 18 Oct 2024 06:30:43 +0200 Subject: [PATCH] [Release] Synchronize for release (#66) --- Dockerfile | 2 +- README.md | 4 ++-- pyproject.toml | 4 ++-- requirements-dev.lock | 2 +- requirements.lock | 2 +- web/package-lock.json | 30 +++++++++++++++--------------- web/package.json | 2 +- web/src/index.tsx | 4 +++- 8 files changed, 26 insertions(+), 24 deletions(-) diff --git a/Dockerfile b/Dockerfile index 84f5cca..0c0331b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM ghcr.io/reboot-dev/reboot-base:0.16.0 +FROM ghcr.io/reboot-dev/reboot-base:0.17.0 WORKDIR /app diff --git a/README.md b/README.md index 4f5c4bb..456ff74 100644 --- a/README.md +++ b/README.md @@ -40,7 +40,7 @@ Now you're ready to [run the application](#run-the-application)! Running directly on a host requires: - A platform of either: - - `x86_64 Linux` with `glibc>=2.35` (Ubuntu Jammy and other equivalent-generation Linux distributions) + - `x86_64 Linux` with `glibc>=2.31` (Ubuntu Focal and other equivalent-generation Linux distributions) - `arm64 or x86_64 MacOS` with `MacOS>=13.0` and `Xcode>=14.3` - [Rye](https://rye-up.com/) - A tool to manage `python`, `pip`, and `venv`. - If you are already familiar with Python [virtual environments](https://docs.python.org/3/library/venv.html), feel free to use your tool of choice with [`pyproject.toml`](./pyproject.toml). Python >=3.10 is required. @@ -90,7 +90,7 @@ npm start ``` If using VSCode, the page will load automatically. -If not using VSCode, visit [http://127.0.0.1:3000](http://127.0.0.1:3000)`. +If not using VSCode, visit [http://127.0.0.1:3000](http://127.0.0.1:3000). ### Tests The application comes with backend tests. diff --git a/pyproject.toml b/pyproject.toml index 85cd0d7..7c1bae8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,7 @@ [project] requires-python = ">= 3.10" dependencies = [ - "reboot==0.16.0", + "reboot==0.17.0", ] [tool.rye] @@ -9,7 +9,7 @@ dev-dependencies = [ "mypy==1.2.0", "pytest>=7.4.2", "types-protobuf>=4.24.0.20240129", - "reboot==0.16.0", + "reboot==0.17.0", ] # This project only uses `rye` to provide `python` and its dependencies, so diff --git a/requirements-dev.lock b/requirements-dev.lock index 505929c..7681cad 100644 --- a/requirements-dev.lock +++ b/requirements-dev.lock @@ -108,7 +108,7 @@ python-dateutil==2.9.0.post0 pyyaml==6.0.2 # via kubernetes-asyncio # via reboot -reboot==0.16.0 +reboot==0.17.0 setuptools==75.1.0 # via grpcio-tools six==1.16.0 diff --git a/requirements.lock b/requirements.lock index 0a3f214..7f55a03 100644 --- a/requirements.lock +++ b/requirements.lock @@ -97,7 +97,7 @@ python-dateutil==2.9.0.post0 pyyaml==6.0.2 # via kubernetes-asyncio # via reboot -reboot==0.16.0 +reboot==0.17.0 setuptools==75.1.0 # via grpcio-tools six==1.16.0 diff --git a/web/package-lock.json b/web/package-lock.json index 2694156..dab0a13 100644 --- a/web/package-lock.json +++ b/web/package-lock.json @@ -8,7 +8,7 @@ "name": "web", "version": "0.1.0", "dependencies": { - "@reboot-dev/reboot-react": "^0.16.0", + "@reboot-dev/reboot-react": "^0.17.0", "@testing-library/jest-dom": "^5.17.0", "@testing-library/react": "^13.4.0", "@testing-library/user-event": "^13.5.0", @@ -3018,17 +3018,17 @@ } }, "node_modules/@reboot-dev/reboot-api": { - "version": "0.16.0", - "resolved": "https://registry.npmjs.org/@reboot-dev/reboot-api/-/reboot-api-0.16.0.tgz", - "integrity": "sha512-LsF0UM0/Mm+aDAJbzlloqM76RBSsNWNxQzeh0aF4un05SeOAn4hKs704rxadbR3wQlqxyefhd4NVqA36LXbH7Q==" + "version": "0.17.0", + "resolved": "https://registry.npmjs.org/@reboot-dev/reboot-api/-/reboot-api-0.17.0.tgz", + "integrity": "sha512-WPk4GvEzBotvzmvT6jSBwaCjAjpBhFw6KOk5Sv7kM5elxsNZQ+zd3e78jNYup03x3UWORi1peKNvwFUz3KXrKw==" }, "node_modules/@reboot-dev/reboot-react": { - "version": "0.16.0", - "resolved": "https://registry.npmjs.org/@reboot-dev/reboot-react/-/reboot-react-0.16.0.tgz", - "integrity": "sha512-rQDaXowf5tpseQwG+z6VUQyd/GaZmNiLe8+GI2kLev4Lwoj/aztzsfdb4/7jUv2LEt3gDdwpGinSc617ou3SIA==", + "version": "0.17.0", + "resolved": "https://registry.npmjs.org/@reboot-dev/reboot-react/-/reboot-react-0.17.0.tgz", + "integrity": "sha512-3R6d6V0pUxcGMNvprnPO/jJj2rUTwdfjEAieK+NrImBjpEfHVSRI4vpbSRCbZpOJ21xH+jasdqn0k7HictMzHA==", "dependencies": { "@bufbuild/protobuf": "1.3.2", - "@reboot-dev/reboot-api": "0.16.0", + "@reboot-dev/reboot-api": "0.17.0", "@types/react": "^18.2.22", "@types/uuid": "^9.0.4", "js-sha1": "0.7.0", @@ -17834,17 +17834,17 @@ } }, "@reboot-dev/reboot-api": { - "version": "0.16.0", - "resolved": "https://registry.npmjs.org/@reboot-dev/reboot-api/-/reboot-api-0.16.0.tgz", - "integrity": "sha512-LsF0UM0/Mm+aDAJbzlloqM76RBSsNWNxQzeh0aF4un05SeOAn4hKs704rxadbR3wQlqxyefhd4NVqA36LXbH7Q==" + "version": "0.17.0", + "resolved": "https://registry.npmjs.org/@reboot-dev/reboot-api/-/reboot-api-0.17.0.tgz", + "integrity": "sha512-WPk4GvEzBotvzmvT6jSBwaCjAjpBhFw6KOk5Sv7kM5elxsNZQ+zd3e78jNYup03x3UWORi1peKNvwFUz3KXrKw==" }, "@reboot-dev/reboot-react": { - "version": "0.16.0", - "resolved": "https://registry.npmjs.org/@reboot-dev/reboot-react/-/reboot-react-0.16.0.tgz", - "integrity": "sha512-rQDaXowf5tpseQwG+z6VUQyd/GaZmNiLe8+GI2kLev4Lwoj/aztzsfdb4/7jUv2LEt3gDdwpGinSc617ou3SIA==", + "version": "0.17.0", + "resolved": "https://registry.npmjs.org/@reboot-dev/reboot-react/-/reboot-react-0.17.0.tgz", + "integrity": "sha512-3R6d6V0pUxcGMNvprnPO/jJj2rUTwdfjEAieK+NrImBjpEfHVSRI4vpbSRCbZpOJ21xH+jasdqn0k7HictMzHA==", "requires": { "@bufbuild/protobuf": "1.3.2", - "@reboot-dev/reboot-api": "0.16.0", + "@reboot-dev/reboot-api": "0.17.0", "@types/react": "^18.2.22", "@types/uuid": "^9.0.4", "js-sha1": "0.7.0", diff --git a/web/package.json b/web/package.json index 6b00430..637bc5d 100644 --- a/web/package.json +++ b/web/package.json @@ -3,7 +3,7 @@ "version": "0.1.0", "private": true, "dependencies": { - "@reboot-dev/reboot-react": "^0.16.0", + "@reboot-dev/reboot-react": "^0.17.0", "@testing-library/jest-dom": "^5.17.0", "@testing-library/react": "^13.4.0", "@testing-library/user-event": "^13.5.0", diff --git a/web/src/index.tsx b/web/src/index.tsx index e24f317..d9d2b33 100644 --- a/web/src/index.tsx +++ b/web/src/index.tsx @@ -7,10 +7,12 @@ import reportWebVitals from "./reportWebVitals"; const root = ReactDOM.createRoot( document.getElementById("root") as HTMLElement ); + // Use TLS (via dev.localhost.direct) so we get the advantage of HTTP/2 // multiplexing. const client = new RebootClient( - process.env.REACT_APP_REBOOT_ENDPOINT as string + (process.env.REACT_APP_REBOOT_ENDPOINT as string) || + "https://dev.localhost.direct:9991" ); root.render(