Update dependency io.mockk:mockk to v1.14.7
This PR contains the following updates:
| Package | Change | Age | Confidence |
|---|---|---|---|
| io.mockk:mockk (source) | 1.13.5 → 1.14.7 |
Release Notes
mockk/mockk (io.mockk:mockk)
v1.14.7
What's Changed
- fix: normalize value class arguments in EqMatcher for consistent comparison by @edwardmp in #1440
- Add configurable logging to withArg & withNullableArg by @OsaSoft in #1441
- docs(readme): document suppressing superclass calls by @ch200203 in #1444
- Fix for issue #1103. by @sdetilly in #1449
- Fix configuration option example for restricted classes by @TWiStErRob in #1465
- Fix InaccessibleObjectException when spying on JDK interfaces on JDK 16+ by @Copilot in #1457
- Fix Java 11 compatibility: replace Random.nextLong(long, long) with Java 8 compatible alternative by @Copilot in #1456
- Add optional restricted mock system property by @nishatoma in #1454
- Fix StackOverflowError when mocking methods returning ArrayList by @Copilot in #1464
- Change JUnit 4/5 dependencies from implementation to compileOnly by @Copilot in #1455
New Contributors
- @edwardmp made their first contribution in #1440
- @OsaSoft made their first contribution in #1441
- @sdetilly made their first contribution in #1449
- @Copilot made their first contribution in #1457
- @nishatoma made their first contribution in #1454
Full Changelog: https://github.com/mockk/mockk/compare/1.14.6...1.14.7
v1.14.6
What's Changed
- Fix and add clearMocks test cases by @jmatsu in #1419
- make captured value reference volatile by @mmimica in #1418
- add fail-fast guard for Kotlin inline function mocking (#1030) by @ch200203 in #1421
- add test reports to GitHub actions by @aSemy in #994
- fix duration denormalized error by @tigermint in #1424
- refactor: enhance confirmVerified function to include clear option by @felix-dolderer-el in #1427
New Contributors
- @jmatsu made their first contribution in #1419
- @mmimica made their first contribution in #1418
- @ch200203 made their first contribution in #1421
- @tigermint made their first contribution in #1424
- @felix-dolderer-el made their first contribution in #1427
Full Changelog: https://github.com/mockk/mockk/compare/1.14.5...1.14.6
v1.14.5
What's Changed
- [Feature] Implement BDD-style aliases as separate module (mockk-bdd) by @Minseok-2001 in #1399
- fix: downgrade byte-buddy to 1.5.11 by @Komdosh in #1413
New Contributors
- @Minseok-2001 made their first contribution in #1399
Full Changelog: https://github.com/mockk/mockk/compare/1.14.4...1.14.5
v1.14.4
This release is functionally equivalent to v1.14.3, I just wanted to try out the new publishing process that uses Maven Central instead of OSSRH.
Full Changelog: https://github.com/mockk/mockk/compare/1.14.3...1.14.4
v1.14.3
What's Changed
- chore: bump byte buddy version to support java 24 by @Komdosh in #1387
- chore: bump gradle version to 8.14 by @Komdosh in #1389
- chore: bump dokka, kotlinx.coroutines, slf4j, logback, junit jupiter by @Komdosh in #1388
- Add recursive detection of meta-annotations by @VitalyVPinchuk in #1393
- chore: bump kotlin to 2.1.20 by @Komdosh in #1390
- fix: enable confirmVerified to work with static mocks by @happysubin in #1396
- Add logging on failure inside withArg by @Djaler in #1395
- Update Android aritfacts to support 16kb page sizes by @WhosNickDoglio in #1394
- Use instance factory for value classes with any() matcher by @esafak in #1403
New Contributors
- @Komdosh made their first contribution in #1387
- @happysubin made their first contribution in #1396
- @Djaler made their first contribution in #1395
- @WhosNickDoglio made their first contribution in #1394
- @esafak made their first contribution in #1403
Full Changelog: https://github.com/mockk/mockk/compare/1.14.2...1.14.3
v1.14.2
What's Changed
- Change mockk configuration paths to test sourceSet by @TWiStErRob in #1378
- Use redefine if mockkStatic is used (fix candidate for #1375) by @sgerke-1L in #1376
Full Changelog: https://github.com/mockk/mockk/compare/1.14.0...1.14.2
v1.14.0
What's Changed
- Update the kdoc of verifyAll to describe its behavior correctly by @harel-biton in #1363
- Fix returning result values by @burnoo in #1352
- fix: ensure confirmVerified is isolated per test by @rsvinicius in #1367
- Do not generate visibility bridge for package-private default methods (fixes #1118) by @sgerke-1L in #1366
- fix: handle fallback to default constructor parameters in constructed… by @VitalyVPinchuk in #1370
New Contributors
- @harel-biton made their first contribution in #1363
- @burnoo made their first contribution in #1352
- @rsvinicius made their first contribution in #1367
- @sgerke-1L made their first contribution in #1366
- @VitalyVPinchuk made their first contribution in #1370
Full Changelog: https://github.com/mockk/mockk/compare/1.13.17...1.14.0
v1.13.17
What's Changed
- Fix(Issue #1333): Bug fix for the issue with MockK 1.13.16 Wraps Results Objects Twice by @kpadhiamex in #1334
- Fix (issue# 1329) parallel testing for unmockkAll by @kpadhiamex in #1335
- [#1304] feat: Restrict mocking of certain classes and add configuration option by @devtaebong in #1340
- Update README.md - Clarify that private fields cannot be mocked by @p4ulor in #1347
- Added new property "failOnSetBackingFieldException" to fail test if a backing field could not be set by @cgm-aw in #1349
- Fix compilation error in constructedWith docs by @TWiStErRob in #1354
New Contributors
- @devtaebong made their first contribution in #1340
- @p4ulor made their first contribution in #1347
- @cgm-aw made their first contribution in #1349
- @TWiStErRob made their first contribution in #1354
Full Changelog: https://github.com/mockk/mockk/compare/1.13.16...1.13.17
v1.13.16
What's Changed
- Fix( Issue #1073): Bug fix for the issue with mocking value classes with coEvery by @kpadhiamex in #1332
Full Changelog: https://github.com/mockk/mockk/compare/1.13.14...1.13.16
v1.13.14
What's Changed
- fix(1308): Handle nullable complex and nested value classes by @VasilisDrettas-tomtom in #1314
- Fix(Issue no. 1330) for Relaxed Mocking Value When Property is Nested Value Class by @kpadhiamex in #1331
New Contributors
- @kpadhiamex made their first contribution in #1331
Full Changelog: https://github.com/mockk/mockk/compare/1.13.13...1.13.14
v1.13.13
What's Changed
- Kotlin 2.0.0 by @SimonMarquis in #1255
- Don't unbox primitive value class returned by suspend function by @SackCastellon in #1253
- Fix RequireParallelTesting Annotation by @thamp59 in #1265
- Enable clearAllMocks to clear only thread-local mocks. by @xzhang-brex in #1276
- build(issue 1280): bump toolchain-jvm version to 17 by @Kulesko in #1281
- fix(1284): do not transform static constructor by @LitterSun in #1285
- Remove unused loggers by @Sandhya2902 in #1011
- chore: converting functions to expression bodies and minor function refactoring by @casplattel in #1260
- Add anyNullable by @NWuensche in #1287
- fix(813): Handle nullable value classes by @VasilisDrettas-tomtom in #1295
- Improve error message on unexpected calls count by @MGaetan89 in #1298
- Run
unmockkAllafter each JUnit 5 test by @erikhuizinga in #1297
New Contributors
- @SackCastellon made their first contribution in #1253
- @thamp59 made their first contribution in #1265
- @xzhang-brex made their first contribution in #1276
- @Kulesko made their first contribution in #1281
- @LitterSun made their first contribution in #1285
- @VasilisDrettas-tomtom made their first contribution in #1295
- @MGaetan89 made their first contribution in #1298
Full Changelog: https://github.com/mockk/mockk/compare/1.13.11...1.13.13
v1.13.12
What's Changed
- Kotlin 2.0.0 by @SimonMarquis in #1255
- Don't unbox primitive value class returned by suspend function by @SackCastellon in #1253
- Fix RequireParallelTesting Annotation by @thamp59 in #1265
- Enable clearAllMocks to clear only thread-local mocks. by @xzhang-brex in #1276
New Contributors
- @SackCastellon made their first contribution in #1253
- @thamp59 made their first contribution in #1265
- @xzhang-brex made their first contribution in #1276
Full Changelog: https://github.com/mockk/mockk/compare/1.13.11...1.13.12
v1.13.11
What's Changed
- Fix wasNotshould throw exception when called on non mocked object by @Gosunet in #1174
- Fix cannot mock value class for class property in 1.13.10 by @ZhaohuaZeng-at in #1230
- Introduce
verifyCountDSL by @T45K in #1234 - Fix parallel testing flag by @Evenprime in #1238
- Implement
clearStaticMockkfor KFunction and KProperty by @krocard in #1239 - [CONTRIBUTING.md] Suggest running
gradle checkbefore opening a PR by @krocard in #1240
New Contributors
- @Gosunet made their first contribution in #1174
- @ZhaohuaZeng-at made their first contribution in #1230
- @T45K made their first contribution in #1234
- @Evenprime made their first contribution in #1238
- @krocard made their first contribution in #1239
Full Changelog: https://github.com/mockk/mockk/compare/1.13.10...1.13.11
v1.13.10
What's Changed
- Add support to nested value classes by @rotilho in #1202
- Fix callOriginal on default interface method by @flapenna in #1203
- Only unbox value class answers when appropriate by @jselbo in #1204
- Fix capture using mutable list of value class by @ath0s in #1209
- Updates documentation to include example access error workaround for Android users by @JakeSteam in #1211
New Contributors
- @rotilho made their first contribution in #1202
- @jselbo made their first contribution in #1204
- @ath0s made their first contribution in #1209
- @JakeSteam made their first contribution in #1211
Full Changelog: https://github.com/mockk/mockk/compare/1.13.9...1.13.10
v1.13.9
What's Changed
- Remove AllOpen plugin from Android libraries by @SimonMarquis in #1164
- Enforce reproducible builds by @SimonMarquis in #1162
- Fix unit tests errors by using
slf4jOrJulLogging()by @SimonMarquis in #1166 - Remove KAPT from Android libraries by @SimonMarquis in #1163
- JVM 1.8 source compatibility by @jeffdgr8 in #1161
- Specify unique
android.namespaceto resolve warnings by @kubode in #1181 - Add scoped mock documentation by @kshired in #1175
- Upgrade Gradle to 8.4 by @geekiyer in #1184
- Fixes infinite recursion when stubbing a fun that returns value class by @OitoH in #1176
- Prevent kover setup failure without Android SDK by @milgner in #1193
- Support value classes for non-primitive types by @milgner in #1192
- Fix StackOverflowError calling method on spy of class with generic base class by @flapenna in #1195
New Contributors
- @jeffdgr8 made their first contribution in #1161
- @kshired made their first contribution in #1175
- @OitoH made their first contribution in #1176
- @flapenna made their first contribution in #1195
Full Changelog: https://github.com/mockk/mockk/compare/1.13.8...1.13.9
v1.13.8
What's Changed
- Bump googleapis from 20.2.0 to 59.0.0 in /cloud-badge by @dependabot in #482
- Minor performance improvements to MockInjector by @k163377 in #1134
- Improve log message by @marcelstoer in #1117
- Update README.md by @iainism in #1140
- Update Android test targets by @LeonRa in #1146
- Fix
IncompatibleClassChangeErrorin Android instrumentation test (#1035) by @LeonRa in #1145 - Update Gradle and Android dependencies by @SimonMarquis in #1105
- Update byte-buddy 1.14.6 by @SimonMarquis in #1149
- Remove unused
androidToolsinDeps.ktby @SimonMarquis in #1150 - Update Kotlin 1.9.10 by @SimonMarquis in #1148
- Update KotlinX Kover 0.7.3 by @SimonMarquis in #1152
- Remove Kotlin-IR from CI matrix by @SimonMarquis in #1153
- Update Dokka 1.9.0 by @SimonMarquis in #1151
- Fix Kotlin version override in tests by @SimonMarquis in #1154
- Use new Kotlin logo by @Goooler in #1156
- Swap expected/actual in
KotlinVersionOverrideTest.ktby @SimonMarquis in #1157 - Reduce the use of spread operator to improve performance by @k163377 in #1143
- update Kotlin and Java Toolchain properties, and setting them in CI by @aSemy in #1056
- Fix
dokkaJavadocpublishing task by @SimonMarquis in #1160
New Contributors
- @dependabot made their first contribution in #482
- @k163377 made their first contribution in #1134
- @marcelstoer made their first contribution in #1117
- @LeonRa made their first contribution in #1146
Full Changelog: https://github.com/mockk/mockk/compare/1.13.7...1.13.8
v1.13.7
What's Changed
- Amend "Top Level functions" by @polarene in #1067
- Fix error when mocking abstract method implementation by @steffandroid in #1081
- Make slf4j an optional dependency by @ansman in #1091
- Add Korean guides and articles in README.md by @devkuma in #1097
- Inject mocks via constructor to avoid lateinit var by @kkurczewski in #1106
- Issue 954: @MockKExtension.CheckUnnecessaryStub annotation is applied… by @bboeck in #1099
- chore: converting functions to expression bodies by @casplattel in #1104
- Update dexmaker version to 2.28.3 for Android 14 support by @kurteous in #1107
- Issue 963: Unnecessary stubbings detected - false positive by @bboeck in #1108
- Add
fun <T> MockKMatcherScope.any(KClass<T>): Tby @ghackett in #1005 - 1122(docs): fix header for
clearStaticMockkby @wallind in #1123 - Fix grammar in Ukraine support message by @BirdHowl in #1125
- Issue 293: support capture nullable with slot by @stengvac in #1109
- update documentation in README.md by @alexferreiradev in #1127
New Contributors
- @steffandroid made their first contribution in #1081
- @devkuma made their first contribution in #1097
- @bboeck made their first contribution in #1099
- @casplattel made their first contribution in #1104
- @kurteous made their first contribution in #1107
- @ghackett made their first contribution in #1005
- @wallind made their first contribution in #1123
- @BirdHowl made their first contribution in #1125
- @stengvac made their first contribution in #1109
- @alexferreiradev made their first contribution in #1127
Full Changelog: https://github.com/mockk/mockk/compare/1.13.5...1.13.7
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 is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
- [ ] If you want to rebase/retry this PR, check this box
This PR was generated by Mend Renovate. View the repository job log.
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 54.84%. Comparing base (
5a39167) to head (aba38e9).
:exclamation: Current head aba38e9 differs from pull request most recent head f397e7b. Consider uploading reports for the commit f397e7b to get more accurate results
Additional details and impacted files
@@ Coverage Diff @@
## main #356 +/- ##
=========================================
Coverage 54.84% 54.84%
Complexity 117 117
=========================================
Files 104 104
Lines 1732 1732
Branches 239 239
=========================================
Hits 950 950
Misses 672 672
Partials 110 110
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
APK Size: 2.1 MB