fix(deps): update rust crate ratatui to 0.23.0 #389
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.22.0
->0.23.0
Release Notes
ratatui-org/ratatui (ratatui)
v0.23.0
Compare Source
We are thrilled to release the new version of
ratatui
π, the official successor* oftui-rs
.In this version, we improved the existing widgets such as
Barchart
andScrollbar
. We also made improvmements in the testing/internal APIs to provide a smoother testing/development experience. Additionally, we have addressed various bugs and implemented enhancements.Here is a blog post that highlights the new features and breaking changes along with a retrospective about the project: https://blog.orhun.dev/ratatui-0-23-0
Features
(barchart) Add direction attribute. (horizontal bars support) (#β325)
(0dca6a6)
(cell) Add voluntary skipping capability for sixel (#β215)
(e4bcf78)
(list) Add option to always allocate the "selection" column width (#β394)
(4d70169)
(release) Add automated nightly releases (#β359)
(aad164a)
(scrollbar) Add optional track symbol (#β360)
(1727fa5) [breaking]
(table) Add support for line alignment in the table widget (#β392)
(7748720)
(widgets::table) Add option to always allocate the "selection" constraint (#β375)
(f63ac72)
(uncategorized) Expand serde attributes for
TestBuffer
(#β389)(57ea871)
(uncategorized) Add weak constraints to make rects closer to each other in size β¨ (#β395)
(6153371)
(uncategorized) Simplify split function β¨ (#β411)
(b090101)
Bug Fixes
(barchart) Empty groups causes panic (#β333)
(9c95673)
(block) Fixed title_style not rendered (#β349) (#β363)
(49a82e0)
(cargo) Adjust minimum paste version (#β348)
(8db9fb4)
(example) Fix typo (#β337)
(daf5890)
(layout) Don't leave gaps between chunks (#β408)
(56455e0)
(layout) Ensure left <= right (#β410)
(f4ed3b7)
(readme) Fix typo in readme (#β344)
(d05ab6f)
(readme) Fix incorrect template link (#β338)
(b9290b3)
(readme) Fix typo in readme (#β336)
(7e37a96)
(release) Fix the last tag retrieval for alpha releases (#β416)
(b6b2da5)
(release) Set the correct permissions for creating alpha releases (#β400)
(778c320)
(scrollbar) Move symbols to symbols module (#β330)
(7539f77) [breaking]
(table) Fix unit tests broken due to rounding (#β419)
(dc55211)
(uncategorized) Correct minor typos in documentation (#β331)
(13fb11a)
Refactor
(barchart) Reduce some calculations (#β430)
(fc727df)
(layout) Simplify and doc split() (#β405)
(de25de0)
(layout) Simplify split() function (#β396)
(5195099)
Documentation
(examples) Fix the instructions for generating demo GIF (#β442)
(7a70602)
(examples) Show layout constraints (#β393)
(10dbd6f)
(examples) Add color and modifiers examples (#β345)
(6ad4bd4)
(examples) Regen block.gif in readme (#β365)
(e82521e)
(examples) Update block example (#β351)
(554805d)
(examples) Add examples readme with gifs (#β303)
(add578a)
(layout) Add doc comments (#β403)
(418ed20)
(layout::Constraint) Add doc-comments for all variants (#β371)
(c8ddc16)
(lib) Extract feature documentation from Cargo.toml (#β438)
(8b36683)
(paragraph) Add more docs (#β428)
(6d6ecee)
(project) Make the project description cooler (#β441)
(47fe4ad)
(readme) Use the correct version for MSRV (#β369)
(3a37d2f)
(readme) Fix widget docs links (#β346)
(2920e04)
(span) Update docs and tests for
Span
(#β427)(d0ee04a)
(uncategorized) Improve scrollbar doc comment (#β329)
(c3f87f2)
Performance
(bench) Used
iter_batched
to clone widgets in setup function (#β383)(149d489)
Styling
(paragraph) Add documentation for "scroll"'s "offset" (#β355)
(ab5e616)
Testing
(block) Test all block methods (#β431)
(a890f2a)
(block) Add benchmarks (#β368)
(e18393d)
(canvas) Add unit tests for line (#β437)
(ad3413e)
(canvas) Add tests for rectangle (#β429)
(ad4d6e7)
(clear) Test Clear rendering (#β432)
(e9bd736)
(list) Added benchmarks (#β377)
(664fb4c)
(map) Add unit tests (#β436)
(f0716ed)
(sparkline) Added benchmark (#β384)
(3293c6b)
(styled_grapheme) Test StyledGrapheme methods (#β433)
(292a11d)
(table) Add test for consistent table-column-width (#β404)
(4cd843e)
(tabs) Add unit tests (#β439)
(14eb6b6)
(test_backend) Add tests for TestBackend coverage (#β434)
(b35f19e)
(text) Add unit tests (#β435)
(fc9f637)
Miscellaneous Tasks
(changelog) Ignore alpha tags (#β440)
(6009844)
(changelog) Show full commit message (#β423)
(a937500)
(ci) Update the name of the CI workflow (#β417)
(89ef0e2)
(codecov) Fix yaml syntax (#β407)
(ea48af1)
(docs) Add doc comment bump to release documentation (#β382)
(8b28672)
(github) Add kdheepak as a maintainer (#β343)
(60a4131)
(github) Rename
tui-rs-revival
references toratatui-org
(#β340)(964190a)
(make) Add task descriptions to Makefile.toml (#β398)
(268bbed)
(toolchain) Bump msrv to 1.67 (#β361)
(8cd3205) [breaking]
(traits) Add Display and FromStr traits (#β425)
(98155dc)
(uncategorized) Create rust-toolchain.toml (#β415)
(d2429bc)
(uncategorized) Use vhs to create demo.gif (#β390)
(8c55158)
(uncategorized) Implement
Hash
common traits (#β381)(8c4a2e0)
(uncategorized) Implement
Eq & PartialEq
common traits (#β357)(181706c)
(uncategorized) Implement
Clone & Copy
common traits (#β350)(440f62f)
(uncategorized) Implement
Debug & Default
common traits (#β339)(bf49446)
Build
(deps) Upgrade crossterm to 0.27 (#β380)
(37fa6ab)
(examples) Fix cargo make run-examples (#β327)
(e2cb11c)
(uncategorized) Forbid unsafe code (#β332)
(0fb1ed8)
Continuous Integration
(coverage) Exclude examples directory from coverage (#β373)
(de9f52f)
(uncategorized) Don't fail fast (#β364)
(9191ad6)
(uncategorized) Add coverage token (#β352)
(6f659cf)
Contributors
Thank you so much to everyone that contributed to this release!
Here is the list of contributors who have contributed to
ratatui
for the first time!Configuration
π Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
π¦ Automerge: Enabled.
β» Rebasing: Whenever PR is behind base branch, 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 Renovate Bot.