Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump dev.mokkery from 2.4.0 to 2.6.0 #73

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Nov 29, 2024

Bumps dev.mokkery from 2.4.0 to 2.6.0.

Release notes

Sourced from dev.mokkery's releases.

2.6.0

Changelog:

⚠️ Breaking changes

  • Now minimum Kotlin version is 2.1.0.

🐛 Bug fixes

  • #48 Fix compatibility broken by Kotlin 2.1.0

🚧 Known issues

  • #63 signal 11: Segmentation fault when using matchers with methods accepting Objective-C types

2.5.1

Changelog:

✨ Improvements

  • #19 Preserve generic arguments for a mocked type so that MockMode.autofill and MockMode.autoUnit work better with generics, especially lambdas.
  • The Gradle plugin warns about potential Kotlin version incompatibilities whenever the major or minor version is higher than the version Mokkery was compiled against. Warning can be disabled by Gradle properties flag dev.mokkery.versionWarnings=false

🐛 Bug fixes

  • Fix MockMany identifier to remove unnecessary type parameter information.
  • Fix Intelij internal error when integrating with Mokkery frontend plugin. 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 the kotlin.k2.only.bundled.compiler.plugins.enabled flag in the IDE registry (Shift + Shift and search for Registry) .

2.5.0

Changelog:

🚀 Features

  • #34 Now it is possible to intercept mock calls with MokkeryCallInterceptor. Currently, it allows intercepting just before returning an answer. Use MokkeryCallInterceptor.beforeAnswering.register to register interceptor.
  • Add predefined interceptors: MokkeryCallListener, MokkeryCallLogger

🐛 Bug fixes

  • Fix compilation crash when using a type with mixed function and type scope parameters
  • #54 Rename mock internal members to avoid clashes with mocked type members
  • [JVM] Fix ClassCastException whenever trying to mock function that returns Array of generic type.
  • Fix properties super calls for indirect super types were not generated.
  • #53 Add null check before accessing getter
  • Make IR generated fields private (causes a warning in Kotlin 2.1.0)
  • Restore mock names to contain fully qualified names

♻️ Deprecations

  • allowIndirectSuperCalls is scheduled for removal

🌳 Dependencies

  • Bump atomicfu to 0.26.0
  • Bump Kotlin to 2.0.21
Commits
  • a4d1684 Merge pull request #62 from lupuuss/release/2.6.0
  • 2428114 Fix deprecated annotation
  • 1693bca Bump versions in docs
  • f85fa42 Bump version to 2.6.0
  • 973c622 Improve minimum kotlin version error message
  • 7c0b485 Merge pull request #59 from lupuuss/kotlin-2.1.0
  • 9bc5fe5 Bump Kotlin to 2.1.0
  • 032b395 Bump Kotlin to 2.1.0-RC2
  • 792e15a Remove compatibility fallbacks as compiled is equal to minimum Kotlin version
  • be80722 Bump minimum Kotlin version from 2.0.0 to 2.1.0
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [dev.mokkery](https://github.com/lupuuss/Mokkery) from 2.4.0 to 2.6.0.
- [Release notes](https://github.com/lupuuss/Mokkery/releases)
- [Commits](lupuuss/Mokkery@v2.4.0...v2.6.0)

---
updated-dependencies:
- dependency-name: dev.mokkery
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file java Pull requests that update Java code labels Nov 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file java Pull requests that update Java code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants