Skip to content

Releases: mockk/mockk

v1.14.9

26 Jan 15:17

Choose a tag to compare

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
  • bump dependencies, bump dexter by @jgrnrt in #1477
  • Fix issue 1475: nullable value class verification by @sdetilly in #1480
  • Migrate build configuration to version catalog by @jgrnrt in #1481
  • Clean up CI configuration and build artifacts by @jgrnrt in #1482
  • Add Spotless formatting plugin by @jgrnrt in #1483
  • Enable ktlint unused-imports rule and clean up code by @jgrnrt in #1489
  • chore: enable no-wildcard-imports in ktlint by @jgrnrt in #1491
  • Add List injection support for @InjectMockKs (#1356) by @h2jinee in #1492
  • Unify settings files by prioritizing mockk.properties in MockKSettings by @snowykte0426 in #1474
  • Fix type matching for any() when parameter is Any (#1296) by @chapakook in #1494
  • Upgrade Dokka to 2.1.0 and Refactor Documentation Setup by @jgrnrt in #1499
  • chore: bump gradle to 9.3.0, add .gitattributes by @jgrnrt in #1502
  • Fix #1342: Handle value classes for type parameters and don't unbox value classes returned as interface/supertype by @ianbrandt in #1442
  • Introduce clearAllStubsFromMemory by @nishatoma in #1503
  • Bump dokka to 2.2.0-Beta by @jgrnrt in #1505
  • fix: resolve @InjectMockKs initialization order based on dependencies by @neungs-2 in #1500

New Contributors

Full Changelog: 1.14.6...1.14.9

v1.14.7

06 Dec 17:20

Choose a tag to compare

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

Full Changelog: 1.14.6...1.14.7

1.14.6

01 Oct 10:37

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 1.14.5...1.14.6

1.14.5

16 Jul 17:45

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 1.14.4...1.14.5

1.14.4

22 Jun 21:57

Choose a tag to compare

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

21 Jun 21:00

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 1.14.2...1.14.3

1.14.2

29 Apr 09:41

Choose a tag to compare

What's Changed

Full Changelog: 1.14.0...1.14.2

1.14.0

09 Apr 12:37

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 1.13.17...1.14.0

1.13.17

04 Mar 10:37

Choose a tag to compare

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

Full Changelog: 1.13.16...1.13.17

1.13.16

10 Jan 14:08

Choose a tag to compare

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