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

build(cargo): update ratatui requirement from 0.26 to 0.27 #2

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Jul 30, 2024

Updates the requirements on ratatui to permit the latest version.

Release notes

Sourced from ratatui's releases.

v0.27.0

0.27.0 - 2024-06-24

“I can’t believe it! A real gourmet kitchen, and I get to watch!” – Remy

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

In this version, we have focused on enhancing usability and functionality with new features like background styles for LineGauge, palette colors, and various other improvements including improved performance. Also, we added brand new examples for tracing and creating hyperlinks!

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

⚠️ List of breaking changes can be found here.

Features

  • eef1afe (linegauge) Allow LineGauge background styles by @​nowNick in #565

    This PR deprecates `gauge_style` in favor of `filled_style` and
    `unfilled_style` which can have it's foreground and background styled.
    

    cargo run --example=line_gauge --features=crossterm

    line_gauge_demo.mov

    Implements:ratatui-org/ratatui#424

  • 1365620 (borders) Add FULL and EMPTY border sets by @​joshka in #1182

    border::FULL uses a full block symbol, while border::EMPTY uses an empty space. This is useful for when you need to allocate space for the border and apply the border style to a block without actually drawing a border. This makes it possible to style the entire title area or a block rather than just the title content.

use ratatui::{symbols::border, widgets::Block};
let block = Block::bordered().title("Title").border_set(border::FULL);
let block = Block::bordered().title("Title").border_set(border::EMPTY);
  • 7a48c5b (cell) Add EMPTY and (const) new method by @​EdJoPaTo in #1143

    This simplifies calls to `Buffer::filled` in tests.
    

... (truncated)

Changelog

Sourced from ratatui's changelog.

0.27.0 - 2024-06-24

In this version, we have focused on enhancing usability and functionality with new features like background styles for LineGauge, palette colors, and various other improvements including improved performance. Also, we added brand new examples for tracing and creating hyperlinks!

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

⚠️ List of breaking changes can be found here.

Features

  • eef1afe (linegauge) Allow LineGauge background styles by @​nowNick in #565

    This PR deprecates `gauge_style` in favor of `filled_style` and
    `unfilled_style` which can have it's foreground and background styled.
    

    cargo run --example=line_gauge --features=crossterm

    line_gauge_demo.mov

    Implements:ratatui-org/ratatui#424

  • 1365620 (borders) Add FULL and EMPTY border sets by @​joshka in #1182

    border::FULL uses a full block symbol, while border::EMPTY uses an empty space. This is useful for when you need to allocate space for the border and apply the border style to a block without actually drawing a border. This makes it possible to style the entire title area or a block rather than just the title content.

use ratatui::{symbols::border, widgets::Block};
let block = Block::bordered().title("Title").border_set(border::FULL);
let block = Block::bordered().title("Title").border_set(border::EMPTY);
  • 7a48c5b (cell) Add EMPTY and (const) new method by @​EdJoPaTo in #1143

    This simplifies calls to `Buffer::filled` in tests.
    
  • 3f2f2cd (docs) Add tracing example by @​joshka in #1192

    Add an example that demonstrates logging to a file for:
    

... (truncated)

Commits
  • 0a18dcb chore(release): prepare for 0.27.0 (#1196)
  • 7ef2dae feat(text): support constructing Line and Text from usize (#1167)
  • 46977d8 feat(list)!: add list navigation methods (first, last, previous, next) (#1159)
  • 38bb196 docs(breaking-changes): mention LineGauge::gauge_style (#1194)
  • 1908b06 docs(borders): add missing closing code blocks (#1195)
  • 3f2f2cd feat(docs): add tracing example (#1192)
  • efa965e fix(line): remove newlines when converting strings to Lines (#1191)
  • 127d706 fix(table): ensure render offset without selection properly (#1187)
  • 1365620 feat(borders): Add FULL and EMPTY border sets (#1182)
  • cd64367 chore(symbols): add tests for line symbols (#1186)
  • 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 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.26.0...v0.27.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 Jul 30, 2024
@EdJoPaTo
Copy link
Owner

see EdJoPaTo/mqttui#172

Copy link
Author

dependabot bot commented on behalf of github Aug 10, 2024

Superseded by #4.

@dependabot dependabot bot closed this Aug 10, 2024
@dependabot dependabot bot deleted the dependabot/cargo/ratatui-0.27 branch August 10, 2024 02:02
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