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 mockall from 0.13.0 to 0.13.1 #150

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

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Nov 18, 2024

Bumps mockall from 0.13.0 to 0.13.1.

Changelog

Sourced from mockall's changelog.

[ 0.13.1 ] - 2024-11-17

Fixed

  • Suppress warnings about the #[expect] lint, new in Rust 1.81.0, in generated code. (#619)

  • Suppress the #[clippy::ref_option] warning, new in Rust 1.83.0, in generated code. (#618)

  • When mocking functions with a closure argument, but not using #[concretize], include any additional trait bounds in the trait object argument passed to .with and .returning. (#606)

  • Fixed naming conflict when mocking multiple traits with same name but from different modules. (#601)

Commits
  • 62f92cb chore: Release
  • 46747dc Format the CHANGELOG
  • 44d319b Better error message when mocking structs with elided lifetimes (#622)
  • a96a23e Suppress #[expect] attributes in the generated code (#619)
  • dee7bcb Clippy: fix unnecessary_map_or lint (#621)
  • e1ac2e1 Suppress the clippy::ref_option warning in generated code (#618)
  • d5b3b46 Clippy cleanup: needless_lifetimes (#611)
  • 97c31d2 Clippy cleanup (#609)
  • 5394a9b Fix missing_docs lints with the latest nightly (#607)
  • 6c5276e During declosurefy, make sure to include additional trait bounds (#606)
  • 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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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)

Summary by Sourcery

Bump the mockall dependency from version 0.13.0 to 0.13.1 to address several bug fixes, including suppression of new lint warnings and improvements in mocking functionality.

Bug Fixes:

  • Suppress warnings about the #[expect] lint in generated code for Rust 1.81.0.
  • Suppress the #[clippy::ref_option] warning in generated code for Rust 1.83.0.
  • Include additional trait bounds in trait object arguments when mocking functions with closure arguments without using #[concretize].
  • Fix naming conflict when mocking multiple traits with the same name from different modules.

Bumps [mockall](https://github.com/asomers/mockall) from 0.13.0 to 0.13.1.
- [Changelog](https://github.com/asomers/mockall/blob/master/CHANGELOG.md)
- [Commits](asomers/mockall@v0.13.0...v0.13.1)

---
updated-dependencies:
- dependency-name: mockall
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Nov 18, 2024
@dependabot dependabot bot requested a review from jbhannah November 18, 2024 12:22
Copy link

sourcery-ai bot commented Nov 18, 2024

Reviewer's Guide by Sourcery

This is a minor version bump of the mockall dependency from version 0.13.0 to 0.13.1. The update primarily includes fixes for warning suppressions in generated code and improvements to error handling and trait mocking functionality.

No diagrams generated as the changes look simple and do not need a visual representation.

File-Level Changes

Change Details Files
Update mockall dependency to fix warning suppressions
  • Suppress #[expect] lint warnings in generated code (new in Rust 1.81.0)
  • Suppress clippy::ref_option warnings in generated code (new in Rust 1.83.0)
Cargo.lock
Improve trait mocking and error handling
  • Fix trait bounds inclusion for closure arguments without #[concretize]
  • Resolve naming conflicts when mocking multiple traits with same name from different modules
  • Improve error messages for mocking structs with elided lifetimes
Cargo.lock

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time. You can also use
    this command to specify where the summary should be inserted.

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

Copy link

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

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

We have skipped reviewing this pull request. It seems to have been created by a bot (hey, dependabot[bot]!). We assume it knows what it's doing!

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