chore(deps): update dependency dev.mokkery to v2.6.1 #92
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
2.1.1
->2.6.1
Release Notes
lupuuss/Mokkery (dev.mokkery)
v2.6.1
: 2.6.1Changelog:
🐛 Bug fixes
v2.6.0
: 2.6.0Changelog:
2.1.0
.🐛 Bug fixes
2.1.0
🚧 Known issues
signal 11: Segmentation fault
when using matchers with methods accepting Objective-C typesv2.5.1
: 2.5.1Changelog:
✨ Improvements
MockMode.autofill
andMockMode.autoUnit
work better with generics, especially lambdas.dev.mokkery.versionWarnings=false
🐛 Bug fixes
MockMany
identifier to remove unnecessary type parameter information.IntelliJ integration with K2 frontend plugins is currently enabled by default only for first-party plugins (e.g.,
kotlinx.serialization
,Compose
). Integration with third-party plugins is experimental and requires disabling thekotlin.k2.only.bundled.compiler.plugins.enabled
flag in the IDE registry (Shift + Shift
and search forRegistry
) .v2.5.0
: 2.5.0Changelog:
🚀 Features
MokkeryCallInterceptor
. Currently, it allows intercepting just before returning an answer. UseMokkeryCallInterceptor.beforeAnswering.register
to register interceptor.MokkeryCallListener
,MokkeryCallLogger
🐛 Bug fixes
♻️ Deprecations
allowIndirectSuperCalls
is scheduled for removal🌳 Dependencies
atomicfu
to 0.26.0v2.4.0
: 2.4.0Changelog:
🚀 Features
ApplicationRule.All
that applies Mokkery for all source sets in a project. Applicable when mocks are extracted to separate project.mokkery-coroutines
🐛 Bug fixes
watchosArm32
supportkotlin.IllegalStateException: KClass for Objective-C classes is not supported yet
ClassCastException
when mocking a suspending call with default argument on Kotlin Native🌳 Dependencies
atomicfu
to 0.25.0kotlinx.coroutines
to1.9.0
v2.3.0
: 2.3.0Changelog:
Since 2.3.0, Mokkery Gradle plugin is also published to Maven Central (previously it was only published to Gradle Plugin Portal).
🚀 Features
callsCatching
#33🐛 Bug fixes
2.0.20
#9, #24KotlinDependencyHandler
#32v2.2.0
: 2.2.0Changelog:
Features
returnsBy
,returnsSuccessBy
,returnsFailureBy
,throwsBy
.dev.mokkery:mokkery-coroutines:2.2.0
with coroutine utils. It can be added as a regular dependency. Currently, it only containskotlinx-coroutines
specific answers:everySuspend {...} awaits deferred
- waits for a givenDeferred
and returns its result.everySuspend {...} awaits { deferred }
- waits for aDeferred
provided by the lambda on each call and returns its result.everySuspend {...} awaits cancellation
- waits for a cancellation.everySuspend {...} awaits all(deferred1, deferred2)
- waits for allDeferred
instances and returns results asList
.everySuspend {...} awaits receive(from = channel)
- waits for a next element from channel and returns it.everySuspend {...} awaits send(to = channel) { ... }
- waits for an element being sent to aChannel
.everySuspend {...} awaits delayed(...)
- delays for a specified duration and returns a specified value.Improvements
kotlinx-coroutines
. It results in suspend functions being now supported for Wasm WASI!Dependencies
2.0.10
Bug fixes
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.
This PR was generated by Mend Renovate. View the repository job log.