Skip to content
This repository has been archived by the owner on Jul 24, 2024. It is now read-only.

build(deps): bump ratatui from 0.25.0 to 0.26.1 #18

Merged
merged 1 commit into from
Feb 13, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 13, 2024

Bumps ratatui from 0.25.0 to 0.26.1.

Release notes

Sourced from ratatui's releases.

v0.26.1

0.26.1 - 2024-02-12

This is a patch release that fixes bugs and adds enhancements, including new iterators, title options for blocks, and various rendering improvements. ✨

Features

  • 74a0511 (rect) Add Rect::positions iterator (#928)

    Useful for performing some action on all the cells in a particular area.
    E.g.,
    
    fn render(area: Rect, buf: &mut Buffer) {
       for position in area.positions() {
            buf.get_mut(position.x, position.y).set_symbol("x");
        }
    }

  • 9182f47 (uncategorized) Add Block::title_top and Block::title_top_bottom (#940)

    This adds the ability to add titles to the top and bottom of a block
    without having to use the `Title` struct (which will be removed in a
    future release - likely v0.28.0).
    

    Fixes a subtle bug if the title was created from a right aligned Line and was also right aligned. The title would be rendered one cell too far to the right.

    Block::bordered()
        .title_top(Line::raw("A").left_aligned())
        .title_top(Line::raw("B").centered())
        .title_top(Line::raw("C").right_aligned())
        .title_bottom(Line::raw("D").left_aligned())
        .title_bottom(Line::raw("E").centered())
        .title_bottom(Line::raw("F").right_aligned())
        .render(buffer.area, &mut buffer);
    // renders
    "┌A─────B─────C┐",
    "│             │",
    "└D─────E─────F┘",
    </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&quot;&gt;ratatui's changelog</a>.</em></p>
    <blockquote>
    <h2><a href="https://github.com/ratatui-org/ratatui/releases/tag/0.26.1&quot;&gt;0.26.1&lt;/a> - 2024-02-12</h2>
    <p>This is a patch release that fixes bugs and adds enhancements, including new iterators, title options for blocks, and various rendering improvements. ✨</p>
    <h3>Features</h3>
    <ul>
    <li>
    <p><a href="https://github.com/ratatui-org/ratatui/commit/74a051147a4059990c31e08d96a8469d8220537b&quot;&gt;74a0511&lt;/a>
    <em>(rect)</em> Add Rect::positions iterator (<a href="https://redirect.github.com/ratatui-org/ratatui/issues/928&quot;&gt;#928&lt;/a&gt;)&lt;/p>
    <pre lang="text"><code>Useful for performing some action on all the cells in a particular area.
    E.g.,

    fn render(area: Rect, buf: &amp;amp;mut Buffer) {
       for position in area.positions() {
            buf.get_mut(position.x, position.y).set_symbol(&amp;quot;x&amp;quot;);
        }
    }
    </code></pre>
    <p></code></pre></p>
    </li>
    <li>
    <p><a href="https://github.com/ratatui-org/ratatui/commit/9182f47026d1630cb749163b6f8b8987474312ae">9182f47</a>
    <em>(uncategorized)</em> Add Block::title_top and Block::title_top_bottom (<a href="https://redirect.github.com/ratatui-org/ratatui/issues/940">#940</a>)</p>
    <pre lang="text"><code>This adds the ability to add titles to the top and bottom of a block
    without having to use the `Title` struct (which will be removed in a
    future release - likely v0.28.0).
    <p>Fixes a subtle bug if the title was created from a right aligned Line
    and was also right aligned. The title would be rendered one cell too far
    to the right.</p>
    <pre lang="rust"><code>Block::bordered()
        .title_top(Line::raw(&amp;quot;A&amp;quot;).left_aligned())
        .title_top(Line::raw(&amp;quot;B&amp;quot;).centered())
        .title_top(Line::raw(&amp;quot;C&amp;quot;).right_aligned())
        .title_bottom(Line::raw(&amp;quot;D&amp;quot;).left_aligned())
        .title_bottom(Line::raw(&amp;quot;E&amp;quot;).centered())
        .title_bottom(Line::raw(&amp;quot;F&amp;quot;).right_aligned())
        .render(buffer.area, &amp;amp;mut buffer);
    // renders
    &amp;quot;┌A─────B─────C┐&amp;quot;,
    &amp;quot;│             │&amp;quot;,
    &amp;quot;└D─────E─────F┘&amp;quot;,
    </code></pre>
    <p>Addresses part of <a href="https://redirect.github.com/ratatui-org/ratatui/issues/738">ratatui-org/ratatui#738</a>
    </code></pre></p>
    </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/efd1e476425477b0bce15e3dd96d5cdeb0e1174b"><code>efd1e47</code></a> chore(release): prepare for 0.26.1 (<a href="https://redirect.github.com/ratatui-org/ratatui/issues/945">#945</a>)</li>
    <li><a href="https://github.com/ratatui-org/ratatui/commit/410d08b2b5812d7e29302adc0e8ddf18eb7d1d26"><code>410d08b</code></a> docs: add link to FOSDEM 2024 talk (<a href="https://redirect.github.com/ratatui-org/ratatui/issues/944">#944</a>)</li>
    <li><a href="https://github.com/ratatui-org/ratatui/commit/a4892ad444739d7a760bc45bbd954e728c66b2d2"><code>a4892ad</code></a> chore: fix typo in docsrs example (<a href="https://redirect.github.com/ratatui-org/ratatui/issues/946">#946</a>)</li>
    <li><a href="https://github.com/ratatui-org/ratatui/commit/18870ce99063a492674de061441b2cce5dc54c60"><code>18870ce</code></a> chore: fix the method name for setting the Line style (<a href="https://redirect.github.com/ratatui-org/ratatui/issues/947">#947</a>)</li>
    <li><a href="https://github.com/ratatui-org/ratatui/commit/1f208ffd0368b4d269854dc0c550686dcd2d1de0"><code>1f208ff</code></a> docs: add GitHub Sponsors badge (<a href="https://redirect.github.com/ratatui-org/ratatui/issues/943">#943</a>)</li>
    <li><a href="https://github.com/ratatui-org/ratatui/commit/e51ca6e0d2705e6e0a96aeee78f1e80fcaaf34fc"><code>e51ca6e</code></a> refactor: finish tidying up table (<a href="https://redirect.github.com/ratatui-org/ratatui/issues/942">#942</a>)</li>
    <li><a href="https://github.com/ratatui-org/ratatui/commit/9182f47026d1630cb749163b6f8b8987474312ae"><code>9182f47</code></a> feat: add Block::title_top and Block::title_top_bottom (<a href="https://redirect.github.com/ratatui-org/ratatui/issues/940">#940</a>)</li>
    <li><a href="https://github.com/ratatui-org/ratatui/commit/91040c0865043b8d5e7387509523a41345ed5af3"><code>91040c0</code></a> refactor: rearrange block structure (<a href="https://redirect.github.com/ratatui-org/ratatui/issues/939">#939</a>)</li>
    <li><a href="https://github.com/ratatui-org/ratatui/commit/220205925911ed4377358d2a28ffca9373f11bda"><code>2202059</code></a> fix(block): fix crash on empty right aligned title (<a href="https://redirect.github.com/ratatui-org/ratatui/issues/933">#933</a>)</li>
    <li><a href="https://github.com/ratatui-org/ratatui/commit/8fb46301a00b5d065f9b890496f914d3fdc17495"><code>8fb4630</code></a> chore: Remove github action bot that makes comments nudging commit signing (#...</li>
    <li>Additional commits viewable in <a href="https://github.com/ratatui-org/ratatui/compare/v0.25.0...v0.26.1">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.25.0&new-version=0.26.1)](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>
    

@dependabot dependabot bot added dependencies Pull requests that update a dependency file rust Pull requests that update Rust code labels Feb 13, 2024
Bumps [ratatui](https://github.com/ratatui-org/ratatui) from 0.25.0 to 0.26.1.
- [Release notes](https://github.com/ratatui-org/ratatui/releases)
- [Changelog](https://github.com/ratatui-org/ratatui/blob/main/CHANGELOG.md)
- [Commits](ratatui/ratatui@v0.25.0...v0.26.1)

---
updated-dependencies:
- dependency-name: ratatui
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/cargo/ratatui-0.26.1 branch from 65a56e4 to 17870ba Compare February 13, 2024 03:05
@joshka joshka merged commit 706b3ba into main Feb 13, 2024
@joshka joshka deleted the dependabot/cargo/ratatui-0.26.1 branch February 13, 2024 03:13
@github-actions github-actions bot mentioned this pull request Feb 13, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
dependencies Pull requests that update a dependency file rust Pull requests that update Rust code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant