v0.7.7
leptos-rs/leptosv0.7.7Feb 12, 2025by gbj
AI Summary
A small patch release focusing on bugfixes, improvements to reactive stores, and handling `erase_components` with `Either` types.
Key Highlights
- Added `:capture` flag for event handling
- Fixed attribute type erasure on nightly
- Implemented `Attribute` for `Either<A, B>`
- Fixed panic in `KeyedSubfield` iterator
New Features
- `:capture` event flag
- `Attribute` implementation for `Either<A, B>`
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 a small patch release including primarily bugfixes, and some small ergonomic improvements. ## What's Changed * add file_and_error_handler_with_context by @sstepanchuk in https://github.com/leptos-rs/leptos/pull/3526 * feat: impl `From<ArcField<T>>` for `Field<T>` by @gbj in https://github.com/leptos-rs/leptos/pull/3533 * Implement PatchField for Option by @iradicek in https://github.com/leptos-rs/leptos/pull/3528 * fix: attribute type erasure nightly (closes #3536) by @gbj in https://github.com/leptos-rs/leptos/pull/3537 * fix: emit syntax errors in components rather than swallowing them (closes #3535) by @gbj in https://github.com/leptos-rs/leptos/pull/3538 * Fix ci by @zakstucke in https://github.com/leptos-rs/leptos/pull/3557 * Implement `Attribute` for `Either<A, B>` by @alexisfontaine in https://github.com/leptos-rs/leptos/pull/3556 * chore(ci): `cargo install --locked` for `cargo-leptos` installation by @gbj in https://github.com/leptos-rs/leptos/pull/3559 * fix: don't use InertElement for `style:` etc. (closes #3554) by @gbj in https://github.com/leptos-rs/leptos/pull/3558 * fix: do not hold lock on arena when dispatching Action by @gbj in https://github.com/leptos-rs/leptos/pull/3561 * fix: Return empty iterator instead of panicking when the KeyedSubfield is disposed by @mahdi739 in https://github.com/leptos-rs/leptos/pull/3550 * Less panic in stores by @mahdi739 in https://github.com/leptos-rs/leptos/pull/3551 * Handle `erase_components` on `Either<A, B>` by @alexisfontaine in https://github.com/leptos-rs/leptos/pull/3572 * fix(reactive_stores_macro): `store` attribute signature error message by @DanikVitek in https://github.com/leptos-rs/leptos/pull/3567 * feat: add `:capture` flag for events to handle them during capture phase (closes #3457) by @gbj in https://github.com/leptos-rs/leptos/pull/3575 * Add missing `<fieldset>` attributes by @alexisfontaine in https://github.com/leptos-rs/leptos/pull/3581 * Allows non static lifetimes in component macro by @jvdwrf in https://github.com/leptos-rs/leptos/pull/3571 ## New Contributors * @sstepanchuk made their first contribution in https://github.com/leptos-rs/leptos/pull/3526 * @iradicek made their first contribution in https://github.com/leptos-rs/leptos/pull/3528 * @jvdwrf made their first contribution in https://github.com/leptos-rs/leptos/pull/3571 **Full Changelog**: https://github.com/leptos-rs/leptos/compare/v0.7.5...v0.7.7