Release Notes for MariaDB Connector/R2DBC 1.2.2

Overview

MariaDB Connector/R2DBC is a non-blocking interface between Java applications and MariaDB Server. MariaDB Connector/R2DBC enables the development of Java 8+ applications for MariaDB database products.

MariaDB Connector/R2DBC 1.2.2 was released on 2024-09-13. This release is of GA (generally available) maturity. It is compatible with MariaDB Connector/R2DBC 1.1 and is the maintenance path for version 1.1. This release is compatible with R2DBC 1.0.0 specification.

Notable Changes

  • In order to support the R2DBC 0.9.1 specification (used by Spring Boot 2.7) the maven artifact org.mariadb:r2dbc-mariadb-SPEC-0.9.1 has been added (R2DBC-103)

    • The artifact will be maintained until enterprise support ends for Spring boot 2.7

  • A new option, skipPostCommands, permits disabling initial connection settings, and indicating that commands after connections must be skipped. This allows avoiding unnecessary commands on connection creation, and when using RDS proxy to not have session pinning. (R2DBC-105)

    • This option has to be used with care, because the connector expects the server to have:

      • Connection exchanges to be UTF8(mb3/mb4)

      • Autocommit set to true

      • Transaction isolation defaulting to REPEATABLE-READ

    • This option can only be enabled if the server's global options correspond to these defaults.

Issues Fixed

  • When using connection redirection, error "Connection is closed. Cannot send anything" might be returned. (R2DBC-104)