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

cargo: bump the cargo-dependencies group with 3 updates #3002

Closed

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 9, 2024

Bumps the cargo-dependencies group with 3 updates: clap, clap_complete and strsim.

Updates clap from 4.4.18 to 4.5.0

Changelog

Sourced from clap's changelog.

[4.5.0] - 2024-02-08

Compatibility

  • Update MSRV to 1.74
Commits

Updates clap_complete from 4.4.10 to 4.5.0

Release notes

Sourced from clap_complete's releases.

v4.4.18

[4.4.18] - 2024-01-16

Fixes

  • (error) When lacking usage feature, ensure the list of required arguments is unique

v4.4.17

[4.4.17] - 2024-01-15

Fixes

  • Fix panic! when mixing args_conflicts_with_subcommands with ArgGroup (which is implicit with derive) introduced in 4.4.15

v4.4.16

[4.4.16] - 2024-01-12

Fixes

  • Ensure invalid escape sequences in user-defined strings are correctly stripped when terminal doesn't support color

v4.4.15

[4.4.15] - 2024-01-11

Fixes

  • Improve error for args_conflicts_with_subcommands
  • Ensure we error for args_conflicts_with_subcommands when using subcommand short and long flags

v4.4.14

[4.4.14] - 2024-01-08

Documentation

  • Fix find cookbook entry to allow repeats of flags/options

Features

  • Allow num_args(0) on options which allows making them emulate being a flag for position-tracking flags

v4.4.13

[4.4.13] - 2024-01-04

Documentation

  • Fix link to structopt migration guide

v4.4.12

[4.4.12] - 2023-12-28

... (truncated)

Changelog

Sourced from clap_complete's changelog.

[4.5.0] - 2024-02-08

Compatibility

  • Update MSRV to 1.74

[4.4.18] - 2024-01-16

Fixes

  • (error) When lacking usage feature, ensure the list of required arguments is unique

[4.4.17] - 2024-01-15

Fixes

  • Fix panic! when mixing args_conflicts_with_subcommands with ArgGroup (which is implicit with derive) introduced in 4.4.15

[4.4.16] - 2024-01-12

Fixes

  • Ensure invalid escape sequences in user-defined strings are correctly stripped when terminal doesn't support color

[4.4.15] - 2024-01-11

Fixes

  • Improve error for args_conflicts_with_subcommands
  • Ensure we error for args_conflicts_with_subcommands when using subcommand short and long flags

[4.4.14] - 2024-01-08

Documentation

  • Fix find cookbook entry to allow repeats of flags/options

Features

  • Allow num_args(0) on options which allows making them emulate being a flag for position-tracking flags

[4.4.13] - 2024-01-04

Documentation

  • Fix link to structopt migration guide

[4.4.12] - 2023-12-28

Performance

... (truncated)

Commits

Updates strsim from 0.10.0 to 0.11.0

Release notes

Sourced from strsim's releases.

Release 0.11.0

Changed

  • improve OSA implementation

    • reduce runtime
    • reduce binary size by more than 25%
  • reduce binary size of Levenshtein distance

  • improve Damerau-Levenshtein implementation

    • reduce memory usage from O(N*M) to O(N+M)
    • reduce runtime in our own benchmark by more than 70%
    • reduce binary size by more than 25%
  • only boost similarity in Jaro-Winkler once the Jaro similarity exceeds 0.7

Fixed

  • Fix transposition counting in Jaro and Jaro-Winkler.
  • Limit common prefix in Jaro-Winkler to 4 characters

Release 0.10.1

Changed

  • improve OSA implementation

    • reduce runtime
    • reduce binary size by more than 25%
  • reduce binary size of Levenshtein distance

  • improve Damerau-Levenshtein implementation

    • reduce memory usage from O(N*M) to O(N+M)
    • reduce runtime in our own benchmark by more than 70%
    • reduce binary size by more than 25%
  • only boost similarity in Jaro-Winkler once the Jaro similarity exceeds 0.7

Fixed

  • Fix transposition counting in Jaro and Jaro-Winkler.
  • Limit common prefix in Jaro-Winkler to 4 characters
Changelog

Sourced from strsim's changelog.

[0.11.0] - (2024-01-07)

Changed

  • improve OSA implementation

    • reduce runtime
    • reduce binary size by more than 25%
  • reduce binary size of Levenshtein distance

  • improve Damerau-Levenshtein implementation

    • reduce memory usage from O(N*M) to O(N+M)
    • reduce runtime in our own benchmark by more than 70%
    • reduce binary size by more than 25%
  • only boost similarity in Jaro-Winkler once the Jaro similarity exceeds 0.7

Fixed

  • Fix transposition counting in Jaro and Jaro-Winkler.
  • Limit common prefix in Jaro-Winkler to 4 characters
Commits
  • 09fd5d9 fix version number
  • e7a3b55 Update the installation instructions
  • d9f10d5 release version 0.10.1
  • a5cc615 add maintainer
  • 20e3bdd only boost similarity in Jaro-Winkler once the Jaro similarity exceeds 0.7
  • f6a7593 limit common prefix in jaro-winkler
  • 15e1a03 improve error message on test failure
  • 98fd0ec Update links to reference the rapidfuzz org
  • 82d13e9 remove superfluous module around benchmarks (#66)
  • 1d92c1d fix or ignore all clippy warnings
  • Additional commits viewable in compare view

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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

@dependabot dependabot bot added dependencies Pull requests that update a dependency file rust labels Feb 9, 2024
@github-actions github-actions bot enabled auto-merge (rebase) February 9, 2024 15:55
Copy link
Member

@thoughtpolice thoughtpolice left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, apparently this had a build failure. That's what I get for rubber stamping.

@thoughtpolice
Copy link
Member

This needs an MSRV bump, so it's blocked by #2462

@thoughtpolice
Copy link
Member

@dependabot rebase

Bumps the cargo-dependencies group with 3 updates: [clap](https://github.com/clap-rs/clap), [clap_complete](https://github.com/clap-rs/clap) and [strsim](https://github.com/rapidfuzz/strsim-rs).


Updates `clap` from 4.4.18 to 4.5.0
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](clap-rs/clap@v4.4.18...clap_complete-v4.5.0)

Updates `clap_complete` from 4.4.10 to 4.5.0
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](clap-rs/clap@clap_complete-v4.4.10...clap_complete-v4.5.0)

Updates `strsim` from 0.10.0 to 0.11.0
- [Release notes](https://github.com/rapidfuzz/strsim-rs/releases)
- [Changelog](https://github.com/rapidfuzz/strsim-rs/blob/main/CHANGELOG.md)
- [Commits](rapidfuzz/strsim-rs@0.10.0...v0.11.0)

---
updated-dependencies:
- dependency-name: clap
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: cargo-dependencies
- dependency-name: clap_complete
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: cargo-dependencies
- dependency-name: strsim
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: cargo-dependencies
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/cargo/cargo-dependencies-8d5f75c66f branch from b1f1d4d to 01bb5da Compare February 9, 2024 21:55
@thoughtpolice
Copy link
Member

Looks like the strsim crate changed the default levenshtein distance metrics, hence the test failure which is caused by a suggestion appearing now that didn't before. I'll try to poke it later.

ilyagr pushed a commit to ilyagr/jj that referenced this pull request Feb 10, 2024
This is jj-vcs#3002 with tests rerun to account for changes
to `strsim`, as @thoughtpolice noticed in
jj-vcs#3002 (comment)
ilyagr pushed a commit to ilyagr/jj that referenced this pull request Feb 10, 2024
This is jj-vcs#3002 with tests rerun to account for changes
to `strsim`, as @thoughtpolice noticed in
jj-vcs#3002 (comment)

The string similarity changes include an example that
seems better and one that seems worse. Decreasing
the threshold definitely makes things worse.
ilyagr pushed a commit that referenced this pull request Feb 10, 2024
This is #3002 with tests rerun to account for changes
to `strsim`, as @thoughtpolice noticed in
#3002 (comment)

The string similarity changes include an example that
seems better and one that seems worse. Decreasing
the threshold definitely makes things worse.
Copy link
Contributor Author

dependabot bot commented on behalf of github Feb 10, 2024

Looks like these dependencies are updatable in another way, so this is no longer needed.

@dependabot dependabot bot closed this Feb 10, 2024
auto-merge was automatically disabled February 10, 2024 08:04

Pull request was closed

@dependabot dependabot bot deleted the dependabot/cargo/cargo-dependencies-8d5f75c66f branch February 10, 2024 08:04
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.

1 participant