Upgrade dioxus to 0.7.6 and switch to dioxus-logger#329
Merged
esimkowitz merged 2 commits intomainfrom Apr 27, 2026
Merged
Conversation
Bumps the dioxus pin to 0.7.6 (matching ecosystem crates already at that version) and replaces the unmaintained wasm-logger plus the custom SimpleLogger with dioxus-logger. The tracing-log bridge keeps existing log::* call sites working unchanged. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
7a19637 to
cc28ea0
Compare
All remaining log::* calls now go directly to tracing::*, so the tracing-log LogTracer in main.rs and the log crate itself are no longer needed. dioxus-logger's tracing subscriber receives events directly. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
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.
Summary
dioxusfrom 0.7.5 to 0.7.6 (the rest of the ecosystem crates were already resolved at 0.7.6 transitively)wasm-loggercrate and the customSimpleLoggerwithdioxus-logger(enabled via theloggerfeature ondioxus)log::calls totracing::callsTest plan
cargo check --features desktopcargo check --features web --target wasm32-unknown-unknown --no-default-featurescargo clippy --all-targets -- -D clippy::style -D clippy::complexity -D clippy::perfnpm run format:checknpm run serve:desktopand confirm log output appearsnpm run serve:weband confirm browser console logs appear🤖 Generated with Claude Code
Note
Medium Risk
Moderate risk due to swapping the logging backend across both desktop and wasm builds and bumping
dioxus, which could change runtime initialization and log output behavior.Overview
Upgrades
dioxusfrom0.7.5to0.7.6and enables itsloggerfeature.Removes the custom
src/loggerimplementation and thewasm-loggerdependency, initializing logging viadioxus::logger::initinmainand switching callsites fromlog::*macros totracing::*.Updates Cargo features so
webno longer pulls inwasm-logger, and refreshesCargo.lockaccordingly.Reviewed by Cursor Bugbot for commit 00c0af6. Bugbot is set up for automated code reviews on this repo. Configure here.