Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update ratatui requirement from 0.28.0 to 0.29.0 #21

Merged
merged 1 commit into from
Dec 9, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 21, 2024

Updates the requirements on ratatui to permit the latest version.

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

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 <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)

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

Updates the requirements on [ratatui](https://github.com/ratatui/ratatui) to permit the latest version.
- [Release notes](https://github.com/ratatui/ratatui/releases)
- [Changelog](https://github.com/ratatui/ratatui/blob/main/CHANGELOG.md)
- [Commits](ratatui/ratatui@v0.28.0...v0.29.0)

---
updated-dependencies:
- dependency-name: ratatui
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file rust Pull requests that update Rust code labels Oct 21, 2024
@codecov-commenter
Copy link

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 32.51%. Comparing base (f3c54f0) to head (b143ec8).

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #21      +/-   ##
==========================================
- Coverage   32.66%   32.51%   -0.15%     
==========================================
  Files           1        1              
  Lines         450      449       -1     
==========================================
- Hits          147      146       -1     
  Misses        303      303              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@h7kanna
Copy link

h7kanna commented Dec 9, 2024

Hi @shuoli84,

I am trying out this widget.

Can you please upgrade ratatui to Ratatui 0.29.0 and release?

Ratatui 0.28.0 version conflicts with other dependences that have dependency on unicode-width 0.2.x

failed to select a version for `unicode-width`.
    ... required by package `ratatui v0.28.0`
    ... which satisfies dependency `ratatui = "^0.28.0"` of package `tui-menu v0.2.4`
    ... which satisfies dependency `tui-menu = "^0.2.4"` of package `tui-demo v0.1.0 (d`
versions that meet the requirements `^0.1.13` are: 0.1.14, 0.1.13

@joshka joshka merged commit 194b247 into main Dec 9, 2024
10 checks passed
@joshka joshka deleted the dependabot/cargo/ratatui-0.29.0 branch December 9, 2024 23:01
@github-actions github-actions bot mentioned this pull request Dec 9, 2024
@joshka
Copy link
Collaborator

joshka commented Dec 9, 2024

Can you please upgrade ratatui to Ratatui 0.29.0 and release?

Done. This is available in tui-menu 0.3.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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.

3 participants