textwrap v0.12.1 Release Notes

Release Date: 2020-07-03 // almost 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.

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 by terminal_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.