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.0 #825

Merged
merged 1 commit into from
Mar 2, 2022

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 1, 2022

Bumps textwrap from 0.14.2 to 0.15.0.

Release notes

Sourced from textwrap's releases.

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.
  • #430: Add debug-words example.
  • #432: Use precise dependency versions in Cargo.toml.
Changelog

Sourced from textwrap's changelog.

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).

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

... (truncated)

Commits
  • 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
  • 99154ae Revert "Put single-expression functions on a single line"
  • 265ba9a Merge pull request #441 from mgeisler/update-binary-sizes
  • bca5408 Update binary sizes for Rust 1.59
  • 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.0.
- [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.0)

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

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Something related to dependencies label Mar 1, 2022
@netlify
Copy link

netlify bot commented Mar 1, 2022

✔️ Deploy Preview for maturin-guide canceled.

🔨 Explore the source changes: 2e3134c

🔍 Inspect the deploy log: https://app.netlify.com/sites/maturin-guide/deploys/621e441e74b33100075c53c3

@messense
Copy link
Member

messense commented Mar 2, 2022

It's better to wait for clap-rs/clap#3522 to avoid duplicate dependencies.

@epage
Copy link

epage commented Mar 2, 2022

I just released a clap v3.1.5 so you can upgrade and avoid duplicate dependencies.

@messense messense merged commit f651bca into main Mar 2, 2022
@messense messense deleted the dependabot/cargo/textwrap-0.15.0 branch March 2, 2022 15:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Something related to dependencies
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants