Migration to Spring Boot 4.1

Migration to Spring Boot 4.1

Please add any missing hints to this document!

Each Spring Boot based modules must migrate to Spring Boot 4.0 before the module release for Trillium bug fest. It needs to migrate to Spring Boot 4.1 after Trillium GA (general availability release) and before 2026-12-31 (end of life of Spring Boot 4.0), see Officially Supported Technologies / Trillium document.

Help

Ask on #development Slack channel if a module doesn’t build with Spring Boot 4.1.

Spring Boot

Upgrade the spring-boot-starter-parent version to the latest 4.1 version, find the version on https://github.com/spring-projects/spring-boot/tags

Spring Boot version audit (24/09/26)

  • folio-spring-support: latest release v10.0.0 - Spring Boot 4.0.5; unreleased master (10.1.0-SNAPSHOT) - Spring Boot 4.1.1

  • edge-common-spring: latest release v4.0.3 - Spring Boot 4.0.5; unreleased master (4.1.0-SNAPSHOT) - Spring Boot 4.1.0, while still depending on folio-spring-* 10.0.0 (internally inconsistent)

  • Modules already consume the unreleased folio-spring-support 10.1.0-SNAPSHOT: mod-entities-links, mod-marc-migrations, mod-quick-marc, mod-search (parent already bumped to Spring Boot 4.1.1, consistent), plus mod-bulk-operationsand mod-consortia-keycloak (parent still on 4.0.6, not yet bumped to match - inconsistent).

  • Modules overrode their own spring-boot-starter-parent to 4.1.x directly, while still depending on the old released folio-spring-support 10.0.0 / edge-common-spring 4.0.1–4.0.2: edge-caiasoft, edge-common-spring, edge-dcb, edge-dematic, mod-calendar, mod-circulation-item, mod-dcb, mod-notes, mod-password-validator, mod-reading-room, mod-record-specifications, mod-remote-storage, mod-scheduler, mod-tags, mod-users-keycloak.

  • Modules remain consistently on the current Spring Boot 4.0.x line, matching the released core libraries: edge-courses, edge-erm, edge-fqm, edge-inventory, edge-rtac, edge-users, mod-data-export, mod-data-export-spring, mod-data-export-worker, mod-ebsconet, mod-fqm-manager, mod-lists.

  • Modules are notably behind or anomalous: mod-consortia (Spring Boot 3.4.3, folio-spring-base 9.0.0), mod-graph-rebuilder (3.4.1, folio-spring-base pinned to a stale 8.3.0-SNAPSHOT), mod-inventory-pronto (2.5.2, folio-spring-base 2.0.0), edge-search-srs (2.5.2, no folio-spring/edge-common-spring dependency at all), mod-ebsconet (folio-spring-base 10.0.0-RC1, a pre-release build).

  • Internal version mismatch: mod-data-export and mod-data-export-worker pin folio-spring-cql to an older version (9.1.0 / 9.0.0) than folio-spring-base (10.0.0) within the same pom.xml.

Known migration facts

  • mod-circulation-bff migrated from 4.0.2 to 4.1.0 without build or tests failures

Actions required

  1. mod-bulk-operations, mod-consortia-keycloak - bump spring-boot-starter-parent to 4.1.1 to match the folio-spring-support 10.1.0-SNAPSHOT already used.

  2. edge-caiasoft, edge-common-spring, edge-dcb, edge-dematic, mod-calendar, mod-circulation-item, mod-dcb, mod-notes, mod-password-validator, mod-reading-room, mod-record-specifications, mod-remote-storage, mod-scheduler, mod-tags, mod-users-keycloak - bump folio-spring-support/edge-common-spring to 10.1.0/4.1.0 once released, to match the Spring Boot 4.1.x they already run.

  3. mod-data-export, mod-data-export-worker - align folio-spring-cql version to match folio-spring-base (10.0.0).

  4. mod-ebsconet - replace folio-spring-base 10.0.0-RC1 with a final release.

  5. edge-courses, edge-erm, edge-fqm, edge-inventory, edge-rtac, edge-users, mod-data-export-spring, mod-fqm-manager, mod-lists - bump to Spring Boot 4.1 + matching core-lib version once released.

  6. Version inconsistency fix: stop hardcoding spring-boot-starter-parent version separately from folio-spring-*/edge-common-spring version in module poms - derive/pin both from a single property (or inherit Spring Boot's version transitively from the core library's BOM) so a module can't drift into two different Spring Boot versions across its own parent and its dependencies.

Scope & estimation

56 modules that need to be upgraded. Approximately 1 SP per module. Total work around 56 SPs

  • applications-poc-tools

  • edge-caiasoft

  • edge-common-spring

  • edge-courses

  • edge-dcb

  • edge-dematic

  • edge-erm

  • edge-fqm

  • edge-inn-reach

  • edge-inventory

  • edge-rtac

  • edge-users

  • folio-di-support

  • folio-flow-engine

  • folio-service-tools

  • folio-spring-support

  • mgr-applications

  • mgr-tenant-entitlements

  • mgr-tenants

  • mod-bulk-operations

  • mod-calendar

  • mod-camunda

  • mod-circulation-bff

  • mod-circulation-item

  • mod-consortia-keycloak

  • mod-data-export

  • mod-data-export-spring

  • mod-data-export-worker

  • mod-dcb

  • mod-ebsconet

  • mod-entities-links

  • mod-fqm-manager

  • mod-inn-reach

  • mod-kb-ebsco-java

  • mod-linked-data

  • mod-linked-data-import

  • mod-lists

  • mod-login-keycloak

  • mod-marc-migrations

  • mod-mosaic

  • mod-notes

  • mod-okapi-facade

  • mod-password-validator

  • mod-quick-marc

  • mod-reading-room

  • mod-record-specifications

  • mod-remote-storage

  • mod-requests-mediated

  • mod-roles-keycloak

  • mod-rtac-cache

  • mod-scheduler

  • mod-search

  • mod-tags

  • mod-tlr

  • mod-users-keycloak

  • mod-workflow