---
title: "textwrap 0.16.0 Breaking Changes on crates.io | Since.dev"
description: "What each textwrap release removed, renamed or changed: 30 breaking changes in 2 versions on crates.io, each with its source."
canonical_url: https://since.dev/packages/crates/textwrap
last_updated: 2026-12-04
---

# textwrap breaking changes

textwrap 0.16.0 (October 23, 2022) is its newest release with breaking changes, 2 of them. The first: Behavior changed refill. Every breaking API change we have recorded in textwrap on crates.io: 30 breaking changes in 2 versions. Below, its 2 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `0.16.4`, released September 13, 2026. [Source repository](https://github.com/mgeisler/textwrap)

Packages on crates.io run on Rust. [Rust end of life dates](https://since.dev/calendar/rust.md).

- From [0.15.0](#v-0-15-0) to [0.16.0](#v-0-16-0): 2 breaking changes in 1 version.

## textwrap 0.16.0 breaking changes

textwrap 0.16.0, released October 23, 2022: 2 breaking changes.

- **Behavior changed** `refill`  

refill adds back a different line ending than before, so output that depends on the old line ending changes. [github.com](https://github.com/mgeisler/textwrap/releases/tag/0.16.0)
- **Signature changed** `Options`  

Options is now non_exhaustive, so code that builds it with a struct literal or matches all its fields will no longer compile. [github.com](https://github.com/mgeisler/textwrap/releases/tag/0.16.0)

## textwrap 0.15.0 breaking changes

textwrap 0.15.0, released February 27, 2022: 28 breaking changes.

- **Removed** `textwrap::Options::with_word_splitter`  

textwrap::Options::with_word_splitter was removed in textwrap 0.15.0 [crates.io](https://crates.io/crates/textwrap/0.15.0)
- **Removed** `textwrap::word_separators`  

textwrap::word_separators was removed in textwrap 0.15.0 [crates.io](https://crates.io/crates/textwrap/0.15.0)
- **Removed** `textwrap::word_splitters::HyphenSplitter`  

textwrap::word_splitters::HyphenSplitter was removed in textwrap 0.15.0 [crates.io](https://crates.io/crates/textwrap/0.15.0)
- **Removed** `textwrap::word_splitters::NoHyphenation`  

textwrap::word_splitters::NoHyphenation was removed in textwrap 0.15.0 [crates.io](https://crates.io/crates/textwrap/0.15.0)
- **Removed** `textwrap::wrap_algorithms::FirstFit`  

textwrap::wrap_algorithms::FirstFit was removed in textwrap 0.15.0 [crates.io](https://crates.io/crates/textwrap/0.15.0)
- **Removed** `textwrap::wrap_algorithms::OptimalFit`  

textwrap::wrap_algorithms::OptimalFit was removed in textwrap 0.15.0 [crates.io](https://crates.io/crates/textwrap/0.15.0)
- **Signature changed** `textwrap::core::Fragment::penalty_width`  

Was fn penalty_width(&self) -> usize; now fn penalty_width(&self) -> f64. [crates.io](https://crates.io/crates/textwrap/0.15.0)
- **Signature changed** `textwrap::core::Fragment::whitespace_width`  

Was fn whitespace_width(&self) -> usize; now fn whitespace_width(&self) -> f64. [crates.io](https://crates.io/crates/textwrap/0.15.0)
- **Signature changed** `textwrap::core::Fragment::width`  

Was fn width(&self) -> usize; now fn width(&self) -> f64. [crates.io](https://crates.io/crates/textwrap/0.15.0)
- **Signature changed** `textwrap::fill`  

Was fn fill<'a, WrapAlgo, WordSep, WordSplit, Opt>(text: &str, width_or_options: Opt) -> String where WrapAlgo: wrap_algorithms::WrapAlgorithm, WordSep: word_separators::WordSeparator, WordSplit: word_splitters::WordSplitter, Opt... [crates.io](https://crates.io/crates/textwrap/0.15.0)

And 18 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
