diff --git a/CHANGELOG.md b/CHANGELOG.md index 05d22afc..3d75e30d 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 @@ -13,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 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/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..ee6d5d85 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 //! @@ -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)]