Skip to content

v1.2 and v2.0 Release Notes

Tadaya Tsuyukubo edited this page Mar 19, 2026 · 1 revision

Datasource Micrometer v1.2 and v2.0 Release Notes

v1.2 and v2.0 are functionally equivalent releases.

  • v1.2 targets Spring Boot 3.x
  • v2.0 targets Spring Boot 4.x

New Features

Spring Boot 4.0 support

v2.0 is introduced to support Spring Boot 4.0 and later.

Improvements

Support for Open Session in View (OSIV)

Datasource Micrometer now better supports Open Session in View (OSIV) by shortening the observation scope for JDBC connections. (#82)

Previously, when OSIV was enabled, the observation scope for a JDBC Connection could remain open due to delayed connection closing.
With this change, the observation scope for the connection is shortened so that long-lived connections (caused by OSIV) do not cause observations to extend beyond appropriate boundaries.

Clone this wiki locally