v0.7.1

leptos-rs/leptosv0.7.1Dec 17, 2024by gbj

AI Summary

A small patch release following the 0.7.0 rewrite, focusing on bug fixes, dependency updates, and filling in API gaps identified since the major release.

Key Highlights

  • Added `scroll` prop to the `<A/>` component to control scrolling behavior.
  • Added support for `!Send` Actix APIs in server functions.
  • Fixed nested keyed fields in stores to prevent memory leaks.
  • Improved hydration behavior for static text nodes in nightly mode.
  • Added `AttributeInterceptor` component to pass attributes to other elements.

New Features

  • scroll prop for `<A/>` component
  • support for `!Send` Actix APIs in server functions
  • AttributeInterceptor component
  • nested keyed fields in stores support

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 just a small patch release, two weeks after the 0.7.0 release, geared toward fixing in bugs and filling in API holes since then.

## What's Changed
* fix: prevent multiple location headers on redirect (#3298) by @veigaribo in https://github.com/leptos-rs/leptos/pull/3311
* Remove the Send requirement on a local Action's future (fixes #3309) by @rjmac in https://github.com/leptos-rs/leptos/pull/3310
* fix: wait for blocking resources before sending subsequent chunks (closes #3280) by @gbj in https://github.com/leptos-rs/leptos/pull/3282
* chore: fix typo by @mahdi739 in https://github.com/leptos-rs/leptos/pull/3320
* chore(deps): bump postcard from 1.0.10 to 1.1.1 by @dependabot in https://github.com/leptos-rs/leptos/pull/3319
* chore(deps): bump wasm-bindgen-futures from 0.4.45 to 0.4.47 by @dependabot in https://github.com/leptos-rs/leptos/pull/3318
* chore(deps): bump js-sys from 0.3.72 to 0.3.74 by @dependabot in https://github.com/leptos-rs/leptos/pull/3306
* chore(deps): bump bytes from 1.8.0 to 1.9.0 by @dependabot in https://github.com/leptos-rs/leptos/pull/3297
* chore(deps): bump url from 2.5.3 to 2.5.4 by @dependabot in https://github.com/leptos-rs/leptos/pull/3291
* chore(deps): bump tracing from 0.1.40 to 0.1.41 by @dependabot in https://github.com/leptos-rs/leptos/pull/3294
* chore(deps): bump wasm-bindgen from 0.2.95 to 0.2.97 by @dependabot in https://github.com/leptos-rs/leptos/pull/3317
* chore(deps): bump rkyv from 0.8.8 to 0.8.9 by @dependabot in https://github.com/leptos-rs/leptos/pull/3290
* chore(deps): bump hyper from 1.5.0 to 1.5.1 by @dependabot in https://github.com/leptos-rs/leptos/pull/3265
* chore(deps): bump rustls from 0.23.16 to 0.23.18 in the cargo group across 1 directory by @dependabot in https://github.com/leptos-rs/leptos/pull/3289
* fix: correctly swap `Vec<_>` in the DOM (closes #3321) by @gbj in https://github.com/leptos-rs/leptos/pull/3324
* fix: correctly support `!Send` Actix APIs in server functions by @gbj in https://github.com/leptos-rs/leptos/pull/3326
* fix: correctly mount/unmount hydrated static text nodes in nightly mode (closes #3334) by @gbj in https://github.com/leptos-rs/leptos/pull/3336
* feat: add `scroll` prop to `<A/>` component to control scrolling behavior (closes #2666) by @gbj in https://github.com/leptos-rs/leptos/pull/3333
* Increase number of branch arms for `either!` macro by @bicarlsen in https://github.com/leptos-rs/leptos/pull/3337
* Fix a doc typo and one broken intra-doc link by @FreezyLemon in https://github.com/leptos-rs/leptos/pull/3341
* fix: nested keyed fields in stores (closes #3338) by @gbj in https://github.com/leptos-rs/leptos/pull/3344
* fix: don't try to hydrate inside `<noscript>` (closes #3360) by @gbj in https://github.com/leptos-rs/leptos/pull/3363
* feat : implemented actix multipart by @sutantodadang in https://github.com/leptos-rs/leptos/pull/3361
* Minor typo fix in `ToChildren::to_children` docs. by @bicarlsen in https://github.com/leptos-rs/leptos/pull/3352
* TypedChildrenFn impl Clone trait by @redforks in https://github.com/leptos-rs/leptos/pull/3349
* Opt in locations in release mode with --cfg locations by @zakstucke in https://github.com/leptos-rs/leptos/pull/3281
* fix docs by @mscofield0 in https://github.com/leptos-rs/leptos/pull/3350
* Referential context: with_context and update_context by @zakstucke in https://github.com/leptos-rs/leptos/pull/3279
* fix: Implement PatchField for `usize` by @marcuswhybrow in https://github.com/leptos-rs/leptos/pull/3346
* Fix memo check behavior by @gbj in https://github.com/leptos-rs/leptos/pull/3356
* feat: AttributeInterceptor component to allow passing attributes to other elements by @paul-hansen in https://github.com/leptos-rs/leptos/pull/3340
* docs: clarify `Signal::derive()` behavior by @gbj in https://github.com/leptos-rs/leptos/pull/3351
* fix: rebuilding of `InertElement` (closes #3368) by @gbj in https://github.com/leptos-rs/leptos/pull/3370
* chore: reenable `cargo-semver-checks` on PRs by @gbj in https://github.com/leptos-rs/leptos/pull/3375
* Implement signal.into_inner() by @stefnotch in https://github.com/leptos-rs/leptos/pull/3343
* Implement IntoSplitSignal for Field. by @fiadliel in https://github.com/leptos-rs/leptos/pull/3364

## New Contributors
* @veigaribo made their first contribution in https://github.com/leptos-rs/leptos/pull/3311
* @FreezyLemon made their first contribution in https://github.com/leptos-rs/leptos/pull/3341
* @sutantodadang made their first contribution in https://github.com/leptos-rs/leptos/pull/3361
* @redforks made their first contribution in https://github.com/leptos-rs/leptos/pull/3349
* @mscofield0 made their first contribution in https://github.com/leptos-rs/leptos/pull/3350
* @marcuswhybrow made their first contribution in https://github.com/leptos-rs/leptos/pull/3346
* @fiadliel made their first contribution in https://github.com/leptos-rs/leptos/pull/3364

**Full Changelog**: https://github.com/leptos-rs/leptos/compare/v0.7.0...v0.7.1