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

Bump ratatui from 0.23.0 to 0.24.0 #338

Merged
merged 3 commits into from
Nov 1, 2023
Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 23, 2023

Bumps ratatui from 0.23.0 to 0.24.0.

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

... (truncated)

Commits
  • c597b87 chore(release): prepare for 0.24.0 (#588)
  • 82a0d01 chore(changelog): skip dependency updates in changelog (#582)
  • 0e573cd docs(github): update code owners (#587)
  • b070008 docs(readme): fix link to demo2 image (#589)
  • c6c3f88 feat(backend): implement common traits for WindowSize (#586)
  • a20bd6a chore(deps): update lru requirement from 0.11.1 to 0.12.0 (#581)
  • 5213f78 chore(deps): bump actions/checkout from 3 to 4 (#580)
  • 12f9291 chore(github): create dependabot.yml (#575)
  • ad2dc56 docs(examples): update examples readme (#576)
  • 6cbdb06 chore(examples): refactor some examples (#578)
  • 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 <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)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file rust Pull requests that update Rust code labels Oct 23, 2023
@dependabot dependabot bot force-pushed the dependabot/cargo/ratatui-0.24.0 branch from ab68de0 to fde0e31 Compare November 1, 2023 21:58
Bumps [ratatui](https://github.com/ratatui-org/ratatui) from 0.23.0 to 0.24.0.
- [Release notes](https://github.com/ratatui-org/ratatui/releases)
- [Changelog](https://github.com/ratatui-org/ratatui/blob/main/CHANGELOG.md)
- [Commits](ratatui/ratatui@v0.23.0...v0.24.0)

---
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.24.0 branch from fde0e31 to b3f65cb Compare November 1, 2023 22:02
@dependabot dependabot bot requested a review from replydev as a code owner November 1, 2023 22:02
@replydev replydev merged commit 0bbf181 into main Nov 1, 2023
5 checks passed
@replydev replydev deleted the dependabot/cargo/ratatui-0.24.0 branch November 1, 2023 22:30
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.

1 participant