Download Latest Version v1.0.1 source code.zip (933.2 kB)
Email in envelope

Get an email when there's a new version of Vavr

Home / v0.11.0
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2025-12-14 3.7 kB
v0.11.0 source code.tar.gz 2025-12-14 626.5 kB
v0.11.0 source code.zip 2025-12-14 922.1 kB
Totals: 3 Items   1.6 MB 1

The day has come - Vavr 0.11.0 is out, marking the first minor release in several years.

giphy

From here on, the focus shifts toward Vavr 1.0.0, starting with a significant Java version bump.

The 0.11.x line will continue to receive bugfixes and maintenance updates, but no new features are planned. Roadmap details can be found here.

Huge thanks to everyone who contributed in any form.

Significant Additions

Lazy For() Comprehension (https://github.com/vavr-io/vavr/pull/3085)

The for-comprehension API has been expanded with lazy, evaluation-friendly signatures that accept functions instead of eagerly-evaluated objects:

:::java
Option<Integer> result = API.For(
  calculate1(),
  (r1) -> calculate2(r1),
  (r1, r2) -> calculate3(r1, r2))
  .yield((r1, r2, r3) -> r1 + r2 + r3);

JSpecify Integration (https://github.com/vavr-io/vavr/pull/3113)

Vavr now integrates JSpecify annotations, enhancing null-safety support in IDEs and modern static analysis tools.

Better Future Cancellation (https://github.com/vavr-io/vavr/pull/3107)

As a result of internal refactoring, cancellation is now possible for Futures that have not yet started execution.

Various API Additions

  • Either/Validation.cond()
  • Value.mapTo(U) and Value.mapToVoid()
  • Try.toEither(Throwable -> L)

What's Changed

New Contributors

Full Changelog: https://github.com/vavr-io/vavr/compare/v0.10.7...v0.11.0

Source: README.md, updated 2025-12-14