Skip to content

Commit

Permalink
Merge #528
Browse files Browse the repository at this point in the history
528: Update yew requirement from 0.20 to 0.21 r=curquiza 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.21.0</strong> <em>(2023-09-23)</em></h2>
<h4>Changelog</h4>
<h2>🛠 Fixes</h2>
<ul>
<li>Fix rust-analyzer non_camel_case_types warning. [[<a href="https://github.com/Sean"><code>`@​Sean</code></a>` Bruton](https://github.com/Sean Bruton), <a href="https://redirect.github.com/yewstack/yew/pull/3388">#3388</a>]</li>
<li>Fix incorrect text escaping during SSR. [[<a href="https://github.com/Tim"><code>`@​Tim</code></a>` Kurdov](https://github.com/Tim Kurdov), <a href="https://redirect.github.com/yewstack/yew/pull/3381">#3381</a>]</li>
<li>Fix top-level reconciliation in portals. [<a href="https://github.com/WorldSEnder"><code>`@​WorldSEnder</code></a>,` <a href="https://redirect.github.com/yewstack/yew/pull/3020">#3020</a>]</li>
<li>Fix clippy::let_unit_value lint in propless components. [<a href="https://github.com/WorldSEnder"><code>`@​WorldSEnder</code></a>,` <a href="https://redirect.github.com/yewstack/yew/pull/2970">#2970</a>]</li>
</ul>
<h2>⚡️ Features</h2>
<ul>
<li>Updated the docs of <code>set_event_bubbling</code>. [[<a href="https://github.com/Tim"><code>`@​Tim</code></a>` Kurdov](https://github.com/Tim Kurdov), <a href="https://redirect.github.com/yewstack/yew/pull/3391">#3391</a>]</li>
<li>feat: support arrays for Classes/classes!(). [<a href="https://github.com/Pouriya"><code>`@​Pouriya</code></a>,` <a href="https://redirect.github.com/yewstack/yew/pull/3393">#3393</a>]</li>
<li>Mark VNode as #[must_use]. [[<a href="https://github.com/Kaede"><code>`@​Kaede</code></a>` Hoshikawa](https://github.com/Kaede Hoshikawa), <a href="https://redirect.github.com/yewstack/yew/pull/3387">#3387</a>]</li>
<li>Add <code>IntoPropValue</code> implementation to convert from <code>Cow</code>s to <code>AttrValue</code>. [[<a href="https://github.com/Tim"><code>`@​Tim</code></a>` Kurdov](https://github.com/Tim Kurdov), <a href="https://redirect.github.com/yewstack/yew/pull/3346">#3346</a>]</li>
<li>Remove compatibility code before 1.64. [[<a href="https://github.com/Kaede"><code>`@​Kaede</code></a>` Hoshikawa](https://github.com/Kaede Hoshikawa), <a href="https://redirect.github.com/yewstack/yew/pull/3379">#3379</a>]</li>
<li>Keep checked attribute for elements without special handling. [[<a href="https://github.com/Muhammad"><code>`@​Muhammad</code></a>` Hamza](https://github.com/Muhammad Hamza), <a href="https://redirect.github.com/yewstack/yew/pull/3373">#3373</a>]</li>
<li>feat: implement hydration for vraw. [[<a href="https://github.com/Dillen"><code>`@​Dillen</code></a>` Meijboom](https://github.com/Dillen Meijboom), <a href="https://redirect.github.com/yewstack/yew/pull/3245">#3245</a>]</li>
<li>Add webkitdirectory to the boolean attributes list. [[<a href="https://github.com/Julius"><code>`@​Julius</code></a>` Lungys](https://github.com/Julius Lungys), <a href="https://redirect.github.com/yewstack/yew/pull/3214">#3214</a>]</li>
<li>Incremental performance improvements to element creation. [[<a href="https://github.com/Greg"><code>`@​Greg</code></a>` Johnston](https://github.com/Greg Johnston), <a href="https://redirect.github.com/yewstack/yew/pull/3169">#3169</a>]</li>
<li>Make VList's children Rc'ed. [[<a href="https://github.com/Kaede"><code>`@​Kaede</code></a>` Hoshikawa](https://github.com/Kaede Hoshikawa), <a href="https://redirect.github.com/yewstack/yew/pull/3050">#3050</a>]</li>
<li>Update dependencies. [[<a href="https://github.com/Muhammad"><code>`@​Muhammad</code></a>` Hamza](https://github.com/Muhammad Hamza), <a href="https://redirect.github.com/yewstack/yew/pull/3171">#3171</a>]</li>
<li>Pass string types to Html props. [[<a href="https://github.com/Cecile"><code>`@​Cecile</code></a>` Tonglet](https://github.com/Cecile Tonglet), <a href="https://redirect.github.com/yewstack/yew/pull/2872">#2872</a>]</li>
<li>Implement an internal DomSlot for positioning instead of NodeRef. [<a href="https://github.com/WorldSEnder"><code>`@​WorldSEnder</code></a>,` <a href="https://redirect.github.com/yewstack/yew/pull/3048">#3048</a>]</li>
<li>Prefer pop_first if it is available. [[<a href="https://github.com/Kaede"><code>`@​Kaede</code></a>` Hoshikawa](https://github.com/Kaede Hoshikawa), <a href="https://redirect.github.com/yewstack/yew/pull/3084">#3084</a>]</li>
<li>Add method map() on Children to wrap easily. [[<a href="https://github.com/Cecile"><code>`@​Cecile</code></a>` Tonglet](https://github.com/Cecile Tonglet), <a href="https://redirect.github.com/yewstack/yew/pull/3039">#3039</a>]</li>
<li>Reentrant event listeners. [<a href="https://github.com/WorldSEnder"><code>`@​WorldSEnder</code></a>,` <a href="https://redirect.github.com/yewstack/yew/pull/3037">#3037</a>]</li>
<li>Add impl IntoIterator on &amp;Classes. [[<a href="https://github.com/Cecile"><code>`@​Cecile</code></a>` Tonglet](https://github.com/Cecile Tonglet), <a href="https://redirect.github.com/yewstack/yew/pull/3038">#3038</a>]</li>
<li>Assert there are no circular references. [<a href="https://github.com/WorldSEnder"><code>`@​WorldSEnder</code></a>,` <a href="https://redirect.github.com/yewstack/yew/pull/3025">#3025</a>]</li>
</ul>
<h2>🚨 Breaking changes</h2>
<ul>
<li>Remove special handing of struct fields of type <code>Option</code> in <code>derive(Properties)</code>. [[<a href="https://github.com/Tim"><code>`@​Tim</code></a>` Kurdov](https://github.com/Tim Kurdov), <a href="https://redirect.github.com/yewstack/yew/pull/3398">#3398</a>]</li>
<li>Agent v2. [[<a href="https://github.com/Kaede"><code>`@​Kaede</code></a>` Hoshikawa](https://github.com/Kaede Hoshikawa), <a href="https://redirect.github.com/yewstack/yew/pull/2773">#2773</a>]</li>
<li>Update signature of use_prepared_state/use_transitive_state. [[<a href="https://github.com/Muhammad"><code>`@​Muhammad</code></a>` Hamza](https://github.com/Muhammad Hamza), <a href="https://redirect.github.com/yewstack/yew/pull/3376">#3376</a>]</li>
<li>Make signature of use_future_with consistent. [[<a href="https://github.com/Muhammad"><code>`@​Muhammad</code></a>` Hamza](https://github.com/Muhammad Hamza), <a href="https://redirect.github.com/yewstack/yew/pull/3372">#3372</a>]</li>
<li>Allow any type to be used as Children (take 2). [[<a href="https://github.com/Kaede"><code>`@​Kaede</code></a>` Hoshikawa](https://github.com/Kaede Hoshikawa), <a href="https://redirect.github.com/yewstack/yew/pull/3289">#3289</a>]</li>
<li>Enable PartialEq for all virtual dom types. [[<a href="https://github.com/Kaede"><code>`@​Kaede</code></a>` Hoshikawa](https://github.com/Kaede Hoshikawa), <a href="https://redirect.github.com/yewstack/yew/pull/3206">#3206</a>]</li>
<li>Pass hook dependencies as the first function argument. [[<a href="https://github.com/Arniu"><code>`@​Arniu</code></a>` Tseng](https://github.com/Arniu Tseng), <a href="https://redirect.github.com/yewstack/yew/pull/2861">#2861</a>]</li>
<li>Make Classes cheap to clone. [[<a href="https://github.com/Cecile"><code>`@​Cecile</code></a>` Tonglet](https://github.com/Cecile Tonglet), <a href="https://redirect.github.com/yewstack/yew/pull/3021">#3021</a>]</li>
</ul>
<h2>✨ yew-router <strong>0.18.0</strong> <em>(2023-09-xx)</em></h2>
<h4>Changelog</h4>
<h2>⚡️ Features</h2>
<ul>
<li>Update dependencies. [[<a href="https://github.com/Muhammad"><code>`@​Muhammad</code></a>` Hamza](https://github.com/Muhammad Hamza), <a href="https://redirect.github.com/yewstack/yew/pull/3171">#3171</a>]</li>
<li>Only handle &quot;normal&quot; clicks on <!-- raw HTML omitted -->s. [[<a href="https://github.com/Kai"><code>`@​Kai</code></a>` Salmon](https://github.com/Kai Salmon), <a href="https://redirect.github.com/yewstack/yew/pull/3056">#3056</a>]</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/yewstack/yew/commit/4c3bcdc692b067907fb0e9402a3c08b9f872bc0f"><code>4c3bcdc</code></a> (cargo-release) version {{crate_name}}-v{{version}}</li>
<li><a href="https://github.com/yewstack/yew/commit/5e823e729dd455be0d2b283511414d20b6826523"><code>5e823e7</code></a> Prepare for 0.21 release (<a href="https://redirect.github.com/yewstack/yew/issues/3412">#3412</a>)</li>
<li><a href="https://github.com/yewstack/yew/commit/30e2d548ef57a4b738fb285251b986467ef7eb95"><code>30e2d54</code></a> Added a note about using suspension (<a href="https://redirect.github.com/yewstack/yew/issues/3410">#3410</a>)</li>
<li><a href="https://github.com/yewstack/yew/commit/189a7296d14d2d64a5dc1e12566c263608d430dd"><code>189a729</code></a> Remove unneded package-lock.json (<a href="https://redirect.github.com/yewstack/yew/issues/3411">#3411</a>)</li>
<li><a href="https://github.com/yewstack/yew/commit/5bab22da4a4386fa57182e9e7774ebdd2422661c"><code>5bab22d</code></a> Add neovim configuration to docs (<a href="https://redirect.github.com/yewstack/yew/issues/3400">#3400</a>)</li>
<li><a href="https://github.com/yewstack/yew/commit/0c802f80ea335222721ff05d8f7ef1aaf2e7ef4b"><code>0c802f8</code></a> Documentation changes related to context code snippets (<a href="https://redirect.github.com/yewstack/yew/issues/3396">#3396</a>)</li>
<li><a href="https://github.com/yewstack/yew/commit/0f2fc59b543eb9c3cab9b498208d787b5cce8107"><code>0f2fc59</code></a> Updated the docs of <code>set_event_bubbling</code> (<a href="https://redirect.github.com/yewstack/yew/issues/3391">#3391</a>)</li>
<li><a href="https://github.com/yewstack/yew/commit/ca2aa2a4a6c0aa07bb636c68c0ffe07ba65804b0"><code>ca2aa2a</code></a> Bump the cargo dependencies with 36 updates (<a href="https://redirect.github.com/yewstack/yew/issues/3408">#3408</a>)</li>
<li><a href="https://github.com/yewstack/yew/commit/a2786b1e1424cbe9ab72c258b0afb35e5ba25cf4"><code>a2786b1</code></a> Improve Context API docs (<a href="https://redirect.github.com/yewstack/yew/issues/3409">#3409</a>)</li>
<li><a href="https://github.com/yewstack/yew/commit/954b0ec7b92b2a34b5d45d14e4837d87092e40b7"><code>954b0ec</code></a> Correct minor mistakes in website (<a href="https://redirect.github.com/yewstack/yew/issues/3405">#3405</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/yewstack/yew/compare/yew-v0.20.0...yew-v0.21.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` show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency
- ``@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>
  • Loading branch information
meili-bors[bot] and dependabot[bot] authored Nov 2, 2023
2 parents a3faf91 + e3be05c commit ba61467
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ tokio = { version = "1", features = ["rt", "macros"] }
# The following dependencies are required for examples
wasm-bindgen = "0.2"
wasm-bindgen-futures = "0.4"
yew = "0.20"
yew = "0.21"
lazy_static = "1.4"
web-sys = "0.3"
console_error_panic_hook = "0.1"
Expand Down
2 changes: 1 addition & 1 deletion examples/web_app/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ crate-type = ["cdylib", "rlib"]
serde_json = "1.0"
wasm-bindgen = "0.2"
wasm-bindgen-futures = "0.4.18"
yew = {version="0.20", features = ["csr"]}
yew = {version="0.21", features = ["csr"]}
meilisearch-sdk = {path="../.."}
lazy_static = "1.4"
serde = {version="1.0", features=["derive"]}
Expand Down

0 comments on commit ba61467

Please sign in to comment.