ratatui-org / crates-tui

A TUI for exploring crates.io using Ratatui
MIT License
59 stars 4 forks source link

chore(deps): bump ratatui from 0.26.1 to 0.26.2 #58

Closed dependabot[bot] closed 2 months ago

dependabot[bot] commented 2 months ago

Bumps ratatui from 0.26.1 to 0.26.2.

Release notes

Sourced from ratatui's releases.

v0.26.2

0.26.2 - 2024-04-15

This is a patch release that fixes bugs and adds enhancements, including new iterator constructors, List scroll padding, and various rendering improvements. ✨

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

Features

  • 11b452d (layout) Mark various functions as const by @​EdJoPaTo in #951

  • 1cff511 (line) Impl Styled for Line by @​joshka in #968

    This adds `FromIterator` impls for `Line` and `Text` that allow creating
    `Line` and `Text` instances from iterators of `Span` and `Line`
    instances, respectively.
    
    let line = Line::from_iter(vec!["Hello".blue(), " world!".green()]);
    let line: Line = iter::once("Hello".blue())
        .chain(iter::once(" world!".green()))
        .collect();
    let text = Text::from_iter(vec!["The first line", "The second line"]);
    let text: Text = iter::once("The first line")
        .chain(iter::once("The second line"))
        .collect();
    

  • 654949b (list) Add Scroll Padding to Lists by @​CameronBarnes in #958

    Introduces scroll padding, which allows the api user to request that a certain number of ListItems be kept visible above and below the currently selected item while scrolling.
    
    let list = List::new(items).scroll_padding(1);
    

    Fixes:ratatui-org/ratatui#955

  • 26af650 (text) Add push methods for text and line by @​joshka in #998

... (truncated)

Changelog

Sourced from ratatui's changelog.

0.26.2 - 2024-04-15

This is a patch release that fixes bugs and adds enhancements, including new iterator constructors, List scroll padding, and various rendering improvements. ✨

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

Features

  • 11b452d (layout) Mark various functions as const by @​EdJoPaTo in #951

  • 1cff511 (line) Impl Styled for Line by @​joshka in #968

    This adds `FromIterator` impls for `Line` and `Text` that allow creating
    `Line` and `Text` instances from iterators of `Span` and `Line`
    instances, respectively.
    
    let line = Line::from_iter(vec!["Hello".blue(), " world!".green()]);
    let line: Line = iter::once("Hello".blue())
        .chain(iter::once(" world!".green()))
        .collect();
    let text = Text::from_iter(vec!["The first line", "The second line"]);
    let text: Text = iter::once("The first line")
        .chain(iter::once("The second line"))
        .collect();
    

  • 654949b (list) Add Scroll Padding to Lists by @​CameronBarnes in #958

    Introduces scroll padding, which allows the api user to request that a certain number of ListItems be kept visible above and below the currently selected item while scrolling.
    
    let list = List::new(items).scroll_padding(1);
    

    Fixes:ratatui-org/ratatui#955

  • 26af650 (text) Add push methods for text and line by @​joshka in #998

    Adds the following methods to the `Text` and `Line` structs:
    - Text::push_line
    

... (truncated)

Commits
  • 363c4c5 chore(release): prepare for 0.26.2 (#1029)
  • b7778e5 fix(paragraph): unit test typo (#1022)
  • b5061c5 chore(deps): update stability requirement from 0.1.1 to 0.2.0 (#1021)
  • 359204c refactor: simplify to io::Result (#1016)
  • 14461c3 docs(breaking-changes): typos and markdownlint (#1009)
  • 3b002fd docs: update incompatible code warning in examples readme (#1013)
  • 0207160 fix(line): line truncation respects alignment (#987)
  • 26af650 feat(text): add push methods for text and line (#998)
  • 07da90a chore(funding): add eth address for receiving funds from drips.network (#994)
  • 125ee92 chore(docs): fix typos in crate documentation (#1002)
  • 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 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)