textwrap v0.5.0 Release Notes
Release Date: 2017-05-15 // almost 7 years ago-
๐ฅ Version 0.5.0 has breaking API changes. However, this only affects code using the hyphenation feature. The feature is now optional, so you will first need to enable the
hyphenation
feature as described above. Afterwards, please change your code fromwrapper.corpus = Some(&corpus);
to
wrapper.splitter = Box::new(corpus);
Other changes include optimizations, so version 0.5.0 is roughly 10-15% faster than version 0.4.0.
- ๐ Fixed [#19][issue-19]: Add support for finding terminal size.
- ๐ Fixed [#25][issue-25]: Handle words longer than
self.width
. - ๐ Fixed [#26][issue-26]: Support custom indentation.
- ๐ Fixed [#36][issue-36]: Support building without
hyphenation
. - ๐ Fixed [#39][issue-39]: Respect non-breaking spaces.