|
3 | 3 | This file lists the most important changes made in each release of |
4 | 4 | `textwrap`. |
5 | 5 |
|
6 | | -## Version 0.15.1 (2022-09-15) |
7 | | - |
8 | | -This release which fixes crashes in `unfill` and `refill`. It also |
9 | | -adds a new option to make the line endings (`\n` or `\r\n`) |
10 | | -configurable: |
11 | | - |
12 | | -* [#448](https://github.com/mgeisler/textwrap/pull/448): Migrate to |
13 | | - the Rust 2021 edition. |
| 6 | +## Version 0.16.0 (2022-10-23) |
| 7 | + |
| 8 | +This release marks `Options` as `non_exhaustive` and extends it to |
| 9 | +make line endings configurable, it adds new fast paths to `fill` and |
| 10 | +`wrap`, and it fixes crashes in `unfill` and `refill`. |
| 11 | + |
| 12 | +* [#480](https://github.com/mgeisler/textwrap/pull/480): Mark |
| 13 | + `Options` as `non_exhaustive`. This will allow us to extend the |
| 14 | + struct in the future without breaking backwards compatibility. |
| 15 | +* [#478](https://github.com/mgeisler/textwrap/pull/478): Add fast |
| 16 | + paths to `fill` and `wrap`. This makes the functions 10-25 times |
| 17 | + faster when the no wrapping is needed. |
| 18 | +* [#468](https://github.com/mgeisler/textwrap/pull/468): Fix `refill` |
| 19 | + to add back correct line ending. |
| 20 | +* [#467](https://github.com/mgeisler/textwrap/pull/467): Fix crashes |
| 21 | + in `unfill` and `refill`. |
14 | 22 | * [#458](https://github.com/mgeisler/textwrap/pull/458): Test with |
15 | 23 | Rust 1.56 (first compiler release with support for Rust 2021). |
16 | 24 | * [#454](https://github.com/mgeisler/textwrap/pull/454): Make line |
17 | 25 | endings configurable. |
18 | | -* [#467](https://github.com/mgeisler/textwrap/pull/467): Fix `unfill` |
19 | | - and `refill` crashes. |
20 | | -* [#468](https://github.com/mgeisler/textwrap/pull/468): Fix `refill` |
21 | | - to add back correct line ending. |
| 26 | +* [#448](https://github.com/mgeisler/textwrap/pull/448): Migrate to |
| 27 | + the Rust 2021 edition. |
| 28 | + |
| 29 | +## Version 0.15.1 (2022-09-15) |
| 30 | + |
| 31 | +This release was yanked since it accidentally broke backwards |
| 32 | +compatibility with 0.15.0. |
22 | 33 |
|
23 | 34 | ## Version 0.15.0 (2022-02-27) |
24 | 35 |
|
|
0 commit comments