chore(deps): update leptos monorepo to v0.8.0 #105
Merged
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.8.0-rc3->0.8.00.8.0-rc3->0.8.00.8.0-rc3->0.8.00.8.0-rc3->0.8.00.8.0-rc3->0.8.0Release Notes
leptos-rs/leptos (leptos)
v0.8.0Compare Source
*Changelog relative to
0.7.8. *0.8 has been planned for a while, primarily to accommodate small changes that arose during the course of testing and adopting 0.7, most of which are technically semver-breaking but should not meaningfully affect user code. I think it's a significant QOL and user DX upgrade and I'm excited to properly release it.
Noteworthy features:
--cfg=erase_components, which is useful as a dev-mode optimization (thanks to @zakstucke) This is the default setting forcargo-leptoswith its latest release, and can be set up manually for use with Trunk. (See docs here.)islands-routerfeatures that allow a client-side routing experience while using islands (see theislands_routerexample) (this one was me)FromServerFnErrorrather than being constrained to useServerFnError(see #3274). (Note: This will require changes if you're using a custom error type, but should be a better experience.) (thanks to @ryo33)LocalResourceno longer exposes aSendWrapperin the API for the types it returns. (Breaking change: this will require removing some.as_deref()and so on when usingLocalResource, but ends up with a much better API.)As you can see this was a real team effort and, as always, I'm grateful for the contributions of everyone named above, and all those who made commits below.
WebSocket Example
The WebSocket support is particularly exciting, as it allows you to call server functions using the default Rust
Streamtrait from thefuturescrate, and have those streams send messages over websockets without you needing to know anything about that process. The API landed in a place that feels like a great extension of the "server function" abstraction in which you can make HTTP requests as if they were ordinary async calls. The websocket stuff doesn't integrate directly with Resources/SSR (which make more sense for one-shot things) but is really easy to use:What's Changed
PossibleRouteMatchdyn-safe by @gbj in https://github.com/leptos-rs/leptos/pull/3421axumtov0.8by @sabify in https://github.com/leptos-rs/leptos/pull/3439IntoFutureforSuspend::new()(closes #3509) by @gbj in https://github.com/leptos-rs/leptos/pull/3532Defaultimpl forLeptosOptionsandConfFileby @chrisp60 in https://github.com/leptos-rs/leptos/pull/3522AddAnyAttrlogic contained by @gbj in https://github.com/leptos-rs/leptos/pull/3562Option<_>instyle:(closes #3568) by @gbj in https://github.com/leptos-rs/leptos/pull/3618Resultalias by @gbj in https://github.com/leptos-rs/leptos/pull/3543IntoSplitSignalfor(Signal<T>, SignalSetter<T>)(closes #3634) by @gbj in https://github.com/leptos-rs/leptos/pull/3643HashedStylesheet(closes #3633) by @gbj in https://github.com/leptos-rs/leptos/pull/3654IntoClassfor store fields by @mahdi739 in https://github.com/leptos-rs/leptos/pull/3670TextPropare kept reactive (closes: #3689) by @mahdi739 in https://github.com/leptos-rs/leptos/pull/3690Action::new_unsync(closes #3328) by @gbj in https://github.com/leptos-rs/leptos/pull/3705AsRefbound ofStoreFieldIteratorblanket impl withLenbound by @DanikVitek in https://github.com/leptos-rs/leptos/pull/3701shellparameter infile_and_error_handler*generic by @tversteeg in https://github.com/leptos-rs/leptos/pull/3711Action::new_local()(closes #3746) by @gbj in https://github.com/leptos-rs/leptos/pull/3749extract()helper to useServerFnErrorErr(closes #3745) by @ilyvion in https://github.com/leptos-rs/leptos/pull/3750Effect::watch): refer todependency_fnandhandlerargs by @jmevel in https://github.com/leptos-rs/leptos/pull/3731rust-toolchain.toml(closes #3717) by @gbj in https://github.com/leptos-rs/leptos/pull/3752SignalSetterto prelude (closes #3547) by @gbj in https://github.com/leptos-rs/leptos/pull/3753IntoFragmentfor single element (closes #3757) by @gbj in https://github.com/leptos-rs/leptos/pull/3759Action::new_localand similar primitives by @gbj in https://github.com/leptos-rs/leptos/pull/3762MaybeSendWrapperOption<_>by @gbj in https://github.com/leptos-rs/leptos/pull/3781ParentRouteby @gbj in https://github.com/leptos-rs/leptos/pull/3784class=for all tuples, not only static ones (closes #3794) by @gbj in https://github.com/leptos-rs/leptos/pull/3801<Title/>by @gbj in https://github.com/leptos-rs/leptos/pull/3793SendOptionfrom public API of actions by @gbj in https://github.com/leptos-rs/leptos/pull/3812Resultreturn types forserver_fnby @ifiokjr in https://github.com/leptos-rs/leptos/pull/3755Selector::selectedby @flisky in https://github.com/leptos-rs/leptos/pull/3694cargo all-features clippy|nextestpart of build process by @sabify in https://github.com/leptos-rs/leptos/pull/3767additional_contextafter providing other server context in all cases by @gbj in https://github.com/leptos-rs/leptos/pull/3841ByteStreamerror handling by @sabify in https://github.com/leptos-rs/leptos/pull/3869TextPropin the prelude (closes #3877) by @huuff in https://github.com/leptos-rs/leptos/pull/3879Stylesheetdocs by @gbj in https://github.com/leptos-rs/leptos/pull/3898children(closes #3904) by @gbj in https://github.com/leptos-rs/leptos/pull/3905impl From<MappedSignal<T>> for Signal<T>(closes #3889) by @gbj in https://github.com/leptos-rs/leptos/pull/3897New Contributors
Full Changelog: leptos-rs/leptos@v0.7.8...v0.8.0
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 these updates again.
This PR was generated by Mend Renovate. View the repository job log.