Skip to content

0.21.0

Compare
Choose a tag to compare
@orhun orhun released this 29 May 10:51
· 866 commits to main since this release
21ca38d

This marks the next big release of ratatui, a community-maintained fork of tui.

A bunch of new features are added and we also worked on improving the current widgets for better functionality and usability. We are also happy to share that most of the pending pull-requests from tui-rs are now reviewed and merged!

Here is a blog post outlining the new features that stand out and giving usage examples: https://blog.orhun.dev/ratatui-0-21-0

Features

  • (backend) Add termwiz backend and example (#5)
  • (block) Support placing the title on bottom (#36)
  • (border) Add border! macro for easy bitflag manipulation (#11)
  • (calendar) Add calendar widget (#138)
  • (color) Add FromStr implementation for Color (#180)
  • (list) Add len() to List (#24)
  • (paragraph) Allow Lines to be individually aligned (#149)
  • (sparkline) Finish #1 Sparkline directions PR (#134)
  • (terminal) Add inline viewport (#114) [breaking]
  • (test) Expose test buffer (#160)
  • (text) Add Masked to display secure data (#168) [breaking]
  • (widget) Add circle widget (#159)
  • (widget) Add style methods to Span, Spans, Text (#148)
  • (widget) Support adding padding to Block (#20)
  • (widget) Add offset() and offset_mut() for table and list state (#12)

Bug Fixes

  • (canvas) Use full block for Marker::Block (#133) [breaking]
  • (example) Update input in examples to only use press events (#129)
  • (uncategorized) Cleanup doc example (#145)
  • (reflow) Remove debug macro call (#198)

Refactor

  • (example) Remove redundant vec![] in user_input example (#26)
  • (example) Refactor paragraph example (#152)
  • (style) Mark some Style fns const so they can be defined globally (#115)
  • (text) Replace Spans with Line (#178)

Documentation

  • (apps) Fix rsadsb/adsb_deku radar link (#140)
  • (apps) Add tenere (#141)
  • (apps) Add twitch-tui (#124)
  • (apps) Add oxycards (#113)
  • (apps) Re-add trippy to APPS.md (#117)
  • (block) Add example for block.inner (#158)
  • (changelog) Update the empty profile link in contributors (#112)
  • (readme) Fix small typo in readme (#186)
  • (readme) Add termwiz demo to examples (#183)
  • (readme) Add acknowledgement section (#154)
  • (readme) Update project description (#127)
  • (uncategorized) Scrape example code from examples/* (#195)

Styling

  • (apps) Update the style of application list (#184)
  • (readme) Update project introduction in README.md (#153)
  • (uncategorized) Clippy's variable inlining in format macros

Testing

  • (buffer) Add assert_buffer_eq! and Debug implementation (#161)
  • (list) Add characterization tests for list (#167)
  • (widget) Add unit tests for Paragraph (#156)

Miscellaneous Tasks

  • (uncategorized) Inline format args (#190)
  • (uncategorized) Minor lints, making Clippy happier (#189)

Build

  • (uncategorized) Bump MSRV to 1.65.0 (#171)

Continuous Integration

  • (uncategorized) Add ci, build, and revert to allowed commit types

Contributors

Thank you so much to everyone that contributed to this release!

Here is the list of contributors who has contributed to ratatui for the first time!

Big thanks to @joshka for his great efforts on development and maintenance for this release.

And once again, special thanks to Florian Dehau for creating this awesome library 💖 We don't see how this would be possible without him in the first place.


Feel free to join our Discord for more discussion!