chore(deps): update rust crate dioxus to v0.7.0-rc.3 #197
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.
This PR contains the following updates:
0.7.0-rc.0->0.7.0-rc.3Release Notes
DioxusLabs/dioxus (dioxus)
v0.7.0-rc.3: Dioxus 0.7.0-rc.3Compare Source
This release is hopefully the final pre-release before the full 0.7 release!
In this release we:
/public/dir, allowing assets without the manganis asset systemcomponentscommand for a shadcn-like components experienceThat's about it - hoping to see 0.7 either late this week or early next week!
What's Changed
default-membersby @Jasper-Bekkers in #4811publicdir by @tekacs in #4783New Contributors
Full Changelog: DioxusLabs/dioxus@v0.7.0-rc.2...v0.7.0-rc.3
v0.7.0-rc.2: 0.7.0-rc.2Compare Source
This pre-release ships a number of bug fixes for Dioxus 0.7 as well as a handful of new features.
#[middleware]attributeuse_loadernow serializes its contents for hydrationdrag_and_dropAPI for web and related xampleWhat's Changed
windowPart 2 by @mohe2015 in #4757Transport, set/capture error status by @jkelleyrtp in #4751queue_eventsinstead ofprocess_eventsto fix ssr issue by @jkelleyrtp in #4772windowby @mohe2015 in #4775New Contributors
Full Changelog: DioxusLabs/dioxus@v0.7.0-rc.1...v0.7.0-rc.2
v0.7.0-rc.1Compare Source
Today, we’re releasing Dioxus
0.7.0-rc.1- the second pre-release of Dioxus 0.7.This release unfortunately took much longer to ship than we expected. While fixing bugs related to dioxus fullstack, we stumbled across a handful of critical issues in our integration with the
server_fncrate. Coupled with changes in the dioxus CLI, these issues prevented a large swath of user projects from compiling.As such, we re-implemented the server function crate, but this time exclusively tailored for Dioxus and Axum. This rewrite was originally planned as a major feature of Dioxus 0.8, but given the severity of the issues, we decided to pull it forward to 0.7. The rewrite unlocks tons of new functionality including things like SSE, flexible error types, custom axum routers, simple websockets, and a rocket-like endpoint definition system.
Here's a quick sneak peek:
Rust-Conf keynote
I gave a keynote talk at Rust Conf! Check it out! It covers the various projects we've been working on to push Rust forward, including subsecond hot-patching, progress on autoclones in Rust, and more.
Changes to Fullstack
We completely overhauled dioxus-fullstack, fixing a huge number of long-standing bugs and adding tons of new functionality.
These include:
#[get("/api/route")],#[post("/api/:path?query¶m")])FromRequestandIntoResponsebodiesFromRequestextractorsHttpErrortype and accompanying trait for returning proper Axum responsesanyhow::Errortype as a return type from server functionsWebsockettype and reactiveuse_websockethook for handling websocket connectionsStreaming<T, E>type without needing to specify an encoding attributeaxum::extract::Requesttype in server functionsdioxus::serveLazy<T>type for lazy async initializersAs mentioned earlier, the fullstack overhaul was originally planned for Dioxus 0.8, but we decided to pull it forward into 0.7, causing a substantial delay.
To get a feel for the new APIs, take a look at the fullstack examples folder. We will be updating fullstack docs this week to prep for the full 0.7 release soon.
Breaking changes to Events: FormData and FileData
Our Form and File APIs have been clumsy for quite a while. In order to support ergonomics improvements with server functions, we revisited our
FormDataandFileDataAPIs to make them more consistent with the web platform.We replaced the old
FilesEngineabstraction with a newFileDatatype with an API that matches the browser.In addition, we changed how to read the field names and values from forms. Previously,
.values()return a HashMap of form values, but now,.values()returns a Vec of form values - again, to better match web APIs.Breaking changes to
dioxus::coreAPIsA number of APIs were moved from
ScopeIdto theRuntimeindioxus_core. This shouldn't impact most users, but anyone building a renderer around Dioxus will notice that some methods no longer exist.These were changed to reduce our API surface area outside of core types like
Runtimeand to make it easier to understand where runtime-related errors were occurring.Updates to Blitz
Blitz saw massive improvements over the past few weeks, notably with the addition of incremental tree construction which makes Blitz substantially faster. Now, Blitz performance is on-par with the Rust GUI ecosystem.
What's Changed
windowby @mohe2015 in #4697dx fmtfails on eval of JS that contains empty line. by @nilswloewen in #4506ScopeIdmethods to the runtime by @jkelleyrtp in #4723New Contributors
Full Changelog: DioxusLabs/dioxus@v0.7.0-rc.0...v0.7.0-rc.1
Configuration
📅 Schedule: Branch creation - Between 12:00 AM and 03:59 AM, only on Monday ( * 0-3 * * 1 ) (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.