Skip to content
This repository was archived by the owner on Mar 18, 2025. It is now read-only.

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 2, 2021

Updates the requirements on tui to permit the latest version.

Release notes

Sourced from tui's releases.

v.0.16.0

Features

  • Update crossterm to 0.20.
  • Add From<Cow<str>> implementation for text::Text (#471).
  • Add option to right or center align the title of a widgets::Block (#462).

Fixes

  • Apply label style in widgets::Gauge and avoid panics because of overflows with long labels (#494).
  • Avoid panics because of overflows with long axis labels in widgets::Chart (#512).
  • Fix computation of column widths in widgets::Table (#514).
  • Fix panics because of invalid offset when input changes between two frames in widgets::List and widgets::Chart (#516).
Changelog

Sourced from tui's changelog.

v0.16.0 - 2021-08-01

Features

  • Update crossterm to 0.20.
  • Add From<Cow<str>> implementation for text::Text (#471).
  • Add option to right or center align the title of a widgets::Block (#462).

Fixes

  • Apply label style in widgets::Gauge and avoid panics because of overflows with long labels (#494).
  • Avoid panics because of overflows with long axis labels in widgets::Chart (#512).
  • Fix computation of column widths in widgets::Table (#514).
  • Fix panics because of invalid offset when input changes between two frames in widgets::List and widgets::Chart (#516).

v0.15.0 - 2021-05-02

Features

  • Update crossterm to 0.19.
  • Update rand to 0.8.
  • Add a read-only view of the terminal state after the draw call (#440).

Fixes

  • Remove compile warning in TestBackend::assert_buffer (#466).

v0.14.0 - 2021-01-01

Breaking changes

New API for the Table widget

The Table widget got a lot of improvements that should make it easier to work with:

  • It should not longer panic when rendered on small areas.
  • Rows are now a collection of Cells, themselves wrapping a Text. This means you can style the entire Table, an entire Row, an entire Cell and rely on the styling capabilities of Text to get full control over the look of your Table.
  • Rows can have multiple lines.
  • The header is now optional and is just another Row always visible at the top.
  • Rows can have a bottom margin.
  • The header alignment is no longer off when an item is selected.

Taking the example of the code in examples/demo/ui.rs, this is what you may have to change:

     let failure_style = Style::default()
         .fg(Color::Red)
         .add_modifier(Modifier::RAPID_BLINK | Modifier::CROSSED_OUT);
-    let header = ["Server", "Location", "Status"];
</tr></table> 

... (truncated)

Commits
  • 7870793 Release v0.16.0
  • a7c21a9 fix(widgets): avoid offset panic in Table and List when input changes
  • 914d54e chore: bump crossterm to 0.20
  • a68e38e fix(table): use Layout in table column widths computation
  • e870e5d feat(layout): add private option to control last chunk expansion
  • 29387e7 Add battleship.rs
  • 8eb6336 refactor(widgets): remove iter::repeat for blank symbols
  • 34a2be6 fix(widgets/chart): remove panics with long axis labels
  • fbd8344 doc(widgets/clear): clarify usage of clear
  • 8da5f74 refactor(examples): show more use case in gauge example
  • Additional commits viewable in compare view

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 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 [tui](https://github.com/fdehau/tui-rs) to permit the latest version.
- [Release notes](https://github.com/fdehau/tui-rs/releases)
- [Changelog](https://github.com/fdehau/tui-rs/blob/master/CHANGELOG.md)
- [Commits](fdehau/tui-rs@v0.15.0...v0.16.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Aug 2, 2021
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Jan 24, 2022

Superseded by #38.

@dependabot dependabot bot closed this Jan 24, 2022
@dependabot dependabot bot deleted the dependabot/cargo/tui-0.16 branch January 24, 2022 11:20
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants