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(deps): bump the minor-patch group across 1 directory with 6 updates #274

Merged
merged 2 commits into from
Oct 27, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 26, 2024

Bumps the minor-patch group with 6 updates in the / directory:

Package From To
crossterm 0.27.0 0.28.1
ratatui 0.27.0 0.28.1
serde 1.0.210 1.0.213
tui-prompts 0.3.20 0.5.0
regex 1.11.0 1.11.1
unicode-width 0.1.14 0.2.0

Updates crossterm from 0.27.0 to 0.28.1

Release notes

Sourced from crossterm's releases.

0.28

Version 0.28

Added ⭐

  • Capture double click mouse events on windows (#826)
  • (De)serialize Reset color (#824)
  • Add functions to allow constructing Attributes in a const context (#817)
  • Implement Display for KeyCode and KeyModifiers (#862)

Changed ⚙️

  • Use Rustix by default instead of libc. Libc can be re-enabled if necessary with the libc feature flag (#892)
  • FileDesc now requires a lifetime annotation.
  • Improve available color detection (#885)
  • Speed up SetColors by ~15-25% (#879)
  • Remove unsafe and unnecessary size argument from FileDesc::read() (#821)

Breaking ⚠️

  • Fix duplicate bit masks for caps lock and num lock (#863). This breaks serialization of KeyEventState

@​rustco @​timstr @​illiteratewriter @​heaths @​joshka @​aschey @​joshka @​martinvonz @​linrongbin16 @​rtczza @​sjakk @​kierdavis @​Destroy666x @​stphnt @​5donuts @​kdheepak @​valerii15298 @​javaLux @​alt-art @​jumbledFox

Changelog

Sourced from crossterm's changelog.

Version 0.28.1

Fixed 🐛

  • Fix broken build on linux when using use-dev-tty with (#906)

Breaking ⚠️

  • Fix desync with mio and signalhook between repo and published crate. (upgrade to mio 1.0)

Version 0.28

Added ⭐

  • Capture double click mouse events on windows (#826)
  • (De)serialize Reset color (#824)
  • Add functions to allow constructing Attributes in a const context (#817)
  • Implement Display for KeyCode and KeyModifiers (#862)

Changed ⚙️

  • Use Rustix by default instead of libc. Libc can be re-enabled if necessary with the libc feature flag (#892)
  • FileDesc now requires a lifetime annotation.
  • Improve available color detection (#885)
  • Speed up SetColors by ~15-25% (#879)
  • Remove unsafe and unnecessary size argument from FileDesc::read() (#821)

Breaking ⚠️

  • Fix duplicate bit masks for caps lock and num lock (#863). This breaks serialization of KeyEventState

Version 0.27.1

Added ⭐

  • Add support for (de)serializing Reset Color

Version 0.27

Added ⭐

  • Add NO_COLOR support (https://no-color.org/)
  • Add option to force overwrite NO_COLOR (#802)
  • Add support for scroll left/right events on windows and unix systems (#788).
  • Add window_size function to fetch pixel width/height of screen for more sophisticated rendering in terminals.
  • Add support for deserializing hex color strings to Color e.g #fffff.

Changed ⚙️

  • Make the events module an optional feature events (to make crossterm more lightweight) (#776)

... (truncated)

Commits

Updates ratatui from 0.27.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 serde from 1.0.210 to 1.0.213

Release notes

Sourced from serde's releases.

v1.0.213

  • Fix support for macro-generated with attributes inside a newtype struct (#2847)

v1.0.212

  • Fix hygiene of macro-generated local variable accesses in serde(with) wrappers (#2845)

v1.0.211

  • Improve error reporting about mismatched signature in with and default attributes (#2558, thanks @​Mingun)
  • Show variant aliases in error message when variant deserialization fails (#2566, thanks @​Mingun)
  • Improve binary size of untagged enum and internally tagged enum deserialization by about 12% (#2821)
Commits
  • 58a8d22 Release 1.0.213
  • ef0ed22 Merge pull request #2847 from dtolnay/newtypewith
  • 79925ac Ignore dead_code warning in regression test
  • b60e409 Hygiene for macro-generated newtype struct deserialization with 'with' attr
  • fdc36e5 Add regression test for issue 2846
  • 49e11ce Ignore trivially_copy_pass_by_ref pedantic clippy lint in test
  • 7ae1b5f Release 1.0.212
  • 1ac054b Merge pull request #2845 from dtolnay/withlocal
  • 1e36ef5 Fix hygiene of macro-generated local variable accesses in serde(with) wrappers
  • 0058c72 Add regression test for issue 2844
  • Additional commits viewable in compare view

Updates tui-prompts from 0.3.20 to 0.5.0

Release notes

Sourced from tui-prompts's releases.

tui-prompts-v0.5.0

⚙️ Miscellaneous Tasks

  • Update Cargo.toml dependencies

tui-prompts-v0.4.1

⚙️ Miscellaneous Tasks

  • Update Cargo.toml dependencies

tui-prompts-v0.4.0

Ratatui-0.28.0 compatible release

tui-prompts-v0.3.22

⚙️ Miscellaneous Tasks

  • Update Cargo.toml dependencies

tui-prompts-v0.3.21

⚙️ Miscellaneous Tasks

  • Update Cargo.toml dependencies
Changelog

Sourced from tui-prompts's changelog.

Changelog

All notable changes to this project will be documented in this file.

[0.3.1] - 2024-10-20

🚀 Features

  • (cards) Add new tui-cards library for playing cards

🐛 Bug Fixes

  • Broken links from move to tui-widgets

Other

  • Remove patch from main Cargo.toml file that was pointing at a local path (#38)

  • (deps) Update rstest requirement from 0.22.0 to 0.23.0 (#41)

    Updates the requirements on rstest to permit the latest version.

... (truncated)

Commits
  • e65caad chore: update to use ratatui 0.29 (#43)
  • 7be6cd3 chore: release (#39)
  • e7942b7 build(deps): update rstest requirement from 0.22.0 to 0.23.0 (#41)
  • 8f25dde fix(tui-scrollview): make scroll_view buffer area the same as its content (#37)
  • 18e3c03 build: remove patch from main Cargo.toml file that was pointing at a local pa...
  • 6437247 docs: update readme
  • 9591f2f feat: add tui-box-text widget
  • 89ac0fe docs: demo horizontal scrolling and mark TODO as done
  • 2994cce docs: use ratatui 0.28.1 methods for examples
  • 7e38003 fix: broken links from move to tui-widgets
  • Additional commits viewable in compare view

Updates regex from 1.11.0 to 1.11.1

Changelog

Sourced from regex's changelog.

1.11.1 (2024-10-24)

This is a new patch release of regex that fixes compilation on nightly Rust when the unstable pattern crate feature is enabled. Users on nightly Rust without this feature enabled are unaffected.

Bug fixes:

Commits

Updates unicode-width from 0.1.14 to 0.2.0

Commits

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

…ates

Bumps the minor-patch group with 6 updates in the / directory:

| Package | From | To |
| --- | --- | --- |
| [crossterm](https://github.com/crossterm-rs/crossterm) | `0.27.0` | `0.28.1` |
| [ratatui](https://github.com/ratatui/ratatui) | `0.27.0` | `0.28.1` |
| [serde](https://github.com/serde-rs/serde) | `1.0.210` | `1.0.213` |
| [tui-prompts](https://github.com/joshka/tui-widgets) | `0.3.20` | `0.5.0` |
| [regex](https://github.com/rust-lang/regex) | `1.11.0` | `1.11.1` |
| [unicode-width](https://github.com/unicode-rs/unicode-width) | `0.1.14` | `0.2.0` |



Updates `crossterm` from 0.27.0 to 0.28.1
- [Release notes](https://github.com/crossterm-rs/crossterm/releases)
- [Changelog](https://github.com/crossterm-rs/crossterm/blob/master/CHANGELOG.md)
- [Commits](https://github.com/crossterm-rs/crossterm/commits)

Updates `ratatui` from 0.27.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.27.0...v0.28.1)

Updates `serde` from 1.0.210 to 1.0.213
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](serde-rs/serde@v1.0.210...v1.0.213)

Updates `tui-prompts` from 0.3.20 to 0.5.0
- [Release notes](https://github.com/joshka/tui-widgets/releases)
- [Changelog](https://github.com/joshka/tui-widgets/blob/main/CHANGELOG.md)
- [Commits](joshka/tui-widgets@tui-prompts-v0.3.20...tui-prompts-v0.5.0)

Updates `regex` from 1.11.0 to 1.11.1
- [Release notes](https://github.com/rust-lang/regex/releases)
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md)
- [Commits](rust-lang/regex@1.11.0...1.11.1)

Updates `unicode-width` from 0.1.14 to 0.2.0
- [Commits](https://github.com/unicode-rs/unicode-width/commits)

---
updated-dependencies:
- dependency-name: crossterm
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor-patch
- dependency-name: ratatui
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor-patch
- dependency-name: serde
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: minor-patch
- dependency-name: tui-prompts
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor-patch
- dependency-name: regex
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: minor-patch
- dependency-name: unicode-width
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file rust Pull requests that update Rust code labels Oct 26, 2024
@altsem altsem enabled auto-merge (rebase) October 27, 2024 09:44
Copy link

codecov bot commented Oct 27, 2024

Codecov Report

Attention: Patch coverage is 83.33333% with 5 lines in your changes missing coverage. Please review.

Project coverage is 88.32%. Comparing base (32fde9c) to head (0d2ce15).
Report is 2 commits behind head on master.

Files with missing lines Patch % Lines
src/term.rs 42.85% 4 Missing ⚠️
src/state.rs 50.00% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##           master     #274   +/-   ##
=======================================
  Coverage   88.32%   88.32%           
=======================================
  Files          62       62           
  Lines        5534     5534           
=======================================
  Hits         4888     4888           
  Misses        646      646           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@altsem altsem disabled auto-merge October 27, 2024 09:57
@altsem altsem merged commit b6dbeb1 into master Oct 27, 2024
5 checks passed
@altsem altsem deleted the dependabot/cargo/minor-patch-b974e1c0a6 branch October 27, 2024 09:57
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