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

Bump textwrap from 0.13.2 to 0.15.1 #328

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Sep 16, 2022

Bumps textwrap from 0.13.2 to 0.15.1.

Release notes

Sourced from textwrap's releases.

textwrap-0.15.1

Version 0.15.1 (2022-09-15)

This release which fixes crashes in unfill and refill. It also adds a new option to make the line endings (\n or \r\n) configurable:

  • #448: Migrate to the Rust 2021 edition.
  • #458: Test with Rust 1.56 (first compiler release with support for Rust 2021).
  • #454: Make line endings configurable.
  • #467: Fix unfill and refill crashes.
  • #468: Fix refill to add back correct line ending.

textwrap-0.15.0

Version 0.15.0 (2022-02-27)

This is a major feature release with two main changes:

  • #421: Use f64 instead of usize for fragment widths.

    This fixes problems with overflows in the internal computations of wrap_optimal_fit when fragments (words) or line lengths had extreme values, such as usize::MAX.

  • #438: Simplify Options by removing generic type parameters.

    This change removes the new generic parameters introduced in version 0.14, as well as the original WrapSplitter parameter which has been present since very early versions.

    The result is a simplification of function and struct signatures across the board. So what used to be

    let options: Options<
        wrap_algorithms::FirstFit,
        word_separators::AsciiSpace,
        word_splitters::HyphenSplitter,
    > = Options::new(80);

    if types are fully written out, is now simply

    let options: Options<'_> = Options::new(80);

    The anonymous lifetime represent the lifetime of the initial_indent and subsequent_indent strings. The change is nearly performance neutral (a 1-2% regression).

Smaller improvements and changes:

  • #404: Make documentation for short last-line penalty more precise.
  • #405: Cleanup and simplify Options docstring.
  • #411: Default to OptimalFit in interactive example.
  • #415: Add demo program to help compute binary sizes.
  • #423: Add fuzz tests with fully arbitrary fragments.
  • #424: Change wrap_optimal_fit penalties to non-negative numbers.

... (truncated)

Changelog

Sourced from textwrap's changelog.

Version 0.15.1 (2022-09-15)

This release which fixes crashes in unfill and refill. It also adds a new option to make the line endings (\n or \r\n) configurable:

  • #448: Migrate to the Rust 2021 edition.
  • #458: Test with Rust 1.56 (first compiler release with support for Rust 2021).
  • #454: Make line endings configurable.
  • #467: Fix unfill and refill crashes.
  • #468: Fix refill to add back correct line ending.

Version 0.15.0 (2022-02-27)

This is a major feature release with two main changes:

  • #421: Use f64 instead of usize for fragment widths.

    This fixes problems with overflows in the internal computations of wrap_optimal_fit when fragments (words) or line lenghts had extreme values, such as usize::MAX.

  • #438: Simplify Options by removing generic type parameters.

    This change removes the new generic parameters introduced in version 0.14, as well as the original WrapSplitter parameter which has been present since very early versions.

    The result is a simplification of function and struct signatures across the board. So what used to be

    let options: Options<
        wrap_algorithms::FirstFit,
        word_separators::AsciiSpace,
        word_splitters::HyphenSplitter,
    > = Options::new(80);

    if types are fully written out, is now simply

    let options: Options<'_> = Options::new(80);

... (truncated)

Commits
  • 43ad7fc Revert "Expand crate keywords"
  • efc9921 Merge pull request #470 from mgeisler/release-0.15.1
  • a2d33eb Bump version to 0.15.1
  • 90ca90b Update changelog for version 0.15.1
  • 7b827d6 Add dependency graph for version 0.15.1
  • c68d4d3 Merge pull request #471 from mgeisler/cross-link-word-splitter-break-words
  • 29c735b Cross-link break_words with word_splitter
  • e5c9a76 Merge pull request #469 from mgeisler/clippy
  • e2a111c Apply small Clippy suggestions
  • 73f1e4a Merge pull request #468 from mgeisler/refill-fix-final-newline
  • 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.13.2 to 0.15.1.
- [Release notes](https://github.com/mgeisler/textwrap/releases)
- [Changelog](https://github.com/mgeisler/textwrap/blob/master/CHANGELOG.md)
- [Commits](mgeisler/textwrap@0.13.2...0.15.1)

---
updated-dependencies:
- dependency-name: textwrap
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Sep 16, 2022

The following labels could not be found: cargo, dependencies.

@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Oct 24, 2022

Superseded by #350.

@dependabot dependabot bot closed this Oct 24, 2022
@dependabot dependabot bot deleted the dependabot/cargo/textwrap-0.15.1 branch October 24, 2022 11:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants