Skip to content

Releases: mockk/mockk

V1.12.8

15 Sep 09:15
Compare
Choose a tag to compare

Big thanks to @aSemy, @qoomon and @kubode for investigating and fixing the bugs introduced in v1.12.7 and further improving the library!

What's Changed

  • fix: handle isValue exceptions by @qoomon in #890
  • Fix Android Instrumentation dispatcher.jar inclusion by @aSemy in #899
  • Standardise JVM target to be 1.8 by @aSemy in #900
  • introduce Kotlinx Benchmark tests (copied from #763) by @aSemy in #904
  • try reverting Android minSdk to 21 by @aSemy in #901
  • expose more mockk projects as API dependencies by @aSemy in #905
  • make Java source code target jvm 8 by @aSemy in #907
  • Fix an issue that Android Instrumentation Test fails by @kubode in #895
  • use the official Gradle GHA by @aSemy in #914
  • De-duplicate ValueClassSupport by @aSemy in #913
  • add 1.7.20-RC to test matrix by @aSemy in #918

Full Changelog: 1.12.7...v1.12.8

1.12.7

23 Aug 13:03
Compare
Choose a tag to compare

What's Changed

  • Update android-sdk-detector.settings.gradle.kts by @aSemy in #886
  • only sign if the signing properties are present by @aSemy in #885
  • Fix an issue that Android libraries was not published by @kubode in #887

New Contributors

Full Changelog: 1.12.6...1.12.7

V1.12.6

22 Aug 20:40
Compare
Choose a tag to compare

Broken release, don't use this

If you are upgrading from a previous version, please upgrade directly to 1.12.7 or higher.
Sorry for the inconvenience.

What's Changed

  • Dependency updates, JDK17 v2 by @aSemy in #863
  • Dependency updates, JDK17 by @hduerkop in #829
  • Fix unmockkAll to work if constructor was mocked multiple times by @Chrostoq in #870
  • fix: fix value class field determination by @qoomon in #872
  • #854 update projects to use new Kotlin Multiplatform Gradle plugin by @aSemy in #855

New Contributors

Full Changelog: 1.12.5...1.12.6

V1.12.5

27 Jul 15:57
Compare
Choose a tag to compare

Thanks a lot @aSemy and @qoomon for the big effort to add value class support!

What's Changed

  • Better detection of unnecessary stubbing by @PHaroZ in #825
  • Build logic improvements by @c00ler in #840
  • remove invalid 'flowRoot' from SVGs, resize documents to contents by @aSemy in #852
  • bump kotlin 1.7.10, and language level to 1.5 by @aSemy in #850
  • Update 'all tests' GitHub action, enable Gradle Build Cache by @aSemy in #862
  • #832 Add tests for sealed classes by @aSemy in #861
  • #152 support value classes by @aSemy in #849

New Contributors

Full Changelog: 1.12.4...1.12.5

V1.12.4

11 May 12:27
Compare
Choose a tag to compare
  • Add a Junit 4 rule, thanks @jonapoul
  • Recognize atLeast = 0, thanks @uyw4687
  • Revert the latest change about logging messages in withArg calls as it seems community usage was being impacted by the change, thanks @romrell4 for the revert
  • Added the @ConfirmVerification extension, fixes #215, #334 and related issues
  • Add languageVersion = 1.4 and the kotlin binary compatibility validator plugin
  • Upgrade Objenesis to 3.2

V1.12.3

28 Feb 20:59
Compare
Choose a tag to compare

V1.12.2

30 Dec 10:50
Compare
Choose a tag to compare

V1.12.1

17 Nov 14:47
Compare
Choose a tag to compare

V1.12.0

01 Jul 08:09
Compare
Choose a tag to compare

v1.11.0

17 Mar 09:02
Compare
Choose a tag to compare

Ported to Kotlin 1.4.30
Implemented mocking different constructors to fix #209
Fixed #563
Fixed #484