Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 0.16.1 #533

Merged
merged 3 commits into from
Feb 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading
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
Loading