Skip to content

Bump mockito-core from 3.12.4 to 4.1.0 - #62

Merged
olamy merged 2 commits into
masterfrom
dependabot/maven/org.mockito-mockito-core-4.1.0
Nov 28, 2021
Merged

olamy merged 2 commits into
masterfrom
dependabot/maven/org.mockito-mockito-core-4.1.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 22, 2021 •

Copy link
Copy Markdown
Contributor

Bumps mockito-core from 3.12.4 to 4.1.0.

Release notes

Sourced from mockito-core's releases.

v4.1.0

Major new feature: @DoNotMock

You can now mark classes/interfaces with @org.mockito.DoNotMock to disallow mocking with Mockito. For more information, see our documentation: https://javadoc.io/doc/org.mockito/mockito-core/latest/org/mockito/DoNotMock.html

Changelog generated by Shipkit Changelog Gradle Plugin

4.1.0

v4.0.0

Mockito 4: Removing deprecated APIs.

All of these APIs have been marked as deprecated and have been present in Mockito for quite a while.

An overview of now-deleted classes/methods:

  • org.mockito.Matchers which was an alias for org.mockito.ArgumentMatchers
  • org.mockito.ArgumentMatchers#{anyObject,anyVararg} both which were aliases for org.mockito.ArgumentMatchers#any
  • org.mockito.ArgumentMatchers#any*Of, which were aliases for the same method name without the Of and the generic parameters (which were ignored)
  • org.mockito.ArgumentMatchers#{is}{Not}Null(Class) which took a class which was ignored. Aliases for the same methods without the parameter

... (truncated)

Commits

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)

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file java Pull requests that update Java code labels Nov 22, 2021
@olamy

olamy commented Nov 28, 2021

Copy link
Copy Markdown
Member

@dependabot rebase

Bumps [mockito-core](https://github.com/mockito/mockito) from 3.12.4 to 4.1.0.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](mockito/mockito@v3.12.4...v4.1.0)

---
updated-dependencies:
- dependency-name: org.mockito:mockito-core
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/maven/org.mockito-mockito-core-4.1.0 branch from d5f7cf7 to 7c26fce Compare November 28, 2021 07:35
Signed-off-by: Olivier Lamy <olamy@apache.org>
@olamy
olamy merged commit 776485d into master Nov 28, 2021
@olamy
olamy deleted the dependabot/maven/org.mockito-mockito-core-4.1.0 branch November 28, 2021 11:06
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 java Pull requests that update Java code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant