From b2f805bbe5b4676dddb114aab90c0283b07ee428 Mon Sep 17 00:00:00 2001 From: rhysd Date: Sun, 7 Jul 2024 23:52:09 +0900 Subject: [PATCH] update changelog for v0.5.0 changes --- CHANGELOG.md | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d636a8c..1dc96e3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,10 +1,24 @@ + +# [v0.5.0](https://github.com/rhysd/tui-textarea/releases/tag/v0.5.0) - 07 Jul 2024 + +This is a maintenance release for supporting recent versions of [ratatui](https://crates.io/crates/ratatui) crate. + +- **BREAKING CHANGE:** Bump the minimal versions of the following dependencies. If you're depending on the crates older than the following versions, please upgrade them before upgrading this crate. ([#69](https://github.com/rhysd/tui-textarea/issues/69), thanks [@joshka](https://github.com/joshka)) + - ratatui 0.27.0 + - termion 0.4.0 + - termwiz 0.22.0 +- `YankText` now implements `Display` instead of `ToString` directly. Since `ToString` is implemented for any types which implement `Display`, this is not a breaking change. + +[Changes][v0.5.0] + + # [v0.4.0](https://github.com/rhysd/tui-textarea/releases/tag/v0.4.0) - 19 Nov 2023 This release introduces text selection feature. The internal implementation was largely refactored to handle multi-line text for this feature. As the side effect, several APIs now can handle a multi-line string (string contains newlines) correctly. - Text selection has been implemented. ([#6](https://github.com/rhysd/tui-textarea/issues/6), [#45](https://github.com/rhysd/tui-textarea/issues/45), thanks [@pm100](https://github.com/pm100) for the first implementation) - ![text selection example](https://github.com/rhysd/tui-textarea/assets/823277/2ad4e4ba-3628-44c2-b61c-f0b270d09e27) + minimal example - Default key shortcuts now support text selection. When moving the cursor with pressing a shift key, a textarea starts to select the text under the cursor. The selected text can be copied/cut by the following key shortcuts. Modifying some text while text selection deletes the selected text. Doing undo/redo cancels the ongoing text selection. | Mappings | Description | |------------------|--------------------| @@ -303,6 +317,7 @@ First release :tada: [Changes][v0.1.0] +[v0.5.0]: https://github.com/rhysd/tui-textarea/compare/v0.4.0...v0.5.0 [v0.4.0]: https://github.com/rhysd/tui-textarea/compare/v0.3.1...v0.4.0 [v0.3.1]: https://github.com/rhysd/tui-textarea/compare/v0.3.0...v0.3.1 [v0.3.0]: https://github.com/rhysd/tui-textarea/compare/v0.2.4...v0.3.0 @@ -319,4 +334,4 @@ First release :tada: [v0.1.1]: https://github.com/rhysd/tui-textarea/compare/v0.1.0...v0.1.1 [v0.1.0]: https://github.com/rhysd/tui-textarea/tree/v0.1.0 - +