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.14.2 to 0.15.2 #68

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Oct 24, 2022

Bumps textwrap from 0.14.2 to 0.15.2.

Release notes

Sourced from textwrap's releases.

textwrap-0.15.2

Version 0.15.2 (2022-10-24)

This release is identical to 0.15.0 and is only there to give people a way to install crates which depend on the yanked 0.15.1 release. See mgeisler/textwrap#484 for details.

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.

... (truncated)

Changelog

Sourced from textwrap's changelog.

Version 0.15.2 (2022-10-24)

This release is identical to 0.15.0 and is only there to give people a way to install crates which depend on the yanked 0.15.1 release. See #484 for details.

Version 0.15.1 (2022-09-15)

This release was yanked since it accidentally broke backwards compatibility with 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 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);

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

... (truncated)

Commits
  • 48cc93a Bump version to 0.15.2
  • e3499fb Update changelog for version 0.15.2
  • 1e2e28c Add dependency graph for version 0.15.2
  • 559e07a Merge pull request #444 from mgeisler/release-0.15.0
  • 07c6cd8 Fix cargo publish error due to examples without path
  • 6fa2cd8 Merge pull request #443 from mgeisler/release-0.15.0
  • 3042ff4 Bump version to 0.15.0
  • 9cc554e Update changelog for version 0.15.0
  • 0f6091d Add dependency graph for version 0.15.0
  • 59c9fb3 Merge pull request #442 from mgeisler/revert-single-expr-functions
  • 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.14.2 to 0.15.2.
- [Release notes](https://github.com/mgeisler/textwrap/releases)
- [Changelog](https://github.com/mgeisler/textwrap/blob/master/CHANGELOG.md)
- [Commits](mgeisler/textwrap@0.14.2...0.15.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Oct 24, 2022
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