Repository navigation
web: upgrade leptos to 0.8.22 - #63
Merged
Merged
Conversation
leptos_macro 0.8.19 pins server_fn_macro =0.8.12, which moved its public API from syn 2 to syn 3. server_fn_macro_default 0.8.5 still passes a syn 2 Path into it, so a lockfile that only bumps leptos (as Dependabot did in #58) fails with E0277 "syn::path::Path: ParseQuote not satisfied". server_fn_macro_default 0.8.6 is the matching syn 3 release; update it together with leptos. No source changes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015fBx2aMpT16FzYexwtPHDx
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Requested by 4c · project thread
Summary
Before: the web UI was on leptos 0.8.21. Dependabot's bump to 0.8.22 (#58) failed wasm32 clippy and trunk build with E0277
syn::path::Path: syn::parse_quote::ParseQuote is not satisfiedinsideserver_fn_macro_default.After: the web UI builds on leptos 0.8.22 with no source changes.
Root cause: leptos_macro 0.8.19 (pulled by leptos 0.8.22) pins
server_fn_macro = "=0.8.12", and server_fn_macro 0.8.12 moved its public API from syn 2 to syn 3 in a patch release.server_fndepends onserver_fn_macro_default ^0.8.5; the 0.8.5 version still builds a syn 2Pathand hands it to the now-syn-3server_macro_impl, so the two syn majors collide. Upstream publishedserver_fn_macro_default0.8.6 (syn 3) for exactly this, butcargo update -p leptosdoes not touch it because 0.8.5 still satisfies^0.8.5.How
cargo update -p leptos --precise 0.8.22pluscargo update -p server_fn_macro_default(0.8.5 → 0.8.6) incrates/rkvm-web/Cargo.lock, and raise the leptos requirement incrates/rkvm-web/Cargo.tomlto0.8.22. The rest of the lock diff is leptos's own transitive set (rstml 0.13, manyhow 0.14, attribute-derive 0.11, etc.), all proc-macro crates. No runtime code or logic changes; nothing in the generated wasm path changes beyond what leptos itself ships.Testing
cargo clippy --locked --all-targets --target wasm32-unknown-unknown -- -D warningsincrates/rkvm-webpasses locally; trunk build checked by CIChecklist
#[allow(...)]suppressions and no newunwrap()/expect()in production pathsrkvm-proto(not touched)🤖 Generated with Claude Code
https://claude.ai/code/session_015fBx2aMpT16FzYexwtPHDx
Generated by Claude Code