Skip to content

Releases: Joseevb/Result

v0.2.0

Choose a tag to compare

@Joseevb Joseevb released this 23 Sep 17:24
9cb55eb

0.2.0 (2026-09-23)

Features

  • add YAVI dependency coordinates (a83e915)
  • configure result-yavi module (b2ca470)
  • convert YAVI Validated values to Result (94c745b)
  • define result-yavi package nullness (cef66f7)
  • register result-yavi module (8bc7015)
  • spring: make Result.Err rollback configurable (d0f8469)
  • validate existing objects with YAVI (32a17c2)
  • yavi: add context-aware validation (acef7d5)
  • yavi: add locale-aware validation (30799de)

Bug Fixes

  • core: enforce documented null contracts (2a0aca5)
  • defer package metadata until public API exists (079d73b)
  • preserve JUnit launcher coordinates (d0d5fee)
  • reject null YAVI success values (1a74404)
  • yavi: publish package nullness metadata (c86ab72)

Performance Improvements

  • benchmark result-yavi adapter overhead (d4327bd)

Dependencies

  • spring: update Spring Boot to 4.1.1 (6aad29e)

Documentation

  • add executable result-yavi examples (b0be4e6)
  • yavi: add integration overview to README (98c86be)
  • yavi: document integration strategy (88dd173)
  • yavi: document validation integration strategy (f9ff3e0)
  • yavi: use the first result-yavi release version (ddd9135)

Result 0.1.0

Choose a tag to compare

@Joseevb Joseevb released this 06 Sep 12:26

Result 0.1.0

First public release of Result, a small Java 25 library for explicit, typed success and failure values.

Highlights

  • Result<T, E> sealed type with Ok and Err
  • Mapping and composition with map, mapErr, andThen, combine, and flatten
  • Recovery with recover and recoverWith
  • Inspection and folding with inspect, inspectErr, and fold
  • Exception capture with Result.from(...), catching Exception without swallowing Error
  • Optional, stream, sequencing, and collecting utilities
  • Validator and typed error-routing utilities
  • Spring Boot integration with Failure and RFC 9457 ProblemDetail responses
  • Transactional rollback support when a @Transactional method returns a final Result.Err
  • Published to Maven Central

Gradle

dependencies {
    implementation("io.github.joseevb:result-core:0.1.0")
}

For Spring Boot integration

dependencies {
    implementation("io.github.joseevb:result-springboot:0.1.0")
}

Maven

<dependency>
    <groupId>io.github.joseevb</groupId>
    <artifactId>result-core</artifactId>
    <version>0.1.0</version>
</dependency>

For Spring Boot integration

<dependency>
    <groupId>io.github.joseevb</groupId>
    <artifactId>result-springboot</artifactId>
    <version>0.1.0</version>
</dependency>

Requires Java 25.

What's Changed

  • Enable Gradle configuration cache by @Joseevb in #20
  • Add @Transactional support for Result.Err by @Joseevb in #19

Full Changelog: https://github.com/Joseevb/Result/commits/v0.1.0