extrawurst / gitui

Blazing 💥 fast terminal-ui for git written in rust 🦀
MIT License
18.63k stars 573 forks source link

Bump ratatui from 0.28.1 to 0.29.0 #2396

Closed dependabot[bot] closed 1 month ago

dependabot[bot] commented 1 month ago

Bumps ratatui from 0.28.1 to 0.29.0.

Release notes

Sourced from ratatui's releases.

v0.29.0

v0.29.0 - 2024-10-21

"Food will come, Remy. Food always comes to those who love to cook." – Gusteau

We are excited to announce the new version of ratatui - a Rust library that's all about cooking up TUIs 👨‍🍳🐀

Release highlights: https://ratatui.rs/highlights/v029/

⚠️ List of breaking changes can be found here.

Features

  • 3a43274 (color) Add hsluv support by @​du-ob in #1333

  • 4c4851c (example) Add drawing feature to the canvas example by @​orhun in #1429

    rec_20241018T235208

    fun fact: I had to do 35 pushups for this...


  • e5a7609 (line) Impl From for Line by @​joshka in #1373 [breaking]

    BREAKING-CHANGES:Line now implements From<Cow<str>

    As this adds an extra conversion, ambiguous inferred values may no longer compile.

    // given:
    struct Foo { ... }
    impl From<Foo> for String { ... }
    impl From<Foo> for Cow<str> { ... }
    

    let foo = Foo { ... }; let line = Line::from(foo); // now fails due to ambiguous type inference // replace with let line = Line::from(String::from(foo));

    Fixes:ratatui/ratatui#1367


... (truncated)

Changelog

Sourced from ratatui's changelog.

v0.29.0 - 2024-10-21

Features

  • 3a43274 (color) Add hsluv support by @​du-ob in #1333

  • 4c4851c (example) Add drawing feature to the canvas example by @​orhun in #1429

    rec_20241018T235208

    fun fact: I had to do 35 pushups for this...


  • e5a7609 (line) Impl From for Line by @​joshka in #1373 [breaking]

    BREAKING-CHANGES:Line now implements From<Cow<str>

    As this adds an extra conversion, ambiguous inferred values may no longer compile.

    // given:
    struct Foo { ... }
    impl From<Foo> for String { ... }
    impl From<Foo> for Cow<str> { ... }
    

    let foo = Foo { ... }; let line = Line::from(foo); // now fails due to ambiguous type inference // replace with let line = Line::from(String::from(foo));

    Fixes:ratatui/ratatui#1367


  • 2805ddd (logo) Add a Ratatui logo widget by @​joshka in #1307

    This is a simple logo widget that can be used to render the Ratatui logo in the terminal. It is used in the examples/ratatui-logo.rs example, and may be used in your applications' help or about screens.

    use ratatui::{Frame, widgets::RatatuiLogo};
    

    fn draw(frame: &mut Frame) { frame.render_widget(RatatuiLogo::tiny(), frame.area());

... (truncated)

Commits
  • 2873217 chore(release): prepare for 0.29.0 (#1444)
  • 6515097 chore(cargo): check in Cargo.lock (#1434)
  • 4c4851c feat(example): add drawing feature to the canvas example (#1429)
  • 4f5503d fix(color)!: hsl and hsluv are now clamped before conversion (#1436)
  • 611086e fix: sparkline docs / doc tests (#1437)
  • 514d273 fix(terminal): use the latest, resized area when clearing (#1427)
  • 60cc15b feat!: add support for empty bar style to Sparkline (#1326)
  • a52ee82 fix(text): truncate based on alignment (#1432)
  • 381ec75 docs(readme): reduce the length (#1431)
  • f6f7794 chore: remove leftover prelude refs / glob imports from example code (#1430)
  • Additional commits viewable in compare view


Dependabot compatibility score

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 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)
dependabot[bot] commented 1 month ago

Looks like ratatui is up-to-date now, so this is no longer needed.