Skip to content

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Aug 9, 2025

Coming soon: The Renovate bot (GitHub App) will be renamed to Mend. PRs from Renovate will soon appear from 'Mend'. Learn more here.

This PR contains the following updates:

Package Change Age Confidence
com.michael-bull.kotlin-result:kotlin-result 2.0.3 -> 2.1.0 age confidence

Release Notes

michaelbull/kotlin-result (com.michael-bull.kotlin-result:kotlin-result)

v2.1.0

Compare Source


Library consumers that directly access either Result.value or Result.error, e.g. in the situation they are extending the library to implement their own functionality, must now opt-in to unsafe access of these properties.

Failure to do so will result in a compilation error:

image

There are three ways to opt-in:

  1. On a function-level

     @​OptIn(UnsafeResultValueAccess::class)
     fun myFunctionThatAccessesValueDirectly() { ... }
  2. On a file-level:

    @​file:OptIn(UnsafeResultValueAccess::class)
    
    fun myFunctionThatAccessesValueDirectly() { ... }
    fun anotherFunctionThatAccessesValueDirectly() { ... }
  3. On a project-level in build.gradle.kts

    kotlin {
        compilerOptions {
            optIn.add("com.github.michaelbull.result.annotation.UnsafeResultValueAccess")
            optIn.add("com.github.michaelbull.result.annotation.UnsafeResultErrorAccess")
        }
    }

Configuration

📅 Schedule: Branch creation - "after 9pm every weekend,before 12am every weekend" in timezone Asia/Tokyo, Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/dependencies branch 2 times, most recently from 838ce51 to 4b2147d Compare August 10, 2025 14:59
@renovate renovate bot force-pushed the renovate/dependencies branch from 4b2147d to 2e47caf Compare August 30, 2025 15:25
@renovate renovate bot force-pushed the renovate/dependencies branch from 2e47caf to ac83fa2 Compare September 7, 2025 16:57
@renovate renovate bot force-pushed the renovate/dependencies branch from ac83fa2 to 98e5103 Compare September 14, 2025 16:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants