v0.7.8

leptos-rs/leptosv0.7.8Mar 20, 2025by benwis

AI Summary

A minor release with quality of life improvements, bugfixes, and dependency updates including removing `getrandom` and bumping `tokio`.

Key Highlights

  • Added `ImmediateEffect` support
  • Fixed occasional use-after-disposed panic in Suspense
  • Added `invert` to `OptionStoreExt`
  • Removed `getrandom` dependency
  • Bumped `tokio` to version 1.43

New Features

  • `ImmediateEffect` implementation
  • `OptionStoreExt::invert` method

Full Release Notes

A minor release with some quality of life improvements and bugfixes

## What's Changed
* fix: remove extra placeholder in Vec of text nodes (closes #3583) by @gbj in https://github.com/leptos-rs/leptos/pull/3592
* fix: occasional use-after-disposed panic in Suspense by @gbj in https://github.com/leptos-rs/leptos/pull/3595
* projects/bevy3d_ui Migrate to leptos 0.7.7 by @martinfrances107 in https://github.com/leptos-rs/leptos/pull/3596
* projects/bevy3d_ui: Bevy migration by @martinfrances107 in https://github.com/leptos-rs/leptos/pull/3597
* Minor: leptos_config - Bump the "config" crate to version 0.15.8 by @martinfrances107 in https://github.com/leptos-rs/leptos/pull/3594
* Minor: Bump itertools to "0.14.0" by @martinfrances107 in https://github.com/leptos-rs/leptos/pull/3593
* Minor: Bumped version of convert_case to 0.7 by @martinfrances107 in https://github.com/leptos-rs/leptos/pull/3590
* Minor: "wasm-bindgen" - Moved the crate definition up to the root workspace by @martinfrances107 in https://github.com/leptos-rs/leptos/pull/3588
* Remove getrandom by @martinfrances107 in https://github.com/leptos-rs/leptos/pull/3589
* Minor: Bump tokio to 1.43. by @martinfrances107 in https://github.com/leptos-rs/leptos/pull/3600
* projects/bevy3d_ui: Bevy - Bugfix, clippy and crate bump by @martinfrances107 in https://github.com/leptos-rs/leptos/pull/3603
* Add invert to the OptionStoreExt by @mahdi739 in https://github.com/leptos-rs/leptos/pull/3534
* feat: allow pausing and resuming effects by @gbj in https://github.com/leptos-rs/leptos/pull/3599
* Impl into<Signal> for subfields by @jvdwrf in https://github.com/leptos-rs/leptos/pull/3579
* fix: reorder pause check in new_isomorphic by @gbj in https://github.com/leptos-rs/leptos/pull/3613
* Minor: drop create_signal form the landing page. by @martinfrances107 in https://github.com/leptos-rs/leptos/pull/3611
* chore: update `either_of` minimum version in workspace by @gbj in https://github.com/leptos-rs/leptos/pull/3612
* fix: hydration of `()` by @gbj in https://github.com/leptos-rs/leptos/pull/3615
* Put serde_json in the root workspace by @martinfrances107 in https://github.com/leptos-rs/leptos/pull/3610
* fix: only render meta tags when rendered, not when created (closes #3629) by @gbj in https://github.com/leptos-rs/leptos/pull/3630
* fix: allow decoding already-decoded URI components (closes #3606) by @gbj in https://github.com/leptos-rs/leptos/pull/3628
* chore(ci): update pinned nightly version by @gbj in https://github.com/leptos-rs/leptos/pull/3644
* chore: fix Axum test setup by @gbj in https://github.com/leptos-rs/leptos/pull/3651
* feat: map and and_then for resource variants by @TERRORW0LF in https://github.com/leptos-rs/leptos/pull/3652
* Implement `Debug` for `ArcField` and `Field` by @mahdi739 in https://github.com/leptos-rs/leptos/pull/3660
* Minor: examples/server_fns_axum - Bumped various packages (not axum). by @martinfrances107 in https://github.com/leptos-rs/leptos/pull/3655
* fix: do not double-insert hash character in URLs (closes #3647) by @gbj in https://github.com/leptos-rs/leptos/pull/3661
* fix: param segments should not match an empty string that contains only `/` separator (closes #3527) by @gbj in https://github.com/leptos-rs/leptos/pull/3662
* fix: ensure cleanups run for all replaced nested routes (closes #3665) by @gbj in https://github.com/leptos-rs/leptos/pull/3666
* Minor: clippy - Replace mem::replace with Option::replace by @martinfrances107 in https://github.com/leptos-rs/leptos/pull/3668
* fix: point `bind:group` to correct location (closes #3678) by @gbj in https://github.com/leptos-rs/leptos/pull/3680
* fix: enum stack size by @sabify in https://github.com/leptos-rs/leptos/pull/3677
* fix: semver and feature handy script for update nightly by @sabify in https://github.com/leptos-rs/leptos/pull/3674
* fix: untrack in `NodeRef::on_load()` to avoid re-triggering it if you read something reactively (closes #3684) by @gbj in https://github.com/leptos-rs/leptos/pull/3686
* `ImmediateEffect` by @QuartzLibrary in https://github.com/leptos-rs/leptos/pull/3650
* `ImmediateEffect` follow up by @QuartzLibrary in https://github.com/leptos-rs/leptos/pull/3692
* Allow LocalResource sync methods to be used outside Suspense by @zakstucke in https://github.com/leptos-rs/leptos/pull/3708
* fix: ensure that store subfield mutations notify from the root down (closes #3704) by @gbj in https://github.com/leptos-rs/leptos/pull/3714
* fix(reactive_stores_macro): Make tuple struct field locator in `impl Patch` be `syn::Index` instead of `usize` by @DanikVitek in https://github.com/leptos-rs/leptos/pull/3700
* Various issues related to setting signals and context in cleanups by @gbj in https://github.com/leptos-rs/leptos/pull/3687
* test: regression from #3502 by @metatoaster in https://github.com/leptos-rs/leptos/pull/3720
* Fix typo by @NCura in https://github.com/leptos-rs/leptos/pull/3727
* fix: matching optional params after an initial static param (closes #3730) by @gbj in https://github.com/leptos-rs/leptos/pull/3732
* docs: update example tailwind input css to v4 by @bimoadityar in https://github.com/leptos-rs/leptos/pull/3702

## New Contributors
* @TERRORW0LF made their first contribution in https://github.com/leptos-rs/leptos/pull/3652
* @QuartzLibrary made their first contribution in https://github.com/leptos-rs/leptos/pull/3650
* @bimoadityar made their first contribution in https://github.com/leptos-rs/leptos/pull/3702

**Full Changelog**: https://github.com/leptos-rs/leptos/compare/v0.7.7...v0.7.8