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

Update ratatui requirement from 0.24.0 to 0.25.0 #4

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 18, 2023

Updates the requirements on ratatui to permit the latest version.

Release notes

Sourced from ratatui's releases.

v0.24.0

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

In this version, we've introduced features like window size API, enhanced chart rendering, and more. The list of *breaking changes* can be found here ⚠️. Also, we created various tutorials and walkthroughs in Ratatui Book which is available at https://ratatui.rs 🚀

Release highlights: https://ratatui.rs/highlights/v0.24.html

Features

  • c6c3f88 (backend) Implement common traits for WindowSize (#586)

  • d077903 (backend) Backend provides window_size, add Size struct (#276)

    For image (sixel, iTerm2, Kitty...) support that handles graphics in
    terms of `Rect` so that the image area can be included in layouts.
    

    For example: an image is loaded with a known pixel-size, and drawn, but the image protocol has no mechanism of knowing the actual cell/character area that been drawn on. It is then impossible to skip overdrawing the area.

    Returning the window size in pixel-width / pixel-height, together with columns / rows, it can be possible to account the pixel size of each cell / character, and then known the Rect of a given image, and also resize the image so that it fits exactly in a Rect.

    Crossterm and termwiz also both return both sizes from one syscall, while termion does two.

    Add a Size struct for the cases where a Rect's x/y is unused (always zero).

    Size is not "clipped" for area < u16::max_value() like Rect. This is why there are From implementations between the two.

  • 301366c (barchart) Render charts smaller than 3 lines (#532)

    The bar values are not shown if the value width is equal the bar width
    and the bar is height is less than one line
    

    Add an internal structure LabelInfo which stores the reserved height for the labels (0, 1 or 2) and also whether the labels will be shown.

... (truncated)

Changelog

Sourced from ratatui's changelog.

0.24.0 - 2023-10-23

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

In this version, we've introduced features like window size API, enhanced chart rendering, and more. The list of *breaking changes* can be found here ⚠️. Also, we created various tutorials and walkthroughs in Ratatui Book which is available at https://ratatui.rs 🚀

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

Features

  • c6c3f88 (backend) Implement common traits for WindowSize (#586)

  • d077903 (backend) Backend provides window_size, add Size struct (#276)

    For image (sixel, iTerm2, Kitty...) support that handles graphics in
    terms of `Rect` so that the image area can be included in layouts.
    

    For example: an image is loaded with a known pixel-size, and drawn, but the image protocol has no mechanism of knowing the actual cell/character area that been drawn on. It is then impossible to skip overdrawing the area.

    Returning the window size in pixel-width / pixel-height, together with columns / rows, it can be possible to account the pixel size of each cell / character, and then known the Rect of a given image, and also resize the image so that it fits exactly in a Rect.

    Crossterm and termwiz also both return both sizes from one syscall, while termion does two.

    Add a Size struct for the cases where a Rect's x/y is unused (always zero).

    Size is not "clipped" for area < u16::max_value() like Rect. This is why there are From implementations between the two.

  • 301366c (barchart) Render charts smaller than 3 lines (#532)

    The bar values are not shown if the value width is equal the bar width
    and the bar is height is less than one line
    

    Add an internal structure LabelInfo which stores the reserved height

... (truncated)

Commits

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)

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

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

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Dec 18, 2023
@nicochatzi nicochatzi closed this Dec 27, 2023
Copy link
Contributor Author

dependabot bot commented on behalf of github Dec 27, 2023

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.

@dependabot dependabot bot deleted the dependabot/cargo/ratatui-0.25.0 branch December 27, 2023 09:50
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant