F43nd1r / Acrarium

A Backend for ACRA written in Kotlin using Spring Boot, Vaadin and MySQL
Apache License 2.0
202 stars 53 forks source link

Update dependency com.ninja-squad:springmockk to v4 #402

Closed renovate[bot] closed 1 year ago

renovate[bot] commented 1 year ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
com.ninja-squad:springmockk 3.1.2 -> 4.0.2 age adoption passing confidence

Release Notes

Ninja-Squad/springmockk ### [`v4.0.2`](https://togithub.com/Ninja-Squad/springmockk/releases/tag/4.0.2) [Compare Source](https://togithub.com/Ninja-Squad/springmockk/compare/4.0.1...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](https://togithub.com/Ninja-Squad/springmockk/issues/100) ### [`v4.0.1`](https://togithub.com/Ninja-Squad/springmockk/releases/tag/4.0.1) [Compare Source](https://togithub.com/Ninja-Squad/springmockk/compare/4.0.0...4.0.1) - fix [#​97](https://togithub.com/Ninja-Squad/springmockk/issues/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. ### [`v4.0.0`](https://togithub.com/Ninja-Squad/springmockk/releases/tag/4.0.0) [Compare Source](https://togithub.com/Ninja-Squad/springmockk/compare/3.1.2...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](https://togithub.com/Ninja-Squad/springmockk#gotchas) 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.

Configuration

πŸ“… Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

β™» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

πŸ”• Ignore: Close this PR and you won't be reminded about this update again.



This PR has been generated by Mend Renovate. View repository job log here.

github-actions[bot] commented 1 year ago

Test Results

βŸβ€„6 files   -β€ŠβŸβ€„6β€‚β€ƒβŸβ€„6 suites   -β€Š6   12s :stopwatch: -14s 10 tests Β±βŸβ€„0  10 :heavy_check_mark: Β±βŸβ€„0  0 :zzz: Β±0  0 :x: Β±0  10 runs   -β€Š10  10 :heavy_check_mark:  -β€Š10  0 :zzz: Β±0  0 :x: Β±0 

Results for commit 23d8d252. ± Comparison against base commit 05946969.

:recycle: This comment has been updated with latest results.