Skip to content

Bump textwrap from 0.11.0 to 0.13.2 - #21

Closed
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/cargo/textwrap-0.13.2
Closed

Bump textwrap from 0.11.0 to 0.13.2#21
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/cargo/textwrap-0.13.2

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Dec 31, 2020

Copy link
Copy Markdown

Bumps textwrap from 0.11.0 to 0.13.2.

Release notes

Sourced from textwrap's releases.

textwrap-0.13.2

Version 0.13.2 (2020-12-30)

This release primarily makes all dependencies optional. This makes it possible to slim down textwrap as needed.

  • #254: impl WordSplitter for Box<T> where T: WordSplitter.
  • #255: Use command line arguments as initial text in interactive example.
  • #256: Introduce fuzz tests for wrap_optimal_fit and wrap_first_fit.
  • #260: Make the unicode-width dependency optional.
  • #261: Make the smawk dependency optional.

textwrap-0.13.1

Version 0.13.1 (2020-12-10)

This is a bugfix release which fixed the width computations for colored text.

  • #245: Support deleting a word with Ctrl-Backspace in the interactive demo
  • #246: Show build type (debug/release) in interactive demo
  • #249: Correctly compute width while skipping over ANSI escape sequences

textwrap-0.13.0

This is a major release which rewrites the core logic, adds many new features, and fixes a couple of bugs. Most programs which use textwrap stays the same, incompatibilities and upgrade notes are given below.

Clone the repository and run the following to explore the new features in an interactive demo (Linux only):

$ cargo run --example interactive --all-features

Bug Fixes

Rewritten core wrapping algorithm

  • #221: Reformulate wrapping in terms of words with whitespace and penalties.

The core wrapping algorithm has been completely rewritten. This fixed bugs and simplified the code, while also making it possible to use textwrap outside the context of the terminal.

As part of this, trailing whitespace is now discarded consistently from wrapped lines. Before we would inconsistently remove whitespace at the end of wrapped lines, except for the last. Leading whitespace is still preserved.

New Features

Optimal-fit wrapping

  • #234: Introduce wrapping using an optimal-fit algorithm.

This release adds support for new wrapping algorithm which finds a globally optimal set of line breaks, taking certain penalties into account. As an example, the old algorithm would produce

"To be, or"
"not to be:"

... (truncated)

Changelog

Sourced from textwrap's changelog.

Version 0.13.2 (2020-12-30)

This release primarily makes all dependencies optional. This makes it possible to slim down textwrap as needed.

  • #254: impl WordSplitter for Box<T> where T: WordSplitter.
  • #255: Use command line arguments as initial text in interactive example.
  • #256: Introduce fuzz tests for wrap_optimal_fit and wrap_first_fit.
  • #260: Make the unicode-width dependency optional.
  • #261: Make the smawk dependency optional.

Version 0.13.1 (2020-12-10)

This is a bugfix release which fixes a regression in 0.13.0. The bug meant that colored text was wrapped incorrectly.

  • #245: Support deleting a word with Ctrl-Backspace in the interactive demo.
  • #246: Show build type (debug/release) in interactive demo.
  • #249: Correctly compute width while skipping over ANSI escape sequences.

Version 0.13.0 (2020-12-05)

This is a major release which rewrites the core logic, adds many new features, and fixes a couple of bugs. Most programs which use textwrap stays the same, incompatibilities and upgrade notes are given below.

Clone the repository and run the following to explore the new features in an interactive demo (Linux only):

$ cargo run --example interactive --all-features

Bug Fixes

Rewritten core wrapping algorithm

  • #221: Reformulate wrapping in terms of words with whitespace and penalties.

The core wrapping algorithm has been completely rewritten. This fixed

... (truncated)

Commits
  • e92e7f2 Merge pull request #273 from mgeisler/release-0.13.2
  • 455e31d Bump version to 0.13.2
  • 332d439 Update changelog for version 0.13.2
  • 9d4fdec Merge pull request #271 from mgeisler/stop-excluding-benches
  • 86d7407 Include benches/ again
  • 90df388 Merge pull request #270 from mgeisler/smawk-optional-in-benchmark
  • e83ccf5 Test building all targets with --no-default-features
  • 172f53b Make smawk Cargo feature optional in benchmark
  • 879214d Merge pull request #269 from mgeisler/link-directly-to-deps
  • e6c974b Merge pull request #268 from mgeisler/consistently-say-cargo-feature
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [textwrap](https://github.com/mgeisler/textwrap) from 0.11.0 to 0.13.2.
- [Release notes](https://github.com/mgeisler/textwrap/releases)
- [Changelog](https://github.com/mgeisler/textwrap/blob/master/CHANGELOG.md)
- [Commits](mgeisler/textwrap@0.11.0...0.13.2)

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added the dependencies Pull requests that update a dependency file label Dec 31, 2020
@dependabot @github

dependabot Bot commented on behalf of github Feb 22, 2021

Copy link
Copy Markdown
Author

Superseded by #30.

@dependabot dependabot Bot closed this Feb 22, 2021
@dependabot
dependabot Bot deleted the dependabot/cargo/textwrap-0.13.2 branch February 22, 2021 07:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants