Skip to content

Bump com.michael-bull.kotlin-result:kotlin-result from 2.0.1 to 2.1.0#2755

Merged
dbarashev merged 1 commit intomasterfrom
dependabot/gradle/com.michael-bull.kotlin-result-kotlin-result-2.1.0
Sep 15, 2025
Merged

Bump com.michael-bull.kotlin-result:kotlin-result from 2.0.1 to 2.1.0#2755
dbarashev merged 1 commit intomasterfrom
dependabot/gradle/com.michael-bull.kotlin-result-kotlin-result-2.1.0

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Sep 15, 2025

Bumps com.michael-bull.kotlin-result:kotlin-result from 2.0.1 to 2.1.0.

Release notes

Sourced from com.michael-bull.kotlin-result:kotlin-result's releases.

2.1.0

  • Annotate Result#{value,error} direct access as unsafe by @​hoc081098 (db45c677ff77d581bd08168d81df8ee5ab2c391b)

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:


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")
        }
    }

2.0.3

  • Add parZip by @​hoc081098 (b205cf2f06d06936d71edb2c19301b7f414c01ec)
  • Fix compiler warning for expect/actual classes by @​hoangchungk53qx1 (dcb85a60ad5f42c9da0f34258aceb568159111c8)
  • Add Haskell reference documentation to combine functions by @​hoc081098 (544cc1780cdce3c620e93d3853d76c5e6a5cf9a2)
  • Add arrow-kt Either benchmarks by @​alphaho (826224973ffa52dbac96507487e0a4932626fa59)
    • Results on my machine are available in the PR comments

2.0.2

  • Fix typo in README (ba7a982566b222d0319a554e379887459cb8eea3) by @​nakamuraraika
  • Update dependencies (f00e1200a4c4c1eaf70bb6dca01fe3105dfed551)

... (truncated)

Commits
  • 23008de Release v2.1.0
  • db45c67 Annotate Result#{value,error} direct access as unsafe
  • 7dd19a9 Bump version
  • f969d1a Release v2.0.3
  • 2812770 Move arrow benchmarks to jvmMain sourceSet
  • 56b066a Add wasm js lockfile
  • 8262249 Add arrow-kt Either to benchmarks
  • b863c42 Group related versions in libs.versions.toml
  • 544cc17 Add Haskell reference documentation to combine functions
  • 9e6c5e8 Remove unused maven-publish plugins
  • 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 [com.michael-bull.kotlin-result:kotlin-result](https://github.com/michaelbull/kotlin-result) from 2.0.1 to 2.1.0.
- [Release notes](https://github.com/michaelbull/kotlin-result/releases)
- [Commits](michaelbull/kotlin-result@2.0.1...2.1.0)

---
updated-dependencies:
- dependency-name: com.michael-bull.kotlin-result:kotlin-result
  dependency-version: 2.1.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added Dependencies java Pull requests that update java code labels Sep 15, 2025
@github-actions
Copy link

Test Results

324 tests  ±0   324 ✅ ±0   17s ⏱️ -2s
 86 suites ±0     0 💤 ±0 
 86 files   ±0     0 ❌ ±0 

Results for commit d9819ce. ± Comparison against base commit fe7f9d7.

@dbarashev dbarashev merged commit f2037ff into master Sep 15, 2025
2 checks passed
@dependabot dependabot bot deleted the dependabot/gradle/com.michael-bull.kotlin-result-kotlin-result-2.1.0 branch September 15, 2025 10:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Dependencies java Pull requests that update java code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant