Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spring Boot 3.1.0 incompatible with Flyway 9.0 #35721

Closed
jpicton opened this issue Jun 5, 2023 · 2 comments
Closed

Spring Boot 3.1.0 incompatible with Flyway 9.0 #35721

jpicton opened this issue Jun 5, 2023 · 2 comments
Assignees
Labels
type: regression A regression from a previous release
Milestone

Comments

@jpicton
Copy link

jpicton commented Jun 5, 2023

I recently attempted to upgrade from Spring Boot 3.0.6 to 3.1.0, but encountered an incompatibility with FlyWay Enterprise 9.0.0 (the most recent version of this library). There's no mention in the release notes that this was an intentional breaking change, so I assume it was unintentional.

Application startup error:

***************************
APPLICATION FAILED TO START
***************************

Description:

An attempt was made to call a method that does not exist. The attempt was made from the following location:

    org.springframework.boot.autoconfigure.flyway.FlywayAutoConfiguration$FlywayConfiguration.configureProperties(FlywayAutoConfiguration.java:248)

The following method did not exist:

    'org.flywaydb.core.api.configuration.FluentConfiguration org.flywaydb.core.api.configuration.FluentConfiguration.executeInTransaction(boolean)'

Related commit:
cf95ae9

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Jun 5, 2023
@wilkinsona
Copy link
Member

Thanks for the report. I don't think cf95ae9 is the cause as it did not introduce the call to executeInTransaction. It was introduced in 238b85f in 3.1.0-M1. We can look at restoring compatibility with older versions of Flyway. In the future, it would also be much appreciated if you could test our milestones or even just release candidates so that we can catch this sort of problem before GA.

@wilkinsona wilkinsona changed the title Spring Boot 3.1.0 incompatible with FlyWay Enterprise 9.0.0 Spring Boot 3.1.0 incompatible with Flyway 9.0 Jun 5, 2023
@wilkinsona wilkinsona added type: bug A general bug and removed status: waiting-for-triage An issue we've not yet triaged labels Jun 5, 2023
@wilkinsona wilkinsona added this to the 3.1.x milestone Jun 5, 2023
@wilkinsona wilkinsona self-assigned this Jun 5, 2023
@wilkinsona wilkinsona added type: regression A regression from a previous release and removed type: bug A general bug labels Jun 5, 2023
@wilkinsona wilkinsona modified the milestones: 3.1.x, 3.1.1 Jun 5, 2023
@jpicton
Copy link
Author

jpicton commented Jun 5, 2023

Cheers for the quick turnaround @wilkinsona . Sorry about the incorrect commit reference too. I just looked at the git blame for the tag and didn’t realise that the commit I referenced had just relocated the offending method (not introduced it).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: regression A regression from a previous release
Projects
None yet
Development

No branches or pull requests

3 participants