Skip to content

Commit

Permalink
Merge pull request #533 from mgeisler/release-0.16.1
Browse files Browse the repository at this point in the history
Release 0.16.1
  • Loading branch information
mgeisler committed Feb 17, 2024
2 parents b656c07 + 8f84d66 commit 39914e0
Show file tree
Hide file tree
Showing 4 changed files with 38 additions and 3 deletions.
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,20 @@
This file lists the most important changes made in each release of
`textwrap`.

## Version 0.16.1 (2024-02-17)

This release fixes `display_width` to ignore inline-hyperlinks. The minimum
supported version of Rust is now documented to be 1.56.

* [#526](https://github.com/mgeisler/textwrap/pull/526): Ignore ANSI hyperlinks
in `display_width`: calculations.
* [#521](https://github.com/mgeisler/textwrap/pull/521): Add `Options::width`
setter method.
* [#520](https://github.com/mgeisler/textwrap/pull/520): Clarify that
`WordSeparator` is an enum rather than a trait.
* [#518](https://github.com/mgeisler/textwrap/pull/518): Test with latest stable
and nightly Rust, but check that we can build with Rust 1.56.

## Version 0.16.0 (2022-10-23)

This release marks `Options` as `non_exhaustive` and extends it to
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "textwrap"
version = "0.16.0"
version = "0.16.1"
authors = ["Martin Geisler <martin@geisler.net>"]
description = "Library for word wrapping, indenting, and dedenting strings. Has optional support for Unicode and emojis as well as machine hyphenation."
documentation = "https://docs.rs/textwrap/"
Expand Down
21 changes: 21 additions & 0 deletions images/textwrap-0.16.1.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@
//! The full dependency graph, where dashed lines indicate optional
//! dependencies, is shown below:
//!
//! <img src="https://raw.githubusercontent.com/mgeisler/textwrap/master/images/textwrap-0.16.0.svg">
//! <img src="https://raw.githubusercontent.com/mgeisler/textwrap/master/images/textwrap-0.16.1.svg">
//!
//! ## Default Features
//!
Expand Down Expand Up @@ -193,7 +193,7 @@
//! [terminal_size]: https://docs.rs/terminal_size/
//! [hyphenation]: https://docs.rs/hyphenation/

#![doc(html_root_url = "https://docs.rs/textwrap/0.16.0")]
#![doc(html_root_url = "https://docs.rs/textwrap/0.16.1")]
#![forbid(unsafe_code)] // See https://github.com/mgeisler/textwrap/issues/210
#![deny(missing_docs)]
#![deny(missing_debug_implementations)]
Expand Down

0 comments on commit 39914e0

Please sign in to comment.