v0.7.4

leptos-rs/leptosv0.7.4Jan 16, 2025by gbj

AI Summary

A small patch release addressing hydration issues on nightly, store notification handling, and adding `refetch` method to resources.

Key Highlights

  • Fixed hydration position for static text nodes on nightly
  • Added `LocalResource::refetch` method
  • Fixed multiple overlapping notifications for `AsyncDerived`
  • Added `AddAnyAttr` trait for `Static<V>`

New Features

  • `LocalResource::refetch()` method
  • `AddAnyAttr` trait for `Static<V>`

Full Release Notes

**If you're migrating from 0.6 to 0.7, please see the 0.7.0 release notes [here](https://github.com/leptos-rs/leptos/releases/tag/v0.7.0).**

This is a small patch release including a couple of bugfixes,

## What's Changed
* Rkyv feature should propagate properly by @thestarmaker in https://github.com/leptos-rs/leptos/pull/3448
* fix: allow multiple overlapping notifications of AsyncDerived/LocalResource (closes #3454) by @gbj in https://github.com/leptos-rs/leptos/pull/3455
* Derive clone for RouteChildren by @Innominus in https://github.com/leptos-rs/leptos/pull/3462
* fix: do not overwrite SuspenseContext in adjacent Transition components (closes #3465) by @gbj in https://github.com/leptos-rs/leptos/pull/3471
* Implement AddAnyAttr trait for Static<V> by @geoffreygarrett in https://github.com/leptos-rs/leptos/pull/3464
* feat: add [Arc]LocalResource::refetch method by @linw1995 in https://github.com/leptos-rs/leptos/pull/3394
* chore: fix tracing warning mess by @gbj in https://github.com/leptos-rs/leptos/pull/3473
* Fix: values being moved with the debug_warn! macro when compiling with not(debug_assertions) by @WorldSEnder in https://github.com/leptos-rs/leptos/pull/3446
* docs: warn about callbacks outside the ownership tree by @tversteeg in https://github.com/leptos-rs/leptos/pull/3442
* fix: do not use stale values in AsyncDerived if it is mutated before running by @gbj in https://github.com/leptos-rs/leptos/pull/3475
* fix: include missing nonces on streaming script tags and on `leptos_meta` components (closes #3482) by @gbj in https://github.com/leptos-rs/leptos/pull/3485

## New Contributors
* @geoffreygarrett made their first contribution in https://github.com/leptos-rs/leptos/pull/3464
* @linw1995 made their first contribution in https://github.com/leptos-rs/leptos/pull/3394
* @WorldSEnder made their first contribution in https://github.com/leptos-rs/leptos/pull/3446

**Full Changelog**: https://github.com/leptos-rs/leptos/compare/v0.7.3...v0.7.4