Published on: November 22, 2026
Tags: #Vluent #Java

Vluent 0.0.5 is Released

A couple of weeks ago I wrote about what changed in Vluent in the last few months. All of that is now released as version 0.0.5 and available on Maven Central.

<dependency>
  <groupId>io.github.drndivoje</groupId>
  <artifactId>vluent</artifactId>
  <version>0.0.5</version>
</dependency>

Here is a short summary of everything that went into the release since 0.0.4.

New features

Bug fixes

Breaking changes

The version starts with 0.0, so I allowed myself to break a few things. These are the changes compared to 0.0.4:

ResponseEntity<?> response = Vluent.create()
    .on(user, new UserValidator())
    .validateAndConvert(result ->
        result.isSuccess()
            ? ResponseEntity.ok().build()
            : ResponseEntity.badRequest().body(result.getErrors()));

Spring Boot example

I reworked the example project in the repository. It now runs on Spring Boot 4.1.2, has a Maven wrapper, and shows both ways to use Vluent with Spring: with @ValidateBeanWith through Bean Validation, and with VluentSpringValidator. The code is split into dto, service, validation and web packages, so it looks closer to a real application. There is a README with curl commands to try it out.

Housekeeping

I improved the test coverage, fixed the Javadoc warnings, removed the old Travis CI configuration and upgraded central-publishing-maven-plugin to 0.0.9. The README is rewritten as well, and it now starts with the problem Vluent solves before showing any code.

The library still has zero transitive dependencies. The code is on GitHub.