v0.8.19

shivangi-aneja/GaussianSpeechv0.8.19Jun 25, 2026by gbj

AI Summary

A maintenance patch containing numerous bug fixes and a behavior change regarding request body size limits in server functions.

Key Highlights

  • Server functions now respect Axum/Actix request body size limits
  • Fixed immediate effect memo recomputation
  • Fixed nested keyed store field initialization

Breaking Changes

  • Server function encodings now respect Axum/Actix request body size limits (previously ignored). Users sending large data may need to increase limits.

New Features

  • Nonce support for CSP
  • Lazy preload macro
  • Prop marker option

Full Release Notes

A patch release, mostly of bugfixes.

Note: one of these includes a behavior change, which is that the primary server function encodings now respect the Axum/Actix request body size limits, rather than ignoring them. If you are accustomed to sending very large data (for example, a POST request > 2mb) via server functions, you may need to increase the request body size limit via Actix `PayloadConfig` or Axum `DefaultBodyLimit` (see docs for each server framework.)

Multipart data (file uploads) are not affected.

## What's Changed
* chore: clippy by @gbj in https://github.com/leptos-rs/leptos/pull/4685
* Fix broken Trunk website link by @sunsetlover36 in https://github.com/leptos-rs/leptos/pull/4687
* chore(deps): bump actix-http from 3.11.2 to 3.12.1 by @dependabot[bot] in https://github.com/leptos-rs/leptos/pull/4690
* chore(deps): bump rustls-webpki from 0.103.8 to 0.103.13 by @dependabot[bot] in https://github.com/leptos-rs/leptos/pull/4689
* chore(deps): bump autofix-ci/action from 1.3.3 to 1.3.4 by @dependabot[bot] in https://github.com/leptos-rs/leptos/pull/4686
* chore(deps): bump pnpm/action-setup from 5 to 6 by @dependabot[bot] in https://github.com/leptos-rs/leptos/pull/4681
* Fix immediate effect memo recomputation by @alecmocatta in https://github.com/leptos-rs/leptos/pull/4683
* fix: broken link and change name in example by @NCura in https://github.com/leptos-rs/leptos/pull/4704
* fix: issues with nested keyed store field initialization (see #4697) by @gbj in https://github.com/leptos-rs/leptos/pull/4699
* chore: Remove regex dependency from leptos_config by @paul-hansen in https://github.com/leptos-rs/leptos/pull/4696
* fix(CI): do not fail fast by @sabify in https://github.com/leptos-rs/leptos/pull/4740
* fix(CI): use official actions for toolchain and binary installs, #4740 follow up by @sabify in https://github.com/leptos-rs/leptos/pull/4742
* fix(CI): drop wretry wrapper from action steps by @sabify in https://github.com/leptos-rs/leptos/pull/4743
* Remove unused unstable FromWasmAbi bound by @ealmloff in https://github.com/leptos-rs/leptos/pull/4741
* fix: ensure that nested cleanups happen in right order (closes #4758) by @gbj in https://github.com/leptos-rs/leptos/pull/4762
* fix: defer owner drop in `OwnedView` (closes #4769) by @gbj in https://github.com/leptos-rs/leptos/pull/4771
* feat(nonce): add `Nonce::from_value` for externally-supplied CSP nonces by @anagrius in https://github.com/leptos-rs/leptos/pull/4786
* feat(macro): collapse reactive child closure monomorphizations on --cfg erase_components by @skyf0l in https://github.com/leptos-rs/leptos/pull/4711
* docs(axum): remove unused LeptosOptions import from render_app_to_stream_with_context example by @SAY-5 in https://github.com/leptos-rs/leptos/pull/4714
* fix(tachys): pass FROM_SERVER=false in AnyAttribute::hydrate_from_template by @Noethix55555 in https://github.com/leptos-rs/leptos/pull/4792
* fix(router): propagate error instead of unwrapping in anchor click handler by @Noethix55555 in https://github.com/leptos-rs/leptos/pull/4789
* fix: notify when structure changes during keyed patch (closes #4806) by @gbj in https://github.com/leptos-rs/leptos/pull/4807
* feat: Add the `#[prop(marker)]` option by @Baptistemontan in https://github.com/leptos-rs/leptos/pull/4774
* feat(leptos_macro): Adding a `lazy_preload` macro by @edmondj in https://github.com/leptos-rs/leptos/pull/4729
* fix(router): reject over-long static segment instead of partial-matching by @Noethix55555 in https://github.com/leptos-rs/leptos/pull/4790
* fix(server_fn): don't panic in set_server_url if already set by @Noethix55555 in https://github.com/leptos-rs/leptos/pull/4795
* fix(router): return early in Form submit handler instead of panic by @Noethix55555 in https://github.com/leptos-rs/leptos/pull/4798
* chore(deps): bump actions/checkout from 6 to 7 by @dependabot[bot] in https://github.com/leptos-rs/leptos/pull/4808
* chore: clean up some `leptos_macro` docs by @gbj in https://github.com/leptos-rs/leptos/pull/4811
* fix: respect Axum/Actix built-in body size limits by @gbj in https://github.com/leptos-rs/leptos/pull/4813
* Escaping fixes backported from 0.9 by @gbj in https://github.com/leptos-rs/leptos/pull/4812

## New Contributors
* @sunsetlover36 made their first contribution in https://github.com/leptos-rs/leptos/pull/4687
* @alecmocatta made their first contribution in https://github.com/leptos-rs/leptos/pull/4683
* @anagrius made their first contribution in https://github.com/leptos-rs/leptos/pull/4786
* @skyf0l made their first contribution in https://github.com/leptos-rs/leptos/pull/4711
* @SAY-5 made their first contribution in https://github.com/leptos-rs/leptos/pull/4714
* @edmondj made their first contribution in https://github.com/leptos-rs/leptos/pull/4729

**Full Changelog**: https://github.com/leptos-rs/leptos/compare/v0.8.18...v0.8.19