-
Notifications
You must be signed in to change notification settings - Fork 40.8k
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.2 is not compatible with older versions of Liquibase #38522
Comments
I don't think this is a Spring Boot regression. The same problem occurs with Spring Boot 3.1.6 if you use Liquibase 4.24.0 (the default version in Spring Boot 3.2) or 4.25.0 (the latest version at the time of writing). Please report the problem to the Liquibase team. Unfortunately, you cannot downgrading Liquibase to 4.23.3 with Spring Boot 3.2 (the default version of Spring Boot 3.1.6) as it does not contain the |
I've opened an issue to the Liquibase team too |
Thanks, @ebussieres. It looks like it's going to be fixed on the Liquibase side. I'll leave this one open for now though as I think we should consider making a change to |
If you are interested @wilkinsona I still have the patch of my first attempt at introducing those two properties where I used some local enums in I'm not sure if this is what you mean with not having |
We're going to look at duplicating the enums in our code (with tests to keep them in sync) so that folks can downgrade. @EvaristeGalois11 thanks for the offer of a PR, but this one should be pretty easy for us to take care of ourselves. |
This is quite a significant change from Liquibase and warrants a mention in the Spring Boot 3.2 release notes. Also, if they fix the backwards compatibility issue on Liquibase, possibly including it the upcoming Spring 3.4 release. |
Spring-boot 3.2.0 seems to have introduced a regression. I am using liquibase with a liquibase parameters in a sql script.
When setting the flag
test-rollback-on-update
to true, there's a checksum validation error when performing the rollback step. It seems to be related when you use a liquibase parameter in a sql script (see here and here)There's a demo available here which demonstrate the regression. Just run the test to see the problem.
If you change the spring boot version to 3.1.6, eveything's working fine.
The text was updated successfully, but these errors were encountered: