arxanas / scm-record

`scm-record` is a UI component to interactively select changes to include in a commit. It's meant to be embedded in source control tooling.
23 stars 9 forks source link

build: bump ratatui from 0.23.0 to 0.26.1 #27

Closed dependabot[bot] closed 2 months ago

dependabot[bot] commented 6 months ago

⚠️ Dependabot is rebasing this PR ⚠️

Rebasing might not happen immediately, so don't worry if this takes some time.

Note: if you make any changes to this PR yourself, they will take precedence over the rebase.


Bumps ratatui from 0.23.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">ratatui's changelog</a>.</em></p>
    <blockquote>
    <h2><a href="https://github.com/ratatui-org/ratatui/releases/tag/0.26.1">0.26.1</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">74a0511</a>
    <em>(rect)</em> Add Rect::positions iterator (<a href="https://redirect.github.com/ratatui-org/ratatui/issues/928">#928</a>)</p>
    <pre lang="text"><code>Useful for performing some action on all the cells in a particular area.
    E.g.,
    
    ```rust
    fn render(area: Rect, buf: &amp;mut Buffer) {
       for position in area.positions() {
            buf.get_mut(position.x, position.y).set_symbol(&quot;x&quot;);
        }
    }
    

  • 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(&quot;A&quot;).left_aligned())
        .title_top(Line::raw(&quot;B&quot;).centered())
        .title_top(Line::raw(&quot;C&quot;).right_aligned())
        .title_bottom(Line::raw(&quot;D&quot;).left_aligned())
        .title_bottom(Line::raw(&quot;E&quot;).centered())
        .title_bottom(Line::raw(&quot;F&quot;).right_aligned())
        .render(buffer.area, &amp;mut buffer);
    // renders
    &quot;┌A─────B─────C┐&quot;,
    &quot;│             │&quot;,
    &quot;└D─────E─────F┘&quot;,
    

    Addresses part of ratatui-org/ratatui#738

... (truncated)

Commits
  • efd1e47 chore(release): prepare for 0.26.1 (#945)
  • 410d08b docs: add link to FOSDEM 2024 talk (#944)
  • a4892ad chore: fix typo in docsrs example (#946)
  • 18870ce chore: fix the method name for setting the Line style (#947)
  • 1f208ff docs: add GitHub Sponsors badge (#943)
  • e51ca6e refactor: finish tidying up table (#942)
  • 9182f47 feat: add Block::title_top and Block::title_top_bottom (#940)
  • 91040c0 refactor: rearrange block structure (#939)
  • 2202059 fix(block): fix crash on empty right aligned title (#933)
  • 8fb4630 chore: Remove github action bot that makes comments nudging commit signing (#...
  • Additional commits viewable in compare view


Dependabot compatibility score

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options
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 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)

Note Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

arxanas commented 3 months ago

@dependabot recreate

arxanas commented 2 months ago

This is already updated on main, not sure why the PR remained open instead of getting auto-closed.

dependabot[bot] commented 2 months ago

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.