Releases: mockk/mockk
Releases Β· mockk/mockk
V1.12.8
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
V1.12.6
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
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
- 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
V1.12.2
- Add
andThenJust
, thanks @NWuensche - Upgraded gradle and several dependencies versions, including the logback dependency that was vulnerable to https://cve.report/CVE-2021-42550, thanks @SampathKumarAmex and @usulkies (and @jbg for spotting the CVE vulnerability)
- Converted some more build.gradle files to Kotlin, thanks @geekiyer
V1.12.1
- Fixed #565, thanks @AlexKrupa
- Reorganized tests to reflect the real feature they test rather than the number of the GitHub issue, thanks @drazen04, @fejd, @polarene
- Converted most of the build.gradle files to kotlin, thanks @geekiyer, @vasanthdharmaraj, @fejd, @DeKaN
- Fixed a wrong behavior with
unmockkAll
inside theMockKExtension
, thanks @gmazzo - Improved support for verification stack traces, thanks @kkurczewski
V1.12.0
- Support for mocking value classes (#633, thanks @qoomon)
- Support for setting a custom anyValueGenerator (fixes #642, thanks @hrach)
- Support for relaxed mocking when mocking suspend functions (#640, thanks @hrach)
- Fixed a bug with @Injectmocks not supporting constructor argument defaults (#646, thanks @vladkanash)
- Reorganized some tests (thanks @drazen04 and @Endhuine)
- Bumped bytebuddy version (thanks @christophsturm)