From 14632a593fa28edb8fde6951e48bcc133e10d3e8 Mon Sep 17 00:00:00 2001 From: Martin Geisler Date: Sun, 21 Feb 2021 20:31:07 +0000 Subject: [PATCH 1/4] Add dependency graph for version 0.13.4 --- images/textwrap-0.13.4.svg | 17 +++++++++++++++++ src/lib.rs | 2 +- 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 images/textwrap-0.13.4.svg diff --git a/images/textwrap-0.13.4.svg b/images/textwrap-0.13.4.svg new file mode 100644 index 00000000..6243c2a1 --- /dev/null +++ b/images/textwrap-0.13.4.svg @@ -0,0 +1,17 @@ + + + + +textwrap + +smawk + + + + + +unicode-width + + + + diff --git a/src/lib.rs b/src/lib.rs index 392230f1..5600bc67 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -124,7 +124,7 @@ //! The full dependency graph, where dashed lines indicate optional //! dependencies, is shown below: //! -//! +//! //! //! ## Default Features //! From 5c2278ff9f398ad8a627dbb4c581d1e609577323 Mon Sep 17 00:00:00 2001 From: Martin Geisler Date: Sun, 21 Feb 2021 20:31:08 +0000 Subject: [PATCH 2/4] Update changelog for version 0.13.4 --- CHANGELOG.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 05d22afc..aeb4735d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,16 @@ This file lists the most important changes made in each release of `textwrap`. +## Version 0.13.4 (2021-02-23) + +This release removes `println!` statements which was left behind in +`unfill` by mistake. + +* [#296](https://github.com/mgeisler/textwrap/pull/296): Improve house + building example with more comments. +* [#297](https://github.com/mgeisler/textwrap/pull/297): Remove debug + prints in the new `unfill` function. + ## Version 0.13.3 (2021-02-20) This release contains a bugfix for `indent` and improved handling of From a5b8aec6db60e80c72866ba10b00e1c519e4742c Mon Sep 17 00:00:00 2001 From: Martin Geisler Date: Tue, 23 Feb 2021 22:36:07 +0100 Subject: [PATCH 3/4] Expand on the consequence of the `indent` bugfix in 0.13.3 --- CHANGELOG.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index aeb4735d..3d75e30d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -23,7 +23,9 @@ and functions for reformatting already wrapped text. `core::display_width` to handle emojis when the unicode-width Cargo feature is disabled. * [#279](https://github.com/mgeisler/textwrap/pull/279): Make `indent` - preserve existing newlines in the input string. + preserve existing newlines in the input string. Before, + `indent("foo", "")` would return `"foo\n"` by mistake. It now + returns `"foo"` instead. * [#281](https://github.com/mgeisler/textwrap/pull/281): Ensure all `Options` fields have examples. * [#282](https://github.com/mgeisler/textwrap/pull/282): Add a From 099bd4587c760b75f5b174a6f2b74e874dcd352e Mon Sep 17 00:00:00 2001 From: Martin Geisler Date: Sun, 21 Feb 2021 20:32:40 +0000 Subject: [PATCH 4/4] Bump version to 0.13.4 --- Cargo.toml | 2 +- src/lib.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index f2ce3746..c1df314e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "textwrap" -version = "0.13.3" +version = "0.13.4" authors = ["Martin Geisler "] description = "Powerful library for word wrapping, indenting, and dedenting strings" documentation = "https://docs.rs/textwrap/" diff --git a/src/lib.rs b/src/lib.rs index 5600bc67..ee6d5d85 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -165,7 +165,7 @@ //! [terminal_size]: https://docs.rs/terminal_size/ //! [hyphenation]: https://docs.rs/hyphenation/ -#![doc(html_root_url = "https://docs.rs/textwrap/0.13.3")] +#![doc(html_root_url = "https://docs.rs/textwrap/0.13.4")] #![forbid(unsafe_code)] // See https://github.com/mgeisler/textwrap/issues/210 #![deny(missing_docs)] #![deny(missing_debug_implementations)]