fix(deps): update rust crate ratatui to 0.30 - autoclosed#60
Closed
renovate[bot] wants to merge 1 commit intomainfrom
Closed
fix(deps): update rust crate ratatui to 0.30 - autoclosed#60renovate[bot] wants to merge 1 commit intomainfrom
renovate[bot] wants to merge 1 commit intomainfrom
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.29→0.30Release Notes
ratatui/ratatui (ratatui)
v0.30.0Compare Source
We are excited to announce the biggest release of
ratatuiso far - a Rust library that's all about cooking up TUIs 👨🍳🐀🌠 Added "no_std" support for embedded targets, modularized architecture, major widget & layout upgrades!
✨ Release highlights: https://ratatui.rs/highlights/v030/
Features
90a77aa (direction) Add
Direction::perpendicular(self)by @b-guild in #219756d5e05 (bar) Update label and text_value to accept Into<> by @Emivvvvv in #1471 [breaking]
b76ad3b (bar) Impl Styled for Bar by @Emivvvvv in #1476
e15fefa (barchar) Add BarChart::grouped constructor by @joshka in #1513
369b18e (barchart) Reduce barchart creation verbosity by @Emivvvvv in #1453
1dc18bf (calendar) Add width and height functions by @joshka in #2198
f18bcbf (canvas) Add quadrant, sextant and octant markers by @sbarral in #2235 [breaking]
26b05de (chart) Render Braille over Blocks in Charts and Canvas by @j-g00da in #2165
bf84c62 (core) Add a
has_modifier()method toStyleby @sxyazi in #22672d713d7 (crossterm) Allow multiple crossterm versions by @joshka in #1841
d99984f (layout) Add
Flex::SpaceEvenlyby @kdheepak in #1952 [breaking]9275d34 (layout) Add Offset::new() constructor by @joshka in #1547
7ad9c29 (linegauge) Customized symbols by @sectore in #1601
92a19cb (list) Highlight symbol styling by @airblast-dev in #1595 [breaking]
e89a526 (no_std) Portable-atomic integration for targets with no atomic types by @j-g00da in #2076
1399d95 (no_std) Make palette and serde features depends on std by @j-g00da in #1919
b32f781 (no_std) Make
ratatui-macrosno-std by @j-g00da in #18653e1c72f (no_std) Make ratatui compatible with
#![no_std]by @j-g00da in #1794 [breaking]ab48c06 (no_std) Option to disable layout cache for
no_stdcompatibility by @j-g00da in #1795 [breaking]09173d1 (no_std) Make
TestBackend::ErrorInfallibleby @j-g00da in #1823 [breaking]007713e (no_std) Replace
Backend'sio::Errorusages with associatedErrortype by @j-g00da in #1778 [breaking]a42a17e (no_std) Make
ratatui-widgetsno_stdby @j-g00da in #17795a232a3 (no_std) Remove redundant
stdusages inratatui-widgetsby @j-g00da in #1762ebe10cd (no_std) Remove redundant
stdusages inratatui-coreby @j-g00da in #175308b08cc (rect) Centering by @janTatesa in #1814
ff729b7 (scrollbar) Support retrieving the current position of state by @orhun in #1552
4c3c054 (serde) Handle null modifiers in serde Style by @joshka in #2172
b9da192 (serde) Derive Serialize/Deserialize for alignment enums by @j-g00da in #1957
89b7421 (serde) Derive Serialize/Deserialize for additional structs/enums by @aurreland in #1883
03f3f6d (style) Allow add/sub modifiers to be omitted in Style serialization. by @rcorre in #2057
ee67347 (symbols) Make
Markernon-exhaustive by @j-g00da in #2236 [breaking]985cd05 (symbols) Add dashed borders by @theotchlx in #1573
4c301e8 (text) Implement
AddAssignforTextby @acuteenvy in #1956ce4856a (widgets) Add the missing constructor to canvas types by @orhun in #1538
22610b0 (uncategorized) Support adding an Offset to Position by @joshka in #2239
24e3133 (uncategorized) Add Rect::resize() method by @joshka in #2240
96d097e (uncategorized) Implement Rect ops for moving by @joshka in #1596
e869cb9 (uncategorized) Add Size::area() by @joshka in #2226
b6588fd (uncategorized) Implement
From<Size>for(u16, u16)by @0xb002f0 in #222375b78be (uncategorized) Add width() impl for tabs by @joshka in #2049
8188ed3 (uncategorized) Implement UnicodeWidthStr for Text/Line/Span by @joshka in #2030
c845fec (uncategorized) Add conversion from Size to Rect by @joshka in #2028
017af11 (uncategorized) Preserve block titles when merging borders by @j-g00da in #1977
6dcd53b (uncategorized) Add ergonomic methods for layouting Rects by @joshka in #1909
0c3872f (uncategorized) Add Rect::outer() by @joshka in #1929
7bc78bc (uncategorized) Add ratatui::run() method by @joshka in #1707
b6fbfcd (uncategorized) Add lifetime to symbol sets by @joshka in #1935
488e5f0 (uncategorized) Make
border!work without importingBordersby @j-g00da in #1918671c2b4 (uncategorized) Support merging the borders of blocks by @j-g00da
702fff5 (uncategorized) Implement stylize methods directly on Style by @joshka in #1572 [breaking]
4fcd238 (uncategorized) Support no-std for calendar widget by @joshka in #1852
53cdbbc (uncategorized) Enable serde propagation to backend crates (crossterm, termion) by @ArjunKrish7356 in #1812
6836a69 (uncategorized) Implement styled for other primitives by @aschey in #1684
fcb47d6 (uncategorized) Rename Alignment to HorizontalAlignment and add VerticalAlignment by @joshka in #1735 [breaking]
2714d6b (uncategorized) Add array and tuple RGB color conversion methods by @joshka in #1703
50ba965 (uncategorized) Add a new RatatuiMascot widget by @Its-Just-Nans in #1584
1d28c89 (uncategorized) Add conversions for anstyle by @joshka in #1581
Bug Fixes
a89d3d6 (buffer) Clear behavior with VS16 wide emojis by @nornagon in #2063
ec30390 (canvas) Round coordinates to nearest grid cell by @joshka in #1507
afd1ce1 (canvas) Lines that start outside the visible grid are now drawn by @renesat in #1501
2b0a044 (ci) Add contents write permission to release-plz PR by @marcoieni in #2119
18e70d3 (crossterm) Terminal should keep Bold when removing Dim by @MarSik in #1541
16b76e3 (demo) Update the width of demo2 tape by @orhun in #2164
dca331c (demo) Support tab key in demo2 example by @orhun in #1726
0fd4753 (examples) Run the correct example for chart by @orhun in #1679
39479e2 (examples) Ensure that example projects are not published by @orhun in #1672
9314312 (layout) Feature flag cache related types by @joshka in #1842
2dd1977 (layout-cache) Import
NonZeroUsizeonly whenlayout-cacheis enabled by @j-g00da in #1839564a9d7 (line-gauge) Pad default label to display 3 numbers by @martinetd in #2053
a692a6e (lint) Apply rust 1.84 clippy suggestions by @joshka in #1612
2e54d5e (macros) Use $crate re-export in text macro by @airblast-dev in #1832
79d5165 (no_std) Propagate
stdfeature flag to dependencies by @j-g00da in #183800da8c6 (no_std) Provide
f64polyfills forno_stdcompatibility by @j-g00da in #18403b13240 (scrollbar) Check for area.is_empty() before rendering by @farmeroy in #1529
f57b696 (span) Dont render control characters by @EdJoPaTo in #1312
2ce958e (table) Allow display of additional table row, if row height > 1 by @Lunderberg in #1452
0a25bc1 (tests) Update the stderr snapshot for ratatui-macros by @orhun in #2161
5fa342c (widgets) Fix centered block title truncation by @ognis1205 in #1973
f919b25 (uncategorized) String_to_string lint is now part of implicit_clone by @joshka in #2173
1fe64de (uncategorized) Include underline color in anstyle conversion by @aschey in #2004
c1b8528 (uncategorized) Panic when rendering widgets on too small buffer by @j-g00da in #1996
08b21fa (uncategorized) Fix panic when rendering a
Paragraphout of bounds by @jwodder in #167080bc818 (uncategorized) Fix truncation of left aligned block titles by @joshka in #1931
21e3b59 (uncategorized) Fix handling of multi-byte chars in bar chart by @joshka in #1934
e1e4004 (uncategorized) Derive copy for list state by @janTatesa in #1921
12cb5a2 (uncategorized) Allow canvas area to exceed u16::MAX by @Daksh14 in #1891
09cc9ef (uncategorized) Typo in changelog by @joshka in #1857
c238aca (uncategorized)
padding_right()should set right padding instead of left by @sxyazi in #1837c90ba97 (uncategorized) Avoid unnecessary imports in minimal build by @cgzones in #1787
416ebdf (uncategorized) Correct clippy errors introduced by rust 1.86.0 update by @j-g00da in #1755
4eac5b2 (uncategorized) Make deprecation notes more helpful by @joshka in #1702
35a8642 (uncategorized)
Rect::positions()should be empty when width is 0 and height is nonzero by @jwodder in #1669f5fc819 (uncategorized) Avoid extra line break on whitespace only lines when wrapping paragraphs by @dotdash in #1636
2892bdd (uncategorized) Rust 1.83 clippy lints by @joshka in #1527
36e2d1b (uncategorized) Add feature(doc_cfg) when generating docs by @joshka in #1506
4d7704f (uncategorized) Make StatefulWidget and Ref work with unsized State by @thscharler in #1505
7b87509 (uncategorized) Typo by @marcoieni in #1480
Refactor
8d60e96 (examples) Use crossterm event methods by @joshka in #1792
07bec55 (no_std) Make usages of std explicit in ratatui-core. by @ed-2100 in #1782
f132fa1 (table) Small readability improvements by @joshka in #1510
c7c3498 (uncategorized) Use saturating_add in Rect::new by @pharrison31415 in #2216
02e53de (uncategorized) Make use of iter::repeat_n() by @cgzones in #1788
a195d59 (uncategorized) Move xtask commands to small modules by @joshka in #1620
904b0aa (uncategorized) Move symbols to modules by @joshka in #1594
7c8573f (uncategorized) Rearrange selection_spacing code by @raylu in #1540
217c57c (uncategorized) Modularize backends by @orhun in #1508
e461b72 (uncategorized) Move {Stateful,}Widget{,Ref} types into individual files by @joshka in #1479
Documentation
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), 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 was generated by Mend Renovate. View the repository job log.