Skip to content

Commit c34cc6c

Browse files
authored
chore(deps): bump ratatui from 0.26.3 to 0.27.0 (#444)
Bumps [ratatui](https://github.com/ratatui-org/ratatui) from 0.26.3 to 0.27.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/ratatui-org/ratatui/releases">ratatui's releases</a>.</em></p> <blockquote> <h2>v0.27.0</h2> <!-- raw HTML omitted --> <h2><a href="https://github.com/ratatui-org/ratatui/releases/tag/v0.27.0">0.27.0</a> - 2024-06-24</h2> <p><em>“I can’t believe it! A real gourmet kitchen, and I get to watch!” – Remy</em></p> <p>We are excited to announce the new version of <code>ratatui</code> - a Rust library that's all about cooking up TUIs 🐭</p> <p>In this version, we have focused on enhancing usability and functionality with new features like background styles for LineGauge, palette colors, and various other improvements including improved performance. Also, we added brand new examples for tracing and creating hyperlinks!</p> <p>✨ <strong>Release highlights</strong>: <a href="https://ratatui.rs/highlights/v027/">https://ratatui.rs/highlights/v027/</a></p> <p>⚠️ List of breaking changes can be found <a href="https://github.com/ratatui-org/ratatui/blob/main/BREAKING-CHANGES.md">here</a>.</p> <h3>Features</h3> <ul> <li> <p><a href="https://github.com/ratatui-org/ratatui/commit/eef1afe9155089dca489a9159c368a5ac07e7585">eef1afe</a> <em>(linegauge)</em> Allow LineGauge background styles by <a href="https://github.com/nowNick"><code>@​nowNick</code></a> in <a href="https://redirect.github.com/ratatui-org/ratatui/pull/565">#565</a></p> <pre lang="text"><code>This PR deprecates `gauge_style` in favor of `filled_style` and `unfilled_style` which can have it's foreground and background styled. <p><code>cargo run --example=line_gauge --features=crossterm</code> </code></pre></p> <p><a href="https://github.com/ratatui-org/ratatui/assets/5149215/5fb2ce65-8607-478f-8be4-092e08612f5b">https://github.com/ratatui-org/ratatui/assets/5149215/5fb2ce65-8607-478f-8be4-092e08612f5b</a></p> <p>Implements:<a href="https://redirect.github.com/ratatui-org/ratatui/issues/424">ratatui-org/ratatui#424</a></p> </li> <li> <p><a href="https://github.com/ratatui-org/ratatui/commit/13656206064b53c7f86f179b570c7769399212a3">1365620</a> <em>(borders)</em> Add FULL and EMPTY border sets by <a href="https://github.com/joshka"><code>@​joshka</code></a> in <a href="https://redirect.github.com/ratatui-org/ratatui/pull/1182">#1182</a></p> <p><code>border::FULL</code> uses a full block symbol, while <code>border::EMPTY</code> uses an empty space. This is useful for when you need to allocate space for the border and apply the border style to a block without actually drawing a border. This makes it possible to style the entire title area or a block rather than just the title content.</p> </li> </ul> <pre lang="rust"><code>use ratatui::{symbols::border, widgets::Block}; let block = Block::bordered().title(&quot;Title&quot;).border_set(border::FULL); let block = Block::bordered().title(&quot;Title&quot;).border_set(border::EMPTY); </code></pre> <ul> <li> <p><a href="https://github.com/ratatui-org/ratatui/commit/7a48c5b11b3d51b915ccc187d0499b6e0e88b89d">7a48c5b</a> <em>(cell)</em> Add EMPTY and (const) new method by <a href="https://github.com/EdJoPaTo"><code>@​EdJoPaTo</code></a> in <a href="https://redirect.github.com/ratatui-org/ratatui/pull/1143">#1143</a></p> <pre lang="text"><code>This simplifies calls to `Buffer::filled` in tests. </code></pre> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/ratatui-org/ratatui/blob/main/CHANGELOG.md">ratatui's changelog</a>.</em></p> <blockquote> <h2><a href="https://github.com/ratatui-org/ratatui/releases/tag/v0.27.0">0.27.0</a> - 2024-06-24</h2> <p>In this version, we have focused on enhancing usability and functionality with new features like background styles for LineGauge, palette colors, and various other improvements including improved performance. Also, we added brand new examples for tracing and creating hyperlinks!</p> <p>✨ <strong>Release highlights</strong>: <a href="https://ratatui.rs/highlights/v027/">https://ratatui.rs/highlights/v027/</a></p> <p>⚠️ List of breaking changes can be found <a href="https://github.com/ratatui-org/ratatui/blob/main/BREAKING-CHANGES.md">here</a>.</p> <h3>Features</h3> <ul> <li> <p><a href="https://github.com/ratatui-org/ratatui/commit/eef1afe9155089dca489a9159c368a5ac07e7585">eef1afe</a> <em>(linegauge)</em> Allow LineGauge background styles by <a href="https://github.com/nowNick"><code>@​nowNick</code></a> in <a href="https://redirect.github.com/ratatui-org/ratatui/pull/565">#565</a></p> <pre lang="text"><code>This PR deprecates `gauge_style` in favor of `filled_style` and `unfilled_style` which can have it's foreground and background styled. <p><code>cargo run --example=line_gauge --features=crossterm</code> </code></pre></p> <p><a href="https://github.com/ratatui-org/ratatui/assets/5149215/5fb2ce65-8607-478f-8be4-092e08612f5b">https://github.com/ratatui-org/ratatui/assets/5149215/5fb2ce65-8607-478f-8be4-092e08612f5b</a></p> <p>Implements:<a href="https://redirect.github.com/ratatui-org/ratatui/issues/424">ratatui-org/ratatui#424</a></p> </li> <li> <p><a href="https://github.com/ratatui-org/ratatui/commit/13656206064b53c7f86f179b570c7769399212a3">1365620</a> <em>(borders)</em> Add FULL and EMPTY border sets by <a href="https://github.com/joshka"><code>@​joshka</code></a> in <a href="https://redirect.github.com/ratatui-org/ratatui/pull/1182">#1182</a></p> <p><code>border::FULL</code> uses a full block symbol, while <code>border::EMPTY</code> uses an empty space. This is useful for when you need to allocate space for the border and apply the border style to a block without actually drawing a border. This makes it possible to style the entire title area or a block rather than just the title content.</p> </li> </ul> <pre lang="rust"><code>use ratatui::{symbols::border, widgets::Block}; let block = Block::bordered().title(&quot;Title&quot;).border_set(border::FULL); let block = Block::bordered().title(&quot;Title&quot;).border_set(border::EMPTY); </code></pre> <ul> <li> <p><a href="https://github.com/ratatui-org/ratatui/commit/7a48c5b11b3d51b915ccc187d0499b6e0e88b89d">7a48c5b</a> <em>(cell)</em> Add EMPTY and (const) new method by <a href="https://github.com/EdJoPaTo"><code>@​EdJoPaTo</code></a> in <a href="https://redirect.github.com/ratatui-org/ratatui/pull/1143">#1143</a></p> <pre lang="text"><code>This simplifies calls to `Buffer::filled` in tests. </code></pre> </li> <li> <p><a href="https://github.com/ratatui-org/ratatui/commit/3f2f2cd6abf67a04809ff314025a462a3c2e2446">3f2f2cd</a> <em>(docs)</em> Add tracing example by <a href="https://github.com/joshka"><code>@​joshka</code></a> in <a href="https://redirect.github.com/ratatui-org/ratatui/pull/1192">#1192</a></p> <pre lang="text"><code>Add an example that demonstrates logging to a file for: </code></pre> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/ratatui-org/ratatui/commit/0a18dcb329e60b455794cba93db1bc90d0d14196"><code>0a18dcb</code></a> chore(release): prepare for 0.27.0 (<a href="https://redirect.github.com/ratatui-org/ratatui/issues/1196">#1196</a>)</li> <li><a href="https://github.com/ratatui-org/ratatui/commit/7ef2daee060a7fe964a8de64eafcb6062228e035"><code>7ef2dae</code></a> feat(text): support constructing <code>Line</code> and <code>Text</code> from <code>usize</code> (<a href="https://redirect.github.com/ratatui-org/ratatui/issues/1167">#1167</a>)</li> <li><a href="https://github.com/ratatui-org/ratatui/commit/46977d88519d28ccac1c94e171af0c9cca071dbc"><code>46977d8</code></a> feat(list)!: add list navigation methods (first, last, previous, next) (<a href="https://redirect.github.com/ratatui-org/ratatui/issues/1159">#1159</a>)</li> <li><a href="https://github.com/ratatui-org/ratatui/commit/38bb19640449c7a3eee3a2fba6450071395e5e06"><code>38bb196</code></a> docs(breaking-changes): mention <code>LineGauge::gauge_style</code> (<a href="https://redirect.github.com/ratatui-org/ratatui/issues/1194">#1194</a>)</li> <li><a href="https://github.com/ratatui-org/ratatui/commit/1908b06b4a497ff1cfb2c8d8c165d2a241ee1864"><code>1908b06</code></a> docs(borders): add missing closing code blocks (<a href="https://redirect.github.com/ratatui-org/ratatui/issues/1195">#1195</a>)</li> <li><a href="https://github.com/ratatui-org/ratatui/commit/3f2f2cd6abf67a04809ff314025a462a3c2e2446"><code>3f2f2cd</code></a> feat(docs): add tracing example (<a href="https://redirect.github.com/ratatui-org/ratatui/issues/1192">#1192</a>)</li> <li><a href="https://github.com/ratatui-org/ratatui/commit/efa965e1e806c60cb1bdb2d1715f960db0857704"><code>efa965e</code></a> fix(line): remove newlines when converting strings to Lines (<a href="https://redirect.github.com/ratatui-org/ratatui/issues/1191">#1191</a>)</li> <li><a href="https://github.com/ratatui-org/ratatui/commit/127d706ee4876a58230f42f4a730b18671eae167"><code>127d706</code></a> fix(table): ensure render offset without selection properly (<a href="https://redirect.github.com/ratatui-org/ratatui/issues/1187">#1187</a>)</li> <li><a href="https://github.com/ratatui-org/ratatui/commit/13656206064b53c7f86f179b570c7769399212a3"><code>1365620</code></a> feat(borders): Add FULL and EMPTY border sets (<a href="https://redirect.github.com/ratatui-org/ratatui/issues/1182">#1182</a>)</li> <li><a href="https://github.com/ratatui-org/ratatui/commit/cd64367e244a1588206f653fd79678ce62a86a2f"><code>cd64367</code></a> chore(symbols): add tests for line symbols (<a href="https://redirect.github.com/ratatui-org/ratatui/issues/1186">#1186</a>)</li> <li>Additional commits viewable in <a href="https://github.com/ratatui-org/ratatui/compare/v0.26.3...v0.27.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=ratatui&package-manager=cargo&previous-version=0.26.3&new-version=0.27.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually 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>
2 parents eab7cbd + edb6226 commit c34cc6c

File tree

2 files changed

+21
-17
lines changed

2 files changed

+21
-17
lines changed

Cargo.lock

Lines changed: 20 additions & 16 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ qrcode = "0.14.0"
4848
urlencoding = "2.1.3"
4949
base64 = "0.22.1"
5050
md-5 = "0.10.6"
51-
ratatui = { version = "0.26.3", features = ["all-widgets"] }
51+
ratatui = { version = "0.27.0", features = ["all-widgets"] }
5252
crossterm = "0.27.0"
5353
url = "2.5.2"
5454
color-eyre = "0.6.3"

0 commit comments

Comments
 (0)