From d0cee47e22eea18221c27ec4a6f50246edd4469d Mon Sep 17 00:00:00 2001 From: Florian Dehau Date: Tue, 4 Sep 2018 22:52:18 +0200 Subject: [PATCH] Release v0.3.0-beta.0 --- CHANGELOG.md | 24 ++++++++++++++++++++++++ Cargo.toml | 2 +- 2 files changed, 25 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ad8f0df..c54588e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,30 @@ ## To be released +## v0.3.0-beta.0 - 2018-09-04 + +### Added + +* Add a basic `Crossterm` backend + +### Changed + +* Remove `Group` and introduce `Layout` in its place + - `Terminal` is no longer required to compute a layout + - `Size` has been renamed `Constraint` +* Widgets are rendered on a `Frame` instead of a `Terminal` in order to +avoid mixing `draw` and `render` calls +* `draw` on `Terminal` expects a closure where the UI is built by rendering +widgets on the given `Frame` +* Update `Widget` trait + - `draw` takes area by value + - `render` takes a `Frame` instead of a `Terminal` +* All widgets use the consumable builder pattern +* `SelectableList` can have no selected item and the highlight symbol is hidden +in this case +* Remove markup langage inside `Paragraph`. `Paragraph` now expects an iterator +of `Text` items + ## v0.2.3 - 2018-06-09 ### Added diff --git a/Cargo.toml b/Cargo.toml index 4b706eb..c936657 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tui" -version = "0.2.3" +version = "0.3.0-beta.0" authors = ["Florian Dehau "] description = """ A library to build rich terminal user interfaces or dashboards