“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!
border::FULL uses a full block symbol, while border::EMPTY uses an
empty space. This is useful for when you need to allocate space for the
border and apply the border style to a block without actually drawing a
border. This makes it possible to style the entire title area or a block
rather than just the title content.
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);
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!
border::FULL uses a full block symbol, while border::EMPTY uses an
empty space. This is useful for when you need to allocate space for the
border and apply the border style to a block without actually drawing a
border. This makes it possible to style the entire title area or a block
rather than just the title content.
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);
#344: Hide EnumTable because it's going to be deprecated in the next
version.
#357: Fixes an incompatiblity with itertools by using the fully
qualified name rather than the inherent method.
#345: Allows unnamed tuple like variants to use their variants in
string interpolation. #[strum(to_string = "Field 0: {0}, Field 1: {1})")] will now work for tuple variants
Before this release, Uuid::now_v7() would only use the millisecond-precision timestamp for ordering. It now also uses a global 42-bit counter that's re-initialized each millisecond so that the following will always pass:
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 will merge this PR once CI passes on it, as requested by @joshka.
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 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 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 ` 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 ` will remove all of the ignore conditions of the specified dependency
- `@dependabot unignore ` will remove the ignore condition of the specified dependency and ignore conditions
Bumps the cargo-dependencies group with 4 updates: lazy_static, ratatui, strum and uuid.
Updates
lazy_static
from 1.4.0 to 1.5.0Commits
be7c1c4
point readme version to 1.5.08971a27
update readme build badge15691ec
Modernize lazy-static infra (#219)2660041
Merge pull request #206 from TheBotlyNoob/master6ace970
Merge pull request #216 from frewsxcv/patch-1a203105
Update README.mdcfd89ac
Update README.mdfc8e466
Update README.mda8afb21
Update README.md41fa234
Update README to indicate how to replace withstd::sync::OnceLock
Updates
ratatui
from 0.26.3 to 0.27.0Release notes
Sourced from ratatui's releases.
... (truncated)
Changelog
Sourced from ratatui's changelog.
... (truncated)
Commits
0a18dcb
chore(release): prepare for 0.27.0 (#1196)7ef2dae
feat(text): support constructingLine
andText
fromusize
(#1167)46977d8
feat(list)!: add list navigation methods (first, last, previous, next) (#1159)38bb196
docs(breaking-changes): mentionLineGauge::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)Updates
strum
from 0.26.2 to 0.26.3Release notes
Sourced from strum's releases.
Changelog
Sourced from strum's changelog.
Commits
c89286f
Update changelog & strum_macros version0c85c16
Use associated function syntax for callingget
on anEnumIter
, eliminatin...9689d7b
add hyperlinks to documentation and clarify derive macros (#355)186d29f
Interpolate unnamed enum variant fields in to_string attribute (#345)410062e
Fix broken links (#350)1e46337
Updateheck
requirement (#346)f5fce03
Fix typos & misspellings in docs (#347)Updates
uuid
from 1.8.0 to 1.9.0Release notes
Sourced from uuid's releases.
Commits
4a129e7
Merge pull request #760 from uuid-rs/cargo/1.9.06bfee6b
prepare for 1.9.0 release62b7145
Merge pull request #759 from uuid-rs/chore/v7-counter-cleanup62e968c
clean up new Timestamp APIs49319a7
Merge pull request #758 from uuid-rs/chore/test-overflow47b9130
ensure v7 methods don't overflow on max values0c561e3
Merge pull request #757 from uuid-rs/ci/more-miri252770b
expand miri tests to cover all featurese62647f
Merge pull request #755 from uuid-rs/feat/v7-counterc270b3d
improve testing for contextsDependabot 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 will merge this PR once CI passes on it, as requested by @joshka.
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