From 8c33bb0837d140431a57deebb1a7f76f31f55ceb Mon Sep 17 00:00:00 2001 From: Azriel Hoh Date: Sat, 11 Jan 2025 15:17:11 +1300 Subject: [PATCH 1/6] Update dependency versions. --- Cargo.toml | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index b0171f6..e54a45d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -70,28 +70,28 @@ indexmap = "2.7.0" indoc = "2.0.5" js-sys = "0.3.76" web-sys = "0.3.76" -leptos = { version = "0.7.0" } -leptos_axum = "0.7.0" -leptos_meta = { version = "0.7.0" } -leptos_router = { version = "0.7.0" } -leptos_router_macro = { version = "0.7.0" } -leptos-use = "0.14.0" +leptos = { version = "0.7.3" } +leptos_axum = "0.7.3" +leptos_meta = { version = "0.7.3" } +leptos_router = { version = "0.7.3" } +leptos_router_macro = { version = "0.7.3" } +leptos-use = "0.15.3" log = "0.4" log4rs = { version = "1.3.0", default-features = false } monaco = "0.5.0" -serde = "1.0.216" -tempfile = "3.14.0" -tokio = "1.42.0" +serde = "1.0.217" +tempfile = "3.15.0" +tokio = "1.43.0" tower = "0.5.2" wasm-bindgen = "0.2.99" tailwind-css = "0.13.0" -thiserror = "2.0.7" +thiserror = "2.0.11" tracing = "0.1.41" http = "1.2.0" proc-macro2 = "1.0.92" -quote = "1.0.37" -reqwest = "0.12.9" -syn = "2.0.90" +quote = "1.0.38" +reqwest = "0.12.12" +syn = "2.0.96" serde_yaml = "0.9.34" [workspace.lints.rust] From 903aa9c41197d7889d9e033be0dc459e232f78ea Mon Sep 17 00:00:00 2001 From: Azriel Hoh Date: Sat, 11 Jan 2025 15:42:55 +1300 Subject: [PATCH 2/6] Update `CHANGELOG.md`. --- CHANGELOG.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index b72097e..147b236 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Changelog +## unreleased + +* Update dependency versions. + + ## 0.9.0 (2024-12-15) * ***Breaking:*** Upgrade to `leptos 0.7.0` From 9282a7f74677c23cf872d040b4a126c75f582573 Mon Sep 17 00:00:00 2001 From: Azriel Hoh Date: Sat, 11 Jan 2025 15:43:48 +1300 Subject: [PATCH 3/6] Update crate version to `0.9.1`. --- CHANGELOG.md | 2 +- Cargo.toml | 12 ++++++------ README.md | 6 +++--- playground/Cargo.toml | 2 +- 4 files changed, 11 insertions(+), 11 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 147b236..bac5caa 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # Changelog -## unreleased +## 0.9.1 (2025-01-11) * Update dependency versions. diff --git a/Cargo.toml b/Cargo.toml index e54a45d..aa43d81 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -42,7 +42,7 @@ members = [ ] [workspace.package] -version = "0.9.0" +version = "0.9.1" authors = ["Azriel Hoh "] edition = "2021" homepage = "https://github.com/azriel91/dot_ix" @@ -54,11 +54,11 @@ license = "MIT OR Apache-2.0" [workspace.dependencies] # dot_ix crates -dot_ix = { version = "0.9.0", path = "." } -dot_ix_model = { version = "0.9.0", path = "crate/model" } -dot_ix_rt = { version = "0.9.0", path = "crate/rt" } -dot_ix_static_check_macros = { version = "0.9.0", path = "crate/static_check_macros" } -dot_ix_web_components = { version = "0.9.0", path = "crate/web_components" } +dot_ix = { version = "0.9.1", path = "." } +dot_ix_model = { version = "0.9.1", path = "crate/model" } +dot_ix_rt = { version = "0.9.1", path = "crate/rt" } +dot_ix_static_check_macros = { version = "0.9.1", path = "crate/static_check_macros" } +dot_ix_web_components = { version = "0.9.1", path = "crate/web_components" } # external crates axum = "0.7.9" diff --git a/README.md b/README.md index 32bdaca..ff08cfa 100644 --- a/README.md +++ b/README.md @@ -27,14 +27,14 @@ https://user-images.githubusercontent.com/2993230/253878816-0729970f-651f-45ef-a Add the following to `Cargo.toml` ```toml -dot_ix = "0.9.0" +dot_ix = "0.9.1" # Enables the `FlexDiag` web component. -dot_ix = { version = "0.9.0", features = ["flex_diag"] } +dot_ix = { version = "0.9.1", features = ["flex_diag"] } # Enables server side dot generation. # Requires graphviz `dot` to be installed server side. -dot_ix = { version = "0.9.0", features = ["server_side_graphviz"] } +dot_ix = { version = "0.9.1", features = ["server_side_graphviz"] } ``` diff --git a/playground/Cargo.toml b/playground/Cargo.toml index b36cf53..bbeb7f2 100644 --- a/playground/Cargo.toml +++ b/playground/Cargo.toml @@ -20,7 +20,7 @@ axum = { workspace = true, optional = true } console_error_panic_hook = { workspace = true } console_log = { workspace = true } cfg-if = { workspace = true } -dot_ix = { version = "0.9.0", path = ".." } +dot_ix = { version = "0.9.1", path = ".." } gloo-net = { workspace = true, features = ["http"] } leptos = { workspace = true } leptos_axum = { workspace = true, optional = true } From 147d524142dee1cbc74e58c1d97454260b0a4d9c Mon Sep 17 00:00:00 2001 From: Azriel Hoh Date: Sat, 11 Jan 2025 16:38:54 +1300 Subject: [PATCH 4/6] Increase timeout for building playground on Linux. --- .github/workflows/ci.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0b50acb..760c3c1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -130,7 +130,7 @@ jobs: build_playground_linux: name: Build Playground (Linux) runs-on: ubuntu-latest - timeout-minutes: 20 + timeout-minutes: 25 steps: - uses: actions/checkout@v4 - name: 'Install Rust' @@ -153,10 +153,12 @@ jobs: - name: 'Build playground' working-directory: ./playground run: cargo leptos build -v + timeout-minutes: 20 - name: 'Build playground (server side graphviz)' working-directory: ./playground run: cargo leptos build --features "server_side_graphviz" -v + timeout-minutes: 20 build_and_test_windows: name: Build and Test (Windows) From ef62023013d9925acc0820f6e556eba7fc2b1a80 Mon Sep 17 00:00:00 2001 From: Azriel Hoh Date: Sat, 11 Jan 2025 19:09:49 +1300 Subject: [PATCH 5/6] Add note about github actions CI runner being CPU bound. See . --- .github/workflows/ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 760c3c1..a2068f5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -153,6 +153,8 @@ jobs: - name: 'Build playground' working-directory: ./playground run: cargo leptos build -v + # Doesn't really help, seems this job fails because the CI runner is CPU bound. + # See timeout-minutes: 20 - name: 'Build playground (server side graphviz)' From b8fe3b89e10c3dd91b49a1e1e151f0876f6ddf22 Mon Sep 17 00:00:00 2001 From: Azriel Hoh Date: Sun, 12 Jan 2025 13:34:31 +1300 Subject: [PATCH 6/6] Use `ubuntu-22.04` for `playground` job. --- .github/workflows/ci.yml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a2068f5..3fadddc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -129,7 +129,13 @@ jobs: build_playground_linux: name: Build Playground (Linux) - runs-on: ubuntu-latest + # On `ubuntu-latest`, this job fails because the CI runner is CPU bound + # when `monaco` is built. + # + # Trying 22.04 to see if it alleviates the problem. + # + # See + runs-on: ubuntu-22.04 timeout-minutes: 25 steps: - uses: actions/checkout@v4 @@ -153,14 +159,10 @@ jobs: - name: 'Build playground' working-directory: ./playground run: cargo leptos build -v - # Doesn't really help, seems this job fails because the CI runner is CPU bound. - # See - timeout-minutes: 20 - name: 'Build playground (server side graphviz)' working-directory: ./playground run: cargo leptos build --features "server_side_graphviz" -v - timeout-minutes: 20 build_and_test_windows: name: Build and Test (Windows)