Skip to content

Commit 39914e0

Browse files
authored
Merge pull request #533 from mgeisler/release-0.16.1
Release 0.16.1
2 parents b656c07 + 8f84d66 commit 39914e0

File tree

4 files changed

+38
-3
lines changed

4 files changed

+38
-3
lines changed

CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,20 @@
33
This file lists the most important changes made in each release of
44
`textwrap`.
55

6+
## Version 0.16.1 (2024-02-17)
7+
8+
This release fixes `display_width` to ignore inline-hyperlinks. The minimum
9+
supported version of Rust is now documented to be 1.56.
10+
11+
* [#526](https://github.com/mgeisler/textwrap/pull/526): Ignore ANSI hyperlinks
12+
in `display_width`: calculations.
13+
* [#521](https://github.com/mgeisler/textwrap/pull/521): Add `Options::width`
14+
setter method.
15+
* [#520](https://github.com/mgeisler/textwrap/pull/520): Clarify that
16+
`WordSeparator` is an enum rather than a trait.
17+
* [#518](https://github.com/mgeisler/textwrap/pull/518): Test with latest stable
18+
and nightly Rust, but check that we can build with Rust 1.56.
19+
620
## Version 0.16.0 (2022-10-23)
721

822
This release marks `Options` as `non_exhaustive` and extends it to

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "textwrap"
3-
version = "0.16.0"
3+
version = "0.16.1"
44
authors = ["Martin Geisler <[email protected]>"]
55
description = "Library for word wrapping, indenting, and dedenting strings. Has optional support for Unicode and emojis as well as machine hyphenation."
66
documentation = "https://docs.rs/textwrap/"

images/textwrap-0.16.1.svg

Lines changed: 21 additions & 0 deletions
Loading

src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@
113113
//! The full dependency graph, where dashed lines indicate optional
114114
//! dependencies, is shown below:
115115
//!
116-
//! <img src="https://raw.githubusercontent.com/mgeisler/textwrap/master/images/textwrap-0.16.0.svg">
116+
//! <img src="https://raw.githubusercontent.com/mgeisler/textwrap/master/images/textwrap-0.16.1.svg">
117117
//!
118118
//! ## Default Features
119119
//!
@@ -193,7 +193,7 @@
193193
//! [terminal_size]: https://docs.rs/terminal_size/
194194
//! [hyphenation]: https://docs.rs/hyphenation/
195195
196-
#![doc(html_root_url = "https://docs.rs/textwrap/0.16.0")]
196+
#![doc(html_root_url = "https://docs.rs/textwrap/0.16.1")]
197197
#![forbid(unsafe_code)] // See https://github.com/mgeisler/textwrap/issues/210
198198
#![deny(missing_docs)]
199199
#![deny(missing_debug_implementations)]

0 commit comments

Comments
 (0)