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): bump ratatui from 0.23.0 to 0.24.0 #322

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Nov 1, 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 the dependencies Pull requests that update a dependency file label Nov 1, 2023
@dependabot dependabot bot force-pushed the dependabot/cargo/ratatui-0.24.0 branch from 8caa3aa to 69885b1 Compare November 1, 2023 02:25
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 69885b1 to 8aaae4c Compare November 1, 2023 02:26
@cyqsimon
Copy link
Collaborator

cyqsimon commented Nov 1, 2023

Superceded by #327.

@cyqsimon cyqsimon closed this Nov 1, 2023
Copy link
Contributor Author

dependabot bot commented on behalf of github Nov 1, 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.24.0 branch November 1, 2023 03:51
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