build(deps): bump leptos from 0.7.8 to 0.8.19#28
Conversation
Bumps [leptos](https://github.com/leptos-rs/leptos) from 0.7.8 to 0.8.19. - [Release notes](https://github.com/leptos-rs/leptos/releases) - [Commits](https://github.com/leptos-rs/leptos/commits) --- updated-dependencies: - dependency-name: leptos dependency-version: 0.8.19 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
📝 WalkthroughWalkthroughThis pull request updates the Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Possibly related PRs
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@Cargo.toml`:
- Around line 13-16: The manifest pins leptos to 0.8 but leaves companion crates
leptos_meta, leptos_router, and leptos_axum at 0.7, causing a version mismatch;
update the dependency entries for leptos_meta, leptos_router, and leptos_axum in
Cargo.toml to compatible 0.8.x versions (matching leptos 0.8.x), keeping
leptos_axum optional flag intact to ensure all leptos companion crates are
aligned with the leptos = "0.8" dependency.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro Plus
Run ID: fa49ea57-0cf0-48e0-93b6-43ac684b977a
⛔ Files ignored due to path filters (1)
Cargo.lockis excluded by!**/*.lock,!**/*.lock
📒 Files selected for processing (1)
Cargo.toml
| leptos = { version = "0.8" } | ||
| leptos_meta = { version = "0.7" } | ||
| leptos_router = { version = "0.7" } | ||
| leptos_axum = { version = "0.7", optional = true } |
There was a problem hiding this comment.
🧩 Analysis chain
🏁 Script executed:
#!/bin/bash
set -euo pipefail
echo "== Leptos-family versions in Cargo.toml files =="
fd -H '^Cargo\.toml$' -t f | while read -r f; do
echo "--- $f"
rg -n '^\s*leptos(_meta|_router|_axum)?\s*=\s*\{[^}]*version\s*=\s*"[^"]+"' "$f" || true
done
LOCKFILE="$(fd -H '^Cargo\.lock$' -t f | head -n1 || true)"
if [ -n "${LOCKFILE:-}" ]; then
echo
echo "== Leptos-family entries in Cargo.lock ($LOCKFILE) =="
rg -n '^(name|version) = "(leptos|leptos_meta|leptos_router|leptos_axum|[0-9]+\.[0-9]+\.[0-9]+)"' "$LOCKFILE" -n -A1 -B0 || true
fiRepository: Sentriscloud/sentrix-explorer-v2
Length of output: 30620
🏁 Script executed:
#!/bin/bash
# Check crates.io for available versions of leptos companion crates
# and verify if 0.8.x versions exist
for crate in leptos_meta leptos_router leptos_axum; do
echo "=== Checking $crate ==="
# Attempt to fetch crate info from crates.io API
curl -s "https://crates.io/api/v1/crates/$crate" | jq -r '.versions[] | select(.num | startswith("0.8.")) | .num' 2>/dev/null | head -5 || echo "Could not fetch version info"
doneRepository: Sentriscloud/sentrix-explorer-v2
Length of output: 259
🌐 Web query:
leptos 0.8 leptos_meta leptos_router leptos_axum compatibility crates.io
💡 Result:
leptos_axum 0.8.x (latest 0.8.9 as of 2026-04-16) is fully compatible with Leptos 0.8.x (latest 0.8.19), leptos_meta 0.8.x (latest 0.8.6), and leptos_router 0.8.x (latest 0.8.12 or 0.8.13). This is evidenced by the Cargo dependencies in leptos_axum versions like 0.8.7 and 0.8.9, which specify ^0.8 versions for leptos (^0.8.13, ^0.8.19), leptos_meta (^0.8.5, ^0.8.6), and leptos_router (^0.8.10, ^0.8.12).[1][2][3][4] All crates follow semantic versioning within the 0.8 major version, ensuring compatibility across minor/patch releases. Official docs confirm integration via traits like LeptosRoutes for Axum routers with leptos_router-generated paths.[5][6][7] Use the latest versions from crates.io for your project; no known compatibility issues in 0.8 series.[8][9][10]
Citations:
- 1: https://crates.io/crates/leptos_axum/0.8.7
- 2: https://crates.io/crates/leptos_axum
- 3: https://docs.rs/crate/leptos_meta/latest
- 4: https://docs.rs/crate/leptos_router/latest
- 5: https://docs.rs/crate/leptos_axum/latest
- 6: https://docs.rs/leptos_axum/latest/leptos_axum/
- 7: https://docs.rs/leptos_axum/latest/leptos_axum/trait.LeptosRoutes.html
- 8: chore: upgrade
axumtov0.8leptos-rs/leptos#3439 - 9: https://github.com/leptos-rs/leptos
- 10: https://crates.io/crates/leptos
Upgrade leptos companion crates to 0.8.x
leptos is now 0.8.19, but leptos_meta, leptos_router, and leptos_axum remain pinned to 0.7. Compatible 0.8.x versions are available for all three crates and are required for proper integration with leptos 0.8.
Suggested manifest alignment
[dependencies]
# Leptos core
leptos = { version = "0.8" }
-leptos_meta = { version = "0.7" }
-leptos_router = { version = "0.7" }
-leptos_axum = { version = "0.7", optional = true }
+leptos_meta = { version = "0.8" }
+leptos_router = { version = "0.8" }
+leptos_axum = { version = "0.8", optional = true }📝 Committable suggestion
‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.
| leptos = { version = "0.8" } | |
| leptos_meta = { version = "0.7" } | |
| leptos_router = { version = "0.7" } | |
| leptos_axum = { version = "0.7", optional = true } | |
| leptos = { version = "0.8" } | |
| leptos_meta = { version = "0.8" } | |
| leptos_router = { version = "0.8" } | |
| leptos_axum = { version = "0.8", optional = true } |
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
In `@Cargo.toml` around lines 13 - 16, The manifest pins leptos to 0.8 but leaves
companion crates leptos_meta, leptos_router, and leptos_axum at 0.7, causing a
version mismatch; update the dependency entries for leptos_meta, leptos_router,
and leptos_axum in Cargo.toml to compatible 0.8.x versions (matching leptos
0.8.x), keeping leptos_axum optional flag intact to ensure all leptos companion
crates are aligned with the leptos = "0.8" dependency.
|
Looks like leptos is up-to-date now, so this is no longer needed. |
Bumps leptos from 0.7.8 to 0.8.19.
Release notes
Sourced from leptos's releases.
... (truncated)
Commits
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)Summary by CodeRabbit