0.30.0-alpha.1 is a pre-release of the upcoming 0.30.0 release. It is intended for testing and
feedback. Please report any issues you encounter. The primary change is that we've split the crate
into multiple crates. The main crate is now ratatui-core
and the widgets are in ratatui-widgets
.
This allows for widget crates to depend on a stable core crate, and for the core crate to be used
without widgets.
Features
-
56d5e05 (bar) Update label and text_value to accept Into<> by @Emivvvvv in #1471 [breaking]
-
369b18e (barchart) Reduce barchart creation verbosity by @Emivvvvv in #1453
-
9275d34 (layout) Add Offset::new() constructor by @joshka in #1547
-
ff729b7 (scrollbar) Support retrieving the current position of state by @orhun in #1552
-
ce4856a (widgets) Add the missing constructor to canvas types by @orhun in #1538
-
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
-
860e48b (buffer) Buffer::get_pos() now correctly handles index > u16::MAX by @joshka in #1447
-
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
-
18e70d3 (crossterm) Terminal should keep Bold when removing Dim by @MarSik in #1541
-
a692a6e (lint) Apply rust 1.84 clippy suggestions by @joshka in #1612
-
3b13240 (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
-
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
-
f132fa1 (table) Small readability improvements by @joshka in #1510
-
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
-
3ae6bf1 (contributing) Use cargo-xtask for instructions by @orhun in #1509
-
04e1b32 (layout) Rename cassowary-rs references to cassowary by @miroim in #1448
-
8f28247 (readme) Correct examples links by @HoKim98 in #1484
-
9f90f74 (readme) Fix broken link by @nilsmartel in #1485
-
260af68 (readme) Include iocraft as an alternative by @kdheepak in #1483
-
dafb716 (widgets) Add example for grouped barchart by @orhun in #1566
-
fab5321 (widgets) Add example for scrollbar by @orhun in #1545
-
452366a (widgets) Add example for sparkline by @orhun in #1556
-
93ad6b8 (widgets) Update values in chart example by @orhun in #1558
-
15f442a (widgets) Add example for paragraph by @orhun in #1544
-
17bba14 (widgets) Move the logo example to widgets by @orhun in #1543
-
6dd25a3 (widgets) Add example for calendar by @orhun in #1532
-
99ac005 (widgets) Add simple barchart example by @joshka in #1511
-
da05957 (uncategorized) Add widget-ref-container example by @joshka in #1603
-
1798512 (uncategorized) Fix wording in user_input example by @dawedawe in #1611
-
03066d8 (uncategorized) Fix punctuation in canvas.rs documentation by @dawedawe in #1583
-
e411d9e (uncategorized) Add input form example by @joshka in #1551
-
ed071f3 (uncategorized) Add mouse-drawing example by @joshka in #1546
-
46902f5 (uncategorized) Improve docs for workspace crates by @orhun in #1490
-
a6b5792 (uncategorized) Fix example link in readme by @thomas-tacquet in #1462
Miscellaneous Tasks
-
abe2f27 (backend) Change From impls to new backend specific IntoBackend and FromBackend traits by @joshka in #1464 [breaking]
-
0a47ebd (bencher) Update bencher CLI usage by @epompeii in #1470
-
eaa4038 (ci) Install pre-built binaries for cargo-rdme by @orhun in #1477
-
e5e2316 (ci) Add check for keeping README.md up-to-date by @orhun in #1473
-
2ef3583 (ci) Replace cargo-make with a custom cargo-xtask by @joshka in #1461
-
98df774 (core) Move core types to ratatui-core by @joshka in #1460
-
35eba76 (example) Move demo2 to top level folder by @joshka in #1524
-
5f57d35 (examples) Add colors explorer demo app by @orhun in #1580
-
a6a1368 (examples) Add calendar explorer demo app by @orhun in #1571
-
b5f7e44 (examples) Move async example to apps by @joshka in #1503
-
17316ec (github) Enable sponsorship button by @orhun in #1478
-
d3f01eb (lint) Ensure lint config is correct by @joshka in #1528
-
2b7ec5c (widgets) Enable calendar widget as default by @orhun in #1521
-
d201b8e (xtask) Check lints for only library targets by @orhun in #1531
-
6f21319 (uncategorized) Rename examples with clashing names by @joshka in #1597
-
11cbb2b (uncategorized) Use cargo xtask for bacon clippy command by @joshka in #1592
-
b544e39 (uncategorized) Use clap instead of argh for demo example by @joshka in #1591
-
9a54198 (uncategorized) Make source files non-executable by @orhun in #1577
-
357ae7e (uncategorized) Move terminal types to ratatui-core by @joshka in #1530 [breaking]
-
21e62d8 (uncategorized) Move the demo example to main folder by @joshka in #1523
-
fbf6050 (uncategorized) Prepare alpha modularization release by @joshka in #1525
-
e4e95bc (uncategorized) Remove --color always flags from bacon.toml by @joshka in #1502
-
a41c97b (uncategorized) Move unstable widget refs to ratatui by @joshka in #1491 [breaking]
-
e7085e3 (uncategorized) Move widgets into ratatui-widgets crate by @joshka in #1474
-
f1d0a18 (uncategorized) Move ratatui crate into workspace folder by @joshka in #1459
-
55fb2d2 (uncategorized) Update repo links to ratatui instead of ratatui-org by @joshka in #1458
Continuous Integration
New Contributors
- @dawedawe made their first contribution in #1611
- @Its-Just-Nans made their first contribution in #1584
- @MarSik made their first contribution in #1541
- @raylu made their first contribution in #1540
- @renesat made their first contribution in #1501
- @HoKim98 made their first contribution in #1484
- @nilsmartel made their first contribution in #1485
- @marcoieni made their first contribution in #1480
- @epompeii made their first contribution in #1470
- @thomas-tacquet made their first contribution in #1462
- @miroim made their first contribution in #1448
Full Changelog: v0.29.0...0.30.0-alpha.1