v0.8.1
leptos-rs/leptosv0.8.1May 6, 2025by gbj
AI Summary
A patch release focusing on bugfixes for Suspense nesting, context handling, and reactive stores, plus improvements to `LocalResource`.
Key Highlights
- Fixed nested Suspense > ErrorBoundary > Suspense nesting
- Fixed context providing through islands to children
- Added `.map()` and `.and_then()` to `LocalResource`
- Implemented `PartialEq` and `Eq` for `Store`
New Features
- `LocalResource::map()` method
- `LocalResource::and_then()` method
- `Store` `PartialEq` and `Eq` implementations
Full Release Notes
For 0.8 release notes in general, see [`0.8.0`](https://github.com/leptos-rs/leptos/releases/tag/v0.8.0). This patch release is mostly just a bunch of bugfixes for issues raised or fixed since then. ## What's Changed * fix(docs): correct panic message in copied example code by @LeoniePhiline in https://github.com/leptos-rs/leptos/pull/3911 * fix: allow nested Suspense > ErrorBoundary > Suspense (closes #3908) by @gbj in https://github.com/leptos-rs/leptos/pull/3913 * fix: correct issues with `StaticVec::rebuild()` by aligning implementation with `Vec::rebuild()` (closes #3906) by @gbj in https://github.com/leptos-rs/leptos/pull/3920 * fix: clear and re-throw errors in correct order by @gbj in https://github.com/leptos-rs/leptos/pull/3923 * fix(CI): prevent regreession from nightly clippy in autofix by @sabify in https://github.com/leptos-rs/leptos/pull/3917 * Fix some typos in the documentation/examples for reactive store. by @eroman-code in https://github.com/leptos-rs/leptos/pull/3924 * feat: check the `counter_isomorphic` release build with the leptos_debuginfo by @sabify in https://github.com/leptos-rs/leptos/pull/3918 * fix: ensure that nested children of a `RenderEffect` are dropped while dropped a `RenderEffect` (closes #3922) by @gbj in https://github.com/leptos-rs/leptos/pull/3926 * fix: correctly provide context through islands to children (closes #3928) by @gbj in https://github.com/leptos-rs/leptos/pull/3933 * reactive_stores: implement PartialEq and Eq for Store by @wrl in https://github.com/leptos-rs/leptos/pull/3915 * fix: use a runtime check rather than an unnecessary `Either` to determine how to render islands (see #3896; closes #3929) by @gbj in https://github.com/leptos-rs/leptos/pull/3938 * fix: remove extra marker node after text node when marking a branch (closes #3936) by @gbj in https://github.com/leptos-rs/leptos/pull/3940 * feat: add `.map()` and `.and_then()` on `LocalResource` by @gbj in https://github.com/leptos-rs/leptos/pull/3941 * Some `islands_router` improvements by @gbj in https://github.com/leptos-rs/leptos/pull/3942 ## New Contributors * @LeoniePhiline made their first contribution in https://github.com/leptos-rs/leptos/pull/3911 * @eroman-code made their first contribution in https://github.com/leptos-rs/leptos/pull/3924 * @wrl made their first contribution in https://github.com/leptos-rs/leptos/pull/3915 **Full Changelog**: https://github.com/leptos-rs/leptos/compare/v0.8.0...v0.8.1