Release v0.16.0

pull/510/head^2 v0.16.0
Florian Dehau 3 years ago
parent a7c21a9729
commit 7870793b4b

@ -2,6 +2,22 @@
## To be released
## v0.16.0 - 2021-08-01
### Features
* Update `crossterm` to `0.20`.
* Add `From<Cow<str>>` implementation for `text::Text` (#471).
* Add option to right or center align the title of a `widgets::Block` (#462).
### Fixes
* Apply label style in `widgets::Gauge` and avoid panics because of overflows with long labels (#494).
* Avoid panics because of overflows with long axis labels in `widgets::Chart` (#512).
* Fix computation of column widths in `widgets::Table` (#514).
* Fix panics because of invalid offset when input changes between two frames in `widgets::List` and
`widgets::Chart` (#516).
## v0.15.0 - 2021-05-02
### Features

@ -1,11 +1,11 @@
[package]
name = "tui"
version = "0.15.0"
version = "0.16.0"
authors = ["Florian Dehau <work@fdehau.com>"]
description = """
A library to build rich terminal user interfaces or dashboards
"""
documentation = "https://docs.rs/tui/0.15.0/tui/"
documentation = "https://docs.rs/tui/0.16.0/tui/"
keywords = ["tui", "terminal", "dashboard"]
repository = "https://github.com/fdehau/tui-rs"
readme = "README.md"

@ -50,8 +50,8 @@ cargo run --example termion_demo --release -- --tick-rate 200
where `tick-rate` is the UI refresh rate in ms.
The UI code is in [examples/demo/ui.rs](https://github.com/fdehau/tui-rs/blob/v0.15.0/examples/demo/ui.rs) while the
application state is in [examples/demo/app.rs](https://github.com/fdehau/tui-rs/blob/v0.15.0/examples/demo/app.rs).
The UI code is in [examples/demo/ui.rs](https://github.com/fdehau/tui-rs/blob/v0.16.0/examples/demo/ui.rs) while the
application state is in [examples/demo/app.rs](https://github.com/fdehau/tui-rs/blob/v0.16.0/examples/demo/app.rs).
Beware that the `termion_demo` only works on Unix platforms. If you are a Windows user,
you can see the same demo using the `crossterm` backend with the following command:
@ -71,16 +71,16 @@ cargo run --example crossterm_demo --no-default-features --features="crossterm"
The library comes with the following list of widgets:
* [Block](https://github.com/fdehau/tui-rs/blob/v0.15.0/examples/block.rs)
* [Gauge](https://github.com/fdehau/tui-rs/blob/v0.15.0/examples/gauge.rs)
* [Sparkline](https://github.com/fdehau/tui-rs/blob/v0.15.0/examples/sparkline.rs)
* [Chart](https://github.com/fdehau/tui-rs/blob/v0.15.0/examples/chart.rs)
* [BarChart](https://github.com/fdehau/tui-rs/blob/v0.15.0/examples/barchart.rs)
* [List](https://github.com/fdehau/tui-rs/blob/v0.15.0/examples/list.rs)
* [Table](https://github.com/fdehau/tui-rs/blob/v0.15.0/examples/table.rs)
* [Paragraph](https://github.com/fdehau/tui-rs/blob/v0.15.0/examples/paragraph.rs)
* [Canvas (with line, point cloud, map)](https://github.com/fdehau/tui-rs/blob/v0.15.0/examples/canvas.rs)
* [Tabs](https://github.com/fdehau/tui-rs/blob/v0.15.0/examples/tabs.rs)
* [Block](https://github.com/fdehau/tui-rs/blob/v0.16.0/examples/block.rs)
* [Gauge](https://github.com/fdehau/tui-rs/blob/v0.16.0/examples/gauge.rs)
* [Sparkline](https://github.com/fdehau/tui-rs/blob/v0.16.0/examples/sparkline.rs)
* [Chart](https://github.com/fdehau/tui-rs/blob/v0.16.0/examples/chart.rs)
* [BarChart](https://github.com/fdehau/tui-rs/blob/v0.16.0/examples/barchart.rs)
* [List](https://github.com/fdehau/tui-rs/blob/v0.16.0/examples/list.rs)
* [Table](https://github.com/fdehau/tui-rs/blob/v0.16.0/examples/table.rs)
* [Paragraph](https://github.com/fdehau/tui-rs/blob/v0.16.0/examples/paragraph.rs)
* [Canvas (with line, point cloud, map)](https://github.com/fdehau/tui-rs/blob/v0.16.0/examples/canvas.rs)
* [Tabs](https://github.com/fdehau/tui-rs/blob/v0.16.0/examples/tabs.rs)
Click on each item to see the source of the example. Run the examples with with
cargo (e.g. to run the demo `cargo run --example demo`), and quit by pressing `q`.

@ -9,7 +9,7 @@
//!
//! ```toml
//! [dependencies]
//! tui = "0.15"
//! tui = "0.16"
//! termion = "1.5"
//! ```
//!
@ -20,7 +20,7 @@
//! ```toml
//! [dependencies]
//! crossterm = "0.20"
//! tui = { version = "0.15", default-features = false, features = ['crossterm'] }
//! tui = { version = "0.16", default-features = false, features = ['crossterm'] }
//! ```
//!
//! The same logic applies for all other available backends.

Loading…
Cancel
Save