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 com.ninja-squad:springmockk from 3.1.1 to 4.0.2 #305

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

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 24, 2024

Bumps com.ninja-squad:springmockk from 3.1.1 to 4.0.2.

Release notes

Sourced from com.ninja-squad:springmockk's releases.

4.0.2

  • the exception thrown when more than one candidate bean names for SpykBean were found didn't align with the one thrown by Spring Boot's native Mockito support. Now it does. See #100

4.0.1

  • fix #97: memory leak in com.ninjasquad.springmockk.MockkClear. In projects where many different Spring contextx are created during tests, even though the Spring test context caches ends up destroying old ones, SpringMockK retained references to mocks, themselves retaining references to the Spring context, and leading to high memory usage. SpringMockK now uses weak references in order to not prevent the garbage collector to collect those mocks if they're only referenced by SpringMockK, for clearing purposes.

4.0.0

SpringMockK 4.0.0 is built against Spring Boot 3, with Java 17, and MockK 1.13.3.

Spying JDK proxies with Java 17 requires to pass a specific option to the JVM. See the README for details.

Important note: MockKs artifact ID has been modified from mockk to mockk-jvm. If you specify a specific version for MockK in your build rather than relying on SpringMockK's transitive dependency, make sure to use the new arctifact ID.

3.1.2

  • fix #90: issue with verifyAll failing when using constructor injection
Commits
  • dcbe643 chore: prepare release 4.0.2
  • 9c78b77 fix: align behavior with Spring Boot when no bean name for spy found
  • 2c4a23d chore: prepare release 4.0.1
  • ccc87da fix: avoid retaining mocks in memory
  • 8c9c9b7 ci: use Java 17 on CI
  • c35f18d chore: upgrade to Spring Boot 3.0.0, Kotlin 1.7.21
  • 846e12a chore: upgrade to Java 17
  • 0c189a3 chore: prepare release 3.1.2
  • 538ff98 fix: fix issue with verifyAll failing when using constructor injection
  • 753b8dc chore: upgrade to gradle 7.6
  • Additional commits viewable in compare view

Dependabot compatibility score

You can trigger a rebase of this PR 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)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@dependabot dependabot bot added dependencies Pull requests that update a dependency file java Pull requests that update Java code labels Jan 24, 2024
@dependabot dependabot bot force-pushed the dependabot/gradle/com.ninja-squad-springmockk-4.0.2 branch 2 times, most recently from 735208c to deabd92 Compare January 25, 2024 08:03
@dependabot dependabot bot force-pushed the dependabot/gradle/com.ninja-squad-springmockk-4.0.2 branch from deabd92 to cfd3d68 Compare February 12, 2024 07:02
@kaja-nav
Copy link
Contributor

@dependabot rebase

Bumps [com.ninja-squad:springmockk](https://github.com/Ninja-Squad/springmockk) from 3.1.1 to 4.0.2.
- [Release notes](https://github.com/Ninja-Squad/springmockk/releases)
- [Commits](Ninja-Squad/springmockk@3.1.1...4.0.2)

---
updated-dependencies:
- dependency-name: com.ninja-squad:springmockk
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/gradle/com.ninja-squad-springmockk-4.0.2 branch from cfd3d68 to b5af595 Compare June 24, 2024 12:33
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