From 21ca38d9e91c8e69291d645b973a135ddde6a5d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Orhun=20Parmaks=C4=B1z?= Date: Mon, 29 May 2023 12:09:00 +0200 Subject: [PATCH] chore(release): prepare for 0.21.0 (#197) * chore(release): prepare for 0.21.0 * chore(changelog): update changelog for latest changes --- CHANGELOG.md | 96 ++++++++++++++++++++++++++++++++++++++++++++++++++++ Cargo.toml | 2 +- cliff.toml | 2 +- 3 files changed, 98 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6612112d3..2e076f94f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,101 @@ # Changelog +## v0.21.0 - 2023-05-28 + +### Features + +- *(backend)* Add termwiz backend and example ([#5](https://github.com/tui-rs-revival/ratatui/issues/5)) +- *(block)* Support placing the title on bottom ([#36](https://github.com/tui-rs-revival/ratatui/issues/36)) +- *(border)* Add border! macro for easy bitflag manipulation ([#11](https://github.com/tui-rs-revival/ratatui/issues/11)) +- *(calendar)* Add calendar widget ([#138](https://github.com/tui-rs-revival/ratatui/issues/138)) +- *(color)* Add `FromStr` implementation for `Color` ([#180](https://github.com/tui-rs-revival/ratatui/issues/180)) +- *(list)* Add len() to List ([#24](https://github.com/tui-rs-revival/ratatui/pull/24)) +- *(paragraph)* Allow Lines to be individually aligned ([#149](https://github.com/tui-rs-revival/ratatui/issues/149)) +- *(sparkline)* Finish #1 Sparkline directions PR ([#134](https://github.com/tui-rs-revival/ratatui/issues/134)) +- *(terminal)* Add inline viewport ([#114](https://github.com/tui-rs-revival/ratatui/issues/114)) [**breaking**] +- *(test)* Expose test buffer ([#160](https://github.com/tui-rs-revival/ratatui/issues/160)) +- *(text)* Add `Masked` to display secure data ([#168](https://github.com/tui-rs-revival/ratatui/issues/168)) [**breaking**] +- *(widget)* Add circle widget ([#159](https://github.com/tui-rs-revival/ratatui/issues/159)) +- *(widget)* Add style methods to Span, Spans, Text ([#148](https://github.com/tui-rs-revival/ratatui/issues/148)) +- *(widget)* Support adding padding to Block ([#20](https://github.com/tui-rs-revival/ratatui/issues/20)) +- *(widget)* Add offset() and offset_mut() for table and list state ([#12](https://github.com/tui-rs-revival/ratatui/issues/12)) + +### Bug Fixes + +- *(canvas)* Use full block for Marker::Block ([#133](https://github.com/tui-rs-revival/ratatui/issues/133)) [**breaking**] +- *(example)* Update input in examples to only use press events ([#129](https://github.com/tui-rs-revival/ratatui/issues/129)) +- *(uncategorized)* Cleanup doc example ([#145](https://github.com/tui-rs-revival/ratatui/issues/145)) +- *(reflow)* Remove debug macro call ([#198](https://github.com/tui-rs-revival/ratatui/issues/198)) + +### Refactor + +- *(example)* Remove redundant `vec![]` in `user_input` example ([#26](https://github.com/tui-rs-revival/ratatui/issues/26)) +- *(example)* Refactor paragraph example ([#152](https://github.com/tui-rs-revival/ratatui/issues/152)) +- *(style)* Mark some Style fns const so they can be defined globally ([#115](https://github.com/tui-rs-revival/ratatui/issues/115)) +- *(text)* Replace `Spans` with `Line` ([#178](https://github.com/tui-rs-revival/ratatui/issues/178)) + +### Documentation + +- *(apps)* Fix rsadsb/adsb_deku radar link ([#140](https://github.com/tui-rs-revival/ratatui/issues/140)) +- *(apps)* Add tenere ([#141](https://github.com/tui-rs-revival/ratatui/issues/141)) +- *(apps)* Add twitch-tui ([#124](https://github.com/tui-rs-revival/ratatui/issues/124)) +- *(apps)* Add oxycards ([#113](https://github.com/tui-rs-revival/ratatui/issues/113)) +- *(apps)* Re-add trippy to APPS.md ([#117](https://github.com/tui-rs-revival/ratatui/issues/117)) +- *(block)* Add example for block.inner ([#158](https://github.com/tui-rs-revival/ratatui/issues/158)) +- *(changelog)* Update the empty profile link in contributors ([#112](https://github.com/tui-rs-revival/ratatui/issues/112)) +- *(readme)* Fix small typo in readme ([#186](https://github.com/tui-rs-revival/ratatui/issues/186)) +- *(readme)* Add termwiz demo to examples ([#183](https://github.com/tui-rs-revival/ratatui/issues/183)) +- *(readme)* Add acknowledgement section ([#154](https://github.com/tui-rs-revival/ratatui/issues/154)) +- *(readme)* Update project description ([#127](https://github.com/tui-rs-revival/ratatui/issues/127)) +- *(uncategorized)* Scrape example code from examples/* ([#195](https://github.com/tui-rs-revival/ratatui/issues/195)) + +### Styling + +- *(apps)* Update the style of application list ([#184](https://github.com/tui-rs-revival/ratatui/issues/184)) +- *(readme)* Update project introduction in README.md ([#153](https://github.com/tui-rs-revival/ratatui/issues/153)) +- *(uncategorized)* Clippy's variable inlining in format macros + +### Testing + +- *(buffer)* Add `assert_buffer_eq!` and Debug implementation ([#161](https://github.com/tui-rs-revival/ratatui/issues/161)) +- *(list)* Add characterization tests for list ([#167](https://github.com/tui-rs-revival/ratatui/issues/167)) +- *(widget)* Add unit tests for Paragraph ([#156](https://github.com/tui-rs-revival/ratatui/issues/156)) + +### Miscellaneous Tasks + +- *(uncategorized)* Inline format args ([#190](https://github.com/tui-rs-revival/ratatui/issues/190)) +- *(uncategorized)* Minor lints, making Clippy happier ([#189](https://github.com/tui-rs-revival/ratatui/issues/189)) + +### Build + +- *(uncategorized)* Bump MSRV to 1.65.0 ([#171](https://github.com/tui-rs-revival/ratatui/issues/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! + +- [@kpcyrd](https://github.com/kpcyrd) +- [@fujiapple852](https://github.com/fujiapple852) +- [@BrookJeynes](https://github.com/BrookJeynes) +- [@Ziqi-Yang](https://github.com/Ziqi-Yang) +- [@Xithrius](https://github.com/Xithrius) +- [@lesleyrs](https://github.com/lesleyrs) +- [@pythops](https://github.com/pythops) +- [@wcampbell0x2a](https://github.com/wcampbell0x2a) +- [@sophacles](https://github.com/sophacles) +- [@Eyesonjune18](https://github.com/Eyesonjune18) +- [@a-kenji](https://github.com/a-kenji) +- [@TimerErTim](https://github.com/TimerErTim) +- [@Mehrbod2002](https://github.com/Mehrbod2002) +- [@thomas-mauran](https://github.com/thomas-mauran) +- [@nyurik](https://github.com/nyurik) + ## v0.20.1 - 2023-03-19 ### Bug Fixes diff --git a/Cargo.toml b/Cargo.toml index 2fc6d00d7..8c14c3f9b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ratatui" -version = "0.20.1" +version = "0.21.0" authors = ["Florian Dehau "] description = """ A library to build rich terminal user interfaces or dashboards diff --git a/cliff.toml b/cliff.toml index ebc9e0b57..51c4871a6 100644 --- a/cliff.toml +++ b/cliff.toml @@ -11,7 +11,7 @@ All notable changes to this project will be documented in this file.\n # https://tera.netlify.app/docs/#introduction body = """ {% if version %}\ - ## [{{ version | trim_start_matches(pat="v") }}] - {{ timestamp | date(format="%Y-%m-%d") }} + ## {{ version }} - {{ timestamp | date(format="%Y-%m-%d") }} {% else %}\ ## [unreleased] {% endif %}\