Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Bump ratatui from 0.26.1 to 0.26.2 #32

Merged
merged 1 commit into from
Apr 16, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Apr 15, 2024

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

You can trigger a rebase of this PR 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)

Bumps [ratatui](https://github.com/ratatui-org/ratatui) from 0.26.1 to 0.26.2.
- [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.1...v0.26.2)

---
updated-dependencies:
- dependency-name: ratatui
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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 Apr 15, 2024
@jfernandez jfernandez merged commit 6879f19 into main Apr 16, 2024
1 check passed
@jfernandez jfernandez deleted the dependabot/cargo/ratatui-0.26.2 branch April 16, 2024 12:41
# for free to join this conversation on GitHub. Already have an account? # 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