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

build(deps-dev): bump com.ninja-squad:springmockk from 2.0.3 to 4.0.2 #282

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 Nov 16, 2023

Bumps com.ninja-squad:springmockk from 2.0.3 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

3.1.1

3.1.0

3.0.1

  • fix #56 : publish the gradle module metadata.

3.0.0

  • Upgrade to Spring Boot 2.4.0. Please keep using version 2.x of SpringMockK if you still use Spring Boot 2.2.x or 2.3.x. Changes made in Spring Boot Mockito's support in 2.4.0 have ben ported to SpringMockK. The main new feature being to be able to use nested JUnit 5 tests. \o/
  • Upgrade to MockK 1.10.2
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 the dependencies Pull requests that update a dependency file label Nov 16, 2023
Bumps [com.ninja-squad:springmockk](https://github.com/Ninja-Squad/springmockk) from 2.0.3 to 4.0.2.
- [Release notes](https://github.com/Ninja-Squad/springmockk/releases)
- [Commits](Ninja-Squad/springmockk@2.0.3...4.0.2)

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

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot changed the base branch from development to main September 12, 2024 10:54
@dependabot dependabot bot force-pushed the dependabot/maven/com.ninja-squad-springmockk-4.0.2 branch from e7657a8 to 164cd22 Compare September 12, 2024 10:54
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