Skip to content

Commit 4062a4a

Browse files
bors[bot]dependabot[bot]Mubelotix
authored
Merge #134
134: Update yew requirement from 0.17 to 0.18 r=curquiza a=dependabot[bot] Updates the requirements on [yew](https://github.com/yewstack/yew) to permit the latest version. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/yewstack/yew/releases">yew's releases</a>.</em></p> <blockquote> <h2>v0.18.0</h2> <h4>Changelog</h4> <ul> <li> <h4>🛠 Fixes</h4> <ul> <li>Fix missing redirects. [<a href="https://github.com/siku2"><code>@​siku2</code></a>, <a href="https://github-redirect.dependabot.com/yewstack/yew/pull/1640">#1640</a>]</li> <li>Remove Drop bound from Task trait. [<a href="https://github.com/siku2"><code>@​siku2</code></a>, <a href="https://github-redirect.dependabot.com/yewstack/yew/pull/1627">#1627</a>]</li> <li>Enable std feature for indexmap. [<a href="https://github.com/jstarry"><code>@​jstarry</code></a>, <a href="https://github-redirect.dependabot.com/yewstack/yew/pull/1709">#1709</a>]</li> </ul> </li> <li> <h4>⚡️ Features</h4> <ul> <li>Implicit optional attributes. [<a href="https://github.com/siku2"><code>@​siku2</code></a>, <a href="https://github-redirect.dependabot.com/yewstack/yew/pull/1637">#1637</a>]</li> <li>Added callback_future_once in yewtil.(<a href="https://github-redirect.dependabot.com/yewstack/yew/issues/1712">#1712</a>). [<a href="https://github.com/fraillt"><code>@​fraillt</code></a>, <a href="https://github-redirect.dependabot.com/yewstack/yew/pull/1696">#1696</a>]</li> <li>Added relevant examples section to the docs. [<a href="https://github.com/oOBoomberOo"><code>@​oOBoomberOo</code></a>, <a href="https://github-redirect.dependabot.com/yewstack/yew/pull/1695">#1695</a>]</li> <li>Added missing KeyboardService re-export. [<a href="https://github.com/SOF3"><code>@​SOF3</code></a>, <a href="https://github-redirect.dependabot.com/yewstack/yew/pull/1694">#1694</a>]</li> <li>Rename internal Agent structs to match Component. [<a href="https://github.com/jstarry"><code>@​jstarry</code></a>, <a href="https://github-redirect.dependabot.com/yewstack/yew/pull/1688">#1688</a>]</li> <li>Add discussion link to issue selector. [<a href="https://github.com/jstarry"><code>@​jstarry</code></a>, <a href="https://github-redirect.dependabot.com/yewstack/yew/pull/1674">#1674</a>]</li> <li>Update link to Material Design Components. [<a href="https://github.com/TapioT"><code>@​TapioT</code></a>, <a href="https://github-redirect.dependabot.com/yewstack/yew/pull/1662">#1662</a>]</li> <li>Extract Classes to a separate macro. [<a href="https://github.com/cecton"><code>@​cecton</code></a>, <a href="https://github-redirect.dependabot.com/yewstack/yew/pull/1601">#1601</a>]</li> <li>Improve the &quot;keyed_list&quot; example. [<a href="https://github.com/titaneric"><code>@​titaneric</code></a>, <a href="https://github-redirect.dependabot.com/yewstack/yew/pull/1650">#1650</a>]</li> <li>Add documentation for component children. [<a href="https://github.com/K4rakara"><code>@​K4rakara</code></a>, <a href="https://github-redirect.dependabot.com/yewstack/yew/pull/1616">#1616</a>]</li> <li>Add a macro for building properties outside of html!. [<a href="https://github.com/siku2"><code>@​siku2</code></a>, <a href="https://github-redirect.dependabot.com/yewstack/yew/pull/1599">#1599</a>]</li> </ul> </li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/yewstack/yew/blob/0.18.0/CHANGELOG.md">yew's changelog</a>.</em></p> <blockquote> <h2>✨ <strong>0.18.0</strong> <em>(2021-05-15)</em></h2> <h4>Changelog</h4> <ul> <li> <h4>🛠 Fixes</h4> <ul> <li>Fix missing redirects (<a href="https://github-redirect.dependabot.com/yewstack/yew/issues/1640">#1640</a>). [[<a href="https://github.com/siku2"><code>@​siku2</code></a>] <a href="https://github-redirect.dependabot.com/yewstack/yew/issues/1640">#1640</a>](<a href="https://github-redirect.dependabot.com/yewstack/yew/pull/1640">yewstack/yew#1640</a>)</li> </ul> </li> <li> <h4>⚡️ Features</h4> <ul> <li>Implicit optional attributes (<a href="https://github-redirect.dependabot.com/yewstack/yew/issues/1637">#1637</a>). [[<a href="https://github.com/siku2"><code>@​siku2</code></a>] <a href="https://github-redirect.dependabot.com/yewstack/yew/issues/1637">#1637</a>](<a href="https://github-redirect.dependabot.com/yewstack/yew/pull/1637">yewstack/yew#1637</a>)</li> <li>Added callback_future_once in yewtil (<a href="https://github-redirect.dependabot.com/yewstack/yew/issues/1696">#1696</a>) (<a href="https://github-redirect.dependabot.com/yewstack/yew/issues/1712">#1712</a>). [[<a href="https://github.com/fraillt"><code>@​fraillt</code></a>] <a href="https://github-redirect.dependabot.com/yewstack/yew/issues/1696">#1696</a>](<a href="https://github-redirect.dependabot.com/yewstack/yew/pull/1696">yewstack/yew#1696</a>)</li> <li>Added relevant examples section to the docs (<a href="https://github-redirect.dependabot.com/yewstack/yew/issues/1695">#1695</a>). [[<a href="https://github.com/oOBoomberOo"><code>@​oOBoomberOo</code></a>] <a href="https://github-redirect.dependabot.com/yewstack/yew/issues/1695">#1695</a>](<a href="https://github-redirect.dependabot.com/yewstack/yew/pull/1695">yewstack/yew#1695</a>)</li> <li>Enable std feature for indexmap (<a href="https://github-redirect.dependabot.com/yewstack/yew/issues/1709">#1709</a>). [[<a href="https://github.com/jstarry"><code>@​jstarry</code></a>] <a href="https://github-redirect.dependabot.com/yewstack/yew/issues/1709">#1709</a>](<a href="https://github-redirect.dependabot.com/yewstack/yew/pull/1709">yewstack/yew#1709</a>)</li> <li>Added missing KeyboardService re-export (<a href="https://github-redirect.dependabot.com/yewstack/yew/issues/1694">#1694</a>). [[<a href="https://github.com/SOF3"><code>@​SOF3</code></a>] <a href="https://github-redirect.dependabot.com/yewstack/yew/issues/1694">#1694</a>](<a href="https://github-redirect.dependabot.com/yewstack/yew/pull/1694">yewstack/yew#1694</a>)</li> <li>Clean up component lifecycle state (<a href="https://github-redirect.dependabot.com/yewstack/yew/issues/1700">#1700</a>). [[<a href="https://github.com/jstarry"><code>@​jstarry</code></a>] <a href="https://github-redirect.dependabot.com/yewstack/yew/issues/1700">#1700</a>](<a href="https://github-redirect.dependabot.com/yewstack/yew/pull/1700">yewstack/yew#1700</a>)</li> <li>Move top-level crates to packages/<!-- raw HTML omitted --> (<a href="https://github-redirect.dependabot.com/yewstack/yew/issues/1680">#1680</a>). [[<a href="https://github.com/philip-peterson"><code>@​philip-peterson</code></a>] <a href="https://github-redirect.dependabot.com/yewstack/yew/issues/1680">#1680</a>](<a href="https://github-redirect.dependabot.com/yewstack/yew/pull/1680">yewstack/yew#1680</a>)</li> <li>Refactor component lifecycle event handling (<a href="https://github-redirect.dependabot.com/yewstack/yew/issues/1692">#1692</a>). [[<a href="https://github.com/jstarry"><code>@​jstarry</code></a>] <a href="https://github-redirect.dependabot.com/yewstack/yew/issues/1692">#1692</a>](<a href="https://github-redirect.dependabot.com/yewstack/yew/pull/1692">yewstack/yew#1692</a>)</li> <li>Prune stdweb examples to reduce maintenance burden (<a href="https://github-redirect.dependabot.com/yewstack/yew/issues/1690">#1690</a>). [[<a href="https://github.com/jstarry"><code>@​jstarry</code></a>] <a href="https://github-redirect.dependabot.com/yewstack/yew/issues/1690">#1690</a>](<a href="https://github-redirect.dependabot.com/yewstack/yew/pull/1690">yewstack/yew#1690</a>)</li> <li>Refactor html module into new component submodule (<a href="https://github-redirect.dependabot.com/yewstack/yew/issues/1689">#1689</a>). [[<a href="https://github.com/jstarry"><code>@​jstarry</code></a>] <a href="https://github-redirect.dependabot.com/yewstack/yew/issues/1689">#1689</a>](<a href="https://github-redirect.dependabot.com/yewstack/yew/pull/1689">yewstack/yew#1689</a>)</li> <li>Rename internal Agent structs to match Component (<a href="https://github-redirect.dependabot.com/yewstack/yew/issues/1688">#1688</a>). [[<a href="https://github.com/jstarry"><code>@​jstarry</code></a>] <a href="https://github-redirect.dependabot.com/yewstack/yew/issues/1688">#1688</a>](<a href="https://github-redirect.dependabot.com/yewstack/yew/pull/1688">yewstack/yew#1688</a>)</li> <li>Revert &quot;Update rand requirement from 0.7 to 0.8 (<a href="https://github-redirect.dependabot.com/yewstack/yew/issues/1682">#1682</a>)&quot; (<a href="https://github-redirect.dependabot.com/yewstack/yew/issues/1684">#1684</a>). [[<a href="https://github.com/siku2"><code>@​siku2</code></a>] <a href="https://github-redirect.dependabot.com/yewstack/yew/issues/1682">#1682</a>](<a href="https://github-redirect.dependabot.com/yewstack/yew/pull/1682">yewstack/yew#1682</a>)</li> <li>Add discussion link to issue selector (<a href="https://github-redirect.dependabot.com/yewstack/yew/issues/1674">#1674</a>). [[<a href="https://github.com/jstarry"><code>@​jstarry</code></a>] <a href="https://github-redirect.dependabot.com/yewstack/yew/issues/1674">#1674</a>](<a href="https://github-redirect.dependabot.com/yewstack/yew/pull/1674">yewstack/yew#1674</a>)</li> <li>Update link to Material Design Components (<a href="https://github-redirect.dependabot.com/yewstack/yew/issues/1662">#1662</a>). [[<a href="https://github.com/TapioT"><code>@​TapioT</code></a>] <a href="https://github-redirect.dependabot.com/yewstack/yew/issues/1662">#1662</a>](<a href="https://github-redirect.dependabot.com/yewstack/yew/pull/1662">yewstack/yew#1662</a>)</li> <li>Extract Classes to a separate macro (<a href="https://github-redirect.dependabot.com/yewstack/yew/issues/1601">#1601</a>). [[<a href="https://github.com/cecton"><code>@​cecton</code></a>] <a href="https://github-redirect.dependabot.com/yewstack/yew/issues/1601">#1601</a>](<a href="https://github-redirect.dependabot.com/yewstack/yew/pull/1601">yewstack/yew#1601</a>)</li> <li>Improve the &quot;keyed_list&quot; example (<a href="https://github-redirect.dependabot.com/yewstack/yew/issues/1650">#1650</a>). [[<a href="https://github.com/titaneric"><code>@​titaneric</code></a>] <a href="https://github-redirect.dependabot.com/yewstack/yew/issues/1650">#1650</a>](<a href="https://github-redirect.dependabot.com/yewstack/yew/pull/1650">yewstack/yew#1650</a>)</li> <li>Apply new Clippy lints, examples deployment, and stdweb integration tests (<a href="https://github-redirect.dependabot.com/yewstack/yew/issues/1651">#1651</a>). [[<a href="https://github.com/siku2"><code>@​siku2</code></a>] <a href="https://github-redirect.dependabot.com/yewstack/yew/issues/1651">#1651</a>](<a href="https://github-redirect.dependabot.com/yewstack/yew/pull/1651">yewstack/yew#1651</a>)</li> <li>Add documentation for component children (<a href="https://github-redirect.dependabot.com/yewstack/yew/issues/1616">#1616</a>). [[<a href="https://github.com/K4rakara"><code>@​K4rakara</code></a>] <a href="https://github-redirect.dependabot.com/yewstack/yew/issues/1616">#1616</a>](<a href="https://github-redirect.dependabot.com/yewstack/yew/pull/1616">yewstack/yew#1616</a>)</li> <li>More ergonomic use state 1505 (<a href="https://github-redirect.dependabot.com/yewstack/yew/issues/1630">#1630</a>). [[<a href="https://github.com/mattferrin"><code>@​mattferrin</code></a>] <a href="https://github-redirect.dependabot.com/yewstack/yew/issues/1630">#1630</a>](<a href="https://github-redirect.dependabot.com/yewstack/yew/pull/1630">yewstack/yew#1630</a>)</li> <li>Remove Drop bound from Task trait (<a href="https://github-redirect.dependabot.com/yewstack/yew/issues/1627">#1627</a>). [[<a href="https://github.com/siku2"><code>@​siku2</code></a>] <a href="https://github-redirect.dependabot.com/yewstack/yew/issues/1627">#1627</a>](<a href="https://github-redirect.dependabot.com/yewstack/yew/pull/1627">yewstack/yew#1627</a>)</li> <li>Document dynamic tag names (<a href="https://github-redirect.dependabot.com/yewstack/yew/issues/1628">#1628</a>). [[<a href="https://github.com/siku2"><code>@​siku2</code></a>] <a href="https://github-redirect.dependabot.com/yewstack/yew/issues/1628">#1628</a>](<a href="https://github-redirect.dependabot.com/yewstack/yew/pull/1628">yewstack/yew#1628</a>)</li> <li>Add a macro for building properties outside of html! (<a href="https://github-redirect.dependabot.com/yewstack/yew/issues/1599">#1599</a>). [[<a href="https://github.com/siku2"><code>@​siku2</code></a>] <a href="https://github-redirect.dependabot.com/yewstack/yew/issues/1599">#1599</a>](<a href="https://github-redirect.dependabot.com/yewstack/yew/pull/1599">yewstack/yew#1599</a>)</li> </ul> </li> </ul> <h2>✨ <strong>0.17.4</strong> <em>(2020-10-18)</em></h2> <h4>Changelog</h4> <ul> <li> <h4>🛠 Fixes</h4> <ul> <li>Fixed a &quot;call stack exceeded&quot; panic that occurred if a <code>Component</code> was updated many times [[<a href="https://github.com/jstarry"><code>@​jstarry</code></a>], <a href="https://github-redirect.dependabot.com/yewstack/yew/pull/1624">#1624</a>]</li> </ul> </li> </ul> <h2>✨ <strong>0.17.3</strong> <em>(2020-08-16)</em></h2> <h4>Changelog</h4> <ul> <li> <h4>⚡️ Features</h4> <ul> <li>Added <code>prompt</code> function to <code>DialogService</code>. [[<a href="https://github.com/teymour-aldridge"><code>@​teymour-aldridge</code></a>], <a href="https://github-redirect.dependabot.com/yewstack/yew/pull/1350">#1350</a>]</li> <li>Implement <code>From&lt;&amp;[T]&gt;</code> where <code>T: AsRef&lt;str&gt;</code> for <code>Classes</code>. [[<a href="https://github.com/alexschrod"><code>@​alexschrod</code></a>], <a href="https://github-redirect.dependabot.com/yewstack/yew/pull/1448">#1448</a>]</li> <li>Added <code>batch_callback_once</code> to <code>ComponentLink</code>. [[<a href="https://github.com/ctron"><code>@​ctron</code></a>], <a href="https://github-redirect.dependabot.com/yewstack/yew/pull/1463">#1463</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/17b27bce3f6b409957fc84c5ade2c3aeb28e015c"><code>17b27bc</code></a> Re-enable circular dependency</li> <li><a href="https://github.com/yewstack/yew/commit/1b7ac91dfd77f910aa047f24eaf46d204e17f112"><code>1b7ac91</code></a> (cargo-release) version 0.18.0</li> <li><a href="https://github.com/yewstack/yew/commit/16b87bc8a49804f303fc01607a285ac5fe418124"><code>16b87bc</code></a> yew-stdweb: update yew dependency</li> <li><a href="https://github.com/yewstack/yew/commit/423d1cea0c7688305a46a87419d9da1501755c19"><code>423d1ce</code></a> (cargo-release) version 0.4.0</li> <li><a href="https://github.com/yewstack/yew/commit/f0e49d823bb58eb5c048dac1a2a918190654e30d"><code>f0e49d8</code></a> (cargo-release) version 0.3.0</li> <li><a href="https://github.com/yewstack/yew/commit/a492f9612a7b2bf7adc29d272eeeb28eeb01e40d"><code>a492f96</code></a> (cargo-release) version 0.15.0</li> <li><a href="https://github.com/yewstack/yew/commit/1b2cd133ef9df22652964cc18f62939dbc17ddf5"><code>1b2cd13</code></a> (cargo-release) version 0.15.0</li> <li><a href="https://github.com/yewstack/yew/commit/72368433b02c4e32a7285ddfd1e1c71f2862dcaf"><code>7236843</code></a> Disable circular dependency temporarily</li> <li><a href="https://github.com/yewstack/yew/commit/7df53ddc17320cf589f014cfa38d592fb2f1b629"><code>7df53dd</code></a> (cargo-release) version 0.15.0</li> <li><a href="https://github.com/yewstack/yew/commit/b5944eb856aa2b5d394012edd3934e49f3cc6568"><code>b5944eb</code></a> (cargo-release) version 0.3.0</li> <li>Additional commits viewable in <a href="https://github.com/yewstack/yew/compare/0.17.0...0.18.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> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Mubelotix <[email protected]>
2 parents 39aeac1 + 7447d8a commit 4062a4a

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ futures = "0.3"
3535
# The following dependencies are required for examples
3636
wasm-bindgen = "0.2"
3737
wasm-bindgen-futures = "0.4"
38-
yew = "0.17"
38+
yew = "0.18"
3939
web-sys = "0.3"
4040
console_error_panic_hook = "0.1"
4141

examples/web_app/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ crate-type = ["cdylib", "rlib"]
1010
[dependencies]
1111
wasm-bindgen = "0.2"
1212
wasm-bindgen-futures = "0.4.18"
13-
yew = "0.17"
13+
yew = "0.18"
1414
meilisearch-sdk = {path="../.."}
1515
serde = {version="1.0", features=["derive"]}
1616
web-sys = "0.3"

examples/web_app/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ fn header_content(processing_time_ms: usize, link: Rc<ComponentLink<Model>>) ->
154154
</p>
155155
<form role="search" id="search">
156156
// We fire an event each time the value changes so that we can update the results
157-
<input placeholder="name, keywords, description" autofocus=true autocapitalize="none" autocorrect=false autocomplete=false tabindex="1" type="search" id="textSearch" oninput=link.callback(|e: yew::html::InputData| Msg::Input(e.value))/>
157+
<input placeholder="name, keywords, description" autofocus=true autocapitalize="none" autocorrect="off" autocomplete="off" tabindex="1" type="search" id="textSearch" oninput=link.callback(|e: yew::html::InputData| Msg::Input(e.value))/>
158158
// We display the processing time here
159159
<span id="request-time">{processing_time_ms}{" ms"}</span>
160160
</form>

0 commit comments

Comments
 (0)