chore(deps): update rust crate ratatui to 0.30.0 #116
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→0.30.0Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release 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-guildin #219756d5e05 (bar) Update label and text_value to accept Into<> by
@Emivvvvvin #1471 [breaking]b76ad3b (bar) Impl Styled for Bar by
@Emivvvvvin #1476e15fefa (barchar) Add BarChart::grouped constructor by
@joshkain #1513369b18e (barchart) Reduce barchart creation verbosity by
@Emivvvvvin #14531dc18bf (calendar) Add width and height functions by
@joshkain #2198f18bcbf (canvas) Add quadrant, sextant and octant markers by
@sbarralin #2235 [breaking]26b05de (chart) Render Braille over Blocks in Charts and Canvas by
@j-g00dain #2165bf84c62 (core) Add a
has_modifier()method toStyleby@sxyaziin #22672d713d7 (crossterm) Allow multiple crossterm versions by
@joshkain #1841d99984f (layout) Add
Flex::SpaceEvenlyby@kdheepakin #1952 [breaking]9275d34 (layout) Add Offset::new() constructor by
@joshkain #15477ad9c29 (linegauge) Customized symbols by
@sectorein #160192a19cb (list) Highlight symbol styling by
@airblast-devin #1595 [breaking]e89a526 (no_std) Portable-atomic integration for targets with no atomic types by
@j-g00dain #20761399d95 (no_std) Make palette and serde features depends on std by
@j-g00dain #1919b32f781 (no_std) Make
ratatui-macrosno-std by@j-g00dain #18653e1c72f (no_std) Make ratatui compatible with
#![no_std]by@j-g00dain #1794 [breaking]ab48c06 (no_std) Option to disable layout cache for
no_stdcompatibility by@j-g00dain #1795 [breaking]09173d1 (no_std) Make
TestBackend::ErrorInfallibleby@j-g00dain #1823 [breaking]007713e (no_std) Replace
Backend'sio::Errorusages with associatedErrortype by@j-g00dain #1778 [breaking]a42a17e (no_std) Make
ratatui-widgetsno_stdby@j-g00dain #17795a232a3 (no_std) Remove redundant
stdusages inratatui-widgetsby@j-g00dain #1762ebe10cd (no_std) Remove redundant
stdusages inratatui-coreby@j-g00dain #175308b08cc (rect) Centering by
@janTatesain #1814ff729b7 (scrollbar) Support retrieving the current position of state by
@orhunin #15524c3c054 (serde) Handle null modifiers in serde Style by
@joshkain #2172b9da192 (serde) Derive Serialize/Deserialize for alignment enums by
@j-g00dain #195789b7421 (serde) Derive Serialize/Deserialize for additional structs/enums by
@aurrelandin #188303f3f6d (style) Allow add/sub modifiers to be omitted in Style serialization. by
@rcorrein #2057ee67347 (symbols) Make
Markernon-exhaustive by@j-g00dain #2236 [breaking]985cd05 (symbols) Add dashed borders by
@theotchlxin #15734c301e8 (text) Implement
AddAssignforTextby@acuteenvyin #1956ce4856a (widgets) Add the missing constructor to canvas types by
@orhunin #153822610b0 (uncategorized) Support adding an Offset to Position by
@joshkain #223924e3133 (uncategorized) Add Rect::resize() method by
@joshkain #224096d097e (uncategorized) Implement Rect ops for moving by
@joshkain #1596e869cb9 (uncategorized) Add Size::area() by
@joshkain #2226b6588fd (uncategorized) Implement
From<Size>for(u16, u16)by@0xb002f0in #222375b78be (uncategorized) Add width() impl for tabs by
@joshkain #20498188ed3 (uncategorized) Implement UnicodeWidthStr for Text/Line/Span by
@joshkain #2030c845fec (uncategorized) Add conversion from Size to Rect by
@joshkain #2028017af11 (uncategorized) Preserve block titles when merging borders by
@j-g00dain #19776dcd53b (uncategorized) Add ergonomic methods for layouting Rects by
@joshkain #19090c3872f (uncategorized) Add Rect::outer() by
@joshkain #19297bc78bc (uncategorized) Add ratatui::run() method by
@joshkain #1707b6fbfcd (uncategorized) Add lifetime to symbol sets by
@joshkain #1935488e5f0 (uncategorized) Make
border!work without importingBordersby@j-g00dain #1918671c2b4 (uncategorized) Support merging the borders of blocks by
@j-g00da702fff5 (uncategorized) Implement stylize methods directly on Style by
@joshkain #1572 [breaking]4fcd238 (uncategorized) Support no-std for calendar widget by
@joshkain #185253cdbbc (uncategorized) Enable serde propagation to backend crates (crossterm, termion) by
@ArjunKrish7356in #18126836a69 (uncategorized) Implement styled for other primitives by
@ascheyin #1684fcb47d6 (uncategorized) Rename Alignment to HorizontalAlignment and add VerticalAlignment by
@joshkain #1735 [breaking]2714d6b (uncategorized) Add array and tuple RGB color conversion methods by
@joshkain #170350ba965 (uncategorized) Add a new RatatuiMascot widget by
@Its-Just-Nansin #15841d28c89 (uncategorized) Add conversions for anstyle by
@joshkain #1581Bug Fixes
a89d3d6 (buffer) Clear behavior with VS16 wide emojis by
@nornagonin #2063ec30390 (canvas) Round coordinates to nearest grid cell by
@joshkain #1507afd1ce1 (canvas) Lines that start outside the visible grid are now drawn by
@renesatin #15012b0a044 (ci) Add contents write permission to release-plz PR by
@marcoieniin #211918e70d3 (crossterm) Terminal should keep Bold when removing Dim by
@MarSikin #154116b76e3 (demo) Update the width of demo2 tape by
@orhunin #2164dca331c (demo) Support tab key in demo2 example by
@orhunin #17260fd4753 (examples) Run the correct example for chart by
@orhunin #167939479e2 (examples) Ensure that example projects are not published by
@orhunin #16729314312 (layout) Feature flag cache related types by
@joshkain #18422dd1977 (layout-cache) Import
NonZeroUsizeonly whenlayout-cacheis enabled by@j-g00dain #1839564a9d7 (line-gauge) Pad default label to display 3 numbers by
@martinetdin #2053a692a6e (lint) Apply rust 1.84 clippy suggestions by
@joshkain #16122e54d5e (macros) Use $crate re-export in text macro by
@airblast-devin #183279d5165 (no_std) Propagate
stdfeature flag to dependencies by@j-g00dain #183800da8c6 (no_std) Provide
f64polyfills forno_stdcompatibility by@j-g00dain #18403b13240 (scrollbar) Check for area.is_empty() before rendering by
@farmeroyin #1529f57b696 (span) Dont render control characters by
@EdJoPaToin #13122ce958e (table) Allow display of additional table row, if row height > 1 by
@Lunderbergin #14520a25bc1 (tests) Update the stderr snapshot for ratatui-macros by
@orhunin #21615fa342c (widgets) Fix centered block title truncation by
@ognis1205in #1973f919b25 (uncategorized) String_to_string lint is now part of implicit_clone by
@joshkain #21731fe64de (uncategorized) Include underline color in anstyle conversion by
@ascheyin #2004c1b8528 (uncategorized) Panic when rendering widgets on too small buffer by
@j-g00dain #199608b21fa (uncategorized) Fix panic when rendering a
Paragraphout of bounds by@jwodderin #167080bc818 (uncategorized) Fix truncation of left aligned block titles by
@joshkain #193121e3b59 (uncategorized) Fix handling of multi-byte chars in bar chart by
@joshkain #1934e1e4004 (uncategorized) Derive copy for list state by
@janTatesain #192112cb5a2 (uncategorized) Allow canvas area to exceed u16::MAX by
@Daksh14in #189109cc9ef (uncategorized) Typo in changelog by
@joshkain #1857c238aca (uncategorized)
padding_right()should set right padding instead of left by@sxyaziin #1837c90ba97 (uncategorized) Avoid unnecessary imports in minimal build by
@cgzonesin #1787416ebdf (uncategorized) Correct clippy errors introduced by rust 1.86.0 update by
@j-g00dain #17554eac5b2 (uncategorized) Make deprecation notes more helpful by
@joshkain #170235a8642 (uncategorized)
Rect::positions()should be empty when width is 0 and height is nonzero by@jwodderin #1669f5fc819 (uncategorized) Avoid extra line break on whitespace only lines when wrapping paragraphs by
@dotdashin #16362892bdd (uncategorized) Rust 1.83 clippy lints by
@joshkain #152736e2d1b (uncategorized) Add feature(doc_cfg) when generating docs by
@joshkain #15064d7704f (uncategorized) Make StatefulWidget and Ref work with unsized State by
@thscharlerin #15057b87509 (uncategorized) Typo by
@marcoieniin #1480Refactor
8d60e96 (examples) Use crossterm event methods by
@joshkain #179207bec55 (no_std) Make usages of std explicit in ratatui-core. by
@ed-2100in #1782f132fa1 (table) Small readability improvements by
@joshkain #1510c7c3498 (uncategorized) Use saturating_add in Rect::new by
@pharrison31415in #221602e53de (uncategorized) Make use of iter::repeat_n() by
@cgzonesin #1788a195d59 (uncategorized) Move xtask commands to small modules by
@joshkain #1620904b0aa (uncategorized) Move symbols to modules by
@joshkain #15947c8573f (uncategorized) Rearrange selection_spacing code by
@rayluin #1540217c57c (uncategorized) Modularize backends by
@orhunin #1508e461b72 (uncategorized) Move {Stateful,}Widget{,Ref} types into individual files by
@joshkain #1479Documentation
40e96a2 (block) Add collapsed border example by
@joshkain #1899d291042 (block) Revise the block example by
@orhunin #15200951da5 (breaking-changes) Improve migration guide for
Backend::Errorby@j-g00dain #1908bbe1cf9 (breaking-changes) Change MSRV to 1.85 by
@j-g00dain #1896c7912f3 (breaking-changes) Fix header level by
@j-g00dain #1825fcde9cb (changelog) Fix typo by
@orhunin #146373488ab (contributing) Fix link to
widgets_block_renderstest by@ognis1205in #21010b025db (contributing) Fix grammar by
@j-g00dain #19581197b2a (contributing) Add note about using nightly for formatting by
@joshkain #18163ae6bf1 (contributing) Use cargo-xtask for instructions by
@orhunin #150922e3e84 (core) Remove link to Paragraph widget by
@orhunin #1683b65788c (examples) Remove duplicated link by
@matthiasbeyerin #2212200b217 (examples) Add VHS tapes and docs for widget examples by
@orhunin #2114861fbdf (examples) Fix a typo by
@j-g00dain #1890882cc3c (examples) Update app examples with tapes by
@orhunin [#1673](hConfiguration
📅 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.