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

chore(deps): bump mockall from 0.11.4 to 0.12.0 #2563

Merged
merged 1 commit into from
Dec 12, 2023

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 12, 2023

Bumps mockall from 0.11.4 to 0.12.0.

Changelog

Sourced from mockall's changelog.

[ 0.12.0 ] - 2023-12-10

Added

  • Added #[mockall::concretize], which can be used to mock some generic methods that have non-'static generic parameters. It works by turning the generic arguments into trait objects for the expectation. (#408)

  • When mocking functions with a non-default ABI (Like extern "C"), the mock function will now use the same ABI as the original. Name mangling will also be disabled, so the mock function will be callable from external code. For example, from C functions. (#504)

Changed

  • Raised predicates, which is reexported, to 3.0.0. This may affect backwards compatibility for users who make use of predicates's "color" feature. (#467)

  • Raised MSRV to 1.64.0 because predicates-core and predicates-tree did. (#430) (#467)

  • Better "No matching expectation found" messages on stable. (#425)

Fixed

  • Fixed mocking non-private inherent methods that have attributes with syn version 2.0.9 and later. (#486)

  • Suppress clippy::too_many_arguments warnings in the generated code. This is most useful when mocking static functions with exactly 7 arguments. (#487)

  • Fixed unused_attributes warnings in the generated code when mocking FFI functions that use #[link_name]. (#503)

  • Fix a panic during Drop for static methods. One way to trigger it is by calling the method more times than is allowed by a .times() constraint. Another way would be to explicitly panic during the .returning method. (#516)

Removed

  • Removed syntax deprecated since 0.9.0: using #[automock] directly on an

... (truncated)

Commits
  • 8cdb23c chore: Release
  • 1dd573d [skip ci] modernize cargo-release setup.
  • 0572cf6 [skip ci] Correct mockall_double's CHANGELOG
  • 0339354 [skip ci] reformat CHANGELOG
  • aac6edc Merge pull request #528 from asomers/alt-mutex
  • b4b28d8 Change the recommendation for static methods
  • d4102cd Merge pull request #526 from asomers/rpitit
  • 5e8bf3c Add a test for the Return Position Impl Trait in Trait feature
  • 3d5c289 Merge pull request #525 from mgeisler/patch-1
  • 7fbcfb8 Clarify "namespace" to "name"
  • 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 <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

Bumps [mockall](https://github.com/asomers/mockall) from 0.11.4 to 0.12.0.
- [Changelog](https://github.com/asomers/mockall/blob/master/CHANGELOG.md)
- [Commits](asomers/mockall@v0.11.4...v0.12.0)

---
updated-dependencies:
- dependency-name: mockall
  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 Dec 12, 2023
@utam0k utam0k enabled auto-merge (squash) December 12, 2023 01:59
@codecov-commenter
Copy link

Codecov Report

Merging #2563 (a76ce30) into main (269c794) will not change coverage.
Report is 6 commits behind head on main.
The diff coverage is n/a.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2563   +/-   ##
=======================================
  Coverage   65.86%   65.86%           
=======================================
  Files         133      133           
  Lines       16795    16795           
=======================================
  Hits        11062    11062           
  Misses       5733     5733           

@YJDoc2 YJDoc2 disabled auto-merge December 12, 2023 06:53
@YJDoc2 YJDoc2 merged commit f1c297e into main Dec 12, 2023
17 checks passed
@YJDoc2 YJDoc2 deleted the dependabot/cargo/mockall-0.12.0 branch December 12, 2023 06:53
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.

2 participants