v0.8.8

leptos-rs/leptosv0.8.8Aug 26, 2025by gbj

AI Summary

A patch release adding accessibility attributes, improving error handling, and fixing routing and task management.

Key Highlights

  • Adds `command` and `commandfor` attributes for buttons.
  • Fixes navigation to only continue to the most recent page.
  • Adds `<ShowLet>` component similar to `<Show>` for `Option` types.
  • Ensures `task::spawn` maintains reactive ownership.
  • Special-cases `value` property for quirky `<select>` behavior.

New Features

  • `command` and `commandfor` attributes
  • `ShowLet` component
  • `IntoProperty` for `Oco`
  • Default 'auto' live reload protocol
  • Improved `<select>` value handling

Full Release Notes

## What's Changed
* Fixes #4193: Adding `command` and `commandfor` attributes for button by @mskorkowski in https://github.com/leptos-rs/leptos/pull/4194
* docs: fix typo by @rpfontana in https://github.com/leptos-rs/leptos/pull/4202
* fix: only continue navigating to most recent page (closes #4195) by @gbj in https://github.com/leptos-rs/leptos/pull/4198
* Add name attribute to details element by @adoyle0 in https://github.com/leptos-rs/leptos/pull/4190
* Fixes #4163: Derive `Patch` for a struct with generic arguments by @mskorkowski in https://github.com/leptos-rs/leptos/pull/4175
* make is_server and is_browser public by @Alxandr in https://github.com/leptos-rs/leptos/pull/4204
* fix: ensure `task::spawn` maintains reactive ownership (closes #4203) by @gbj in https://github.com/leptos-rs/leptos/pull/4206
* perf: use a set instead of `Vec<_>` to optimize large subscriber sets (see #4138) by @gbj in https://github.com/leptos-rs/leptos/pull/4201
* feat: improving the bump script by @sabify in https://github.com/leptos-rs/leptos/pull/4187
* feat: implement IntoProperty for Oco by @veigaribo in https://github.com/leptos-rs/leptos/pull/4174
* fix: pass `hydrate_async` through `OwnedView` properly (closes #4219) by @gbj in https://github.com/leptos-rs/leptos/pull/4220
* fix: support islands routing in 404 routes by @gbj in https://github.com/leptos-rs/leptos/pull/4218
* chore(deps): bump the rust-dependencies group with 32 updates by @dependabot[bot] in https://github.com/leptos-rs/leptos/pull/4222
* chore(deps): bump actions/checkout from 4 to 5 by @dependabot[bot] in https://github.com/leptos-rs/leptos/pull/4221
* fix: allow `non_snake_case` and `dead_code` lints to run within component functions by @yescallop in https://github.com/leptos-rs/leptos/pull/3198
* chore: remove lockfiles accidentally included in repo by @gbj in https://github.com/leptos-rs/leptos/pull/4234
* `<ShowLet>` component similar to `<Show>` but for `Option` by @maccesch in https://github.com/leptos-rs/leptos/pull/4227
* fix: correctly parse unquoted text with punctuation in stable (closes #4137) by @gbj in https://github.com/leptos-rs/leptos/pull/4238
* Fixes for two server function issues by @gbj in https://github.com/leptos-rs/leptos/pull/4242
* feat: add default "auto" live reload protocol option by @veigaribo in https://github.com/leptos-rs/leptos/pull/4224
* Special-case `value` property to support quirky `<select>` behavior by @gbj in https://github.com/leptos-rs/leptos/pull/4235
* made `<Show>` accept signals in addition to closures by @maccesch in https://github.com/leptos-rs/leptos/pull/4236
* docs: correctly document additional serialization features for `leptos_server` by @gbj in https://github.com/leptos-rs/leptos/pull/4250
* Revert recent broken changes by @gbj in https://github.com/leptos-rs/leptos/pull/4255

## New Contributors
* @rpfontana made their first contribution in https://github.com/leptos-rs/leptos/pull/4202
* @adoyle0 made their first contribution in https://github.com/leptos-rs/leptos/pull/4190
* @Alxandr made their first contribution in https://github.com/leptos-rs/leptos/pull/4204
* @yescallop made their first contribution in https://github.com/leptos-rs/leptos/pull/3198

**Full Changelog**: https://github.com/leptos-rs/leptos/compare/v0.8.6...v0.8.8