-
Notifications
You must be signed in to change notification settings - Fork 0
Update Rust crate leptos_router to v0.8.11 #78
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
renovate
wants to merge
1
commit into
main
Choose a base branch
from
renovate/leptos_router-0.x
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
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
5d25532 to
a42fced
Compare
a42fced to
853c641
Compare
853c641 to
016ec4c
Compare
Contributor
Author
⚠ Artifact update problemRenovate failed to update artifacts related to this branch. You probably do not want to merge this PR as-is. ♻ Renovate will retry this branch, including artifacts, only when one of the following happens:
The artifact failure details are included below: File name: sources/web-gen/Cargo.lockFile name: sources/web-gen-api/Cargo.lock |
016ec4c to
0c234e1
Compare
0c234e1 to
2841431
Compare
2841431 to
f7839b0
Compare
f7839b0 to
a445d4c
Compare
a445d4c to
23df6e3
Compare
23df6e3 to
215c203
Compare
215c203 to
087fc5d
Compare
087fc5d to
f88aaaf
Compare
f88aaaf to
cce3714
Compare
cce3714 to
32b82aa
Compare
a3d3302 to
3561da0
Compare
3561da0 to
ec5c2d9
Compare
ec5c2d9 to
861d357
Compare
861d357 to
ba12f27
Compare
ba12f27 to
b7cd277
Compare
b7cd277 to
9268bce
Compare
9268bce to
ebe2375
Compare
ebe2375 to
5492804
Compare
5492804 to
f98a3c0
Compare
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.
This PR contains the following updates:
0.4.5→0.8.00.4→0.8Release Notes
leptos-rs/leptos (leptos_router)
v0.8.11Compare Source
What's Changed
MaybePropReadUntrackedimplementation. by @Buzzec in #4360scrollendevent to view macro by @adoyle0 in #4379NodeRefby implementingIsDisposedby @gbj in #4367debug_loganddebug_errorin logging module by @mahdi739 in #4335effect::immediate::batchby @QuartzLibrary in #4344server_fnfeature propagation by @arpadav in #4375AtIndex(closes #4385) by @gbj in #4389dry_resolve()call onSuspend(closes #4402) by @gbj in #4404bitcodeencoding/decoding to server fn IO by @arpadav in #4376New Contributors
Full Changelog: leptos-rs/leptos@v0.8.10...v0.8.11
v0.8.10Compare Source
What's Changed
subsecondand an example by @gbj in #4307__wasm_split.*.jsfile (closes #4322) by @gbj in #4327New Contributors
Full Changelog: leptos-rs/leptos@v0.8.9...v0.8.10
v0.8.9Compare Source
This includes patch releases to the
reactive_graph,tachys,wasm_split_macros,server_fn,leptos, androutercrates.What's Changed
Vec<AnyAttribute>(closes #4268) by @gbj in #4270referrerpolicyattribute toaelement by @adoyle0 in #4299Full Changelog: leptos-rs/leptos@v0.8.8...v0.8.9
v0.8.8What's Changed
commandandcommandforattributes for button by @mskorkowski in #4194Patchfor a struct with generic arguments by @mskorkowski in #4175task::spawnmaintains reactive ownership (closes #4203) by @gbj in #4206Vec<_>to optimize large subscriber sets (see #4138) by @gbj in #4201hydrate_asyncthroughOwnedViewproperly (closes #4219) by @gbj in #4220non_snake_caseanddead_codelints to run within component functions by @yescallop in #3198<ShowLet>component similar to<Show>but forOptionby @maccesch in #4227valueproperty to support quirky<select>behavior by @gbj in #4235<Show>accept signals in addition to closures by @maccesch in #4236leptos_serverby @gbj in #4250New Contributors
Full Changelog: leptos-rs/leptos@v0.8.6...v0.8.8
v0.8.6Compare Source
Just a patch release, mostly to support
#[server] #[lazy]for lazy server functions.Going forward, patch releases for various crates will have version numbers that are not coupled to one another, and will only be bumped when they've actually changed; so this release is 0.8.6 for
leptos,leptos_macro, andserver_fn_macro, but does not arbitrarily bump other packages that haven't changed.See 0.8.5 for notes on WASM splitting.
What's Changed
Full Changelog: leptos-rs/leptos@v0.8.5...v0.8.6
v0.8.5: : WASM code splitting released!Compare Source
This release includes WASM code-splitting/lazy-loading support, in tandem with the latest
cargo-leptosrelease.You can use the
lazy_routesexample to understand what this means!Essentially, though, there are two patterns:
#[lazy]macro to make any given function lazy#[lazy_route]to designate a route with a lazy-loaded view, which is loaded concurrently with the route's data#[lazy]converts a (sync or async) function into a lazy-loaded async function#[lazy_route]lets you split routes into a "data" half and a "view" half, which will be concurrently loaded by the router. This works with nested routing: so if you have ViewD and ViewE, then the router will concurrently load D's data, D's (lazy) view, E's data, and E's (lazy) view, before navigating to the page.Our whole July stream was dedicated to the topic, if you want more in depth discussion.
What's Changed
Full Changelog: leptos-rs/leptos@v0.8.4...v0.8.5
v0.8.4Compare Source
There are some small bugfixes in here, as well as improvements to the hot-reloading code. This is mostly intended to be a sort of "last patch" before merging the code-splitting changes in #3988, so that there is a patch people can pin to in case those inadvertently introduce any regressions.
What's Changed
debug_log!,debug_error!,console_debug_logandconsole_debug_errorby @mahdi739 in #4160New Contributors
Full Changelog: leptos-rs/leptos@v0.8.3...v0.8.4
v0.8.3Compare Source
This is a minor patch release. It does include a significant re-write of how ownership/context work with nested routes (#4091). This should close a number of bugs. However, it's always possible that changes like this introduce regressions. Please test to see whether you have any issues with context and nested routing, and let me know. (We have a new
regressionexample set up to add e2e regression tests for issues going forward.)What's Changed
SsrMode::PartiallyBlocked(closes #3963) by @marcuswhybrow in #3964Vec<_>before it is mounted (closes #3962) by @gbj in #3966Resource::write()and similar functions (see #3959) by @gbj in #3984#[component]macro by @mondeja in #3989Arc::ptr_eqfor string comparison (closes #3983) by @gbj in #3994#[prop(default = ...)]and#[prop(name = ...)]by @mondeja in #4003<select>value by ensuring HTML children are mounted before setting attributes (closes #4005) by @gbj in #4008session_auth_axumexample by @gbj in #4033#[middleware]macros (closes #4029) by @gbj in #4048<For/>that is not currently mounted (closes #3385) by @gbj in #4050asyncblock of aResource(closes #4060) by @gbj in #4061viewmacro. by @metatoaster in #4071reactive_storesby @elias098 in #4056LocalResourceto anAsyncDerived(closes #4063) by @gbj in #4077()attributes intemplate(closes #4079) by @gbj in #4080IntoFragmentforAnyViewby @gbj in #4087classand other attributes to<A/>component by @gbj in #4086svg::InertElementfordomcache. by @bicarlsen in #4100svg::InertElementtemplates in SVG namespace. by @bicarlsen in #4104takefor BrowserFormData by @veigaribo in #4102join_contextsAPI by @gbj in #4113New Contributors
Full Changelog: leptos-rs/leptos@v0.8.2...v0.8.3
v0.8.2Compare Source
For 0.8 release notes in general, see
0.8.0. This patch release mostly addresses a bad issue with hydrating<Stylesheet/>and other meta components. (See #3945 #3946)What's Changed
Full Changelog: leptos-rs/leptos@v0.8.1...v0.8.2
v0.8.1Compare Source
For 0.8 release notes in general, see
0.8.0. This patch release is mostly just a bunch of bugfixes for issues raised or fixed since then.What's Changed
StaticVec::rebuild()by aligning implementation withVec::rebuild()(closes #3906) by @gbj in #3920counter_isomorphicrelease build with the leptos_debuginfo by @sabify in #3918RenderEffectare dropped while dropped aRenderEffect(closes #3922) by @gbj in #3926Eitherto determine how to render islands (see #3896; closes #3929) by @gbj in #3938.map()and.and_then()onLocalResourceby @gbj in #3941islands_routerimprovements by @gbj in #3942New Contributors
Full Changelog: leptos-rs/leptos@v0.8.0...v0.8.1
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 #3421axumtov0.8by @sabify in #3439IntoFutureforSuspend::new()(closes #3509) by @gbj in #3532Defaultimpl forLeptosOptionsandConfFileby @chrisp60 in #3522AddAnyAttrlogic contained by @gbj in #3562Option<_>instyle:(closes #3568) by @gbj in #3618Resultalias by @gbj in #3543IntoSplitSignalfor(Signal<T>, SignalSetter<T>)(closes #3634) by @gbj in #3643HashedStylesheet(closes #3633) by @gbj in #3654Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), 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.