textwrap v0.12.1 Release Notes
Release Date: 2020-07-03 // about 4 years ago-
๐ This is a bugfix release.
- ๐ Fixed [#176][issue-176]: Mention compile-time wrapping by linking to
the [
textwrap-macros
crate]. - ๐ Fixed [#193][issue-193]: Wrapping with
break_words(false)
was broken and would cause extra whitespace to be inserted when words were longer than the line width.
- ๐ Fixed [#176][issue-176]: Mention compile-time wrapping by linking to
the [
Previous changes from v0.12.0
-
โก๏ธ The code has been updated to the [Rust 2018 edition][rust-2018] and ๐ each new release of
textwrap
will only support the latest stable ๐ version of Rust. Trying to support older Rust versions is a fool's errand: our dependencies keep releasing new patch versions that require newer and newer versions of Rust.The
term_size
feature has been replaced byterminal_size
. The API is unchanged, it is just the name of the Cargo feature that changed.The
hyphenation
feature now only embeds the hyphenation patterns for US-English. This slims down the dependency.- ๐ Fixed [#140][issue-140]: Ignore ANSI escape sequences.
- ๐ Fixed [#158][issue-158]: Unintended wrapping when using external splitter.
- ๐ Fixed [#177][issue-177]: Update examples to the 2018 edition.