chore(deps): update rust crate yew to 0.20.0 - autoclosed
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
yew (source) | dependencies | minor |
0.19.3 -> 0.20.0
|
Release Notes
yewstack/yew
v0.20.0
Changelog
-
🛠 Fixes- Fix onsubmit event type in docs. [@Allan, #2926]
- Fix issues with tuples in closing tag. [[@Muhammad Hamza](https://github.com/Muhammad Hamza), #2886]
- Fix checked property being reset. [@WorldSEnder, #2907]
- Fix VList Stream in SSR. [[@Kaede Hoshikawa](https://github.com/Kaede Hoshikawa), #2801]
- Fixed
NodeRef
not being implicitly cloned with components. [@wdcocq, #2775] - Attributes: Fix apply_diff_index_maps. [[@Dietmar Maurer](https://github.com/Dietmar Maurer), #2653]
- Fix bubbling of events originating in shadow dom. [@WorldSEnder, #2627]
- Fix some Hook edge cases. [[@Kaede Hoshikawa](https://github.com/Kaede Hoshikawa), #2592]
- Fix issue with node refs and hydration. [@WorldSEnder, #2597]
- Fix macro hygiene issues. [[@Muhammad Hamza](https://github.com/Muhammad Hamza), #2585]
- Fix casing of dynamic tags. [@WorldSEnder, #2578]
- Automatically convert closure to callback for component properties. [[@Finn Bear](https://github.com/Finn Bear), #2554]
- Fix a problem with NodeRefs and VTags, ref. [@WorldSEnder, #2279]
- Fix defaulted type parameter.. [[@Kaede Hoshikawa](https://github.com/Kaede Hoshikawa), #2284]
- Use Ref::filter_map if rustc is later than 1.63. [[@Kaede Hoshikawa](https://github.com/Kaede Hoshikawa), #2904]
- Evaluate props in the order they're defined. [[@Muhammad Hamza](https://github.com/Muhammad Hamza), #2887]
- Context: Avoid storing a copy of children. [[@Dietmar Maurer](https://github.com/Dietmar Maurer), #2885]
- Various improvements to Classes, oriented around reducing allocations. [[@Nathan West](https://github.com/Nathan West), #2870]
- Resume Suspension upon unmount. [[@Kaede Hoshikawa](https://github.com/Kaede Hoshikawa), #2874]
- Make fn update() re-render the component by default. [[@Cecile Tonglet](https://github.com/Cecile Tonglet), #2786]
- Do not detach child elements if parent element is about to be detached. [[@Kaede Hoshikawa](https://github.com/Kaede Hoshikawa), #2420]
- remove some unsafes by using atomics. [@WorldSEnder, #2186]
-
use_prepared_state
&use_transitive_state
. [[@Kaede Hoshikawa](https://github.com/Kaede Hoshikawa), #2650] - Silence some warnings from derive(Properties). [@WorldSEnder, #2266]
- onsubmit should be a SubmitEvent. [[@Muhammad Hamza](https://github.com/Muhammad Hamza), #2816]
-
⚡ ️ Features- Add VNode::from_html_unchecked. [[@Muhammad Hamza](https://github.com/Muhammad Hamza), #2842]
- Make Yew lints opt-in. [[@Muhammad Hamza](https://github.com/Muhammad Hamza), #2882]
- Allow skipping a callback when reforming. [[@Jens Reimann](https://github.com/Jens Reimann), #2864]
- Polled SSR Stream. [[@Kaede Hoshikawa](https://github.com/Kaede Hoshikawa), #2824]
- Add send_stream method for Scope. [@laizy, #2619]
- Allow functions returning unit in
use_effect
. [[@Muhammad Hamza](https://github.com/Muhammad Hamza), #2849] - Configurable Runtime. [[@Kaede Hoshikawa](https://github.com/Kaede Hoshikawa), #2772]
- Pinned Channels. [[@Kaede Hoshikawa](https://github.com/Kaede Hoshikawa), #2811]
- Bind to properties instead of attributes by default. [[@Muhammad Hamza](https://github.com/Muhammad Hamza), #2819]
- Convert nightly from a feature flag to a compiler flag. [[@Muhammad Hamza](https://github.com/Muhammad Hamza), #2827]
- Reduce SSR Buffers in VList. [[@Kaede Hoshikawa](https://github.com/Kaede Hoshikawa), #2826]
- Allow keywords after dash in element and attribute names. [[@Muhammad Hamza](https://github.com/Muhammad Hamza), #2820]
- Replace custom logging by tracing. [@WorldSEnder, #2814]
- Implement sleep and interval for Yew Platform. [[@Kaede Hoshikawa](https://github.com/Kaede Hoshikawa), #2784]
- Remove component NodeRef. [[@Muhammad Hamza](https://github.com/Muhammad Hamza), #2783]
- Prepared States dependency should be Reference Counted. [[@Kaede Hoshikawa](https://github.com/Kaede Hoshikawa), #2769]
- Document features automatically.. [[@Kaede Hoshikawa](https://github.com/Kaede Hoshikawa), #2780]
- Streamed SSR Response. [[@Kaede Hoshikawa](https://github.com/Kaede Hoshikawa), #2697]
- Nightly features. [[@Muhammad Hamza](https://github.com/Muhammad Hamza), #2743]
- Allow VNode props to be converted to Children.. [[@Kaede Hoshikawa](https://github.com/Kaede Hoshikawa), #2749]
- Redo derive(Properties), take 2. [@WorldSEnder, #2729]
-
Callback::reform()
should returnCallback<T, OUT>
. [@orzogc, #2719] - Span hygiene and editor UX. [@WorldSEnder, #2702]
- Block props update during hydration. [[@Kaede Hoshikawa](https://github.com/Kaede Hoshikawa), #2665]
- Point to
callback_future
incallback
docs. [@Shadlock0133, #2674] - Change access to VList children to a wrapper. [@WorldSEnder, #2673]
- Partially undo #2673, different approach for the DerefMut impl of VList. [@WorldSEnder, #2692]
- Rework a bunch of cfg(feature) flags to be more principled. [@WorldSEnder, #2666]
- Delay Hydration second render until all assistive nodes have been removed. [[@Kaede Hoshikawa](https://github.com/Kaede Hoshikawa), #2629]
- Allow to consume deps in use_callback. [[@Jet Li](https://github.com/Jet Li), #2617]
- Add
use_future
hook to make consuming futures as suspense easier. [[@Muhammad Hamza](https://github.com/Muhammad Hamza), #2609] - Add the ability to use non-literal string as attribute names. [[@Muhammad Hamza](https://github.com/Muhammad Hamza), #2593]
- Introduce a dedicated use_force_update hook. [@WorldSEnder, #2586]
- Impl ImplicitClone for Rc where T: Sized. [@Nano, #2594]
- SSR Hydration. [[@Kaede Hoshikawa](https://github.com/Kaede Hoshikawa), #2552]
- Add use_callback hook. [[@Jet Li](https://github.com/Jet Li), #2566]
- Introduce additional information in SSR artifact to facilitate Hydration. [[@Kaede Hoshikawa](https://github.com/Kaede Hoshikawa), #2540]
- Scoped event handlers. [@WorldSEnder, #2510]
- An ever Increasing Component ID. [[@Kaede Hoshikawa](https://github.com/Kaede Hoshikawa), #2537]
- Prevents Fallback UI from becoming suspended. [[@Kaede Hoshikawa](https://github.com/Kaede Hoshikawa), #2532]
-
#[cfg(feature = "render")]
andyew::Renderer
. [[@Kaede Hoshikawa](https://github.com/Kaede Hoshikawa), #2498] - Introduce explicit internal datastructures modeling dom state. [@WorldSEnder, #2330]
- Improve AnyScope API. [[@Aaron Erhardt](https://github.com/Aaron Erhardt), #2445]
- Automatic Message Batching. [[@Kaede Hoshikawa](https://github.com/Kaede Hoshikawa), #2421]
- Add Other variant to the ListenerKind. [[@Alexander Mescheryakov](https://github.com/Alexander Mescheryakov), #2417]
- Function Components & Hooks V2. [[@Kaede Hoshikawa](https://github.com/Kaede Hoshikawa), #2401]
- Add ContextHandle in yew::prelude. [[@Anuvrat Singh](https://github.com/Anuvrat Singh), #2372]
- Separate scheduler rendered call from create and render. [[@Kaede Hoshikawa](https://github.com/Kaede Hoshikawa), #2374]
- Update to edition 2021. [[@Muhammad Hamza](https://github.com/Muhammad Hamza), #2354]
- Server-side Rendering (without hydration). [[@Kaede Hoshikawa](https://github.com/Kaede Hoshikawa), #2335]
- Make BaseComponent Sealed.. [[@Kaede Hoshikawa](https://github.com/Kaede Hoshikawa), #2359]
- Remove start_app_as_body.. [[@Kaede Hoshikawa](https://github.com/Kaede Hoshikawa), #2346]
- Bump minimal supported rust version (MSRV) to 1.56. [[@Muhammad Hamza](https://github.com/Muhammad Hamza), #2334]
- Suspense Support. [[@Kaede Hoshikawa](https://github.com/Kaede Hoshikawa), #2212]
- make layout testing code public. [[@Muhammad Hamza](https://github.com/Muhammad Hamza), #2310]
- Refactor and simplify
Callback
. [[@Muhammad Hamza](https://github.com/Muhammad Hamza), #2301] - Add pending event listener on the VTag. [[@Alexander Mescheryakov](https://github.com/Alexander Mescheryakov), #2300]
- constify VList::new. [[@Alexander Mescheryakov](https://github.com/Alexander Mescheryakov), #2293]
- Allow
function_component
creation based on function name. [[@Muhammad Hamza](https://github.com/Muhammad Hamza), #2292] - Implement IntoPropValue for Rc. [[@Zachary Stewart](https://github.com/Zachary Stewart), #2285]
- Raw field names in property structs. [@WorldSEnder, #2273]
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.