Releases: mockk/mockk
Releases Β· 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: 1.14.6...1.14.7
1.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: 1.14.5...1.14.6
1.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: 1.14.4...1.14.5
1.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: 1.14.3...1.14.4
1.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: 1.14.2...1.14.3
1.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: 1.14.0...1.14.2
1.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: 1.13.17...1.14.0
1.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: 1.13.16...1.13.17
1.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: 1.13.14...1.13.16
1.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: 1.13.13...1.13.14