-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Removed functions in 9.20.0 release break Spring Boot's use of flyway. #3694
Description
Which version and edition of Flyway are you using?
Attempting to upgrade to 9.20.0, am using 9.19.4 successfully.
Spring Boot 3.0.5 (also tried 3.1.0)
If this is not the latest version, can you reproduce the issue with the latest one as well? (Many bugs are fixed in newer releases and upgrading will often resolve the issue)
Yes, it's in the latest release.
Which client are you using? (Command-line, Java API, Maven plugin, Gradle plugin)
Gradle
Which database are you using? (Type & version)
Postgres 14.7
Which operating system are you using?
Mac OSX
What did you do? (Please include the content causing the issue, any relevant configuration settings, the SQL statement(s) that failed (if any), and the command you ran)
Our project is based on Spring Boot 3.0.5
I tried to upgrade flyway library to latest minor release: 9.20.0. I am seeing this failure:
Caused by: java.lang.NoSuchMethodError: 'org.flywaydb.core.api.configuration.FluentConfiguration org.flywaydb.core.api.configuration.FluentConfiguration.oracleSqlplus(boolean)'
I understand that it's because that method along with many others were removed.
I want to note, too, that this issue I'm seeing is because Spring Boot hasn't adapted yet to this brand new change - they, of course, haven't had time.
What I'm surprised about though is a breaking change in flyway in a minor release. There are several functions not marked as deprecated that have been removed. At least they weren't marked deprecated in the code that was removed. (were they marked as deprecated somewhere and maybe I missed it??)
Mostly I wanted to let you know that this minor release has a large negative effect because it's a breaking change.
What did you expect to see?
Didn't expect for a function to be removed from a minor release. I cannot upgrade to this change, because Spring Boot needs to update first.