If you're migrating from 0.6 to 0.7, please see the 0.7.0 release notes here.
This is a small patch release including a couple of bugfixes, as well as the ability to destructure prop value in components with a new #[prop(name = ...)]
syntax (see #3382)
#[prop(name = "data")] UserInfo { email, user_id }: UserInfo,
What's Changed
- Enable
console
feature ofweb-sys
forreactive_graph
by @alexisfontaine in #3406 - fix: correctly track updates to keyed fields in keyed iterator (closes #3401) by @gbj in #3403
- fix:
getrandom
needsjs
feature (used whennonce
feature is active) (closes #3409) by @gbj in #3410 - Provide custom state in
file_and_error_handler
by @spencewenski in #3408 - feat: allow to destructure props by @geovie in #3382
- Add missing
#[track_caller]
s by @mscofield0 in #3422 - Fix issues with island hydration when nested in a closure, and with context (closes #3419) by @gbj in #3424
- docs: remove
islands
mention fromleptos_axum
by @chrisp60 in #3423 - fix: correct ownership in redirect route hook (closes #3425) by @gbj in #3428
- fix failure on try_new() methods which should not fail by @kstep in #3436
- Add
Default
to stores by @mscofield0 in #3432 - add
Dispose
forStore
by @mscofield0 in #3429 - Tachy class: impl IntoClass for Cow<'_, str> by @sgued in #3420
- fix:
erase_components
with AttributeInterceptor by @gbj in #3435
New Contributors
Full Changelog: v0.7.2...v0.7.3