docs(breaking-changes): mention removed lifetime of ToText trait (#1292)

This commit is contained in:
Orhun Parmaksız 2024-08-06 06:18:58 +03:00 committed by GitHub
parent f97e07c08a
commit f687af7c0d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -15,6 +15,7 @@ This is a quick summary of the sections below:
- `Layout::init_cache` no longer returns bool and takes a `NonZeroUsize` instead of `usize`
- `ratatui::terminal` module is now private
- `Axis::labels` now accepts `Vec<T: Into<Line>>`
- `ToText` no longer has a lifetime
- [v0.27.0](#v0270)
- List no clamps the selected index to list
- Prelude items added / removed
@ -111,6 +112,12 @@ are also named terminal, and confusion about module exports for newer Rust users
+ use ratatui::{CompletedFrame, Frame, Terminal, TerminalOptions, ViewPort};
```
### `ToText` no longer has a lifetime ([#1234])
[#1234]: https://github.com/ratatui-org/ratatui/pull/1234
This change simplifies the trait and makes it easier to implement.
## [v0.27.0](https://github.com/ratatui-org/ratatui/releases/tag/v0.27.0)
### List no clamps the selected index to list ([#1159])