Skip to content

1.6.0

Latest

Choose a tag to compare

@ArtDu ArtDu released this 02 Apr 08:59
· 10 commits to master since this release

What's Changed

BOM Module

Add tarantool-java-sdk-bom module providing centralized dependency management for all Tarantool Java SDK modules and their dependencies.

Client

TupleMapper

Add static utility class TupleMapper for easy tuple-to-POJO mapping using field format:

// Map tuple to POJO using format metadata
Person mappedPerson = TupleMapper.mapToPojo(tuple, Person.class);

CRUD operations (select, insert, get) now propagate format metadata from CrudResponse, enabling easy mapping.

Request/Response Handlers

Add Handlers class with 4 lifecycle callbacks for request/response tracing. Configured via withHandlers() builder method:

TarantoolBoxClient client = TarantoolFactory.box()
    .withHost(tt.getHost())
    .withPort(tt.getFirstMappedPort())
    .withHandlers(
        Handlers.builder()
            .onBeforeSend(request -> {
              // Called before sending request
            })
            .onSuccess(response -> {
              // Called on successful response
            })
            .onTimeout(request -> {
              // Called when request times out
            })
            .onIgnoredResponse(response -> {
              // Called when response arrives after timeout
            })
            .build())
    .build();

Testcontainers

  • Remove dependency on testcontainers-java-tarantool library
  • Update all integration tests to use new container implementation

Spring-data

Add tarantool-spring-data-35 module with support for Spring Boot 3.5.x and Spring Data 3.5.

Bug fixes

Fix a memory leak due to the use of a local thread pool.

Dependencies

  • Bump spring-boot version from 3.4.11 to 3.4.13 in tarantool-spring-data-34

Full Changelog: 1.5.0...1.6.0