Hey spring team,

Flyway 10 is an important milestone that extremely narrows the gaps between the oss, community and teams edtions.

Which Spring version will Flyway 10 officially support?

Best greetings, Ben

Comment From: wilkinsona

What are you looking for, specifically? Flyway 10 should be usable with Spring Boot 3.1.6 and later. Unless you want to configure some Flyway 10-specific settings, we may already provide what you need.

Comment From: bekoenig

  • What's the reason for the specific min version 3.1.6?
  • When spring supports Flyway 10, why is Flyway 9 in the dependency management?

Overriding managed versions feels always like a workaround.

Comment From: wilkinsona

Our dependency upgrade policy dictates that we won't upgrade to a new minor or major version of a dependency in a maintenance release of Spring Boot. As a result, Spring Boot 3.1.x uses Flyway 9.16.x as this was the most recent version of Flyway that was available when Spring Boot 3.1.0 was released. Similarly, Spring Boot 3.2.x uses Flyway 9.22.x as this was the most recent version of Flyway that was available when Spring Boot 3.2.0 was released.

Perhaps you can try Flyway 10 with Spring Boot 3.2.x and let us know if you encounter any problems or limitations as others have already done (https://github.com/spring-projects/spring-boot/issues/38164, https://github.com/spring-projects/spring-boot/issues/39431).

Comment From: bekoenig

So Spring 3.3 references Flyway 10 - right?

Thank you for your detailed explanation.

Comment From: wilkinsona

No, not yet. Spring Boot 3.3 is the earliest release where Flyway 10 could become the default version. We'll have to see if we have time and if other priorities allow us to do the work.

Also, you still haven't, as far as we can tell, tried Flyway 10 and let us know if there's anything missing or not working as you would like. That will help us to scope the work and identify what's needed so please do so if you can.

Comment From: philwebb

@ehsansad I think you'll need to seek advice from the Flyway team. Spring Boot doesn't do much more than configure Flyway and initiate the database migration.