chore(deps): update leptos monorepo to v0.8.0-rc1 #94
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-beta->0.8.0-rc10.8.0-beta->0.8.0-rc10.8.0-beta->0.8.0-rc10.8.0-beta->0.8.0-rc10.8.0-beta->0.8.0-rc1Release Notes
leptos-rs/leptos (leptos)
v0.8.0-rc1: 0.8.0-rc1Compare Source
Release notes copied from
0.8.0-alpha/beta. Changelog relative to0.8.0-beta.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.
If we don't hear any feedback about issues with this
rc1release, we will plan to release it as0.8.0in the next week or so.Noteworthy features:
--cfg=erase_components, which is useful as a dev-mode optimization (thanks to @zakstucke) This is the default setting for debug mode in future releases ofcargo-leptos, 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)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
Action::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/3767New Contributors
Full Changelog: leptos-rs/leptos@0.8.0-beta...v0.8.0-rc1
Configuration
📅 Schedule: Branch creation - "* 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.