fix(deps): update rust crate ratatui to v0.26.3 #270
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
0.26.2
->0.26.3
Release Notes
ratatui-org/ratatui (ratatui)
v0.26.3
Compare Source
We are happy to announce a brand new Ratatui Forum 🐭 for Rust & TUI enthusiasts.
This is a patch release that fixes the unicode truncation bug, adds performance and quality of life improvements.
✨ Release highlights: https://ratatui.rs/highlights/v0263/
Features
97ee102 (buffer) Track_caller for index_of by @EdJoPaTo in #1046
**
bf09234 (table) Make TableState::new const by @EdJoPaTo in #1040
eb281df (uncategorized) Use inner Display implementation by @EdJoPaTo in #1097
ec763af (uncategorized) Make Stylize's
.bg(color)
generic by @kdheepak in #10994d1784f (uncategorized) Re-export ParseColorError as style::ParseColorError by @joshka in #1086
Fixes:https://github.com/ratatui-org/ratatui/issues/1085
Bug Fixes
366cbae (buffer) Fix Debug panic and fix formatting of overridden parts by @EdJoPaTo in #1098
4392759 (examples) Changed user_input example to work with multi-byte unicode chars by @OkieOth in #1069
Fixes:#1068
20fc0dd (examples) Fix key handling in constraints by @psobolik in #1066
Fixes:#1062
f4637d4 (reflow) Allow wrapping at zero width whitespace by @kxxt in #1074
699c2d7 (uncategorized) Unicode truncation bug by @joshka in #1089
Fixes:https://github.com/ratatui-org/ratatui/issues/1032
b30411d (uncategorized) Termwiz underline color test by @joshka in #1094
5f1e119 (uncategorized) Correct feature flag typo for termwiz by @joshka in #1088
0a16496 (uncategorized) Use
to_string
to serialize Color by @SleepySwords in #934Color::Rgb will now be serialized as the hex representation of their
value.
For example, with serde_json,
Color::Rgb(255, 0, 255)
would beserialized as
"#FF00FF"
rather than{"Rgb": [255, 0, 255]}
.Color::Indexed will now be serialized as just the string of the index.
For example, with serde_json,
Color::Indexed(10)
would be serializedas
"10"
rather than{"Indexed": 10}
.Other color variants remain the same.
Refactor
2cfe82a (buffer) Deprecate assert_buffer_eq! in favor of assert_eq! by @EdJoPaTo in #1007
baedc39 (buffer) Simplify set_stringn logic by @EdJoPaTo in #1083
9bd89c2 (clippy) Enable breaking lint checks by @EdJoPaTo in #988
bef5bcf (example) Remove pointless new method by @EdJoPaTo in #1038
f3172c5 (gauge) Fix internal typo by @EdJoPaTo in #1048
Documentation
da1ade7 (github) Update code owners about past maintainers by @orhun in #1073
3687f78 (github) Update code owners by @orhun in #1067
839cca2 (table) Fix typo in docs for highlight_symbol by @kdheepak in #1108
f945a0b (test) Fix typo in TestBackend documentation by @orhun in #1107
828d17a (uncategorized) Add minimal example by @joshka in #1114
e95230b (uncategorized) Add note about scrollbar state content length by @Utagai in #1077
Performance
366c2a0 (block) Use Block::bordered by @EdJoPaTo in #1041
Block::bordered()
is shorter thanBlock::new().borders(Borders::ALL)
, requires one less import(
Borders
) and in caseBlock::default()
was used before can even beconst
.2e71c18 (buffer) Simplify Buffer::filled with macro by @EdJoPaTo in #1036
81b9633 (calendar) Use const fn by @EdJoPaTo in #1039
c442dfd (canvas) Change map data to const instead of static by @EdJoPaTo in #1037
1706b0a (crossterm) Speed up combined fg and bg color changes by up to 20% by @joshka in #1072
1a4bb1c (layout) Avoid allocating memory when using split ergonomic utils by @tranzystorekk in #1105
Styling
aa4260f (uncategorized) Use std::fmt instead of importing Debug and Display by @joshka in #1087
Testing
Miscellaneous Tasks
5fbb77a (readme) Use terminal theme for badges by @TadoTheMiner in #1026
bef2bc1 (cargo) Add homepage to Cargo.toml by @joshka in #1080
76e5fe5 (uncategorized) Revert "Make Stylize's
.bg(color)
generic" by @kdheepak in #110264eb391 (uncategorized) Fixup cargo lint for windows targets by @joshka in #1071
326a461 (uncategorized) Add package categories field by @mcskware in #1035
Build
4955380 (uncategorized) Remove pre-push hooks by @joshka in #1115
28e81c0 (uncategorized) Add underline-color to all features flag in makefile by @joshka in #1100
c75aa19 (uncategorized) Add clippy::cargo lint by @joshka in #1053
New Contributors
Full Changelog: ratatui/ratatui@v0.26.2...v0.26.3
Configuration
📅 Schedule: Branch creation - "before 4am on the first day of the month" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.