gitui icon indicating copy to clipboard operation
gitui copied to clipboard

Bump ratatui from 0.26.3 to 0.27.0

Open dependabot[bot] opened this issue 1 year ago • 0 comments

Bumps ratatui from 0.26.3 to 0.27.0.

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

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

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 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 <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)

dependabot[bot] avatar Jun 25 '24 02:06 dependabot[bot]

CI -- #2296

xemul avatar Jun 18 '24 13:06 xemul

The alien and smp ones need _sleeping and _stopped. Both can be patched to be part of the public API.

Why should they be part of the public API? We don't want people to rely on them without a good reason.

avikivity avatar Jun 18 '24 14:06 avikivity

The _sleeping doesn't become such, I just move it to existing .wakeup() one. I would be better to hide the latter in internal API indeed, but that's separate task.

The _stopped ... yes, it appears to be a new method, but it's const and lightweight. So maybe it's OK until we hide it together with the wakeup()?

xemul avatar Jun 18 '24 14:06 xemul

upd:

  • marked the new reactor::stopped() with /// @private not to appear in docs
  • rebased to pick up CI fix

xemul avatar Jun 18 '24 14:06 xemul

The _sleeping doesn't become such, I just move it to existing .wakeup() one. I would be better to hide the latter in internal API indeed, but that's separate task.

The _stopped ... yes, it appears to be a new method, but it's const and lightweight. So maybe it's OK until we hide it together with the wakeup()?

@avikivity , does this justify the change from you perspective?

xemul avatar Jun 27 '24 08:06 xemul

@avikivity , reminder ping

xemul avatar Jul 03 '24 06:07 xemul

upd:

  • marked the new reactor::stopped() with /// @private not to appear in docs
  • rebased to pick up CI fix

I don't understand, you want stopped() to be @private, but not private:?

Reducing friendships is good, but it should cause us to break data hiding. If we want two classes to talk via a private channel, they can be friends.

avikivity avatar Jul 03 '24 10:07 avikivity

I don't understand, you want stopped() to be @Private, but not private:?

Yes. We need some way to tell that a specific method is public: but not intended to be used by any code outside of seastar itself. The @private marking looks like good enough approach.

Reducing friendships is good, but it should cause us to break data hiding. If we want two classes to talk via a private channel, they can be friends.

I agree, but friendship is pretty heavy hammer for reactor which is overloaded with functionality.

xemul avatar Jul 03 '24 15:07 xemul

I'm not totally happy about it, but we're splitting hairs, so okay.

In the past I sued friend free functions in the internal namespace.

avikivity avatar Jul 03 '24 19:07 avikivity