Skip to content

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 31, 2024

Bumps the cargo-dependencies group with 4 updates: ratatui, tui-input, ansi-to-tui and sysinfo.

Updates ratatui from 0.28.0 to 0.28.1

Release notes

Sourced from ratatui's releases.

v0.28.1

v0.28.1 - 2024-08-25

Features

  • ed51c4b (terminal) Add ratatui::init() and restore() methods by @​joshka in #1289

    These are simple opinionated methods for creating a terminal that is useful to use in most apps. The new init method creates a crossterm backend writing to stdout, enables raw mode, enters the alternate screen, and sets a panic handler that restores the terminal on panic.

    A minimal hello world now looks a bit like:

    use ratatui::{
        crossterm::event::{self, Event},
        text::Text,
        Frame,
    };
    fn main() {
    let mut terminal = ratatui::init();
    loop {
    terminal
    .draw(|frame: &mut Frame| frame.render_widget(Text::raw("Hello World!"), frame.area()))
    .expect("Failed to draw");
    if matches!(event::read().expect("failed to read event"), Event::Key(_)) {
    break;
    }
    }
    ratatui::restore();
    }

    A type alias DefaultTerminal is added to represent this terminal type and to simplify any cases where applications need to pass this terminal around. It is equivalent to: Terminal<CrosstermBackend<Stdout>>

    We also added ratatui::try_init() and try_restore(), for situations where you might want to handle initialization errors yourself instead of letting the panic handler fire and cleanup. Simple Apps should prefer the init and restore functions over these functions.

    Corresponding functions to allow passing a TerminalOptions with a Viewport (e.g. inline, fixed) are also available (init_with_options, and try_init_with_options).

... (truncated)

Changelog

Sourced from ratatui's changelog.

v0.28.1 - 2024-08-25

Features

  • ed51c4b (terminal) Add ratatui::init() and restore() methods by @​joshka in #1289

    These are simple opinionated methods for creating a terminal that is useful to use in most apps. The new init method creates a crossterm backend writing to stdout, enables raw mode, enters the alternate screen, and sets a panic handler that restores the terminal on panic.

    A minimal hello world now looks a bit like:

    use ratatui::{
        crossterm::event::{self, Event},
        text::Text,
        Frame,
    };
    fn main() {
    let mut terminal = ratatui::init();
    loop {
    terminal
    .draw(|frame: &mut Frame| frame.render_widget(Text::raw("Hello World!"), frame.area()))
    .expect("Failed to draw");
    if matches!(event::read().expect("failed to read event"), Event::Key(_)) {
    break;
    }
    }
    ratatui::restore();
    }

    A type alias DefaultTerminal is added to represent this terminal type and to simplify any cases where applications need to pass this terminal around. It is equivalent to: Terminal<CrosstermBackend<Stdout>>

    We also added ratatui::try_init() and try_restore(), for situations where you might want to handle initialization errors yourself instead of letting the panic handler fire and cleanup. Simple Apps should prefer the init and restore functions over these functions.

    Corresponding functions to allow passing a TerminalOptions with a Viewport (e.g. inline, fixed) are also available (init_with_options, and try_init_with_options).

    The existing code to create a backend and terminal will remain and

... (truncated)

Commits
  • 3a90e2a chore(release): prepare for 0.28.1 (#1343)
  • 65da535 chore(ci): update release strategy (#1337)
  • 9ed85fd docs(table): fix incorrect backticks in TableState docs (#1342)
  • aed60b9 fix(terminal): Terminal::insert_before would crash when called while the view...
  • 3631b34 docs(examples): add widget implementation example (#1147)
  • 0d5f3c0 test: Avoid unneeded allocations in assertions (#1335)
  • ed51c4b feat(terminal): Add ratatui::init() and restore() methods (#1289)
  • 23516bc chore: rename ratatui-org to ratatui (#1334)
  • 6d1bd99 docs: minor grammar fixes (#1330)
  • 2fb0b8a fix: fix u16 overflow in Terminal::insert_before. (#1323)
  • Additional commits viewable in compare view

Updates tui-input from 0.10.0 to 0.10.1

Release notes

Sourced from tui-input's releases.

v0.10.1

What's Changed

New Contributors

Full Changelog: sayanarijit/tui-input@v0.10.0...v0.10.1

Commits

Updates ansi-to-tui from 4.0.1 to 4.1.0

Commits

Updates sysinfo from 0.31.2 to 0.31.4

Changelog

Sourced from sysinfo's changelog.

0.31.4

  • macOS: Force memory cleanup in disk list retrieval.

0.31.3

  • Raspberry Pi: Fix temperature retrieval.
Commits
  • 993f8e3 Merge pull request #1345 from GuillaumeGomez/update
  • 01df96d Update crate version to 0.31.4
  • 8205af5 Update CHANGELOG for 0.31.4
  • 97267b1 Merge pull request #1344 from complexspaces/pool-apple-disk-refreshing
  • 5f78295 Wrap Apple disk refreshing in autorelease pool to avoid system caching
  • d0122ae Merge pull request #1343 from GuillaumeGomez/update
  • e40096c Update crate version to 0.31.3
  • 431d5df Update CHANGELOG for 0.31.3
  • 3dff49e Merge pull request #1342 from rise0chen/master
  • 9acef9f feat: support Raspberry Pi
  • See full diff 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 <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

Bumps the cargo-dependencies group with 4 updates: [ratatui](https://github.com/ratatui/ratatui), [tui-input](https://github.com/sayanarijit/tui-input), [ansi-to-tui](https://github.com/uttarayan21/ansi-to-tui) and [sysinfo](https://github.com/GuillaumeGomez/sysinfo).


Updates `ratatui` from 0.28.0 to 0.28.1
- [Release notes](https://github.com/ratatui/ratatui/releases)
- [Changelog](https://github.com/ratatui/ratatui/blob/main/CHANGELOG.md)
- [Commits](ratatui/ratatui@v0.28.0...v0.28.1)

Updates `tui-input` from 0.10.0 to 0.10.1
- [Release notes](https://github.com/sayanarijit/tui-input/releases)
- [Commits](sayanarijit/tui-input@v0.10.0...v0.10.1)

Updates `ansi-to-tui` from 4.0.1 to 4.1.0
- [Changelog](https://github.com/uttarayan21/ansi-to-tui/blob/master/CHANGELOG.md)
- [Commits](https://github.com/uttarayan21/ansi-to-tui/commits/v4.1.0)

Updates `sysinfo` from 0.31.2 to 0.31.4
- [Changelog](https://github.com/GuillaumeGomez/sysinfo/blob/master/CHANGELOG.md)
- [Commits](GuillaumeGomez/sysinfo@v0.31.2...v0.31.4)

---
updated-dependencies:
- dependency-name: ratatui
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: cargo-dependencies
- dependency-name: tui-input
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: cargo-dependencies
- dependency-name: ansi-to-tui
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: cargo-dependencies
- dependency-name: sysinfo
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: cargo-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file rust Pull requests that update Rust code labels Aug 31, 2024
Copy link
Contributor Author

dependabot bot commented on behalf of github Sep 9, 2024

Looks like these dependencies are updatable in another way, so this is no longer needed.

@dependabot dependabot bot closed this Sep 9, 2024
@dependabot dependabot bot deleted the dependabot/cargo/cargo-dependencies-f0090d31e4 branch September 9, 2024 05:32
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.

0 participants