Skip to content

Commit 86706a3

Browse files
meili-bors[bot]dependabot[bot]bidoubiwa
authored
Merge #397
397: Update yew requirement from 0.18 to 0.20 r=bidoubiwa a=dependabot[bot] Updates the requirements on [yew](https://github.com/yewstack/yew) to permit the latest version. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/yewstack/yew/blob/master/CHANGELOG.md">yew's changelog</a>.</em></p> <blockquote> <h2>✨ yew <strong>0.20.0</strong> <em>(2022-11-xx)</em></h2> <h4>Changelog</h4> <ul> <li> <h4>🛠 Fixes</h4> <ul> <li>Fix onsubmit event type in docs. [<a href="https://github.com/Allan"><code>`@​Allan</code></a>,` <a href="https://github-redirect.dependabot.com/yewstack/yew/pull/2926">#2926</a>]</li> <li>Fix issues with tuples in closing tag. [[<a href="https://github.com/Muhammad"><code>`@​Muhammad</code></a>` Hamza](https://github.com/Muhammad Hamza), <a href="https://github-redirect.dependabot.com/yewstack/yew/pull/2886">#2886</a>]</li> <li>Fix checked property being reset. [<a href="https://github.com/WorldSEnder"><code>`@​WorldSEnder</code></a>,` <a href="https://github-redirect.dependabot.com/yewstack/yew/pull/2907">#2907</a>]</li> <li>Fix VList Stream in SSR. [[<a href="https://github.com/Kaede"><code>`@​Kaede</code></a>` Hoshikawa](https://github.com/Kaede Hoshikawa), <a href="https://github-redirect.dependabot.com/yewstack/yew/pull/2801">#2801</a>]</li> <li>Fixed <code>NodeRef</code> not being implicitly cloned with components. [<a href="https://github.com/wdcocq"><code>`@​wdcocq</code></a>,` <a href="https://github-redirect.dependabot.com/yewstack/yew/pull/2775">#2775</a>]</li> <li>Attributes: Fix apply_diff_index_maps. [[<a href="https://github.com/Dietmar"><code>`@​Dietmar</code></a>` Maurer](https://github.com/Dietmar Maurer), <a href="https://github-redirect.dependabot.com/yewstack/yew/pull/2653">#2653</a>]</li> <li>Fix bubbling of events originating in shadow dom. [<a href="https://github.com/WorldSEnder"><code>`@​WorldSEnder</code></a>,` <a href="https://github-redirect.dependabot.com/yewstack/yew/pull/2627">#2627</a>]</li> <li>Fix some Hook edge cases. [[<a href="https://github.com/Kaede"><code>`@​Kaede</code></a>` Hoshikawa](https://github.com/Kaede Hoshikawa), <a href="https://github-redirect.dependabot.com/yewstack/yew/pull/2592">#2592</a>]</li> <li>Fix issue with node refs and hydration. [<a href="https://github.com/WorldSEnder"><code>`@​WorldSEnder</code></a>,` <a href="https://github-redirect.dependabot.com/yewstack/yew/pull/2597">#2597</a>]</li> <li>Fix macro hygiene issues. [[<a href="https://github.com/Muhammad"><code>`@​Muhammad</code></a>` Hamza](https://github.com/Muhammad Hamza), <a href="https://github-redirect.dependabot.com/yewstack/yew/pull/2585">#2585</a>]</li> <li>Fix casing of dynamic tags. [<a href="https://github.com/WorldSEnder"><code>`@​WorldSEnder</code></a>,` <a href="https://github-redirect.dependabot.com/yewstack/yew/pull/2578">#2578</a>]</li> <li>Automatically convert closure to callback for component properties. [[<a href="https://github.com/Finn"><code>`@​Finn</code></a>` Bear](https://github.com/Finn Bear), <a href="https://github-redirect.dependabot.com/yewstack/yew/pull/2554">#2554</a>]</li> <li>Fix a problem with NodeRefs and VTags, ref. [<a href="https://github.com/WorldSEnder"><code>`@​WorldSEnder</code></a>,` <a href="https://github-redirect.dependabot.com/yewstack/yew/pull/2279">#2279</a>]</li> <li>Fix defaulted type parameter.. [[<a href="https://github.com/Kaede"><code>`@​Kaede</code></a>` Hoshikawa](https://github.com/Kaede Hoshikawa), <a href="https://github-redirect.dependabot.com/yewstack/yew/pull/2284">#2284</a>]</li> <li>Use Ref::filter_map if rustc is later than 1.63. [[<a href="https://github.com/Kaede"><code>`@​Kaede</code></a>` Hoshikawa](https://github.com/Kaede Hoshikawa), <a href="https://github-redirect.dependabot.com/yewstack/yew/pull/2904">#2904</a>]</li> <li>Evaluate props in the order they're defined. [[<a href="https://github.com/Muhammad"><code>`@​Muhammad</code></a>` Hamza](https://github.com/Muhammad Hamza), <a href="https://github-redirect.dependabot.com/yewstack/yew/pull/2887">#2887</a>]</li> <li>Context: Avoid storing a copy of children. [[<a href="https://github.com/Dietmar"><code>`@​Dietmar</code></a>` Maurer](https://github.com/Dietmar Maurer), <a href="https://github-redirect.dependabot.com/yewstack/yew/pull/2885">#2885</a>]</li> <li>Various improvements to Classes, oriented around reducing allocations. [[<a href="https://github.com/Nathan"><code>`@​Nathan</code></a>` West](https://github.com/Nathan West), <a href="https://github-redirect.dependabot.com/yewstack/yew/pull/2870">#2870</a>]</li> <li>Resume Suspension upon unmount. [[<a href="https://github.com/Kaede"><code>`@​Kaede</code></a>` Hoshikawa](https://github.com/Kaede Hoshikawa), <a href="https://github-redirect.dependabot.com/yewstack/yew/pull/2874">#2874</a>]</li> <li>Make fn update() re-render the component by default. [[<a href="https://github.com/Cecile"><code>`@​Cecile</code></a>` Tonglet](https://github.com/Cecile Tonglet), <a href="https://github-redirect.dependabot.com/yewstack/yew/pull/2786">#2786</a>]</li> <li>Do not detach child elements if parent element is about to be detached. [[<a href="https://github.com/Kaede"><code>`@​Kaede</code></a>` Hoshikawa](https://github.com/Kaede Hoshikawa), <a href="https://github-redirect.dependabot.com/yewstack/yew/pull/2420">#2420</a>]</li> <li>remove some unsafes by using atomics. [<a href="https://github.com/WorldSEnder"><code>`@​WorldSEnder</code></a>,` <a href="https://github-redirect.dependabot.com/yewstack/yew/pull/2186">#2186</a>]</li> <li><code>use_prepared_state</code> &amp; <code>use_transitive_state</code>. [[<a href="https://github.com/Kaede"><code>`@​Kaede</code></a>` Hoshikawa](https://github.com/Kaede Hoshikawa), <a href="https://github-redirect.dependabot.com/yewstack/yew/pull/2650">#2650</a>]</li> <li>Silence some warnings from derive(Properties). [<a href="https://github.com/WorldSEnder"><code>`@​WorldSEnder</code></a>,` <a href="https://github-redirect.dependabot.com/yewstack/yew/pull/2266">#2266</a>]</li> <li>onsubmit should be a SubmitEvent. [[<a href="https://github.com/Muhammad"><code>`@​Muhammad</code></a>` Hamza](https://github.com/Muhammad Hamza), <a href="https://github-redirect.dependabot.com/yewstack/yew/pull/2816">#2816</a>]</li> </ul> </li> <li> <h4>⚡️ Features</h4> <ul> <li>Add VNode::from_html_unchecked. [[<a href="https://github.com/Muhammad"><code>`@​Muhammad</code></a>` Hamza](https://github.com/Muhammad Hamza), <a href="https://github-redirect.dependabot.com/yewstack/yew/pull/2842">#2842</a>]</li> <li>Make Yew lints opt-in. [[<a href="https://github.com/Muhammad"><code>`@​Muhammad</code></a>` Hamza](https://github.com/Muhammad Hamza), <a href="https://github-redirect.dependabot.com/yewstack/yew/pull/2882">#2882</a>]</li> <li>Allow skipping a callback when reforming. [[<a href="https://github.com/Jens"><code>`@​Jens</code></a>` Reimann](https://github.com/Jens Reimann), <a href="https://github-redirect.dependabot.com/yewstack/yew/pull/2864">#2864</a>]</li> <li>Polled SSR Stream. [[<a href="https://github.com/Kaede"><code>`@​Kaede</code></a>` Hoshikawa](https://github.com/Kaede Hoshikawa), <a href="https://github-redirect.dependabot.com/yewstack/yew/pull/2824">#2824</a>]</li> <li>Add send_stream method for Scope. [<a href="https://github.com/laizy"><code>`@​laizy</code></a>,` <a href="https://github-redirect.dependabot.com/yewstack/yew/pull/2619">#2619</a>]</li> <li>Allow functions returning unit in <code>use_effect</code>. [[<a href="https://github.com/Muhammad"><code>`@​Muhammad</code></a>` Hamza](https://github.com/Muhammad Hamza), <a href="https://github-redirect.dependabot.com/yewstack/yew/pull/2849">#2849</a>]</li> <li>Configurable Runtime. [[<a href="https://github.com/Kaede"><code>`@​Kaede</code></a>` Hoshikawa](https://github.com/Kaede Hoshikawa), <a href="https://github-redirect.dependabot.com/yewstack/yew/pull/2772">#2772</a>]</li> <li>Pinned Channels. [[<a href="https://github.com/Kaede"><code>`@​Kaede</code></a>` Hoshikawa](https://github.com/Kaede Hoshikawa), <a href="https://github-redirect.dependabot.com/yewstack/yew/pull/2811">#2811</a>]</li> <li>Bind to properties instead of attributes by default. [[<a href="https://github.com/Muhammad"><code>`@​Muhammad</code></a>` Hamza](https://github.com/Muhammad Hamza), <a href="https://github-redirect.dependabot.com/yewstack/yew/pull/2819">#2819</a>]</li> <li>Convert nightly from a feature flag to a compiler flag. [[<a href="https://github.com/Muhammad"><code>`@​Muhammad</code></a>` Hamza](https://github.com/Muhammad Hamza), <a href="https://github-redirect.dependabot.com/yewstack/yew/pull/2827">#2827</a>]</li> <li>Reduce SSR Buffers in VList. [[<a href="https://github.com/Kaede"><code>`@​Kaede</code></a>` Hoshikawa](https://github.com/Kaede Hoshikawa), <a href="https://github-redirect.dependabot.com/yewstack/yew/pull/2826">#2826</a>]</li> <li>Allow keywords after dash in element and attribute names. [[<a href="https://github.com/Muhammad"><code>`@​Muhammad</code></a>` Hamza](https://github.com/Muhammad Hamza), <a href="https://github-redirect.dependabot.com/yewstack/yew/pull/2820">#2820</a>]</li> <li>Replace custom logging by tracing. [<a href="https://github.com/WorldSEnder"><code>`@​WorldSEnder</code></a>,` <a href="https://github-redirect.dependabot.com/yewstack/yew/pull/2814">#2814</a>]</li> <li>Implement sleep and interval for Yew Platform. [[<a href="https://github.com/Kaede"><code>`@​Kaede</code></a>` Hoshikawa](https://github.com/Kaede Hoshikawa), <a href="https://github-redirect.dependabot.com/yewstack/yew/pull/2784">#2784</a>]</li> <li>Remove component NodeRef. [[<a href="https://github.com/Muhammad"><code>`@​Muhammad</code></a>` Hamza](https://github.com/Muhammad Hamza), <a href="https://github-redirect.dependabot.com/yewstack/yew/pull/2783">#2783</a>]</li> <li>Prepared States dependency should be Reference Counted. [[<a href="https://github.com/Kaede"><code>`@​Kaede</code></a>` Hoshikawa](https://github.com/Kaede Hoshikawa), <a href="https://github-redirect.dependabot.com/yewstack/yew/pull/2769">#2769</a>]</li> </ul> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/yewstack/yew/commit/602f26d37073d368ab2574173c2080a411740fad"><code>602f26d</code></a> Interpolate string properly</li> <li><a href="https://github.com/yewstack/yew/commit/ae57c98cabe43b66102a0595d7e5028f325e5cb8"><code>ae57c98</code></a> Fix publish actions</li> <li><a href="https://github.com/yewstack/yew/commit/80ce114663f8837e2747da29ed14bf2817d60b0f"><code>80ce114</code></a> Do not commit and push changelog during release (<a href="https://github-redirect.dependabot.com/yewstack/yew/issues/2977">#2977</a>)</li> <li><a href="https://github.com/yewstack/yew/commit/f0209c786f1f36d54b2076fdcc359751f5707f8f"><code>f0209c7</code></a> Prepare for Yew 0.20 (<a href="https://github-redirect.dependabot.com/yewstack/yew/issues/2973">#2973</a>)</li> <li><a href="https://github.com/yewstack/yew/commit/5355b65ff5f9747cbad801d4b337a5ac7a94d0f4"><code>5355b65</code></a> Fix changelog generator (<a href="https://github-redirect.dependabot.com/yewstack/yew/issues/2958">#2958</a>)</li> <li><a href="https://github.com/yewstack/yew/commit/40d2c9c5cf08833d94fed228055de51de6c2e499"><code>40d2c9c</code></a> Fix changelog workflow (<a href="https://github-redirect.dependabot.com/yewstack/yew/issues/2954">#2954</a>)</li> <li><a href="https://github.com/yewstack/yew/commit/90c7ff105a6fd2ec856f25911d5da87602e3e0e2"><code>90c7ff1</code></a> Add VNode::from_html_unchecked (<a href="https://github-redirect.dependabot.com/yewstack/yew/issues/2842">#2842</a>)</li> <li><a href="https://github.com/yewstack/yew/commit/a5f844ddcb3bdc063ac00677cba0310d4067f5c1"><code>a5f844d</code></a> Use keyed lists in tutorial example (<a href="https://github-redirect.dependabot.com/yewstack/yew/issues/2948">#2948</a>)</li> <li><a href="https://github.com/yewstack/yew/commit/3b4fa888bcdd41e332150f2128d6b5c8df770633"><code>3b4fa88</code></a> add ability to update app props (<a href="https://github-redirect.dependabot.com/yewstack/yew/issues/2951">#2951</a>)</li> <li><a href="https://github.com/yewstack/yew/commit/b649e9dacd1804fbbe158a714107330c7825eecb"><code>b649e9d</code></a> Avoid clippy::let-underscore-drop (<a href="https://github-redirect.dependabot.com/yewstack/yew/issues/2952">#2952</a>)</li> <li>Additional commits viewable in <a href="https://github.com/yewstack/yew/compare/0.18.0...yew-v0.20.0">compare view</a></li> </ul> </details> <br /> You can trigger a rebase of this PR by commenting ``@dependabot` rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - ``@dependabot` rebase` will rebase this PR - ``@dependabot` recreate` will recreate this PR, overwriting any edits that have been made to it - ``@dependabot` merge` will merge this PR after your CI passes on it - ``@dependabot` squash and merge` will squash and merge this PR after your CI passes on it - ``@dependabot` cancel merge` will cancel a previously requested merge and block automerging - ``@dependabot` reopen` will reopen this PR if it is closed - ``@dependabot` close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - ``@dependabot` ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - ``@dependabot` ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - ``@dependabot` ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details>> **Note** > Automatic rebases have been disabled on this pull request as it has been open for over 30 days. Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: cvermand <[email protected]>
2 parents 8564689 + 414b432 commit 86706a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ tokio = { version = "1", features = ["rt", "macros"] }
5353
# The following dependencies are required for examples
5454
wasm-bindgen = "0.2"
5555
wasm-bindgen-futures = "0.4"
56-
yew = "0.18"
56+
yew = "0.20"
5757
lazy_static = "1.4"
5858
web-sys = "0.3"
5959
console_error_panic_hook = "0.1"

0 commit comments

Comments
 (0)